diff --git a/CHANGELOG.md b/CHANGELOG.md index 725a7cba6..1c312b1f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,88 @@ # CHANGELOG +# 1.5.0 + +## Breaking changes + +- 评论表单中的邮箱地址不再作为必填项。 halo-dev/halo#1535 @jerry-shao +- 重构文章表结构。 + - 提供单独的 `contents` 表存储文章内容,将不再使用 `posts` 表中的 `originalContent` 和 `formatContent` 字段。 halo-dev/halo#1617 @guqing + - `formatContent` 已经废弃,将在下一个大版本中移除。后续使用 `content` 字段代替。 halo-dev/halo#1617 @guqing + - 提供 `content_patch_logs` 表用于存储变更记录。 halo-dev/halo#1617 @guqing +- 后台使用 @halo-dev/admin-api 进行接口请求。 halo-dev/halo-admin#378 @ruibaby @guqing +- 修改后台页面标题后缀,由 `Halo Dashboard` 改为 `Halo`。 halo-dev/halo-admin#426 @ruibaby +- 默认后台布局改为左侧菜单布局。 halo-dev/halo-admin#441 @ruibaby +- 重构文章/自定义页面编辑逻辑,改为保存前端渲染内容,放弃后端渲染。 halo-dev/halo-admin#439 halo-dev/halo-admin#440 halo-dev/halo-admin#449 halo-dev/halo#1668 @ruibaby @guqing +- Content API 的评论列表接口不再返回 `ipAddress` 和 `email` 字段。 halo-dev/halo#1729 @guqing + +## Features + +- Content API 添加获取所有图库图片分组的接口(PhotoController#listTeams)。 halo-dev/halo#1515 @fuzui +- Content API 添加根据 `themeId` 获取主题详情和设置的接口。 halo-dev/halo#1660 @guqing +- 图库支持点赞。 halo-dev/halo#1537 @guqing +- 文章标签支持设置颜色。 halo-dev/halo#1566 halo-dev/halo-admin#395 @ruibaby @guqing +- 重构后台文章分类管理,支持排序。 halo-dev/halo#1650 halo-dev/halo#1657 halo-dev/halo-admin#435 @lan-yonghui @ruibaby @guqing +- 文章设置界面支持重新生成别名。 halo-dev/halo-admin#368 @ruibaby +- Admin API 提供批量删除图库图片的接口。 halo-dev/halo#1680 @ruibaby +- Admin API 提供批量更新图库图片的接口。 halo-dev/halo#1679 @ruibaby +- 后台评论管理提供日志评论管理的界面。 halo-dev/halo-admin#480 @ruibaby +- 后台菜单分组支持修改分组名。 halo-dev/halo-admin#499 @ruibaby +- 后台个人资料头像修改支持输入链接。 halo-dev/halo-admin#505 @ruibaby +- 后台待审核评论弹框点击评论支持进入评论管理。 halo-dev/halo-admin#517 @ruibaby +- 支持配置 Redis 缓存。 halo-dev/halo#1751 @luoxmc @guqing + +## Improvements + +- 更新 Logo。 halo-dev/halo-admin#366 @ruibaby +- 重构附件上传的文件命名逻辑,文件作为第一次上传的时候文件名不添加随机字符串。 halo-dev/halo#1500 @guqing +- 优化后台编辑文章时的预览体验,预览文章或临时保存内容不会修改已经发布的内容。 halo-dev/halo#1617 halo-dev/halo-admin#439 @guqing @ruibaby +- 重构后台主题设置界面,提供单独的设置页面,支持展示主题的相关信息。 halo-dev/halo-admin#380 @ruibaby +- 弱化后台登录页面的动画效果。 halo-dev/halo-admin#369 @ruibaby +- 优化后台附件管理列表预览图片样式。 halo-dev/halo-admin#374 halo-dev/halo-admin#382 @623337308 @cetr +- 重构后台附件详情界面,取消原有抽屉的设计,改为弹窗。 halo-dev/halo-admin#375 halo-dev/halo-admin#381 @ruibaby +- 重构后台文章/自定义页面设置界面,取消原有抽屉的设计,改为弹窗。 halo-dev/halo-admin#376 @ruibaby +- 重构后台操作日志列表界面,取消原有抽屉的设计,提供单独的页面。 halo-dev/halo-admin#419 @ruibaby +- 重构后台图片选择弹框组件,支持直接插入到编辑器,支持多选。 halo-dev/halo-admin#420 halo-dev/halo-admin#421 @ruibaby +- 后台文章设置选择标签列表改为根据名称排序。 halo-dev/halo-admin#429 @ruibaby +- 优化后台附件管理中批量操作附件的逻辑。 halo-dev/halo-admin#431 @ruibaby +- 后台使用重构版本的编辑器,编辑区域支持高亮语法,优化数学公式和图表等渲染,优化表格的编辑体验。 halo-dev/halo-admin#447 @ruibaby +- 优化文章加密和分类加密的逻辑。 halo-dev/halo#1678 @guqing +- 优化后台登录页面样式。 halo-dev/halo-admin#456 @ruibaby +- 重构后台文章评论列表弹窗。 halo-dev/halo-admin#463 @ruibaby +- 重构后台图库管理页面,支持批量操作图片以及批量从附件库添加图片。 halo-dev/halo-admin#468 @ruibaby +- 重构后台文章管理页面,文章列表将不再展示回收站状态的文章,提供单独的回收站入口。 halo-dev/halo-admin#475 @ruibaby +- 优化后台文章/自定义页面设置的保存逻辑,提供转为发布/草稿的按钮。保存按钮不再影响到文章状态。 halo-dev/halo-admin#476 @ruibaby +- 优化后台折叠菜单的体验,解决折叠时 Logo 和 菜单动画不同步的问题。 halo-dev/halo-admin#493 @ruibaby +- 缓存后台折叠菜单的状态,刷新页面不再会恢复到初始状态。 halo-dev/halo-admin#493 @ruibaby +- 优化后台判断是否初始化的逻辑,修改为每次页面加载只请求一次,切换路由不再请求。 halo-dev/halo-admin#495 @ruibaby +- 重构后台主题设置保存预览功能。 halo-dev/halo-admin#502 @ruibaby +- 重构日志发布功能,使用 Markdown 编辑器替换 textarea,并支持保存前端渲染的 Markdown 结果。 halo-dev/halo#1739 halo-dev/halo-admin#506 @guqing @ruibaby + +## Bug Fixes + +- 修复修改加密文章或分类时没有清除用户访问权限的问题。 halo-dev/halo#1540 @guqing +- 修复重置密码没有校验密码长度的问题。 halo-dev/halo#1636 halo-dev/halo-admin#403 @ruibaby @guqing +- 修复后台文章设置中无法仅选择父级分类的问题。 halo-dev/halo-admin#367 @ruibaby +- 修复后台菜单管理中移动菜单项到其他分组的时候,导致子菜单丢失的问题。 halo-dev/halo-admin#422 @ruibaby +- 更新默认主题的 submodule 提交,修复模板中部分因为数字中带逗号导致的渲染异常。 halo-dev/halo#1682 @ruibaby +- 修复评论默认头像因为修改了默认类型但 options 接口没有返回字段导致评论头像无法显示的问题。 halo-dev/halo#1692 @lan-yonghui +- 修复使用 leveldb 的情况下,解析错误而没有清空缓存导致无法正常使用系统的问题。 halo-dev/halo#1695 @guqing +- 修复后台在文章编辑页面切换左侧菜单收缩的时候出现的样式异常。 halo-dev/halo-admin#465 @ruibaby +- 修复当前版本如果为 `alpha` 版本,安装主题无法通过版本验证的问题。 halo-dev/halo#1705 @JohnNiang +- 修复评论部分因为没有添加事务,导致批量删除评论等操作时报错的问题。 halo-dev/halo#1716 @guqing +- 修复后台点击后台 Halo Logo 进入开发者选项过快可能会导致计数为负的问题。 halo-dev/halo-admin#492 @ruibaby +- 修复后台附件列表分页之后,可能会导致无法正常更新图片 dom 导致图片显示为上一页图片的问题。 halo-dev/halo-admin#496 @ruibaby +- 修复后台分类/标签/友情链接修改表单切换修改对象之后没有清除表单验证的问题。 halo-dev/halo-admin#501 halo-dev/halo-admin#503 @Yorksh1re +- 修复当前版本如果为 `alpha` 版本,安装主题无法通过版本验证的问题。 halo-dev/halo#1747 @JohnNiang + +## Dependencies + +- 升级 Spring Boot 版本。 halo-dev/halo#1635 halo-dev/halo#1677 @ruibaby @JohnNiang +- 升级 Gradle 版本到 7.4。 halo-dev/halo#1697 @guqing +- `halo-dev/halo-admin` 常规依赖升级。 halo-dev/halo-admin#453 halo-dev/halo-admin#513 @ruibaby +- `halo-dev/halo-admin` 修改用于切换后台样式的 less 依赖 CDN 为 unpkg。 +- 后台更新 @halo-dev/editor 版本。 halo-dev/halo-admin#507 @ruibaby + # 1.5.0-beta.1 ## Features diff --git a/src/main/resources/admin/css/25.216595d3.css b/src/main/resources/admin/css/231.216595d3.css similarity index 100% rename from src/main/resources/admin/css/25.216595d3.css rename to src/main/resources/admin/css/231.216595d3.css diff --git a/src/main/resources/admin/css/462.828845cf.css b/src/main/resources/admin/css/428.828845cf.css similarity index 100% rename from src/main/resources/admin/css/462.828845cf.css rename to src/main/resources/admin/css/428.828845cf.css diff --git a/src/main/resources/admin/css/174.f14bd7a4.css b/src/main/resources/admin/css/545.f14bd7a4.css similarity index 100% rename from src/main/resources/admin/css/174.f14bd7a4.css rename to src/main/resources/admin/css/545.f14bd7a4.css diff --git a/src/main/resources/admin/css/249.982db2ca.css b/src/main/resources/admin/css/589.982db2ca.css similarity index 100% rename from src/main/resources/admin/css/249.982db2ca.css rename to src/main/resources/admin/css/589.982db2ca.css diff --git a/src/main/resources/admin/css/309.ab52efd3.css b/src/main/resources/admin/css/591.78f75b8b.css similarity index 97% rename from src/main/resources/admin/css/309.ab52efd3.css rename to src/main/resources/admin/css/591.78f75b8b.css index 30302f959..7b5608d4d 100644 --- a/src/main/resources/admin/css/309.ab52efd3.css +++ b/src/main/resources/admin/css/591.78f75b8b.css @@ -1 +1 @@ -.verte{position:relative;display:flex;justify-content:center}.verte *{box-sizing:border-box}.verte--loading{opacity:0}.verte__guide{width:24px;height:24px;padding:0;border:0;background:transparent}.verte__guide:focus{outline:0}.verte__guide svg{width:100%;height:100%;fill:inherit}.verte__menu{flex-direction:column;justify-content:center;align-items:stretch;width:250px;border-radius:6px;background-color:#fff;will-change:transform;box-shadow:0 8px 15px rgba(0,0,0,.1)}.verte__menu:focus{outline:none}.verte__menu-origin{display:none;position:absolute;z-index:10}.verte__menu-origin--active{display:flex}.verte__menu-origin--static{position:static;z-index:auto}.verte__menu-origin--top{bottom:50px}.verte__menu-origin--bottom{top:50px}.verte__menu-origin--right{right:0}.verte__menu-origin--left{left:0}.verte__menu-origin--center{position:fixed;top:0;left:0;width:100vw;height:100vh;justify-content:center;align-items:center;background-color:rgba(0,0,0,.1)}.verte__menu-origin:focus{outline:none}.verte__controller{padding:0 20px 20px}.verte__recent{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;width:100%}.verte__recent-color{margin:4px;width:27px;height:27px;border-radius:50%;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.1);background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;overflow:hidden}.verte__recent-color:after{content:"";display:block;width:100%;height:100%;background-color:currentColor}.verte__value{padding:.6em;width:100%;border:1px solid #708090;border-radius:6px 0 0 6px;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.verte__value:focus{outline:none;border-color:#1a3aff}.verte__icon{width:20px;height:20px}.verte__icon--small{width:12px;height:12px}.verte__input{padding:5px;margin:0 3px;min-width:0;text-align:center;border-width:0 0 1px 0;-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.verte__input::-webkit-inner-spin-button,.verte__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.verte__inputs{display:flex;font-size:16px;margin-bottom:5px}.verte__draggable{border-radius:6px 6px 0 0;height:8px;width:100%;cursor:-webkit-grab;cursor:grab;background:linear-gradient(90deg,#fff 2px,transparent 1%) 50%,linear-gradient(#fff 2px,transparent 1%) 50%,rgba(112,128,144,.2);background-size:4px 4px}.verte__model,.verte__submit{position:relative;display:inline-flex;justify-content:center;align-items:center;padding:1px;border:0;text-align:center;cursor:pointer;background-color:transparent;font-weight:700;color:#708090;fill:#708090;outline:none}.verte__model:hover,.verte__submit:hover{fill:#1a3aff;color:#1a3aff}.verte__close{position:absolute;top:1px;right:1px;z-index:1;display:flex;justify-content:center;align-items:center;padding:4px;cursor:pointer;border-radius:50%;border:0;transform:translate(50%,-50%);background-color:rgba(0,0,0,.4);fill:#fff;outline:none;box-shadow:1px 1px 1px rgba(0,0,0,.2)}.verte__close:hover{background-color:rgba(0,0,0,.6)}.verte-picker{width:100%;margin:0 auto 10px;display:flex;flex-direction:column}.verte-picker--wheel{margin-top:20px}.verte-picker__origin{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;margin:0 auto;overflow:hidden}.verte-picker__slider{margin:20px 20px 0}.verte-picker__canvas{display:block}.verte-picker__cursor{position:absolute;top:0;left:0;margin:-6px;width:12px;height:12px;border:1px solid #fff;border-radius:50%;will-change:transform;pointer-events:none;background-color:transparent;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.slider,.verte-picker__input{display:flex;margin-bottom:10px}.slider{position:relative;align-items:center;box-sizing:border-box;font-size:20px}.slider--dragging .slider-label,.slider:hover .slider-label{visibility:visible;opacity:1}.slider__input{margin-bottom:0;padding:.3em;margin-left:.2em;max-width:70px;width:20%;border:0;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.slider__input::-webkit-inner-spin-button,.slider__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.slider__input:focus{outline:none;border-color:#1a3aff}.slider__track{position:relative;flex:1;margin:3px;width:auto;height:8px;background:#fff;will-change:transfom;background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;border-radius:10px}.slider__handle{position:relative;position:absolute;top:0;left:0;will-change:transform;color:#000;margin:-2px 0 0 -8px;width:12px;height:12px;border:2px solid #fff;background-color:currentColor;border-radius:50%;box-shadow:0 1px 4px -2px #000}.slider__label{position:absolute;top:-3em;left:.4em;z-index:999;visibility:hidden;padding:6px;min-width:3em;border-radius:6px;background-color:#000;color:#fff;text-align:center;font-size:12px;line-height:1em;opacity:0;transform:translate(-50%);white-space:nowrap}.slider__label:before{position:absolute;bottom:-.6em;left:50%;display:block;width:0;height:0;border-width:.6em .6em 0 .6em;border-style:solid;border-color:#000 transparent transparent transparent;content:"";transform:translate3d(-50%,0,0)}.slider__fill{width:100%;height:100%;transform-origin:left top;border-radius:10px}[data-v-3839a26e] .ant-spin-container{height:100%}[data-v-3839a26e] .ant-tabs-content{height:100%;overflow:auto;padding-bottom:20px} \ No newline at end of file +.verte{position:relative;display:flex;justify-content:center}.verte *{box-sizing:border-box}.verte--loading{opacity:0}.verte__guide{width:24px;height:24px;padding:0;border:0;background:transparent}.verte__guide:focus{outline:0}.verte__guide svg{width:100%;height:100%;fill:inherit}.verte__menu{flex-direction:column;justify-content:center;align-items:stretch;width:250px;border-radius:6px;background-color:#fff;will-change:transform;box-shadow:0 8px 15px rgba(0,0,0,.1)}.verte__menu:focus{outline:none}.verte__menu-origin{display:none;position:absolute;z-index:10}.verte__menu-origin--active{display:flex}.verte__menu-origin--static{position:static;z-index:auto}.verte__menu-origin--top{bottom:50px}.verte__menu-origin--bottom{top:50px}.verte__menu-origin--right{right:0}.verte__menu-origin--left{left:0}.verte__menu-origin--center{position:fixed;top:0;left:0;width:100vw;height:100vh;justify-content:center;align-items:center;background-color:rgba(0,0,0,.1)}.verte__menu-origin:focus{outline:none}.verte__controller{padding:0 20px 20px}.verte__recent{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;width:100%}.verte__recent-color{margin:4px;width:27px;height:27px;border-radius:50%;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.1);background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;overflow:hidden}.verte__recent-color:after{content:"";display:block;width:100%;height:100%;background-color:currentColor}.verte__value{padding:.6em;width:100%;border:1px solid #708090;border-radius:6px 0 0 6px;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.verte__value:focus{outline:none;border-color:#1a3aff}.verte__icon{width:20px;height:20px}.verte__icon--small{width:12px;height:12px}.verte__input{padding:5px;margin:0 3px;min-width:0;text-align:center;border-width:0 0 1px 0;-webkit-appearance:none;appearance:none;-moz-appearance:textfield}.verte__input::-webkit-inner-spin-button,.verte__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.verte__inputs{display:flex;font-size:16px;margin-bottom:5px}.verte__draggable{border-radius:6px 6px 0 0;height:8px;width:100%;cursor:-webkit-grab;cursor:grab;background:linear-gradient(90deg,#fff 2px,transparent 1%) 50%,linear-gradient(#fff 2px,transparent 1%) 50%,rgba(112,128,144,.2);background-size:4px 4px}.verte__model,.verte__submit{position:relative;display:inline-flex;justify-content:center;align-items:center;padding:1px;border:0;text-align:center;cursor:pointer;background-color:transparent;font-weight:700;color:#708090;fill:#708090;outline:none}.verte__model:hover,.verte__submit:hover{fill:#1a3aff;color:#1a3aff}.verte__close{position:absolute;top:1px;right:1px;z-index:1;display:flex;justify-content:center;align-items:center;padding:4px;cursor:pointer;border-radius:50%;border:0;transform:translate(50%,-50%);background-color:rgba(0,0,0,.4);fill:#fff;outline:none;box-shadow:1px 1px 1px rgba(0,0,0,.2)}.verte__close:hover{background-color:rgba(0,0,0,.6)}.verte-picker{width:100%;margin:0 auto 10px;display:flex;flex-direction:column}.verte-picker--wheel{margin-top:20px}.verte-picker__origin{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;margin:0 auto;overflow:hidden}.verte-picker__slider{margin:20px 20px 0}.verte-picker__canvas{display:block}.verte-picker__cursor{position:absolute;top:0;left:0;margin:-6px;width:12px;height:12px;border:1px solid #fff;border-radius:50%;will-change:transform;pointer-events:none;background-color:transparent;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}.slider,.verte-picker__input{display:flex;margin-bottom:10px}.slider{position:relative;align-items:center;box-sizing:border-box;font-size:20px}.slider--dragging .slider-label,.slider:hover .slider-label{visibility:visible;opacity:1}.slider__input{margin-bottom:0;padding:.3em;margin-left:.2em;max-width:70px;width:20%;border:0;text-align:center;font-size:12px;-webkit-appearance:none;-moz-appearance:textfield}.slider__input::-webkit-inner-spin-button,.slider__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.slider__input:focus{outline:none;border-color:#1a3aff}.slider__track{position:relative;flex:1;margin:3px;width:auto;height:8px;background:#fff;will-change:transfom;background-image:linear-gradient(45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(112,128,144,.5) 0),linear-gradient(-45deg,rgba(112,128,144,.5) 25%,transparent 0),linear-gradient(-45deg,transparent 75%,rgba(112,128,144,.5) 0);background-size:6px 6px;background-position:0 0,3px -3px,0 3px,-3px 0;border-radius:10px}.slider__handle{position:relative;position:absolute;top:0;left:0;will-change:transform;color:#000;margin:-2px 0 0 -8px;width:12px;height:12px;border:2px solid #fff;background-color:currentColor;border-radius:50%;box-shadow:0 1px 4px -2px #000}.slider__label{position:absolute;top:-3em;left:.4em;z-index:999;visibility:hidden;padding:6px;min-width:3em;border-radius:6px;background-color:#000;color:#fff;text-align:center;font-size:12px;line-height:1em;opacity:0;transform:translate(-50%);white-space:nowrap}.slider__label:before{position:absolute;bottom:-.6em;left:50%;display:block;width:0;height:0;border-width:.6em .6em 0 .6em;border-style:solid;border-color:#000 transparent transparent transparent;content:"";transform:translate3d(-50%,0,0)}.slider__fill{width:100%;height:100%;transform-origin:left top;border-radius:10px}[data-v-19de66d0] .ant-spin-container{height:100%}[data-v-19de66d0] .ant-tabs-content{height:100%;overflow:auto;padding-bottom:20px} \ No newline at end of file diff --git a/src/main/resources/admin/css/968.3db0de18.css b/src/main/resources/admin/css/627.3db0de18.css similarity index 100% rename from src/main/resources/admin/css/968.3db0de18.css rename to src/main/resources/admin/css/627.3db0de18.css diff --git a/src/main/resources/admin/css/694.216595d3.css b/src/main/resources/admin/css/816.216595d3.css similarity index 100% rename from src/main/resources/admin/css/694.216595d3.css rename to src/main/resources/admin/css/816.216595d3.css diff --git a/src/main/resources/admin/css/983.722ed486.css b/src/main/resources/admin/css/940.722ed486.css similarity index 100% rename from src/main/resources/admin/css/983.722ed486.css rename to src/main/resources/admin/css/940.722ed486.css diff --git a/src/main/resources/admin/css/app.2dbae0af.css b/src/main/resources/admin/css/app.2dbae0af.css new file mode 100644 index 000000000..916b080a3 --- /dev/null +++ b/src/main/resources/admin/css/app.2dbae0af.css @@ -0,0 +1,8 @@ +.showHeader-enter-active{transition:all .25s ease}.showHeader-leave-active{transition:all .5s ease}.showHeader-enter,.showHeader-leave-to{opacity:0}.setting-drawer-index-content .setting-drawer-index-blockChecbox[data-v-fb6bf264]{display:flex}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item[data-v-fb6bf264]{margin-right:16px;position:relative;border-radius:4px;cursor:pointer}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item img[data-v-fb6bf264]{width:48px}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item .setting-drawer-index-selectIcon[data-v-fb6bf264]{position:absolute;top:0;right:0;width:100%;padding-top:15px;padding-left:24px;height:100%;color:#1890ff;font-size:14px;font-weight:700}.setting-drawer-index-content .setting-drawer-theme-color-colorBlock[data-v-fb6bf264]{width:20px;height:20px;border-radius:2px;float:left;cursor:pointer;margin-right:8px;padding-left:0;padding-right:0;text-align:center;color:#fff;font-weight:700}.setting-drawer-index-content .setting-drawer-theme-color-colorBlock i[data-v-fb6bf264]{font-size:14px}.setting-drawer-index-handle[data-v-fb6bf264]{position:absolute;top:240px;background:#1890ff;width:48px;height:48px;right:300px;display:flex;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;z-index:1001;text-align:center;font-size:16px;border-radius:4px 0 0 4px}.setting-drawer-index-handle i[data-v-fb6bf264]{color:#fff;font-size:20px} +/*! + * animate.css -https://daneden.github.io/animate.css/ + * Version - 3.7.2 + * Licensed under the MIT license - https://opensource.org/licenses/MIT + * + * Copyright (c) 2019 Daniel Eden + */@-webkit-keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s}@media (prefers-reduced-motion:reduce),(print){.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}}.container-wrapper{background:#fff;position:absolute;border-radius:5px;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:22px 28px 28px 28px;box-shadow:0 4px 12px rgba(0,0,0,.08)}.container-wrapper .tip{cursor:pointer;margin-left:.5rem;float:right}.halo-logo{margin-top:10px;margin-bottom:38px;text-align:center;width:100%}.halo-logo span{margin-left:5px;font-size:12px;color:#1790fe}.halo-logo img{width:88px}body{overflow-y:overlay;padding:0!important}.layout.ant-layout{height:auto;overflow-x:hidden}.layout.ant-layout.mobile .ant-layout-content .content,.layout.ant-layout.tablet .ant-layout-content .content{margin:24px 0 0}.layout.ant-layout.mobile .ant-table-wrapper .ant-table-content,.layout.ant-layout.tablet .ant-table-wrapper .ant-table-content{overflow-y:auto}.layout.ant-layout.mobile .ant-table-wrapper .ant-table-body,.layout.ant-layout.tablet .ant-table-wrapper .ant-table-body{min-width:800px}.layout.ant-layout.mobile .topmenu.content-width-Fluid .header-index-wide,.layout.ant-layout.tablet .topmenu.content-width-Fluid .header-index-wide{margin-left:0}.layout.ant-layout.mobile .sidemenu .ant-header-fixedHeader.ant-header-side-closed,.layout.ant-layout.mobile .sidemenu .ant-header-fixedHeader.ant-header-side-opened{width:100%}.layout.ant-layout.ant-layout-has-sider{flex-direction:row}.layout.ant-layout .trigger{font-size:20px;line-height:64px;padding:0 24px;cursor:pointer;transition:color .3s}.layout.ant-layout .trigger:hover{background:rgba(0,0,0,.025)}.layout.ant-layout .topmenu .ant-header-fixedHeader{position:fixed;top:0;right:0;z-index:9;width:100%;transition:width .2s}.layout.ant-layout .topmenu .ant-header-fixedHeader.ant-header-side-closed,.layout.ant-layout .topmenu .ant-header-fixedHeader.ant-header-side-opened{width:100%}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide{max-width:unset}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left{flex:1 1 1000px}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left .logo{margin-left:25px}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left .ant-menu.ant-menu-horizontal{max-width:calc(100vw - 453px);flex:1 1 calc(100vw - 453px)}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-right{margin-right:25px}.layout.ant-layout .topmenu.content-width-Fluid .page-header-index-wide{max-width:unset}.layout.ant-layout .sidemenu .ant-header-fixedHeader{position:fixed;top:0;right:0;z-index:9;width:100%;transition:width .2s}.layout.ant-layout .sidemenu .ant-header-fixedHeader.ant-header-side-opened{width:calc(100% - 256px)}.layout.ant-layout .sidemenu .ant-header-fixedHeader.ant-header-side-closed{width:calc(100% - 80px)}.layout.ant-layout .header{height:64px;padding:0;background:#fff;box-shadow:0 1px 4px rgba(0,21,41,.08);position:relative}.layout.ant-layout .header .user-wrapper,.layout.ant-layout .top-nav-header-index .user-wrapper{float:right;height:100%}.layout.ant-layout .header .user-wrapper .action,.layout.ant-layout .top-nav-header-index .user-wrapper .action{cursor:pointer;padding:0 18px;display:inline-block;transition:all .3s;height:100%;color:rgba(0,0,0,.65)}.layout.ant-layout .header .user-wrapper .action:hover,.layout.ant-layout .top-nav-header-index .user-wrapper .action:hover{background:rgba(0,0,0,.025)}.layout.ant-layout .header .user-wrapper .action .avatar,.layout.ant-layout .top-nav-header-index .user-wrapper .action .avatar{margin:20px 0 20px 0;color:#1890ff;background:hsla(0,0%,100%,.85);vertical-align:middle}.layout.ant-layout .header .user-wrapper .action .icon,.layout.ant-layout .top-nav-header-index .user-wrapper .action .icon{font-size:16px;padding:4px}.layout.ant-layout .header.dark .user-wrapper .action,.layout.ant-layout .header.dark .user-wrapper .action a,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action a{color:hsla(0,0%,100%,.85)}.layout.ant-layout .header.dark .user-wrapper .action:hover,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action:hover{background:hsla(0,0%,100%,.16)}.layout.ant-layout.mobile .top-nav-header-index .header-index-wide .header-index-left .trigger,.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .header-index-left .trigger{color:hsla(0,0%,100%,.85);padding:0 24px}.layout.ant-layout.mobile .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header,.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header{flex:0;text-align:center;line-height:58px}.layout.ant-layout.mobile .top-nav-header-index.light .header-index-wide .header-index-left .trigger,.layout.ant-layout.tablet .top-nav-header-index.light .header-index-wide .header-index-left .trigger{color:rgba(0,0,0,.65)}.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .ant-menu.ant-menu-horizontal{flex:1 1 auto;white-space:normal}.layout.ant-layout .top-nav-header-index{box-shadow:0 1px 4px rgba(0,21,41,.08);position:relative;transition:background .3s,width .2s}.layout.ant-layout .top-nav-header-index .header-index-wide{max-width:1200px;margin:auto;padding-left:0;display:flex;height:64px}.layout.ant-layout .top-nav-header-index .header-index-wide .ant-menu.ant-menu-horizontal{max-width:835px;flex:0 1 835px;border:none;height:64px;line-height:64px}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left{flex:0 1 1000px;display:flex}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header{flex:0 0 115px;width:115px;height:64px;position:relative;line-height:64px;transition:all .3s;overflow:hidden}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header img,.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header svg{display:inline-block;vertical-align:middle;width:56px}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right{flex:0 0 auto;align-self:flex-end;height:64px;overflow:hidden}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right .content-box{float:right}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right .content-box .action{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout.ant-layout .top-nav-header-index.light{background-color:#fff}.layout.ant-layout .layout-content{margin:24px 24px 0;height:100%;height:64px;padding:0 12px 0 0}.topmenu .page-header-index-wide{max-width:1200px;margin:0 auto}.ant-drawer.drawer-sider .sider{box-shadow:none}.ant-drawer.drawer-sider.dark .ant-drawer-content{background-color:#001529}.ant-drawer.drawer-sider.light{box-shadow:none}.ant-drawer.drawer-sider.light .ant-drawer-content{background-color:#fff}.ant-drawer.drawer-sider .ant-drawer-body{padding:0}.sider{box-shadow:2px 0 6px rgba(0,21,41,.35);position:relative;z-index:106;min-height:100vh}.sider .ant-layout-sider-children{overflow-y:hidden}.sider .ant-layout-sider-children:hover{overflow-y:auto}.sider.ant-fixed-sidemenu{position:fixed;height:100%}.sider .logo{position:relative;text-align:center;height:64px;overflow:hidden;line-height:64px;background:#002140;transition:all .3s}.sider .logo img,.sider .logo svg{display:inline-block;vertical-align:middle;width:64px}.sider.light{background-color:#fff;box-shadow:2px 0 8px 0 rgba(29,35,41,.05)}.sider.light .logo{background:#fff;box-shadow:1px 1px 0 0 #e8e8e8}.sider.light .ant-menu-light{border-right-color:transparent}.user-dropdown-menu span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.user-dropdown-menu-wrapper.ant-dropdown-menu{padding:4px 0}.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item{width:160px}.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item>.anticon:first-child,.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item>a>.anticon:first-child,.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-submenu-title>.anticon:first-child .ant-dropdown-menu-submenu-title>a>.anticon:first-child{min-width:12px;margin-right:8px}.table-page-search-wrapper .ant-form-inline .ant-form-item{display:flex;margin-bottom:20px;margin-right:0}.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control-wrapper{flex:1 1;display:inline-block;vertical-align:middle}.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label{line-height:32px;padding-right:8px;width:auto}.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control{height:32px;line-height:32px}.table-page-search-wrapper .table-page-search-submitButtons{display:block;margin-bottom:24px;white-space:nowrap}.ant-table-thead>tr>th{background:#fff!important}.content .table-operator{margin-bottom:18px}.content .table-operator button{margin-right:8px}.ant-card .ant-card-head{padding:0 16px!important}.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-head-title{padding:12px 0!important}.ant-form .ant-form-item{padding-bottom:0!important;margin-bottom:20px}.ant-list-item{word-break:break-all}.card-container{background:#f5f5f5}.card-container>.ant-tabs-card>.ant-tabs-content{margin-top:-16px}.card-container>.ant-tabs-card>.ant-tabs-content>.ant-tabs-tabpane{background:#fff;padding:16px}.card-container>.ant-tabs-card>.ant-tabs-bar{border-color:#fff}.card-container>.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab{border:none!important;margin-right:0!important;background:transparent}.card-container>.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab-active{border-color:#fff;background:#fff}.ant-comment-inner .ant-comment-content .ant-comment-content-detail p{margin-top:1rem;margin-bottom:0}.ant-comment-inner .ant-comment-content .ant-comment-content-detail p img{width:100%}.ant-comment-avatar img{width:40px!important;height:40px!important}.ant-anchor-link-title{white-space:normal!important}.bottom-control{position:absolute;bottom:0;width:100%;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;left:0;background:#fff;border-radius:0 0 4px 4px}.page-wrapper{align-items:center;justify-content:flex-end;display:flex;flex-flow:row wrap}.page-wrapper .ant-pagination-options-size-changer.ant-select{margin:0}.page-wrapper .pagination{margin-top:1rem}.divider-transparent{background:transparent!important}.custom-tab-wrapper .ant-tabs-nav .ant-tabs-tab{margin:0 24px 0 0;padding:12px 0}.comment-content-wrapper{margin-bottom:0}.comment-content-wrapper h1{font-size:18px}.comment-content-wrapper h2{font-size:16px}.comment-content-wrapper h3{font-size:14px}.comment-content-wrapper h4{font-size:12px}.comment-content-wrapper h5{font-size:10px}.comment-content-wrapper h6{font-size:8px}.comment-content-wrapper img{width:50%}.comment-content-wrapper p{margin-bottom:0}.post-thumb .img,.sheet-thumb .img{width:100%;cursor:pointer;border-radius:4px}.ant-calendar-picker{width:100%!important}#editor .v-note-wrapper{height:100%}.attach-item{width:50%;padding-bottom:28%;float:left}.attach-thumb,.photo-thumb{width:100%;padding-bottom:56%}.attach-item,.attach-thumb,.photo-thumb{margin:0 auto;position:relative;overflow:hidden;cursor:pointer}.attach-item img,.attach-item span,.attach-thumb img,.attach-thumb span,.photo-thumb img,.photo-thumb span{width:100%;height:100%;position:absolute;top:0;left:0}.attach-item span,.attach-thumb span,.photo-thumb span{display:flex;font-size:12px;align-items:center;justify-content:center;color:#9b9ea0}.analysis-card-container,.analysis-card-container .meta{position:relative;overflow:hidden;width:100%}.analysis-card-container .meta{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.analysis-card-container .meta .analysis-card-action{cursor:pointer;position:absolute;top:0;right:0}.analysis-card-container .number{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap;color:#000;margin-top:4px;margin-bottom:0;font-size:32px;line-height:38px;height:38px}.ant-tree-child-tree li{overflow:hidden}.exception{min-height:500px;height:80%;align-items:center;text-align:center;margin-top:150px}.mobile .exception{margin-top:30px}.select-attachment-checkbox{display:block;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;z-index:10}.select-attachment-checkbox .ant-checkbox{margin-left:4px}.ant-list-item .ant-list-item-main,.ant-list-item .ant-list-item-meta-content,.ant-list-item pre{overflow-x:auto}.comment-modal-content img,.journal-list-content img{width:50%!important}.ant-input-group-addon{line-height:normal!important}.theme-screenshot{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-screenshot img{width:100%;height:100%;position:absolute;top:0;left:0}.card-header-fixed .ant-card-head{position:fixed;background:#fff;z-index:999;top:0}.attachments-group-item,.photos-group-item{padding:0;height:130px}.attachments-group-item-img,.photos-group-item-img{display:block;height:100%;background-repeat:no-repeat;background-size:cover;background-position:50%}.attachments-group .attachments-group-item-type,.attachments-group .photos-group-item-type{font-size:38px;text-transform:capitalize}.ant-affix{z-index:1000!important}.header-comment-popover .ant-popover-content .ant-popover-inner-content{height:500px;overflow-y:auto}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::-webkit-scrollbar-track-piece{background-color:#f8f8f8;border-radius:2em}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:#ddd;background-clip:padding-box;border-radius:2em}::-webkit-scrollbar-thumb:hover{background-color:#bbb}.page-transition-enter,.page-transition-leave-active{opacity:0}.page-transition-enter .page-transition-container,.page-transition-leave-active .page-transition-container{transform:scale(1.1)}.page-header[data-v-3af43504]{background:#fff;padding:0 24px 0;border-bottom:1px solid #e8e8e8}.page-header .ant-page-header[data-v-3af43504]{padding:16px 0}.mobile .page-header[data-v-3af43504],.tablet .page-header[data-v-3af43504]{padding:0!important}.mobile .page-header .ant-page-header[data-v-3af43504],.tablet .page-header .ant-page-header[data-v-3af43504]{padding:16px}.content[data-v-3af43504]{margin:24px 24px 0}.content .link[data-v-3af43504]{margin-top:16px}.content .link[data-v-3af43504]:not(:empty){margin-bottom:16px}.content .link a[data-v-3af43504]{margin-right:32px;height:24px;line-height:24px;display:inline-block}.content .link a i[data-v-3af43504]{font-size:24px;margin-right:8px;vertical-align:middle}.content .link a span[data-v-3af43504]{height:24px;line-height:24px;display:inline-block;vertical-align:middle}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.fixed{position:fixed}.\!fixed{position:fixed!important}.absolute{position:absolute}.top-1{top:.25rem}.right-2{right:.5rem}.left-2{left:.5rem}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.mb-0{margin-bottom:0}.\!mt-0{margin-top:0!important}.mr-1{margin-right:.25rem}.mb-5{margin-bottom:1.25rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mt-3{margin-top:.75rem}.mb-4{margin-bottom:1rem}.mr-3{margin-right:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.ml-2{margin-left:.5rem}.mb-1{margin-bottom:.25rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.h-full{height:100%}.\!h-auto{height:auto!important}.h-5{height:1.25rem}.h-screen{height:100vh}.w-full{width:100%}.w-1\/2{width:50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.cursor-move{cursor:move}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.list-none{list-style-type:none}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.self-center{align-self:center}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-solid{border-style:solid}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity))}.\!p-0{padding:0!important}.p-2{padding:.5rem}.p-0{padding:0}.pb-3{padding-bottom:.75rem}.text-center{text-align:center}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-5{line-height:1.25rem}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.\!text-gray-800{--tw-text-opacity:1!important;color:rgb(31 41 55/var(--tw-text-opacity))!important}.\!text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:rounded:hover{border-radius:.25rem}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:\!px-1:hover{padding-left:.25rem!important;padding-right:.25rem!important}.hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.hover\:\!text-blue-500:hover{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.hover\:blur-none:hover{--tw-blur:blur(0)}.hover\:blur-none:hover,.hover\:brightness-125:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:brightness-125:hover{--tw-brightness:brightness(1.25)}body,html{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;color:rgba(0,0,0,.65);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-variant:tabular-nums;line-height:1.5;background-color:#fff;font-feature-settings:"tnum"}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1890ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#40a9ff}a:active{color:#096dd9}a:active,a:hover{text-decoration:none;outline:0}a[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed;pointer-events:none}code,kbd,pre,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:rgba(0,0,0,.45);text-align:left;caption-side:bottom}th{text-align:inherit}button,input,optgroup,select,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}::-moz-selection{color:#fff;background:#1890ff}::selection{color:#fff;background:#1890ff}.clearfix{zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{-webkit-animation-name:antFadeIn;animation-name:antFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.fade-leave.fade-leave-active{-webkit-animation-name:antFadeOut;animation-name:antFadeOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antFadeOut{0%{opacity:1}to{opacity:0}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter,.move-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-up-appear.move-up-appear-active,.move-up-enter.move-up-enter-active{-webkit-animation-name:antMoveUpIn;animation-name:antMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.move-up-leave.move-up-leave-active{-webkit-animation-name:antMoveUpOut;animation-name:antMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-up-appear,.move-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-up-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-down-appear,.move-down-enter,.move-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-down-appear.move-down-appear-active,.move-down-enter.move-down-enter-active{-webkit-animation-name:antMoveDownIn;animation-name:antMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.move-down-leave.move-down-leave-active{-webkit-animation-name:antMoveDownOut;animation-name:antMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-down-appear,.move-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-down-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-left-appear,.move-left-enter,.move-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-left-appear.move-left-appear-active,.move-left-enter.move-left-enter-active{-webkit-animation-name:antMoveLeftIn;animation-name:antMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.move-left-leave.move-left-leave-active{-webkit-animation-name:antMoveLeftOut;animation-name:antMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-left-appear,.move-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-left-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-right-appear,.move-right-enter,.move-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-right-appear.move-right-appear-active,.move-right-enter.move-right-enter-active{-webkit-animation-name:antMoveRightIn;animation-name:antMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.move-right-leave.move-right-leave-active{-webkit-animation-name:antMoveRightOut;animation-name:antMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-right-appear,.move-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-right-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@-webkit-keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes loadingCircle{to{transform:rotate(1turn)}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#1890ff}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;-webkit-animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;content:"";pointer-events:none}@-webkit-keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@-webkit-keyframes fadeEffect{to{opacity:0}}@keyframes fadeEffect{to{opacity:0}}.slide-up-appear,.slide-up-enter,.slide-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-up-appear.slide-up-appear-active,.slide-up-enter.slide-up-enter-active{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-leave.slide-up-leave-active{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-up-appear,.slide-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-up-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-down-appear,.slide-down-enter,.slide-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-down-appear.slide-down-appear-active,.slide-down-enter.slide-down-enter-active{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-leave.slide-down-leave-active{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-down-appear,.slide-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-down-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-left-appear,.slide-left-enter,.slide-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-left-appear.slide-left-appear-active,.slide-left-enter.slide-left-enter-active{-webkit-animation-name:antSlideLeftIn;animation-name:antSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-leave.slide-left-leave-active{-webkit-animation-name:antSlideLeftOut;animation-name:antSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-left-appear,.slide-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-left-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-right-appear,.slide-right-enter,.slide-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-right-appear.slide-right-appear-active,.slide-right-enter.slide-right-enter-active{-webkit-animation-name:antSlideRightIn;animation-name:antSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-leave.slide-right-leave-active{-webkit-animation-name:antSlideRightOut;animation-name:antSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-right-appear,.slide-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-right-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@-webkit-keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@-webkit-keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@-webkit-keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@-webkit-keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.swing-appear,.swing-enter{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.swing-appear.swing-appear-active,.swing-enter.swing-enter-active{-webkit-animation-name:antSwingIn;animation-name:antSwingIn;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes antSwingIn{0%,to{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}@keyframes antSwingIn{0%,to{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}.zoom-appear,.zoom-enter,.zoom-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{-webkit-animation-name:antZoomIn;animation-name:antZoomIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-leave.zoom-leave-active{-webkit-animation-name:antZoomOut;animation-name:antZoomOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-appear,.zoom-big-enter,.zoom-big-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-fast-appear,.zoom-big-fast-enter,.zoom-big-fast-leave{-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-fast-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-up-appear,.zoom-up-enter,.zoom-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{-webkit-animation-name:antZoomUpIn;animation-name:antZoomUpIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{-webkit-animation-name:antZoomUpOut;animation-name:antZoomUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-up-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-down-appear,.zoom-down-enter,.zoom-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{-webkit-animation-name:antZoomDownIn;animation-name:antZoomDownIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{-webkit-animation-name:antZoomDownOut;animation-name:antZoomDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-down-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-left-appear,.zoom-left-enter,.zoom-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{-webkit-animation-name:antZoomLeftIn;animation-name:antZoomLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{-webkit-animation-name:antZoomLeftOut;animation-name:antZoomLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-left-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-right-appear,.zoom-right-enter,.zoom-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{-webkit-animation-name:antZoomRightIn;animation-name:antZoomRightIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{-webkit-animation-name:antZoomRightOut;animation-name:antZoomRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-right-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@-webkit-keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@-webkit-keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@-webkit-keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@-webkit-keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@-webkit-keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@-webkit-keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@-webkit-keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@-webkit-keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@-webkit-keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@-webkit-keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{transition:height .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}button,html [type=button]{-webkit-appearance:none}.ant-pro-footer-toolbar{position:fixed;width:100%;bottom:0;right:0;height:56px;line-height:56px;box-shadow:0 -1px 2px rgba(0,0,0,.03);background:#fff;border-top:1px solid #e8e8e8;padding:0 24px;z-index:1000}.ant-pro-footer-toolbar:after{content:"";display:block;clear:both} \ No newline at end of file diff --git a/src/main/resources/admin/css/app.f1df0b7b.css b/src/main/resources/admin/css/app.f1df0b7b.css deleted file mode 100644 index 7c8a009bf..000000000 --- a/src/main/resources/admin/css/app.f1df0b7b.css +++ /dev/null @@ -1,8 +0,0 @@ -.showHeader-enter-active{transition:all .25s ease}.showHeader-leave-active{transition:all .5s ease}.showHeader-enter,.showHeader-leave-to{opacity:0}.setting-drawer-index-content .setting-drawer-index-blockChecbox[data-v-fb6bf264]{display:flex}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item[data-v-fb6bf264]{margin-right:16px;position:relative;border-radius:4px;cursor:pointer}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item img[data-v-fb6bf264]{width:48px}.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item .setting-drawer-index-selectIcon[data-v-fb6bf264]{position:absolute;top:0;right:0;width:100%;padding-top:15px;padding-left:24px;height:100%;color:#1890ff;font-size:14px;font-weight:700}.setting-drawer-index-content .setting-drawer-theme-color-colorBlock[data-v-fb6bf264]{width:20px;height:20px;border-radius:2px;float:left;cursor:pointer;margin-right:8px;padding-left:0;padding-right:0;text-align:center;color:#fff;font-weight:700}.setting-drawer-index-content .setting-drawer-theme-color-colorBlock i[data-v-fb6bf264]{font-size:14px}.setting-drawer-index-handle[data-v-fb6bf264]{position:absolute;top:240px;background:#1890ff;width:48px;height:48px;right:300px;display:flex;justify-content:center;align-items:center;cursor:pointer;pointer-events:auto;z-index:1001;text-align:center;font-size:16px;border-radius:4px 0 0 4px}.setting-drawer-index-handle i[data-v-fb6bf264]{color:#fff;font-size:20px} -/*! - * animate.css -https://daneden.github.io/animate.css/ - * Version - 3.7.2 - * Licensed under the MIT license - https://opensource.org/licenses/MIT - * - * Copyright (c) 2019 Daniel Eden - */@-webkit-keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s}@media (prefers-reduced-motion:reduce),(print){.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}}.container-wrapper{background:#fff;position:absolute;border-radius:5px;top:45%;left:50%;margin:-160px 0 0 -160px;width:320px;padding:22px 28px 28px 28px;box-shadow:0 4px 12px rgba(0,0,0,.08)}.container-wrapper .tip{cursor:pointer;margin-left:.5rem;float:right}.halo-logo{margin-top:10px;margin-bottom:38px;text-align:center;width:100%}.halo-logo span{margin-left:5px;font-size:12px;color:#1790fe}.halo-logo img{width:88px}body{overflow-y:overlay;padding:0!important}.layout.ant-layout{height:auto;overflow-x:hidden}.layout.ant-layout.mobile .ant-layout-content .content,.layout.ant-layout.tablet .ant-layout-content .content{margin:24px 0 0}.layout.ant-layout.mobile .ant-table-wrapper .ant-table-content,.layout.ant-layout.tablet .ant-table-wrapper .ant-table-content{overflow-y:auto}.layout.ant-layout.mobile .ant-table-wrapper .ant-table-body,.layout.ant-layout.tablet .ant-table-wrapper .ant-table-body{min-width:800px}.layout.ant-layout.mobile .topmenu.content-width-Fluid .header-index-wide,.layout.ant-layout.tablet .topmenu.content-width-Fluid .header-index-wide{margin-left:0}.layout.ant-layout.mobile .sidemenu .ant-header-fixedHeader.ant-header-side-closed,.layout.ant-layout.mobile .sidemenu .ant-header-fixedHeader.ant-header-side-opened{width:100%}.layout.ant-layout.ant-layout-has-sider{flex-direction:row}.layout.ant-layout .trigger{font-size:20px;line-height:64px;padding:0 24px;cursor:pointer;transition:color .3s}.layout.ant-layout .trigger:hover{background:rgba(0,0,0,.025)}.layout.ant-layout .topmenu .ant-header-fixedHeader{position:fixed;top:0;right:0;z-index:9;width:100%;transition:width .2s}.layout.ant-layout .topmenu .ant-header-fixedHeader.ant-header-side-closed,.layout.ant-layout .topmenu .ant-header-fixedHeader.ant-header-side-opened{width:100%}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide{max-width:unset}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left{flex:1 1 1000px}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left .logo{margin-left:25px}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-left .ant-menu.ant-menu-horizontal{max-width:calc(100vw - 453px);flex:1 1 calc(100vw - 453px)}.layout.ant-layout .topmenu.content-width-Fluid .header-index-wide .header-index-right{margin-right:25px}.layout.ant-layout .topmenu.content-width-Fluid .page-header-index-wide{max-width:unset}.layout.ant-layout .sidemenu .ant-header-fixedHeader{position:fixed;top:0;right:0;z-index:9;width:100%;transition:width .2s}.layout.ant-layout .sidemenu .ant-header-fixedHeader.ant-header-side-opened{width:calc(100% - 256px)}.layout.ant-layout .sidemenu .ant-header-fixedHeader.ant-header-side-closed{width:calc(100% - 80px)}.layout.ant-layout .header{height:64px;padding:0;background:#fff;box-shadow:0 1px 4px rgba(0,21,41,.08);position:relative}.layout.ant-layout .header .user-wrapper,.layout.ant-layout .top-nav-header-index .user-wrapper{float:right;height:100%}.layout.ant-layout .header .user-wrapper .action,.layout.ant-layout .top-nav-header-index .user-wrapper .action{cursor:pointer;padding:0 18px;display:inline-block;transition:all .3s;height:100%;color:rgba(0,0,0,.65)}.layout.ant-layout .header .user-wrapper .action:hover,.layout.ant-layout .top-nav-header-index .user-wrapper .action:hover{background:rgba(0,0,0,.025)}.layout.ant-layout .header .user-wrapper .action .avatar,.layout.ant-layout .top-nav-header-index .user-wrapper .action .avatar{margin:20px 0 20px 0;color:#1890ff;background:hsla(0,0%,100%,.85);vertical-align:middle}.layout.ant-layout .header .user-wrapper .action .icon,.layout.ant-layout .top-nav-header-index .user-wrapper .action .icon{font-size:16px;padding:4px}.layout.ant-layout .header.dark .user-wrapper .action,.layout.ant-layout .header.dark .user-wrapper .action a,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action a{color:hsla(0,0%,100%,.85)}.layout.ant-layout .header.dark .user-wrapper .action:hover,.layout.ant-layout .top-nav-header-index.dark .user-wrapper .action:hover{background:hsla(0,0%,100%,.16)}.layout.ant-layout.mobile .top-nav-header-index .header-index-wide .header-index-left .trigger,.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .header-index-left .trigger{color:hsla(0,0%,100%,.85);padding:0 24px}.layout.ant-layout.mobile .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header,.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header{flex:0;text-align:center;line-height:58px}.layout.ant-layout.mobile .top-nav-header-index.light .header-index-wide .header-index-left .trigger,.layout.ant-layout.tablet .top-nav-header-index.light .header-index-wide .header-index-left .trigger{color:rgba(0,0,0,.65)}.layout.ant-layout.tablet .top-nav-header-index .header-index-wide .ant-menu.ant-menu-horizontal{flex:1 1 auto;white-space:normal}.layout.ant-layout .top-nav-header-index{box-shadow:0 1px 4px rgba(0,21,41,.08);position:relative;transition:background .3s,width .2s}.layout.ant-layout .top-nav-header-index .header-index-wide{max-width:1200px;margin:auto;padding-left:0;display:flex;height:64px}.layout.ant-layout .top-nav-header-index .header-index-wide .ant-menu.ant-menu-horizontal{max-width:835px;flex:0 1 835px;border:none;height:64px;line-height:64px}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left{flex:0 1 1000px;display:flex}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header{flex:0 0 115px;width:115px;height:64px;position:relative;line-height:64px;transition:all .3s;overflow:hidden}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header img,.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-left .logo.top-nav-header svg{display:inline-block;vertical-align:middle;width:56px}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right{flex:0 0 auto;align-self:flex-end;height:64px;overflow:hidden}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right .content-box{float:right}.layout.ant-layout .top-nav-header-index .header-index-wide .header-index-right .content-box .action{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout.ant-layout .top-nav-header-index.light{background-color:#fff}.layout.ant-layout .layout-content{margin:24px 24px 0;height:100%;height:64px;padding:0 12px 0 0}.topmenu .page-header-index-wide{max-width:1200px;margin:0 auto}.ant-drawer.drawer-sider .sider{box-shadow:none}.ant-drawer.drawer-sider.dark .ant-drawer-content{background-color:#001529}.ant-drawer.drawer-sider.light{box-shadow:none}.ant-drawer.drawer-sider.light .ant-drawer-content{background-color:#fff}.ant-drawer.drawer-sider .ant-drawer-body{padding:0}.sider{box-shadow:2px 0 6px rgba(0,21,41,.35);position:relative;z-index:106;min-height:100vh}.sider .ant-layout-sider-children{overflow-y:hidden}.sider .ant-layout-sider-children:hover{overflow-y:auto}.sider.ant-fixed-sidemenu{position:fixed;height:100%}.sider .logo{position:relative;text-align:center;height:64px;overflow:hidden;line-height:64px;background:#002140;transition:all .3s}.sider .logo img,.sider .logo svg{display:inline-block;vertical-align:middle;width:64px}.sider.light{background-color:#fff;box-shadow:2px 0 8px 0 rgba(29,35,41,.05)}.sider.light .logo{background:#fff;box-shadow:1px 1px 0 0 #e8e8e8}.sider.light .ant-menu-light{border-right-color:transparent}.user-dropdown-menu span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.user-dropdown-menu-wrapper.ant-dropdown-menu{padding:4px 0}.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item{width:160px}.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item>.anticon:first-child,.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-item>a>.anticon:first-child,.user-dropdown-menu-wrapper.ant-dropdown-menu .ant-dropdown-menu-submenu-title>.anticon:first-child .ant-dropdown-menu-submenu-title>a>.anticon:first-child{min-width:12px;margin-right:8px}.table-page-search-wrapper .ant-form-inline .ant-form-item{display:flex;margin-bottom:20px;margin-right:0}.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control-wrapper{flex:1 1;display:inline-block;vertical-align:middle}.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label{line-height:32px;padding-right:8px;width:auto}.table-page-search-wrapper .ant-form-inline .ant-form-item .ant-form-item-control{height:32px;line-height:32px}.table-page-search-wrapper .table-page-search-submitButtons{display:block;margin-bottom:24px;white-space:nowrap}.ant-table-thead>tr>th{background:#fff!important}.content .table-operator{margin-bottom:18px}.content .table-operator button{margin-right:8px}.ant-card .ant-card-head{padding:0 16px!important}.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-head-title{padding:12px 0!important}.ant-form .ant-form-item{padding-bottom:0!important;margin-bottom:20px}.ant-list-item{word-break:break-all}.card-container{background:#f5f5f5}.card-container>.ant-tabs-card>.ant-tabs-content{margin-top:-16px}.card-container>.ant-tabs-card>.ant-tabs-content>.ant-tabs-tabpane{background:#fff;padding:16px}.card-container>.ant-tabs-card>.ant-tabs-bar{border-color:#fff}.card-container>.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab{border:none!important;margin-right:0!important;background:transparent}.card-container>.ant-tabs-card>.ant-tabs-bar .ant-tabs-tab-active{border-color:#fff;background:#fff}.ant-comment .ant-comment-actions{margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important}.ant-comment-inner .ant-comment-content .ant-comment-content-detail p{margin-top:1rem;margin-bottom:0}.ant-comment-inner .ant-comment-content .ant-comment-content-detail p img{width:100%}.ant-comment-avatar img{width:40px!important;height:40px!important}.ant-anchor-link-title{white-space:normal!important}.bottom-control{position:absolute;bottom:0;width:100%;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;left:0;background:#fff;border-radius:0 0 4px 4px}.page-wrapper{align-items:center;justify-content:flex-end;display:flex;flex-flow:row wrap}.page-wrapper .ant-pagination-options-size-changer.ant-select{margin:0}.page-wrapper .pagination{margin-top:1rem}.divider-transparent{background:transparent!important}.custom-tab-wrapper .ant-tabs-nav .ant-tabs-tab{margin:0 24px 0 0;padding:12px 0}.comment-content-wrapper{margin-bottom:0}.comment-content-wrapper h1{font-size:18px}.comment-content-wrapper h2{font-size:16px}.comment-content-wrapper h3{font-size:14px}.comment-content-wrapper h4{font-size:12px}.comment-content-wrapper h5{font-size:10px}.comment-content-wrapper h6{font-size:8px}.comment-content-wrapper img{width:50%}.comment-content-wrapper p{margin-bottom:0}.post-thumb .img,.sheet-thumb .img{width:100%;cursor:pointer;border-radius:4px}.ant-calendar-picker{width:100%!important}#editor .v-note-wrapper{height:100%}.attach-item{width:50%;padding-bottom:28%;float:left}.attach-thumb,.photo-thumb{width:100%;padding-bottom:56%}.attach-item,.attach-thumb,.photo-thumb{margin:0 auto;position:relative;overflow:hidden;cursor:pointer}.attach-item img,.attach-item span,.attach-thumb img,.attach-thumb span,.photo-thumb img,.photo-thumb span{width:100%;height:100%;position:absolute;top:0;left:0}.attach-item span,.attach-thumb span,.photo-thumb span{display:flex;font-size:12px;align-items:center;justify-content:center;color:#9b9ea0}.analysis-card-container,.analysis-card-container .meta{position:relative;overflow:hidden;width:100%}.analysis-card-container .meta{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.analysis-card-container .meta .analysis-card-action{cursor:pointer;position:absolute;top:0;right:0}.analysis-card-container .number{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap;color:#000;margin-top:4px;margin-bottom:0;font-size:32px;line-height:38px;height:38px}.ant-tree-child-tree li{overflow:hidden}.exception{min-height:500px;height:80%;align-items:center;text-align:center;margin-top:150px}.mobile .exception{margin-top:30px}.select-attachment-checkbox{display:block;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;z-index:10}.select-attachment-checkbox .ant-checkbox{margin-left:4px}.ant-list-item .ant-list-item-main,.ant-list-item .ant-list-item-meta-content,.ant-list-item pre{overflow-x:auto}.comment-modal-content img,.journal-list-content img{width:50%!important}.ant-input-group-addon{line-height:normal!important}.theme-screenshot{width:100%;margin:0 auto;position:relative;padding-bottom:56%;overflow:hidden}.theme-screenshot img{width:100%;height:100%;position:absolute;top:0;left:0}.card-header-fixed .ant-card-head{position:fixed;background:#fff;z-index:999;top:0}.attachments-group-item,.photos-group-item{padding:0;height:130px}.attachments-group-item-img,.photos-group-item-img{display:block;height:100%;background-repeat:no-repeat;background-size:cover;background-position:50%}.attachments-group .attachments-group-item-type,.attachments-group .photos-group-item-type{font-size:38px;text-transform:capitalize}.ant-affix{z-index:1000!important}.header-comment-popover .ant-popover-content .ant-popover-inner-content{height:500px;overflow-y:auto}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::-webkit-scrollbar-track-piece{background-color:#f8f8f8;border-radius:2em}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:#ddd;background-clip:padding-box;border-radius:2em}::-webkit-scrollbar-thumb:hover{background-color:#bbb}.page-transition-enter,.page-transition-leave-active{opacity:0}.page-transition-enter .page-transition-container,.page-transition-leave-active .page-transition-container{transform:scale(1.1)}.page-header[data-v-3af43504]{background:#fff;padding:0 24px 0;border-bottom:1px solid #e8e8e8}.page-header .ant-page-header[data-v-3af43504]{padding:16px 0}.mobile .page-header[data-v-3af43504],.tablet .page-header[data-v-3af43504]{padding:0!important}.mobile .page-header .ant-page-header[data-v-3af43504],.tablet .page-header .ant-page-header[data-v-3af43504]{padding:16px}.content[data-v-3af43504]{margin:24px 24px 0}.content .link[data-v-3af43504]{margin-top:16px}.content .link[data-v-3af43504]:not(:empty){margin-bottom:16px}.content .link a[data-v-3af43504]{margin-right:32px;height:24px;line-height:24px;display:inline-block}.content .link a i[data-v-3af43504]{font-size:24px;margin-right:8px;vertical-align:middle}.content .link a span[data-v-3af43504]{height:24px;line-height:24px;display:inline-block;vertical-align:middle}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.fixed{position:fixed}.\!fixed{position:fixed!important}.absolute{position:absolute}.top-1{top:.25rem}.right-2{right:.5rem}.left-2{left:.5rem}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.mb-0{margin-bottom:0}.\!mt-0{margin-top:0!important}.mr-1{margin-right:.25rem}.mb-5{margin-bottom:1.25rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mt-3{margin-top:.75rem}.mb-4{margin-bottom:1rem}.mr-3{margin-right:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.ml-2{margin-left:.5rem}.mb-1{margin-bottom:.25rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.h-full{height:100%}.\!h-auto{height:auto!important}.h-5{height:1.25rem}.h-screen{height:100vh}.w-full{width:100%}.w-1\/2{width:50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.cursor-move{cursor:move}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.list-none{list-style-type:none}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.self-center{align-self:center}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-solid{border-style:solid}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity))}.\!p-0{padding:0!important}.p-2{padding:.5rem}.p-0{padding:0}.pb-3{padding-bottom:.75rem}.text-center{text-align:center}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-5{line-height:1.25rem}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity))}.\!text-gray-800{--tw-text-opacity:1!important;color:rgb(31 41 55/var(--tw-text-opacity))!important}.\!text-gray-500{--tw-text-opacity:1!important;color:rgb(107 114 128/var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:text-blue-400:hover{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.hover\:\!text-blue-500:hover{--tw-text-opacity:1!important;color:rgb(59 130 246/var(--tw-text-opacity))!important}.hover\:blur-none:hover{--tw-blur:blur(0)}.hover\:blur-none:hover,.hover\:brightness-125:hover{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:brightness-125:hover{--tw-brightness:brightness(1.25)}body,html{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;color:rgba(0,0,0,.65);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-variant:tabular-nums;line-height:1.5;background-color:#fff;font-feature-settings:"tnum"}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1890ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#40a9ff}a:active{color:#096dd9}a:active,a:hover{text-decoration:none;outline:0}a[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed;pointer-events:none}code,kbd,pre,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:rgba(0,0,0,.45);text-align:left;caption-side:bottom}th{text-align:inherit}button,input,optgroup,select,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}::-moz-selection{color:#fff;background:#1890ff}::selection{color:#fff;background:#1890ff}.clearfix{zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{-webkit-animation-name:antFadeIn;animation-name:antFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.fade-leave.fade-leave-active{-webkit-animation-name:antFadeOut;animation-name:antFadeOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antFadeOut{0%{opacity:1}to{opacity:0}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter,.move-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-up-appear.move-up-appear-active,.move-up-enter.move-up-enter-active{-webkit-animation-name:antMoveUpIn;animation-name:antMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.move-up-leave.move-up-leave-active{-webkit-animation-name:antMoveUpOut;animation-name:antMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-up-appear,.move-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-up-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-down-appear,.move-down-enter,.move-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-down-appear.move-down-appear-active,.move-down-enter.move-down-enter-active{-webkit-animation-name:antMoveDownIn;animation-name:antMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.move-down-leave.move-down-leave-active{-webkit-animation-name:antMoveDownOut;animation-name:antMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-down-appear,.move-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-down-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-left-appear,.move-left-enter,.move-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-left-appear.move-left-appear-active,.move-left-enter.move-left-enter-active{-webkit-animation-name:antMoveLeftIn;animation-name:antMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.move-left-leave.move-left-leave-active{-webkit-animation-name:antMoveLeftOut;animation-name:antMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-left-appear,.move-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-left-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-right-appear,.move-right-enter,.move-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-right-appear.move-right-appear-active,.move-right-enter.move-right-enter-active{-webkit-animation-name:antMoveRightIn;animation-name:antMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.move-right-leave.move-right-leave-active{-webkit-animation-name:antMoveRightOut;animation-name:antMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-right-appear,.move-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-right-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@-webkit-keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes loadingCircle{to{transform:rotate(1turn)}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#1890ff}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;-webkit-animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;content:"";pointer-events:none}@-webkit-keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes waveEffect{to{box-shadow:0 0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@-webkit-keyframes fadeEffect{to{opacity:0}}@keyframes fadeEffect{to{opacity:0}}.slide-up-appear,.slide-up-enter,.slide-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-up-appear.slide-up-appear-active,.slide-up-enter.slide-up-enter-active{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-leave.slide-up-leave-active{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-up-appear,.slide-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-up-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-down-appear,.slide-down-enter,.slide-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-down-appear.slide-down-appear-active,.slide-down-enter.slide-down-enter-active{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-leave.slide-down-leave-active{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-down-appear,.slide-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-down-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-left-appear,.slide-left-enter,.slide-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-left-appear.slide-left-appear-active,.slide-left-enter.slide-left-enter-active{-webkit-animation-name:antSlideLeftIn;animation-name:antSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-leave.slide-left-leave-active{-webkit-animation-name:antSlideLeftOut;animation-name:antSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-left-appear,.slide-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-left-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-right-appear,.slide-right-enter,.slide-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-right-appear.slide-right-appear-active,.slide-right-enter.slide-right-enter-active{-webkit-animation-name:antSlideRightIn;animation-name:antSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-leave.slide-right-leave-active{-webkit-animation-name:antSlideRightOut;animation-name:antSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-right-appear,.slide-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-right-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@-webkit-keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@-webkit-keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@-webkit-keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@-webkit-keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.swing-appear,.swing-enter{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.swing-appear.swing-appear-active,.swing-enter.swing-enter-active{-webkit-animation-name:antSwingIn;animation-name:antSwingIn;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes antSwingIn{0%,to{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}@keyframes antSwingIn{0%,to{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}.zoom-appear,.zoom-enter,.zoom-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{-webkit-animation-name:antZoomIn;animation-name:antZoomIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-leave.zoom-leave-active{-webkit-animation-name:antZoomOut;animation-name:antZoomOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-appear,.zoom-big-enter,.zoom-big-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-fast-appear,.zoom-big-fast-enter,.zoom-big-fast-leave{-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-fast-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-up-appear,.zoom-up-enter,.zoom-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{-webkit-animation-name:antZoomUpIn;animation-name:antZoomUpIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{-webkit-animation-name:antZoomUpOut;animation-name:antZoomUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-up-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-down-appear,.zoom-down-enter,.zoom-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{-webkit-animation-name:antZoomDownIn;animation-name:antZoomDownIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{-webkit-animation-name:antZoomDownOut;animation-name:antZoomDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-down-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-left-appear,.zoom-left-enter,.zoom-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{-webkit-animation-name:antZoomLeftIn;animation-name:antZoomLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{-webkit-animation-name:antZoomLeftOut;animation-name:antZoomLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-left-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-right-appear,.zoom-right-enter,.zoom-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{-webkit-animation-name:antZoomRightIn;animation-name:antZoomRightIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{-webkit-animation-name:antZoomRightOut;animation-name:antZoomRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-right-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@-webkit-keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@-webkit-keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@-webkit-keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@-webkit-keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@-webkit-keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@-webkit-keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@-webkit-keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@-webkit-keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@-webkit-keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@-webkit-keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{transition:height .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}button,html [type=button]{-webkit-appearance:none}.ant-pro-footer-toolbar{position:fixed;width:100%;bottom:0;right:0;height:56px;line-height:56px;box-shadow:0 -1px 2px rgba(0,0,0,.03);background:#fff;border-top:1px solid #e8e8e8;padding:0 24px;z-index:1000}.ant-pro-footer-toolbar:after{content:"";display:block;clear:both} \ No newline at end of file diff --git a/src/main/resources/admin/index.html b/src/main/resources/admin/index.html index 91b6417c8..a1a1eea47 100644 --- a/src/main/resources/admin/index.html +++ b/src/main/resources/admin/index.html @@ -1 +1 @@ -Halo
\ No newline at end of file +Halo
\ No newline at end of file diff --git a/src/main/resources/admin/js/280.e148abcc.js b/src/main/resources/admin/js/101.551ac231.js similarity index 97% rename from src/main/resources/admin/js/280.e148abcc.js rename to src/main/resources/admin/js/101.551ac231.js index 9b408330e..5b44aafe8 100644 --- a/src/main/resources/admin/js/280.e148abcc.js +++ b/src/main/resources/admin/js/101.551ac231.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[280],{55792:function(t,e,n){var N=n(79644),r=n(8432),a=n(64235),o=n(69343),A=n(71768),I=n(43207),u=n(9510),U=n(51903),i=n(43297),s=i("splice"),l=r.TypeError,c=Math.max,G=Math.min,f=9007199254740991,O="Maximum allowed length exceeded";N({target:"Array",proto:!0,forced:!s},{splice:function(t,e){var n,N,r,i,s,H,E=I(this),p=A(E),d=a(t,p),h=arguments.length;if(0===h?n=N=0:1===h?(n=0,N=p-d):(n=h-2,N=G(c(o(e),0),p-d)),p+n-N>f)throw l(O);for(r=u(E,N),i=0;ip-N+n;i--)delete E[i-1]}else if(n>N)for(i=p-N;i>d;i--)s=i+N-1,H=i+n-1,s in E?E[H]=E[s]:delete E[H];for(i=0;i0)return U.type=u,U.target=t,U;0===l&&(U.type=I,s=e.length-1)}if(U.type=I,s<0){var c=0,G=e.length-1;while(c<=G){s=~~((c+G)/2);var f=e[s];if(l=i.compare(t,f),0===l)break;l>0?c=s+1:G=s-1}}return l<0&&s--,U.target=n[s],U.target||(U.type=u,U.target=U.source),U}function G(t){if("string"!==typeof t)throw new Error("argument should be string.");if(!l())throw new Error("not support Intl or zh-CN language.");return t.split("").map((function(t){return c(t)}))}t.exports={isSupported:l,parse:G,patchDict:s,genToken:c,convertToPinyin:function(t,e,n){return G(t).map((function(t){return n&&t.type===I?t.target.toLowerCase():t.target})).join(e||"")}}},15087:function(t){var e=["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],n=["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],N={"曾":"ZENG","沈":"SHEN","嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬤":"MO","嬷":"MO","蹒":"PAN","蹊":"XI","丬":"PAN","霰":"XIAN","莘":"XIN","豉":"CHI","饧":"XING","筠":"JUN","长":"CHANG","帧":"ZHEN","峙":"SHI","郍":"NA","芎":"XIONG","谁":"SHUI"};t.exports={PINYINS:n,UNIHANS:e,EXCEPTIONS:N}},73511:function(t,e,n){var N=n(21434),r=n(59729);N.isSupported()&&r.shouldPatch(N.genToken)&&N.patchDict(r),t.exports=N},59729:function(t,e){e=t.exports=function(t){t.EXCEPTIONS={"嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬷":"MO","蹊":"XI","丬":"PAN","霰":"XIAN","豉":"CHI","饧":"XING","帧":"ZHEN","芎":"XIONG","谁":"SHUI","钶":"KE"},t.UNIHANS[91]="伕",t.UNIHANS[347]="仚",t.UNIHANS[393]="诌",t.UNIHANS[39]="婤",t.UNIHANS[50]="腠",t.UNIHANS[369]="攸",t.UNIHANS[123]="乯",t.UNIHANS[171]="刕",t.UNIHANS[102]="佝",t.UNIHANS[126]="犿",t.UNIHANS[176]="列",t.UNIHANS[178]="刢",t.UNIHANS[252]="娝",t.UNIHANS[330]="偸"},e.shouldPatch=function(t){return"function"===typeof t&&("FOU"===t("伕").target&&"XIA"===t("仚").target&&"ZHONG"===t("诌").target&&"CHONG"===t("婤").target&&"CONG"===t("腠").target&&"YONG"===t("攸").target&&"HOU"===t("乯").target&&"LENG"===t("刕").target&&"GONG"===t("佝").target&&"HUAI"===t("犿").target&&"LIAO"===t("列").target&&"LIN"===t("刢").target&&"E"===t("钶").target)}},99421:function(t,e,n){n.d(e,{Z:function(){return i}});var N=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("a-form",t._l(t.presetMetas,(function(e,N){return n("a-form-item",{key:N},[n("a-row",{attrs:{gutter:5}},[n("a-col",{attrs:{span:12}},[n("a-input",{attrs:{disabled:!0},scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("K")])]},proxy:!0}],null,!0),model:{value:e.key,callback:function(n){t.$set(e,"key",n)},expression:"meta.key"}})],1),n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("V")])]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"meta.value"}})],1)],1)],1)})),1),n("a-form",[t._l(t.customMetas,(function(e,N){return n("a-form-item",{key:N},[n("a-row",{attrs:{gutter:5}},[n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("K")])]},proxy:!0}],null,!0),model:{value:e.key,callback:function(n){t.$set(e,"key",n)},expression:"meta.key"}})],1),n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("V")])]},proxy:!0},{key:"addonAfter",fn:function(){return[n("a-button",{staticClass:"!p-0 !h-auto",attrs:{type:"link"},on:{click:function(e){return e.preventDefault(),t.handleRemove(N)}}},[n("a-icon",{attrs:{type:"close"}})],1)]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"meta.value"}})],1)],1)],1)})),n("a-form-item",[n("a-button",{attrs:{type:"dashed"},on:{click:t.handleAdd}},[t._v("新增")])],1)],2)],1)},r=[],a=n(47458),o=(n(70315),n(12566),n(82395),n(62888),n(31875),n(90195),n(55792),n(41479),n(17132)),A={name:"MetaEditor",props:{target:{type:String,default:"post",validator:function(t){return-1!==["post","sheet"].indexOf(t)}},targetId:{type:Number,default:null},metas:{type:Array,default:function(){return[]}}},data:function(){return{presetFields:[],presetMetas:[],customMetas:[]}},watch:{presetMetas:{handler:function(){this.handleChange()},deep:!0},customMetas:{handler:function(){this.handleChange()},deep:!0},targetId:function(){this.handleGenerateMetas()}},created:function(){this.handleListPresetMetasField()},methods:{handleListPresetMetasField:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.theme.getActivatedTheme();case 3:n=e.sent,t.presetFields=n.data["".concat(t.target,"MetaField")]||[],t.handleGenerateMetas(),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},handleGenerateMetas:function(){var t=this;this.presetMetas=this.presetFields.map((function(e){var n=t.metas.find((function(t){return t.key===e}));return n?{key:e,value:n.value}:{key:e,value:""}})),this.customMetas=this.metas.filter((function(e){return-1===t.presetFields.indexOf(e.key)})).map((function(t){return{key:t.key,value:t.value}}))},handleAdd:function(){this.customMetas.push({key:"",value:""})},handleRemove:function(t){this.customMetas.splice(t,1)},handleChange:function(){this.$emit("update:metas",this.presetMetas.concat(this.customMetas))}}},I=A,u=n(42177),U=(0,u.Z)(I,N,r,!1,null,null,null),i=U.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[101],{55792:function(t,e,n){var N=n(79644),r=n(8432),a=n(64235),o=n(69343),A=n(71768),I=n(43207),u=n(9510),U=n(51903),i=n(43297),s=i("splice"),l=r.TypeError,c=Math.max,G=Math.min,f=9007199254740991,O="Maximum allowed length exceeded";N({target:"Array",proto:!0,forced:!s},{splice:function(t,e){var n,N,r,i,s,H,E=I(this),p=A(E),d=a(t,p),h=arguments.length;if(0===h?n=N=0:1===h?(n=0,N=p-d):(n=h-2,N=G(c(o(e),0),p-d)),p+n-N>f)throw l(O);for(r=u(E,N),i=0;ip-N+n;i--)delete E[i-1]}else if(n>N)for(i=p-N;i>d;i--)s=i+N-1,H=i+n-1,s in E?E[H]=E[s]:delete E[H];for(i=0;i0)return U.type=u,U.target=t,U;0===l&&(U.type=I,s=e.length-1)}if(U.type=I,s<0){var c=0,G=e.length-1;while(c<=G){s=~~((c+G)/2);var f=e[s];if(l=i.compare(t,f),0===l)break;l>0?c=s+1:G=s-1}}return l<0&&s--,U.target=n[s],U.target||(U.type=u,U.target=U.source),U}function G(t){if("string"!==typeof t)throw new Error("argument should be string.");if(!l())throw new Error("not support Intl or zh-CN language.");return t.split("").map((function(t){return c(t)}))}t.exports={isSupported:l,parse:G,patchDict:s,genToken:c,convertToPinyin:function(t,e,n){return G(t).map((function(t){return n&&t.type===I?t.target.toLowerCase():t.target})).join(e||"")}}},15087:function(t){var e=["阿","哎","安","肮","凹","八","挀","扳","邦","勹","陂","奔","伻","屄","边","灬","憋","汃","冫","癶","峬","嚓","偲","参","仓","撡","冊","嵾","曽","叉","芆","辿","伥","抄","车","抻","阷","吃","充","抽","出","欻","揣","巛","刅","吹","旾","逴","呲","匆","凑","粗","汆","崔","邨","搓","咑","呆","丹","当","刀","嘚","扥","灯","氐","甸","刁","爹","丁","丟","东","吺","厾","耑","垖","吨","多","妸","诶","奀","鞥","儿","发","帆","匚","飞","分","丰","覅","仏","紑","夫","旮","侅","甘","冈","皋","戈","给","根","刯","工","勾","估","瓜","乖","关","光","归","丨","呙","哈","咍","佄","夯","茠","诃","黒","拫","亨","噷","叿","齁","乎","花","怀","欢","巟","灰","昏","吙","丌","加","戋","江","艽","阶","巾","坕","冂","丩","凥","姢","噘","军","咔","开","刊","忼","尻","匼","肎","劥","空","抠","扝","夸","蒯","宽","匡","亏","坤","扩","垃","来","兰","啷","捞","肋","勒","崚","哩","俩","奁","良","撩","毟","拎","伶","溜","囖","龙","瞜","噜","驴","娈","掠","抡","罗","呣","妈","埋","嫚","牤","猫","么","呅","门","甿","咪","宀","喵","乜","民","名","谬","摸","哞","毪","嗯","拏","腉","囡","囔","孬","疒","娞","恁","能","妮","拈","娘","鸟","捏","囜","宁","妞","农","羺","奴","女","奻","疟","黁","挪","喔","讴","妑","拍","眅","乓","抛","呸","喷","匉","丕","囨","剽","氕","姘","乒","钋","剖","仆","七","掐","千","呛","悄","癿","亲","靑","卭","丘","区","峑","缺","夋","呥","穣","娆","惹","人","扔","日","茸","厹","邚","挼","堧","婑","瞤","捼","仨","毢","三","桒","掻","閪","森","僧","杀","筛","山","伤","弰","奢","申","升","尸","収","书","刷","衰","闩","双","脽","吮","说","厶","忪","捜","苏","狻","夊","孙","唆","他","囼","坍","汤","夲","忑","熥","剔","天","旫","帖","厅","囲","偷","凸","湍","推","吞","乇","穵","歪","弯","尣","危","昷","翁","挝","乌","夕","虲","仙","乡","灱","些","心","星","凶","休","吁","吅","削","坃","丫","恹","央","幺","倻","一","囙","应","哟","佣","优","扜","囦","曰","晕","帀","災","兂","匨","傮","则","贼","怎","増","扎","捚","沾","张","佋","蜇","贞","争","之","中","州","朱","抓","拽","专","妆","隹","宒","卓","乲","宗","邹","租","钻","厜","尊","昨","兙"],n=["A","AI","AN","ANG","AO","BA","BAI","BAN","BANG","BAO","BEI","BEN","BENG","BI","BIAN","BIAO","BIE","BIN","BING","BO","BU","CA","CAI","CAN","CANG","CAO","CE","CEN","CENG","CHA","CHAI","CHAN","CHANG","CHAO","CHE","CHEN","CHENG","CHI","CHONG","CHOU","CHU","CHUA","CHUAI","CHUAN","CHUANG","CHUI","CHUN","CHUO","CI","CONG","COU","CU","CUAN","CUI","CUN","CUO","DA","DAI","DAN","DANG","DAO","DE","DEN","DENG","DI","DIAN","DIAO","DIE","DING","DIU","DONG","DOU","DU","DUAN","DUI","DUN","DUO","E","EI","EN","ENG","ER","FA","FAN","FANG","FEI","FEN","FENG","FIAO","FO","FOU","FU","GA","GAI","GAN","GANG","GAO","GE","GEI","GEN","GENG","GONG","GOU","GU","GUA","GUAI","GUAN","GUANG","GUI","GUN","GUO","HA","HAI","HAN","HANG","HAO","HE","HEI","HEN","HENG","HM","HONG","HOU","HU","HUA","HUAI","HUAN","HUANG","HUI","HUN","HUO","JI","JIA","JIAN","JIANG","JIAO","JIE","JIN","JING","JIONG","JIU","JU","JUAN","JUE","JUN","KA","KAI","KAN","KANG","KAO","KE","KEN","KENG","KONG","KOU","KU","KUA","KUAI","KUAN","KUANG","KUI","KUN","KUO","LA","LAI","LAN","LANG","LAO","LE","LEI","LENG","LI","LIA","LIAN","LIANG","LIAO","LIE","LIN","LING","LIU","LO","LONG","LOU","LU","LV","LUAN","LVE","LUN","LUO","M","MA","MAI","MAN","MANG","MAO","ME","MEI","MEN","MENG","MI","MIAN","MIAO","MIE","MIN","MING","MIU","MO","MOU","MU","N","NA","NAI","NAN","NANG","NAO","NE","NEI","NEN","NENG","NI","NIAN","NIANG","NIAO","NIE","NIN","NING","NIU","NONG","NOU","NU","NV","NUAN","NVE","NUN","NUO","O","OU","PA","PAI","PAN","PANG","PAO","PEI","PEN","PENG","PI","PIAN","PIAO","PIE","PIN","PING","PO","POU","PU","QI","QIA","QIAN","QIANG","QIAO","QIE","QIN","QING","QIONG","QIU","QU","QUAN","QUE","QUN","RAN","RANG","RAO","RE","REN","RENG","RI","RONG","ROU","RU","RUA","RUAN","RUI","RUN","RUO","SA","SAI","SAN","SANG","SAO","SE","SEN","SENG","SHA","SHAI","SHAN","SHANG","SHAO","SHE","SHEN","SHENG","SHI","SHOU","SHU","SHUA","SHUAI","SHUAN","SHUANG","SHUI","SHUN","SHUO","SI","SONG","SOU","SU","SUAN","SUI","SUN","SUO","TA","TAI","TAN","TANG","TAO","TE","TENG","TI","TIAN","TIAO","TIE","TING","TONG","TOU","TU","TUAN","TUI","TUN","TUO","WA","WAI","WAN","WANG","WEI","WEN","WENG","WO","WU","XI","XIA","XIAN","XIANG","XIAO","XIE","XIN","XING","XIONG","XIU","XU","XUAN","XUE","XUN","YA","YAN","YANG","YAO","YE","YI","YIN","YING","YO","YONG","YOU","YU","YUAN","YUE","YUN","ZA","ZAI","ZAN","ZANG","ZAO","ZE","ZEI","ZEN","ZENG","ZHA","ZHAI","ZHAN","ZHANG","ZHAO","ZHE","ZHEN","ZHENG","ZHI","ZHONG","ZHOU","ZHU","ZHUA","ZHUAI","ZHUAN","ZHUANG","ZHUI","ZHUN","ZHUO","ZI","ZONG","ZOU","ZU","ZUAN","ZUI","ZUN","ZUO",""],N={"曾":"ZENG","沈":"SHEN","嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬤":"MO","嬷":"MO","蹒":"PAN","蹊":"XI","丬":"PAN","霰":"XIAN","莘":"XIN","豉":"CHI","饧":"XING","筠":"JUN","长":"CHANG","帧":"ZHEN","峙":"SHI","郍":"NA","芎":"XIONG","谁":"SHUI"};t.exports={PINYINS:n,UNIHANS:e,EXCEPTIONS:N}},73511:function(t,e,n){var N=n(21434),r=n(59729);N.isSupported()&&r.shouldPatch(N.genToken)&&N.patchDict(r),t.exports=N},59729:function(t,e){e=t.exports=function(t){t.EXCEPTIONS={"嗲":"DIA","碡":"ZHOU","聒":"GUO","炔":"QUE","蚵":"KE","砉":"HUA","嬷":"MO","蹊":"XI","丬":"PAN","霰":"XIAN","豉":"CHI","饧":"XING","帧":"ZHEN","芎":"XIONG","谁":"SHUI","钶":"KE"},t.UNIHANS[91]="伕",t.UNIHANS[347]="仚",t.UNIHANS[393]="诌",t.UNIHANS[39]="婤",t.UNIHANS[50]="腠",t.UNIHANS[369]="攸",t.UNIHANS[123]="乯",t.UNIHANS[171]="刕",t.UNIHANS[102]="佝",t.UNIHANS[126]="犿",t.UNIHANS[176]="列",t.UNIHANS[178]="刢",t.UNIHANS[252]="娝",t.UNIHANS[330]="偸"},e.shouldPatch=function(t){return"function"===typeof t&&("FOU"===t("伕").target&&"XIA"===t("仚").target&&"ZHONG"===t("诌").target&&"CHONG"===t("婤").target&&"CONG"===t("腠").target&&"YONG"===t("攸").target&&"HOU"===t("乯").target&&"LENG"===t("刕").target&&"GONG"===t("佝").target&&"HUAI"===t("犿").target&&"LIAO"===t("列").target&&"LIN"===t("刢").target&&"E"===t("钶").target)}},78870:function(t,e,n){n.d(e,{Z:function(){return i}});var N=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("a-form",t._l(t.presetMetas,(function(e,N){return n("a-form-item",{key:N},[n("a-row",{attrs:{gutter:5}},[n("a-col",{attrs:{span:12}},[n("a-input",{attrs:{disabled:!0},scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("K")])]},proxy:!0}],null,!0),model:{value:e.key,callback:function(n){t.$set(e,"key",n)},expression:"meta.key"}})],1),n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("V")])]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"meta.value"}})],1)],1)],1)})),1),n("a-form",[t._l(t.customMetas,(function(e,N){return n("a-form-item",{key:N},[n("a-row",{attrs:{gutter:5}},[n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("K")])]},proxy:!0}],null,!0),model:{value:e.key,callback:function(n){t.$set(e,"key",n)},expression:"meta.key"}})],1),n("a-col",{attrs:{span:12}},[n("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[n("i",[t._v("V")])]},proxy:!0},{key:"addonAfter",fn:function(){return[n("a-button",{staticClass:"!p-0 !h-auto",attrs:{type:"link"},on:{click:function(e){return e.preventDefault(),t.handleRemove(N)}}},[n("a-icon",{attrs:{type:"close"}})],1)]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value",n)},expression:"meta.value"}})],1)],1)],1)})),n("a-form-item",[n("a-button",{attrs:{type:"dashed"},on:{click:t.handleAdd}},[t._v("新增")])],1)],2)],1)},r=[],a=n(29230),o=(n(70315),n(12566),n(82395),n(62888),n(31875),n(90195),n(55792),n(41479),n(62210)),A={name:"MetaEditor",props:{target:{type:String,default:"post",validator:function(t){return-1!==["post","sheet"].indexOf(t)}},targetId:{type:Number,default:null},metas:{type:Array,default:function(){return[]}}},data:function(){return{presetFields:[],presetMetas:[],customMetas:[]}},watch:{presetMetas:{handler:function(){this.handleChange()},deep:!0},customMetas:{handler:function(){this.handleChange()},deep:!0},targetId:function(){this.handleGenerateMetas()}},created:function(){this.handleListPresetMetasField()},methods:{handleListPresetMetasField:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.theme.getActivatedTheme();case 3:n=e.sent,t.presetFields=n.data["".concat(t.target,"MetaField")]||[],t.handleGenerateMetas(),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},handleGenerateMetas:function(){var t=this;this.presetMetas=this.presetFields.map((function(e){var n=t.metas.find((function(t){return t.key===e}));return n?{key:e,value:n.value}:{key:e,value:""}})),this.customMetas=this.metas.filter((function(e){return-1===t.presetFields.indexOf(e.key)})).map((function(t){return{key:t.key,value:t.value}}))},handleAdd:function(){this.customMetas.push({key:"",value:""})},handleRemove:function(t){this.customMetas.splice(t,1)},handleChange:function(){this.$emit("update:metas",this.presetMetas.concat(this.customMetas))}}},I=A,u=n(42177),U=(0,u.Z)(I,N,r,!1,null,null,null),i=U.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/105.f912c56b.js b/src/main/resources/admin/js/105.f912c56b.js new file mode 100644 index 000000000..232b88b0c --- /dev/null +++ b/src/main/resources/admin/js/105.f912c56b.js @@ -0,0 +1 @@ +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[105],{53303:function(t,e,a){var n=a(15820),o=Math.floor,i=function(t,e){var a=t.length,l=o(a/2);return a<8?r(t,e):s(t,i(n(t,0,l),e),i(n(t,l),e),e)},r=function(t,e){var a,n,o=t.length,i=1;while(i0)t[n]=t[--n];n!==i++&&(t[n]=a)}return t},s=function(t,e,a,n){var o=e.length,i=a.length,r=0,s=0;while(r3)){if(f)return!0;if(h)return h<603;var t,e,a,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0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*_*b*f*k*p+i+u+x+z+},R,Y,n,p,y,}-T-Y-`-}.P.Q.^.j.m.p.r.s.y/Z/p0Q0Y0dR%P!u#zhOamnv!W!Y!]!_#X#b#d#e#i#j#k#l#m#n#o#s#w$U$V$W$X$Y$Z$h$l$v%e&l&}'S'T'n'w(b(})Q)v*V*Z*[*_*b*f*p+z,n,p,y,}-Y-`.P.Q.j.m.p.r.y/Z/p0Q0YQ#R^Q%O!uQ&W#rQ(`%cQ)e&^U)f&_&h+}Q*z(QQ*{(RQ-m+iR.W,RQ(P$}R*y(O#|dO^amnv!W!Y!]!_#X#b#d#e#i#j#k#l#m#n#o#s#w$U$V$W$X$Y$Z$h$l$v%e&l&}'S'T'n'w(b(})Q)v*V*Z*[*_*b*f*p+z,n,p,y,}-Y-`.P.Q.j.m.p.r.y/Z/p0Q0YT%q#a/[Q%}#eQ'O$XQ,q*ZQ.k,pR/h.mX)a&])b,Y.^!{_OV^`av!Y!f!z#Q#X#w$V$W$X$Y$Z$h%]%a%j&]&d&g&z'T(i)b)q*V*_*f*k+x+z,W,Y,}-}.P.Q.^.r/ZU!sW!U&{U%l#Z#`*XS+T(f)mQ+o)YS-f+V,]R-t+qj!qW!U#Z#`$w%W([(f)Y)m+V+q,]U%V!{%`-|Q(Z%[Q*W&{Q*d'_Q,o*XQ,z*eQ.u-SR/m.vQ'z$vQ*w'wR.z-`R*x'w[)]&]&g)b)q,Y.^T+r)Z)oR)V&[W+p)Y)m+q,]Q-y+tR/W-zS#P^+xR%b#QS)g&_&hR.V+}R)l&dW)_&])b,Y.^R+s)ZR#T^R*r'nR'r$lT,f*O,gQ.e,iR/c.fR/c.g",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp BitOp BitOp LogicOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource",maxTerm:269,nodeProps:[[t.md.group,-26,4,46,75,76,81,86,91,143,145,148,149,151,154,156,159,161,163,165,170,172,174,176,178,179,181,189,"Statement",-24,6,13,14,15,16,17,18,19,20,21,38,39,40,98,99,101,102,105,116,118,120,123,125,128,"Expression",-7,22,23,24,25,26,28,33,"Type"],[t.md.openedBy,10,"(",43,"{"],[t.md.closedBy,11,")",44,"}"]],skippedNodes:[0,1,2],repeatNodeCount:27,t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b/}),LabeledStatement:o.ze,SwitchBlock:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),$=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:$?1:2)*O.unit},BlockComment:()=>-1,Statement:(0,o.tC)({except:/^{/})}),o.x0.add({["Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer"]:o.Dv,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),(0,r.Gv)({null:r.pJ["null"],instanceof:r.pJ.operatorKeyword,this:r.pJ.self,"new super assert open to with void":r.pJ.keyword,"class interface extends implements module package import enum":r.pJ.definitionKeyword,"switch while for if else case default do break continue return try catch finally throw":r.pJ.controlKeyword,["requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws"]:r.pJ.modifier,IntegerLiteral:r.pJ.integer,FloatLiteral:r.pJ.float,StringLiteral:r.pJ.string,CharacterLiteral:r.pJ.character,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,BooleanLiteral:r.pJ.bool,PrimitiveType:r.pJ.standard(r.pJ.typeName),TypeName:r.pJ.typeName,Identifier:r.pJ.variableName,"MethodName/Identifier":r.pJ["function"](r.pJ.variableName),Definition:r.pJ.definition(r.pJ.variableName),ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,AssignOp:r.pJ.definitionOperator,UpdateOp:r.pJ.updateOperator,Asterisk:r.pJ.punctuation,Label:r.pJ.labelName,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,".":r.pJ.derefOperator,", ;":r.pJ.separator})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function l(){return new o.ri(p)}var T=i(38487),Y=i(17132),s={name:"RuntimeLogs",components:{Codemirror:P.Z},data:function(){return{logContent:"",loading:!1,logLines:200,downloading:!1,editor:{extensions:[l()]}}},beforeMount:function(){this.handleLoadLogsLines()},methods:{handleLoadLogsLines:function(){var O=this;this.loading=!0,Y.Z.getLogFile(this.logLines).then((function(Q){O.logContent=Q.data,O.$nextTick((function(){O.$refs.editor.handleInitCodemirror();var Q=O.$el.querySelector(".cm-scroller");Q.scrollTop=Q.scrollHeight-Q.clientHeight}))})).finally((function(){O.loading=!1}))},handleDownloadLogFile:function(){var O=this,Q=this.$message.loading("下载中...",0);this.downloading=!0,Y.Z.getLogFile(this.logLines).then((function(O){var Q=new Blob([O.data]),i=document.createElement("a"),$=window.URL.createObjectURL(Q);i.href=$,i.download="halo-log-"+(0,T._)(new Date,"YYYY-MM-DD-HH-mm-ss")+".log",document.body.appendChild(i),i.click(),document.body.removeChild(i),window.URL.revokeObjectURL($)})).catch((function(){O.$message.error("下载失败!")})).finally((function(){setTimeout((function(){O.downloading=!1,Q()}),400)}))}}},c=s,d=i(42177),y=(0,d.Z)(c,$,a,!1,null,null,null),m=y.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/170.4863f6c6.js b/src/main/resources/admin/js/170.4863f6c6.js deleted file mode 100644 index 2ce707fb7..000000000 --- a/src/main/resources/admin/js/170.4863f6c6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[170],{1594:function(e,t,n){n.d(t,{Z:function(){return m}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{destroyOnClose:"",title:"评论回复"},on:{close:e.onClose},scopedSlots:e._u([{key:"footer",fn:function(){return[n("ReactiveButton",{attrs:{errored:e.submitErrored,loading:e.submitting,erroredText:"回复失败",loadedText:"回复成功",text:"回复",type:"primary"},on:{callback:e.handleSubmitCallback,click:e.handleSubmit}})]},proxy:!0}]),model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("a-form-model",{ref:"replyCommentForm",attrs:{model:e.model,rules:e.rules,layout:"vertical"}},[n("a-form-model-item",{attrs:{prop:"content"}},[n("a-input",{ref:"contentInput",attrs:{autoSize:{minRows:8},type:"textarea"},model:{value:e.model.content,callback:function(t){e.$set(e.model,"content",t)},expression:"model.content"}})],1)],1)],1)},r=[],o=n(47458),i=(n(70315),n(12566),n(17132)),l={name:"CommentReplyModal",props:{visible:{type:Boolean,default:!0},comment:{type:Object,default:null},targetId:{type:Number,default:0},target:{type:String,required:!0,validator:function(e){return-1!==["post","sheet","journal"].indexOf(e)}}},data:function(){return{model:{},submitting:!1,submitErrored:!1,rules:{content:[{required:!0,message:"* 内容不能为空",trigger:["change"]}]}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},watch:{modalVisible:function(e){var t=this;e&&this.$nextTick((function(){t.$refs.contentInput.focus()}))}},methods:{handleSubmit:function(){var e=this;e.$refs.replyCommentForm.validate(function(){var t=(0,o.Z)(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!n){t.next=15;break}return t.prev=1,e.submitting=!0,e.model.postId=e.targetId,e.comment&&(e.model.parentId=e.comment.id),t.next=7,i.Z.comment.create("".concat(e.target,"s"),e.model);case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](1),e.submitErrored=!0;case 12:return t.prev=12,setTimeout((function(){e.submitting=!1}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,9,12,15]])})));return function(e){return t.apply(this,arguments)}}())},handleSubmitCallback:function(){this.submitErrored?this.submitErrored=!1:(this.model={},this.modalVisible=!1,this.$emit("succeed"))},onClose:function(){this.model={},this.modalVisible=!1}}},s=l,c=n(42177),u=(0,c.Z)(s,a,r,!1,null,null,null),m=u.exports},13170:function(e,t,n){n.d(t,{Z:function(){return b}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{afterClose:e.onClose,title:e.title,width:1024,destroyOnClose:""},scopedSlots:e._u([{key:"footer",fn:function(){return[e._t("extraFooter"),n("a-button",{attrs:{type:"primary"},on:{click:function(t){e.replyModalVisible=!0}}},[e._v("创建评论")]),n("a-button",{on:{click:function(t){e.modalVisible=!1}}},[e._v("关闭")])]},proxy:!0}],null,!0),model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("a-spin",{attrs:{spinning:e.list.loading}},e._l(e.list.data,(function(t,a){return n("TargetCommentTreeNode",{key:a,attrs:{comment:t,target:e.target,"target-id":e.targetId},on:{reload:e.handleGetComments}})})),1),e.list.loading||e.list.data.length?e._e():n("a-empty"),n("div",{staticClass:"page-wrapper"},[n("a-pagination",{staticClass:"pagination",attrs:{current:e.pagination.page,defaultPageSize:e.pagination.size,pageSizeOptions:["10","20","50","100"],total:e.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:e.handlePageChange,showSizeChange:e.handlePageSizeChange}})],1),n("CommentReplyModal",{attrs:{target:e.target,"target-id":e.targetId,visible:e.replyModalVisible},on:{"update:visible":function(t){e.replyModalVisible=t},succeed:e.handleGetComments}})],1)},r=[],o=n(47458),i=(n(70315),n(12566),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-comment",{scopedSlots:e._u([{key:"author",fn:function(){return[n("a",{attrs:{href:e.comment.authorUrl,target:"_blank"}},[e.comment.isAdmin?n("a-icon",{staticStyle:{"margin-right":"3px"},attrs:{type:"user"}}):e._e(),e._v(" "+e._s(e.comment.author)+" ")],1)]},proxy:!0},{key:"avatar",fn:function(){return[n("a-avatar",{attrs:{alt:e.comment.author,src:e.comment.avatar,size:"large"}})]},proxy:!0},{key:"content",fn:function(){return[n("div",{staticClass:"comment-modal-content",domProps:{innerHTML:e._s(e.$options.filters.markdownRender(e.comment.content))}})]},proxy:!0},{key:"datetime",fn:function(){return[n("a-tooltip",{scopedSlots:e._u([{key:"title",fn:function(){return[n("span",[e._v(e._s(e._f("moment")(e.comment.createTime)))])]},proxy:!0}])},[n("span",[e._v(e._s(e._f("timeAgo")(e.comment.createTime)))])])]},proxy:!0},{key:"actions",fn:function(){return["AUDITING"===e.comment.status?n("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:e._u([{key:"overlay",fn:function(){return[n("a-menu",[n("a-menu-item",{key:"1",on:{click:function(t){return e.handleChangeStatus("PUBLISHED")}}},[e._v(" 通过")]),n("a-menu-item",{key:"2",on:{click:e.handlePublishAndReply}},[e._v(" 通过并回复")])],1)]},proxy:!0}],null,!1,357119804)},[n("span",[e._v("通过")])]):"PUBLISHED"===e.comment.status?n("span",{on:{click:function(t){e.replyModalVisible=!0}}},[e._v("回复")]):"RECYCLE"===e.comment.status?n("a-popconfirm",{attrs:{title:"你确定要还原该评论?",cancelText:"取消",okText:"确定"},on:{confirm:function(t){return e.handleChangeStatus("PUBLISHED")}}},[e._v(" 还原 ")]):e._e(),"PUBLISHED"===e.comment.status||"AUDITING"===e.comment.status?n("a-popconfirm",{attrs:{title:"你确定要将该评论移到回收站?",cancelText:"取消",okText:"确定"},on:{confirm:function(t){return e.handleChangeStatus("RECYCLE")}}},[e._v(" 回收站 ")]):e._e(),n("a-popconfirm",{attrs:{title:"你确定要永久删除该评论?",cancelText:"取消",okText:"确定"},on:{confirm:e.handleDelete}},[e._v(" 删除 ")])]},proxy:!0}])},[e.comment.children?e._l(e.comment.children,(function(t,a){return n("TargetCommentTreeNode",{key:a,attrs:{comment:t,target:e.target,"target-id":e.targetId},on:{reload:function(t){return e.$emit("reload")}}})})):e._e(),n("CommentReplyModal",{attrs:{comment:e.comment,target:e.target,"target-id":e.targetId,visible:e.replyModalVisible},on:{"update:visible":function(t){e.replyModalVisible=t},succeed:function(t){return e.$emit("reload")}}})],2)}),l=[],s=n(17132),c=n(1594),u={name:"TargetCommentTreeNode",components:{CommentReplyModal:c.Z},props:{target:{type:String,required:!0,validator:function(e){return-1!==["post","sheet","journal"].indexOf(e)}},targetId:{type:Number,required:!0,default:0},comment:{type:Object,required:!1,default:null}},data:function(){return{replyModalVisible:!1}},methods:{handleChangeStatus:function(e){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,s.Z.comment.updateStatusById("".concat(t.target,"s"),t.comment.id,e);case 3:n.next=8;break;case 5:n.prev=5,n.t0=n["catch"](0),t.$log.error("Failed to change comment status",n.t0);case 8:return n.prev=8,t.$emit("reload"),n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[0,5,8,11]])})))()},handlePublishAndReply:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.handleChangeStatus("PUBLISHED");case 2:e.replyModalVisible=!0;case 3:case"end":return t.stop()}}),t)})))()},handleDelete:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.comment["delete"]("".concat(e.target,"s"),e.comment.id);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t["catch"](0),e.$log.error("Failed to delete comment",t.t0);case 8:return t.prev=8,e.$emit("reload"),t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[0,5,8,11]])})))()}}},m=u,d=n(42177),p=(0,d.Z)(m,i,l,!1,null,null,null),f=p.exports,h={name:"TargetCommentListModal",components:{TargetCommentTreeNode:f,CommentReplyModal:c.Z},props:{visible:{type:Boolean,default:!0},title:{type:String,default:"评论"},target:{type:String,required:!0,validator:function(e){return-1!==["post","sheet","journal"].indexOf(e)}},targetId:{type:Number,required:!0,default:0}},data:function(){return{list:{data:[],loading:!1,params:{page:0,size:10},total:0},replyModalVisible:!1}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}}},watch:{modalVisible:function(e){e&&this.handleGetComments()},targetId:function(){this.handleGetComments()}},methods:{handleGetComments:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.list.loading=!0,t.next=4,s.Z.comment.listAsTreeView("".concat(e.target,"s"),e.targetId,e.list.params);case 4:n=t.sent,e.list.data=n.data.content,e.list.total=n.data.total,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),e.$log.error("Failed to get target comments",t.t0);case 12:return t.prev=12,e.list.loading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[0,9,12,15]])})))()},handlePageChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=e-1,this.handleGetComments()},handlePageSizeChange:function(e,t){this.list.params.page=0,this.list.params.size=t,this.handleGetComments()},onClose:function(){this.$emit("close")}}},g=h,v=(0,d.Z)(g,a,r,!1,null,null,null),b=v.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/172.34193c3d.js b/src/main/resources/admin/js/172.34193c3d.js deleted file mode 100644 index d6ce13136..000000000 --- a/src/main/resources/admin/js/172.34193c3d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[172],{87174:function(t,e,s){s.r(e),s.d(e,{default:function(){return n}});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("a-row",{attrs:{gutter:12}},[s("a-col",{staticClass:"mb-3",attrs:{lg:12,md:24,sm:24,xl:12,xs:24}},[s("a-card",{attrs:{bodyStyle:{padding:0},bordered:!1,hoverable:"",title:"服务器"}},[s("table",{staticClass:"w-full"},[s("tbody",{staticClass:"ant-table-tbody"},[s("tr",[s("td",[t._v("系统")]),s("td",[t._v(t._s(t.systemProperties["os.name"].value)+" "+t._s(t.systemProperties["os.version"].value))])]),s("tr",[s("td",[t._v("平台")]),s("td",[t._v(t._s(t.systemProperties["os.arch"].value))])]),s("tr",[s("td",[t._v("语言")]),s("td",[t._v(t._s(t.systemProperties["user.language"].value))])]),s("tr",[s("td",[t._v("时区")]),s("td",[t._v(t._s(t.systemProperties["user.timezone"].value))])]),s("tr",[s("td",[t._v("当前用户")]),s("td",[t._v(t._s(t.systemProperties["user.name"].value))])]),s("tr",[s("td",[t._v("用户目录")]),s("td",[t._v(t._s(t.systemProperties["user.home"].value))])])])])]),s("a-divider",{attrs:{dashed:""}})],1),s("a-col",{staticClass:"mb-3",attrs:{lg:12,md:24,sm:24,xl:12,xs:24}},[s("a-card",{attrs:{bodyStyle:{padding:0},bordered:!1,hoverable:"",title:"使用情况"}},[s("table",{staticClass:"w-full"},[s("tbody",{staticClass:"ant-table-tbody"},[s("tr",[s("td",[t._v("CPU 核心数")]),s("td",[t._v(t._s(t.system.cpu.count)+" 个")])]),s("tr",[s("td",[t._v("CPU 使用率")]),s("td",[t._v(t._s(t.system.cpu.usage)+" %")])]),s("tr",[s("td",[t._v("JVM 最大可用内存")]),s("td",[t._v(t._s(t._f("fileSizeFormat")(t.jvm.memory.max)))])]),s("tr",[s("td",[t._v("JVM 可用内存")]),s("td",[t._v(t._s(t._f("fileSizeFormat")(t.jvm.memory.committed)))])]),s("tr",[s("td",[t._v("JVM 已用内存")]),s("td",[t._v(t._s(t._f("fileSizeFormat")(t.jvm.memory.used)))])]),s("tr",[s("td",[t._v("GC 次数")]),s("td",[t._v(t._s(t.jvm.gc.pause.count)+" 次")])])])])]),s("a-divider",{attrs:{dashed:""}})],1),s("a-col",{staticClass:"mb-3",attrs:{lg:24,md:24,sm:24,xl:24,xs:24}},[s("a-card",{attrs:{bodyStyle:{padding:0},bordered:!1,hoverable:"",title:"环境"}},[s("table",{staticClass:"w-full"},[s("tbody",{staticClass:"ant-table-tbody"},[s("tr",[s("td",[t._v("Java 名称")]),s("td",[t._v(t._s(t.systemProperties["java.vm.name"].value))])]),s("tr",[s("td",[t._v("Java 版本")]),s("td",[t._v(t._s(t.systemProperties["java.version"].value))])]),s("tr",[s("td",[t._v("Java Home")]),s("td",[s("ellipsis",{attrs:{length:t.isMobile()?50:256,tooltip:""}},[t._v(" "+t._s(t.systemProperties["java.home"].value)+" ")])],1)])])])]),s("a-divider",{attrs:{dashed:""}})],1),s("a-col",{staticClass:"mb-3",attrs:{lg:24,md:24,sm:24,xl:24,xs:24}},[s("a-card",{attrs:{bodyStyle:{padding:0},bordered:!1,hoverable:"",title:"应用"}},[s("table",{staticClass:"w-full"},[s("tbody",{staticClass:"ant-table-tbody"},[s("tr",[s("td",[t._v("端口")]),s("td",[t._v(t._s(t.propertiesSourcesMap["server.ports"]["local.server.port"].value))])]),s("tr",[s("td",[t._v("PID")]),s("td",[t._v(t._s(t.systemProperties["PID"].value))])]),s("tr",[s("td",[t._v("启动时间")]),s("td",[t._v(t._s(t._f("moment")(t.system.process.startTime)))])]),s("tr",[s("td",[t._v("已启动时间")]),s("td",[t._v(t._s(t._f("dayTime")(t.system.process.uptime)))])]),s("tr",[s("td",[t._v("启动目录")]),s("td",[s("ellipsis",{attrs:{length:t.isMobile()?50:256,tooltip:""}},[t._v(" "+t._s(t.systemProperties["user.dir"].value)+" ")])],1)]),s("tr",[s("td",[t._v("日志目录")]),s("td",[s("ellipsis",{attrs:{length:t.isMobile()?50:256,tooltip:""}},[t._v(" "+t._s(t.systemProperties["LOG_FILE"].value)+" ")])],1)])])])])],1)],1),s("div",{staticStyle:{position:"fixed",bottom:"30px",right:"30px"}},[s("a-button",{attrs:{icon:"sync",shape:"circle",size:"large",type:"primary"},on:{click:t.handleRefresh}})],1)],1)},r=[],o=(s(31875),s(18482),s(21082),s(43938),s(12566),s(91411)),m=s(17132),i={name:"Environment",mixins:[o.jB,o.KT],data:function(){return{propertiesSourcesMap:{},systemProperties:[],interval:null,system:{cpu:{count:0,usage:0},process:{cpuUsage:0,uptime:0,startTime:0}},jvm:{memory:{max:0,committed:0,used:0},gc:{pause:{count:0}}}}},created:function(){this.loadEnv(),this.loadSystemInfo(),this.loadJvmInfo()},methods:{loadEnv:function(){var t=this;m.Z.actuator.getEnv().then((function(e){var s=e.propertySources;s.forEach((function(e){t.propertiesSourcesMap[e.name]=e.properties})),t.systemProperties=t.propertiesSourcesMap["systemProperties"]}))},loadSystemInfo:function(){var t=this;m.Z.actuator.getSystemCpuCount().then((function(e){t.system.cpu.count=e.measurements[0].value})),m.Z.actuator.getSystemCpuUsage().then((function(e){t.system.cpu.usage=Number(100*e.measurements[0].value).toFixed(2)})),m.Z.actuator.getProcessUptime().then((function(e){t.system.process.uptime=e.measurements[0].value})),m.Z.actuator.getProcessStartTime().then((function(e){t.system.process.startTime=1e3*e.measurements[0].value})),m.Z.actuator.getProcessCpuUsage().then((function(e){t.system.process.cpuUsage=e.measurements[0].value}))},loadJvmInfo:function(){var t=this;m.Z.actuator.getJvmMemoryMax().then((function(e){t.jvm.memory.max=e.measurements[0].value})),m.Z.actuator.getJvmMemoryCommitted().then((function(e){t.jvm.memory.committed=e.measurements[0].value})),m.Z.actuator.getJvmMemoryUsed().then((function(e){t.jvm.memory.used=e.measurements[0].value})),m.Z.actuator.getJvmGcPause().then((function(e){t.jvm.gc.pause.count=e.measurements[0].value}))},handleRefresh:function(){this.loadSystemInfo(),this.loadJvmInfo()}}},l=i,u=s(42177),d=(0,u.Z)(l,a,r,!1,null,null,null),n=d.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/134.54a20de2.js b/src/main/resources/admin/js/177.63d8bede.js similarity index 60% rename from src/main/resources/admin/js/134.54a20de2.js rename to src/main/resources/admin/js/177.63d8bede.js index ee915e6b9..5e9e569b0 100644 --- a/src/main/resources/admin/js/134.54a20de2.js +++ b/src/main/resources/admin/js/177.63d8bede.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[134],{53303:function(e,t,o){var n=o(15820),r=Math.floor,i=function(e,t){var o=e.length,s=r(o/2);return o<8?a(e,t):l(e,i(n(e,0,s),t),i(n(e,s),t),t)},a=function(e,t){var o,n,r=e.length,i=1;while(i0)e[n]=e[--n];n!==i++&&(e[n]=o)}return e},l=function(e,t,o,n){var r=t.length,i=o.length,a=0,l=0;while(a3)){if(h)return!0;if(v)return v<603;var e,t,o,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:o=3;break;case 68:case 71:o=4;break;default:o=2}for(n=0;n<47;n++)p.push({k:t+n,v:o})}for(p.sort((function(e,t){return t.v-e.v})),n=0;ns(o)?1:-1}};n({target:"Array",proto:!0,forced:x},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(k)return void 0===e?F(t):F(t,e);var o,n,r=[],s=l(t);for(n=0;n0)e[n]=e[--n];n!==i++&&(e[n]=o)}return e},l=function(e,t,o,n){var r=t.length,i=o.length,a=0,l=0;while(a3)){if(h)return!0;if(v)return v<603;var e,t,o,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:o=3;break;case 68:case 71:o=4;break;default:o=2}for(n=0;n<47;n++)p.push({k:t+n,v:o})}for(p.sort((function(e,t){return t.v-e.v})),n=0;ns(o)?1:-1}};n({target:"Array",proto:!0,forced:x},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(k)return void 0===e?F(t):F(t,e);var o,n,r=[],s=l(t);for(n=0;n-1}},selectPreviousButtonDisabled:function(){var e=this,t=this.list.data.findIndex((function(t){return t.id===e.list.current.id}));return 0===t&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var e=this,t=this.list.data.findIndex((function(t){return t.id===e.list.current.id}));return t===this.list.data.length-1&&!this.list.hasNext}},methods:(0,s.Z)((0,s.Z)({},(0,g.nv)(["refreshOptionsCache"])),{},{handleListPhotos:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.list.loading=!0,t.next=4,d.Z.photo.list(e.list.params);case 4:a=t.sent,e.list.data=a.data.content,e.list.total=a.data.total,e.list.hasPrevious=a.data.hasPrevious,e.list.hasNext=a.data.hasNext,t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](0),e.$log.error("Failed to get photos",t.t0);case 14:return t.prev=14,e.list.loading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})))()},handleListPhotoTeams:function(){var e=this;d.Z.photo.listTeams().then((function(t){e.teams=t.data}))},handlePageChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=e-1,this.handleListPhotos()},handlePageSizeChange:function(e,t){this.$log.debug("Current: ".concat(e,", PageSize: ").concat(t)),this.list.params.page=0,this.list.params.size=t,this.handleListPhotos()},handleQuery:function(){this.handlePageChange(1)},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.team=void 0,this.handlePageChange(1),this.handleListPhotoTeams()},handleItemClick:function(e){this.list.selected.length<=0?this.handleOpenForm(e):this.isItemSelect(e)?this.handleUnselect(e):this.handleSelect(e)},handleOpenForm:function(e){this.list.current=e,this.formVisible=!0},handleSelect:function(e){this.list.selected=[].concat((0,o.Z)(this.list.selected),[e])},handleUnselect:function(e){this.list.selected=this.list.selected.filter((function(t){return t.id!==e.id}))},handleSelectAll:function(){this.list.selected=this.list.data},handleAttachmentSelected:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=e.raw,n.length){a.next=3;break}return a.abrupt("return");case 3:return r=n.map((function(e){return{name:e.name,url:e.path,thumbnail:e.thumbPath}})),a.prev=4,a.next=7,d.Z.photo.createInBatch(r);case 7:t.$message.success("添加成功"),a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](4),t.$log.error("Failed to create photos in batch",a.t0);case 13:return a.prev=13,a.next=16,t.handleListPhotos();case 16:return t.handleListPhotoTeams(),a.finish(13);case 18:case"end":return a.stop()}}),a,null,[[4,10,13,18]])})))()},handleDeletePhotoInBatch:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(e.list.selected.length<=0)){t.next=3;break}return e.$message.warn("你还未选择任何图片,请至少选择一个!"),t.abrupt("return");case 3:a=e,e.$confirm({title:"确定要批量删除选中的图片吗?",content:"一旦删除不可恢复,请谨慎操作",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=a.list.selected.map((function(e){return e.id})),e.next=4,d.Z.photo.deleteInBatch(t);case 4:a.list.selected=[],a.$message.success("删除成功"),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),a.$log.error("Failed to delete selected photos",e.t0);case 11:return e.prev=11,e.next=14,a.handleListPhotos();case 14:return a.handleListPhotoTeams(),e.finish(11);case 16:case"end":return e.stop()}}),e,null,[[0,8,11,16]])})))()}});case 5:case"end":return t.stop()}}),t)})))()},handleUpdateTeamInBatch:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.list.selected.map((function(t){return(0,s.Z)((0,s.Z)({},t),{},{team:e.updateTeamForm.team})})),t.prev=1,e.updateTeamForm.saving=!0,t.next=5,d.Z.photo.updateInBatch(a);case 5:e.$message.success("更改成功"),t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](1),e.updateTeamForm.saveErrored=!0,e.$log.error("Failed to change team in batch",t.t0);case 12:return t.prev=12,setTimeout((function(){e.updateTeamForm.saving=!1}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,8,12,15]])})))()},handleUpdateTeamInBatchCallback:function(){this.updateTeamForm.saveErrored?this.updateTeamForm.saveErrored=!1:(this.updateTeamForm.visible=!1,this.updateTeamForm.team=void 0,this.list.selected=[],this.handleListPhotos())},handleOpenUpdateTeamForm:function(){var e=this;this.updateTeamForm.visible=!0,this.$nextTick((function(){e.$refs.teamInput.focus()}))},onSaveSucceed:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.handleListPhotos();case 2:t.list.current=e,t.handleListPhotoTeams();case 4:case"end":return a.stop()}}),a)})))()},handleListOptions:function(){var e=this;d.Z.option.list().then((function(t){e.options=t.data}))},handleSaveOptions:function(){var e=this;d.Z.option.save(this.options).then((function(){e.$message.success("保存成功!"),e.optionFormVisible=!1})).finally((function(){e.handleListOptions(),e.refreshOptionsCache()}))},handleSelectPrevious:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.list.data.findIndex((function(t){return t.id===e.list.current.id})),!(a>0)){t.next=4;break}return e.list.current=e.list.data[a-1],t.abrupt("return");case 4:if(0!==a||!e.list.hasPrevious){t.next=9;break}return e.list.params.page--,t.next=8,e.handleListPhotos();case 8:e.list.current=e.list.data[e.list.data.length-1];case 9:case"end":return t.stop()}}),t)})))()},handleSelectNext:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.list.data.findIndex((function(t){return t.id===e.list.current.id})),!(a0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListActionLogs()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListActionLogs()},handleClearActionLogs:function(){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"是否确定要清空所有操作日志?",onOk:function(){return(0,s.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.log.clear();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e["catch"](0),t.$log.error("Failed to clear action logs.",e.t0);case 8:return e.prev=8,e.next=11,t.handleListActionLogs();case 11:return e.finish(8);case 12:case"end":return e.stop()}}),e,null,[[0,5,8,12]])})))()}})}},filters:{typeConvert:function(t){var e=l.Js[t];return e?e.text:t}}},u=d,p=a(42177),g=(0,p.Z)(u,n,i,!1,null,null,null),h=g.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[229],{46229:function(t,e,a){a.r(e),a.d(e,{default:function(){return h}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-operator"},[a("a-button",{attrs:{type:"danger"},on:{click:t.handleClearActionLogs}},[t._v("清空操作日志")])],1),a("div",{staticClass:"mt-4"},[a("a-table",{attrs:{columns:t.list.columns,dataSource:t.list.data,loading:t.list.loading,pagination:!1,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"type",fn:function(e){return[t._v(" "+t._s(t._f("typeConvert")(e))+" ")]}},{key:"ipAddress",fn:function(e){return[a("div",{staticClass:"blur hover:blur-none transition-all"},[t._v(t._s(e))])]}},{key:"createTime",fn:function(e){return[a("a-tooltip",{attrs:{placement:"top"}},[a("template",{slot:"title"},[t._v(" "+t._s(t._f("moment")(e))+" ")]),t._v(" "+t._s(t._f("timeAgo")(e))+" ")],2)]}}])}),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1)],1)])],1)},i=[],s=a(29230),r=(a(41479),a(70315),a(22401)),o=a(62210),l=a(34069),c=[{title:"ID",dataIndex:"id"},{title:"类型",dataIndex:"type",scopedSlots:{customRender:"type"}},{title:"关键值",dataIndex:"logKey"},{title:"内容",dataIndex:"content"},{title:"IP",dataIndex:"ipAddress",scopedSlots:{customRender:"ipAddress"}},{title:"操作时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"}}],d={name:"ActionLog",components:{PageView:r.B4},data:function(){return{list:{columns:c,data:[],total:0,loading:!1,params:{page:0,size:50}}}},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}}},created:function(){this.handleListActionLogs()},methods:{handleListActionLogs:function(){var t=this;return(0,s.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,o.Z.log.list(t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),t.$log.error(e.t0);case 12:return e.prev=12,t.list.loading=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,9,12,15]])})))()},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListActionLogs()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListActionLogs()},handleClearActionLogs:function(){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"是否确定要清空所有操作日志?",onOk:function(){return(0,s.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.log.clear();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e["catch"](0),t.$log.error("Failed to clear action logs.",e.t0);case 8:return e.prev=8,e.next=11,t.handleListActionLogs();case 11:return e.finish(8);case 12:case"end":return e.stop()}}),e,null,[[0,5,8,12]])})))()}})}},filters:{typeConvert:function(t){var e=l.Js[t];return e?e.text:t}}},u=d,p=a(42177),g=(0,p.Z)(u,n,i,!1,null,null,null),h=g.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/231.9c2fc1a5.js b/src/main/resources/admin/js/231.9c2fc1a5.js new file mode 100644 index 000000000..f20aa73b8 --- /dev/null +++ b/src/main/resources/admin/js/231.9c2fc1a5.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[231],{63231:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",{attrs:{"sub-title":e.theme.current.version||"-",title:e.theme.current.name||"-",affix:""}},[n("template",{slot:"extra"},[n("a-dropdown",[n("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[n("a-menu-item",{key:"1",on:{click:e.handleRemoteUpdate}},[n("a-icon",{attrs:{type:"cloud"}}),e._v(" 在线更新 ")],1),n("a-menu-item",{key:"2",on:{click:function(t){e.localUpgradeModel.visible=!0}}},[n("a-icon",{attrs:{type:"file"}}),e._v(" 本地更新 ")],1)],1),n("a-button",{attrs:{icon:"upload"}},[e._v(" 更新 "),n("a-icon",{attrs:{type:"down"}})],1)],1),n("a-dropdown",{scopedSlots:e._u([{key:"overlay",fn:function(){return[n("a-menu",[n("a-menu-item",{attrs:{disabled:e.theme.current.activated},on:{click:e.handleActiveTheme}},[n("a-icon",{attrs:{type:"lock"}}),e._v(" 启用 ")],1),n("a-menu-item",{attrs:{disabled:!e.theme.current.activated},on:{click:e.handleRouteToThemeVisualSetting}},[n("a-icon",{attrs:{type:"eye"}}),e._v(" 预览模式 ")],1)],1)]},proxy:!0}])},[n("a-button",{attrs:{icon:"more"}},[e._v(" 更多 "),n("a-icon",{attrs:{type:"down"}})],1)],1),n("a-button",{attrs:{disabled:e.theme.current.activated,icon:"delete",type:"danger"},on:{click:function(t){e.themeDeleteModal.visible=!0}}},[e._v(" 删除 ")])],1),n("a-spin",{attrs:{spinning:e.theme.loading}},[n("ThemeSettingForm",{attrs:{theme:e.theme.current}})],1),n("ThemeDeleteConfirmModal",{attrs:{theme:e.theme.current,visible:e.themeDeleteModal.visible},on:{"update:visible":function(t){return e.$set(e.themeDeleteModal,"visible",t)},success:e.onThemeDeleteSucceed}}),n("ThemeLocalUpgradeModal",{attrs:{theme:e.theme.current,visible:e.localUpgradeModel.visible},on:{"update:visible":function(t){return e.$set(e.localUpgradeModel,"visible",t)},success:e.handleGetTheme}})],2)},r=[],i=n(29230),s=(n(30535),n(85018),n(21082),n(70315),n(22401)),l=n(41561),o=n(88159),c=n(2823),u=n(62210),m={name:"ThemeSetting",components:{PageView:s.B4,ThemeDeleteConfirmModal:l.Z,ThemeLocalUpgradeModal:o.Z,ThemeSettingForm:c.Z},data:function(){return{theme:{current:{},loading:!1},themeDeleteModal:{visible:!1},localUpgradeModel:{visible:!1}}},beforeRouteEnter:function(e,t,n){var a=e.query.themeId;n(function(){var e=(0,i.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetTheme(a);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},methods:{handleGetTheme:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){var a,r,i,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(n.prev=0,t.theme.loading=!0,!e){n.next=10;break}return n.next=5,u.Z.theme.get(e);case 5:a=n.sent,r=a.data,t.theme.current=r,n.next=15;break;case 10:return n.next=12,u.Z.theme.getActivatedTheme();case 12:i=n.sent,s=i.data,t.theme.current=s;case 15:return n.prev=15,t.theme.loading=!1,n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[0,,15,18]])})))()},onThemeDeleteSucceed:function(){this.$router.replace({name:"ThemeList"})},handleRemoteUpdate:function(){var e=this;e.$confirm({title:"提示",maskClosable:!0,content:"确定更新【"+e.theme.current.name+"】主题吗?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$message.loading("更新中...",0),t.prev=1,t.next=4,u.Z.theme.updateThemeByFetching(e.theme.current.id);case 4:e.$message.success("更新成功!"),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),e.$log.error("Failed to update theme: ",t.t0);case 10:return t.prev=10,n(),t.next=14,e.handleGetTheme(e.theme.current.id);case 14:return t.finish(10);case 15:case"end":return t.stop()}}),t,null,[[1,7,10,15]])})))()}})},handleRouteToThemeVisualSetting:function(){this.$router.push({name:"ThemeVisualSetting",query:{themeId:this.theme.current.id}})},handleActiveTheme:function(){var e=this;e.$confirm({title:"提示",maskClosable:!0,content:"确定启用【"+e.theme.current.name+"】主题吗?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.Z.theme.active(e.theme.current.id);case 3:e.$message.success("启用成功!"),t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error("Failed active theme",t.t0);case 9:return t.prev=9,t.next=12,e.handleGetTheme(e.theme.current.id);case 12:return t.finish(9);case 13:case"end":return t.stop()}}),t,null,[[0,6,9,13]])})))()}})}}},d=m,h=n(42177),p=(0,h.Z)(d,a,r,!1,null,null,null),f=p.exports},41561:function(e,t,n){n.d(t,{Z:function(){return m}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{afterClose:e.onAfterClose,closable:!1,width:416,destroyOnClose:"",title:"提示"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("template",{slot:"footer"},[n("a-button",{on:{click:function(t){e.modalVisible=!1}}},[e._v(" 取消 ")]),n("ReactiveButton",{attrs:{errored:e.deleteErrored,loading:e.deleting,erroredText:"删除失败",loadedText:"删除成功",text:"确定"},on:{callback:e.handleDeleteCallback,click:function(t){return e.handleDelete()}}})],1),n("p",[e._v("确定删除【"+e._s(e.theme.name)+"】主题?")]),n("a-checkbox",{model:{value:e.deleteSettings,callback:function(t){e.deleteSettings=t},expression:"deleteSettings"}},[e._v(" 同时删除主题配置 ")])],2)},r=[],i=n(29230),s=(n(70315),n(62210)),l={name:"ThemeDeleteConfirmModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{deleteErrored:!1,deleting:!1,deleteSettings:!1}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{handleDelete:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.deleting=!0,t.next=4,s.Z.theme["delete"](e.theme.id,e.deleteSettings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.deleteErrored=!1,e.$log.error("Delete theme failed",t.t0);case 10:return t.prev=10,setTimeout((function(){e.deleting=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleDeleteCallback:function(){this.deleteErrored?this.deleteErrored=!1:(this.modalVisible=!1,this.$emit("success"))},onAfterClose:function(){this.deleteErrored=!1,this.deleting=!1,this.deleteSettings=!1,this.$emit("onAfterClose")}}},o=l,c=n(42177),u=(0,c.Z)(o,a,r,!1,null,null,null),m=u.exports},88159:function(e,t,n){n.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{afterClose:e.onModalClose,footer:null,destroyOnClose:"",title:"更新主题"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("FilePondUpload",{ref:"updateByFile",attrs:{accepts:["application/x-zip","application/x-zip-compressed","application/zip"],field:e.theme.id,multiple:!1,uploadHandler:e.uploadHandler,label:"点击选择主题更新包或将主题更新包拖拽到此处
仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onThemeUploadSuccess}})],1)},r=[],i=n(62210),s={name:"ThemeLocalUpgradeModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{uploadHandler:function(e,t,n){return i.Z.theme.updateByUpload(e,t,n)}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.updateByFile.handleClearFileList(),this.$emit("onAfterClose")},onThemeUploadSuccess:function(){this.modalVisible=!1,this.$emit("success")}}},l=s,o=n(42177),c=(0,o.Z)(l,a,r,!1,null,null,null),u=c.exports},2823:function(e,t,n){n.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.theme.id?n("div",{staticClass:"card-container h-full"},[n("a-tabs",{staticClass:"h-full",attrs:{defaultActiveKey:"0",type:"card"}},[n("a-tab-pane",{key:0,attrs:{tab:"关于"}},[e.theme.logo?n("div",[n("a-avatar",{attrs:{alt:e.theme.name,size:72,src:e.theme.logo,shape:"square"}}),n("a-divider")],1):e._e(),n("a-descriptions",{attrs:{column:1,layout:"horizontal"}},[n("a-descriptions-item",{attrs:{label:"作者"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.author.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.author.name)+" ")])]),n("a-descriptions-item",{attrs:{label:"介绍"}},[e._v(" "+e._s(e.theme.description||"-")+" ")]),n("a-descriptions-item",{attrs:{label:"官网"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.website||"-")+" ")])]),n("a-descriptions-item",{attrs:{label:"Git 仓库"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.repo||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.repo||"-")+" ")])]),n("a-descriptions-item",{attrs:{label:"主题标识"}},[e._v(" "+e._s(e.theme.id)+" ")]),n("a-descriptions-item",{attrs:{label:"当前版本"}},[e._v(" "+e._s(e.theme.version)+" ")]),n("a-descriptions-item",{attrs:{label:"存储位置"}},[e._v(" "+e._s(e.theme.themePath)+" ")]),e._t("descriptions-item")],2)],1),e._l(e.form.configurations,(function(t,a){return n("a-tab-pane",{key:a+1,attrs:{tab:t.label}},[n("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[e._l(t.items,(function(t,a){return n("a-form-item",{key:a,attrs:{label:t.label+":"}},[t.description&&""!==t.description?n("p",{attrs:{slot:"help"},domProps:{innerHTML:e._s(t.description)},slot:"help"}):e._e(),"TEXT"===t.type?n("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"TEXTAREA"===t.type?n("a-input",{attrs:{autoSize:{minRows:5},placeholder:t.placeholder,type:"textarea"},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"RADIO"===t.type?n("a-radio-group",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t,a){return n("a-radio",{key:a,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"SELECT"===t.type?n("a-select",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t){return n("a-select-option",{key:t.value,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"COLOR"===t.type?n("verte",{staticStyle:{display:"inline-block",height:"24px"},attrs:{defaultValue:t.defaultValue,model:"hex",picker:"square"},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"ATTACHMENT"===t.type?n("AttachmentInput",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"NUMBER"===t.type?n("a-input-number",{staticStyle:{width:"100%"},attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"SWITCH"===t.type?n("a-switch",{attrs:{defaultChecked:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):n("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}})],1)})),n("a-form-item",[n("ReactiveButton",{attrs:{errored:e.form.saveErrored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSaveSettingsCallback,click:e.handleSaveSettings}})],1)],2)],1)}))],2)],1):e._e()},r=[],i=n(29230),s=(n(70315),n(43154)),l=n(62210),o={name:"ThemeSettingForm",components:{Verte:s.Z},props:{theme:{type:Object,default:function(){}},wrapperCol:{type:Object,default:function(){return{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}}},data:function(){return{form:{settings:[],configurations:[],loading:!1,saving:!1,saveErrored:!1}}},watch:{theme:function(e){e&&this.handleGetConfigurations()}},methods:{handleGetConfigurations:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.theme.listConfigurations(e.theme.id);case 3:return n=t.sent,a=n.data,e.form.configurations=a,t.next=8,e.handleGetSettings();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.$log.error(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},handleGetSettings:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.theme.listSettings(e.theme.id);case 3:n=t.sent,a=n.data,e.form.settings=a,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},handleSaveSettings:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.saving=!0,t.next=4,l.Z.theme.saveSettings(e.theme.id,e.form.settings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error(t.t0),e.form.saveErrored=!0;case 10:return t.prev=10,setTimeout((function(){e.form.saving=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleSaveSettingsCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:(this.handleGetSettings(),this.$emit("saved"))}}},c=o,u=n(42177),m=(0,u.Z)(c,a,r,!1,null,null,null),d=m.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/243.e41fbf17.js b/src/main/resources/admin/js/243.e41fbf17.js deleted file mode 100644 index 88dbfe772..000000000 --- a/src/main/resources/admin/js/243.e41fbf17.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[243],{44243:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[e.options.developer_mode?n("div",{staticClass:"card-container"},[n("a-tabs",{attrs:{type:"card"},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.panes,(function(t){return n("a-tab-pane",{key:t.key},[n("span",{attrs:{slot:"tab"},slot:"tab"},[n("a-icon",{attrs:{type:t.icon}}),e._v(e._s(t.title)+" ")],1),n(t.component,{tag:"component"})],1)})),1)],1):n("a-alert",{attrs:{description:"当前没有启用开发者选项,请启用之后再访问该页面!",message:"提示",showIcon:"",type:"error"}})],1)],1)],1)},i=[],a=n(86475),r=(n(31875),n(29888),n(45107),n(98906)),c=n(27474),s={components:{PageView:c.B4},data:function(){var e=[{title:"运行环境",icon:"safety",component:function(){return n.e(172).then(n.bind(n,87174))},key:"environment"},{title:"实时日志",icon:"code",component:function(){return Promise.all([n.e(961),n.e(192),n.e(164),n.e(147)]).then(n.bind(n,94147))},key:"runtimeLogs"},{title:"系统变量",icon:"table",component:function(){return n.e(650).then(n.bind(n,36650))},key:"optionsList"},{title:"静态存储",icon:"cloud",component:function(){return Promise.all([n.e(961),n.e(134)]).then(n.bind(n,27134))},key:"staticStorage"},{title:"设置",icon:"setting",component:function(){return n.e(651).then(n.bind(n,25651))},key:"settings"}];return{activeKey:e[0].key,panes:e}},computed:(0,a.Z)({},(0,r.Se)(["options"])),beforeRouteEnter:function(e,t,n){var o=e.query.activeKey;n((function(e){o&&(e.activeKey=o)}))},watch:{activeKey:function(e){if(e){var t=this.$router.history.current.path;this.$router.push({path:t,query:{activeKey:e}}).catch((function(e){return e}))}}}},u=s,l=n(42177),p=(0,l.Z)(u,o,i,!1,null,null,null),y=p.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/249.aa45c2a7.js b/src/main/resources/admin/js/249.aa45c2a7.js deleted file mode 100644 index a6dd24f7e..000000000 --- a/src/main/resources/admin/js/249.aa45c2a7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[249],{4249:function(t,M,i){i.r(M),i.d(M,{default:function(){return I}});var e=function(){var t=this,M=t.$createElement,i=t._self._c||M;return i("a-row",{staticClass:"h-screen",attrs:{align:"middle",justify:"center",type:"flex"}},[i("a-col",{attrs:{lg:16,md:20,sm:20,xl:12,xs:23,xxl:8}},[i("div",{staticClass:"card-container animated fadeIn"},[i("a-card",{staticStyle:{"box-shadow":"rgba(99, 99, 99, 0.2) 0 2px 8px 0"},attrs:{bordered:!1}},[i("div",{staticClass:"halo-logo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mZjtzdG9wLW9wYWNpdHk6MSIvPjxzdG9wIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwNGViMjtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg=="}}),i("span",[t._v("安装向导")])]),i("a-alert",{attrs:{message:"欢迎使用 Halo,您正在安装的是 Halo "+t.VERSION+"。","show-icon":"",type:"success"}}),i("div",{staticClass:"mt-5 mb-5"},[i("a-radio-group",{model:{value:t.installationMode,callback:function(M){t.installationMode=M},expression:"installationMode"}},[i("a-radio-button",{attrs:{value:"new"}},[t._v(" 全新安装")]),i("a-radio-button",{attrs:{value:"import"}},[t._v(" 数据导入")])],1)],1),i("a-form-model",{directives:[{name:"show",rawName:"v-show",value:t.isInstallMode,expression:"isInstallMode"}],ref:"installationForm",staticClass:"installationForm animated fadeIn",attrs:{model:t.form.model,rules:t.form.rules,layout:"horizontal"}},[i("a-divider",{attrs:{dashed:"",orientation:"left"}},[t._v(" 管理员信息")]),i("a-form-model-item",{attrs:{prop:"username"}},[i("a-input",{attrs:{placeholder:"用户名"},model:{value:t.form.model.username,callback:function(M){t.$set(t.form.model,"username",M)},expression:"form.model.username"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"username"}},[i("a-input",{attrs:{placeholder:"用户昵称"},model:{value:t.form.model.nickname,callback:function(M){t.$set(t.form.model,"nickname",M)},expression:"form.model.nickname"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"email"}},[i("a-input",{attrs:{placeholder:"用户邮箱"},model:{value:t.form.model.email,callback:function(M){t.$set(t.form.model,"email",M)},expression:"form.model.email"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"password"}},[i("a-input",{attrs:{placeholder:"登录密码(8-100位)",type:"password"},model:{value:t.form.model.password,callback:function(M){t.$set(t.form.model,"password",M)},expression:"form.model.password"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"confirmPassword"}},[i("a-input",{attrs:{placeholder:"确认登录密码",type:"password"},model:{value:t.form.model.confirmPassword,callback:function(M){t.$set(t.form.model,"confirmPassword",M)},expression:"form.model.confirmPassword"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),i("a-divider",{attrs:{dashed:"",orientation:"left"}},[t._v(" 站点信息")]),i("a-form-model-item",{attrs:{prop:"url"}},[i("a-input",{attrs:{placeholder:"博客地址"},model:{value:t.form.model.url,callback:function(M){t.$set(t.form.model,"url",M)},expression:"form.model.url"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"link"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"title"}},[i("a-input",{attrs:{placeholder:"博客标题"},model:{value:t.form.model.title,callback:function(M){t.$set(t.form.model,"title",M)},expression:"form.model.title"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"book"},slot:"prefix"})],1)],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:t.isImportMode,expression:"isImportMode"}],staticClass:"animated fadeIn"},[i("FilePondUpload",{ref:"upload",attrs:{accepts:["application/json"],multiple:!1,uploadHandler:t.onImportUpload,label:"拖拽或点击选择数据文件
请确认是否为 Halo 后台导出的文件。",name:"file"}})],1),i("div",{staticClass:"mt-8"},[t.isInstallMode?i("ReactiveButton",{attrs:{errored:t.form.installErrored,loading:t.form.installing,block:"",erroredText:"安装失败",icon:"check",loadedText:"安装成功",size:"large",text:"安装",type:"primary"},on:{callback:t.handleInstallCallback,click:t.handleInstall}}):t._e(),t.isImportMode?i("ReactiveButton",{attrs:{errored:t.form.importErrored,loading:t.form.importing,block:"",erroredText:"导入失败",icon:"import",loadedText:"导入成功",size:"large",text:"导入",type:"primary"},on:{callback:t.handleImportCallback,click:t.handleImport}}):t._e()],1)],1)],1)])],1)},s=[],l=i(86475),a=(i(87591),i(31875),i(30535),i(85018),i(17132)),o=i(98906),r={data:function(){var t=this,M=function(M,i,e){i!==t.form.model.password?e(new Error("确认密码与所输入的密码不一致")):e()};return{installationMode:"new",form:{model:{},rules:{username:[{required:!0,message:"* 用户名不能为空",trigger:["change"]},{max:50,message:"* 用户名的字符长度不能超过 50",trigger:["change"]}],nickname:[{required:!0,message:"* 用户昵称不能为空",trigger:["change"]},{max:255,message:"* 用户昵称的字符长度不能超过 255",trigger:["change"]}],email:[{required:!0,message:"* 电子邮件地址不能为空",trigger:["change"]},{max:127,message:"* 电子邮件地址的字符长度不能超过 127",trigger:["change"]},{pattern:/\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/g,message:"* 电子邮件地址的格式不正确",trigger:["change"]}],password:[{required:!0,message:"* 密码不能为空",trigger:["change"]},{min:8,max:100,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["change"]}],confirmPassword:[{required:!0,message:"* 确认密码不能为空",trigger:["change"]},{validator:M,trigger:["change"]}],url:[{required:!0,message:"* 博客地址不能为空",trigger:["change"]}],title:[{required:!0,message:"* 博客标题不能为空",trigger:["change"]}]},installing:!1,installErrored:!1,importing:!1,importErrored:!1,importData:null}}},beforeMount:function(){this.$set(this.form.model,"url",window.location.protocol+"//"+window.location.host)},computed:{isInstallMode:function(){return"new"===this.installationMode},isImportMode:function(){return"import"===this.installationMode}},methods:(0,l.Z)((0,l.Z)({},(0,o.nv)(["installCleanToken","fetchIsInstalled"])),{},{handleInstall:function(){var t=this;this.$refs.installationForm.validate((function(M){M&&(t.form.installing=!0,t.installCleanToken(t.form.model).then((function(M){t.$log.debug("Installation response",M)})).catch((function(){t.form.installErrored=!0})).finally((function(){setTimeout((function(){t.form.installing=!1}),400),t.fetchIsInstalled()})))}))},handleInstallCallback:function(){this.form.installErrored?this.form.installErrored=!1:(this.$message.success("安装成功!"),this.$router.push({name:"Login"}))},onImportUpload:function(t){var M=this;return this.$log.debug("Selected data",t),this.form.importData=t,new Promise((function(t){M.$log.debug("Handle uploading"),t()}))},handleImport:function(){var t=this;this.form.importData?(this.form.importing=!0,a.Z.migration.migrate(this.form.importData).then((function(){t.$log.debug("Migrated successfully")})).catch((function(){t.form.importErrored=!0})).finally((function(){setTimeout((function(){t.form.importing=!1}),400),t.fetchIsInstalled()}))):this.$message.warning("请先上传数据文件!")},handleImportCallback:function(){this.form.importErrored?this.form.importErrored=!1:(this.$message.success("导入成功!"),this.$router.replace({name:"Login"}))}})},L=r,j=i(42177),N=(0,j.Z)(L,e,s,!1,null,"6a3000be",null),I=N.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/25.793ef030.js b/src/main/resources/admin/js/25.793ef030.js deleted file mode 100644 index 9ed7bc174..000000000 --- a/src/main/resources/admin/js/25.793ef030.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[25],{8025:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",{attrs:{"sub-title":e.theme.current.version||"-",title:e.theme.current.name||"-",affix:""}},[n("template",{slot:"extra"},[n("a-dropdown",[n("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[n("a-menu-item",{key:"1",on:{click:e.handleRemoteUpdate}},[n("a-icon",{attrs:{type:"cloud"}}),e._v(" 在线更新 ")],1),n("a-menu-item",{key:"2",on:{click:function(t){e.localUpgradeModel.visible=!0}}},[n("a-icon",{attrs:{type:"file"}}),e._v(" 本地更新 ")],1)],1),n("a-button",{attrs:{icon:"upload"}},[e._v(" 更新 "),n("a-icon",{attrs:{type:"down"}})],1)],1),n("a-dropdown",{scopedSlots:e._u([{key:"overlay",fn:function(){return[n("a-menu",[n("a-menu-item",{attrs:{disabled:e.theme.current.activated},on:{click:e.handleActiveTheme}},[n("a-icon",{attrs:{type:"lock"}}),e._v(" 启用 ")],1),n("a-menu-item",{attrs:{disabled:!e.theme.current.activated},on:{click:e.handleRouteToThemeVisualSetting}},[n("a-icon",{attrs:{type:"eye"}}),e._v(" 预览模式 ")],1)],1)]},proxy:!0}])},[n("a-button",{attrs:{icon:"more"}},[e._v(" 更多 "),n("a-icon",{attrs:{type:"down"}})],1)],1),n("a-button",{attrs:{disabled:e.theme.current.activated,icon:"delete",type:"danger"},on:{click:function(t){e.themeDeleteModal.visible=!0}}},[e._v(" 删除 ")])],1),n("a-spin",{attrs:{spinning:e.theme.loading}},[n("ThemeSettingForm",{attrs:{theme:e.theme.current}})],1),n("ThemeDeleteConfirmModal",{attrs:{theme:e.theme.current,visible:e.themeDeleteModal.visible},on:{"update:visible":function(t){return e.$set(e.themeDeleteModal,"visible",t)},success:e.onThemeDeleteSucceed}}),n("ThemeLocalUpgradeModal",{attrs:{theme:e.theme.current,visible:e.localUpgradeModel.visible},on:{"update:visible":function(t){return e.$set(e.localUpgradeModel,"visible",t)},success:e.handleGetTheme}})],2)},r=[],i=n(47458),s=(n(30535),n(85018),n(21082),n(70315),n(27474)),l=n(53093),o=n(51712),c=n(32221),u=n(17132),m={name:"ThemeSetting",components:{PageView:s.B4,ThemeDeleteConfirmModal:l.Z,ThemeLocalUpgradeModal:o.Z,ThemeSettingForm:c.Z},data:function(){return{theme:{current:{},loading:!1},themeDeleteModal:{visible:!1},localUpgradeModel:{visible:!1}}},beforeRouteEnter:function(e,t,n){var a=e.query.themeId;n(function(){var e=(0,i.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetTheme(a);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},methods:{handleGetTheme:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){var a,r,i,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(n.prev=0,t.theme.loading=!0,!e){n.next=10;break}return n.next=5,u.Z.theme.get(e);case 5:a=n.sent,r=a.data,t.theme.current=r,n.next=15;break;case 10:return n.next=12,u.Z.theme.getActivatedTheme();case 12:i=n.sent,s=i.data,t.theme.current=s;case 15:return n.prev=15,t.theme.loading=!1,n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[0,,15,18]])})))()},onThemeDeleteSucceed:function(){this.$router.replace({name:"ThemeList"})},handleRemoteUpdate:function(){var e=this;e.$confirm({title:"提示",maskClosable:!0,content:"确定更新【"+e.theme.current.name+"】主题吗?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$message.loading("更新中...",0),t.prev=1,t.next=4,u.Z.theme.updateThemeByFetching(e.theme.current.id);case 4:e.$message.success("更新成功!"),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),e.$log.error("Failed to update theme: ",t.t0);case 10:return t.prev=10,n(),t.next=14,e.handleGetTheme(e.theme.current.id);case 14:return t.finish(10);case 15:case"end":return t.stop()}}),t,null,[[1,7,10,15]])})))()}})},handleRouteToThemeVisualSetting:function(){this.$router.push({name:"ThemeVisualSetting",query:{themeId:this.theme.current.id}})},handleActiveTheme:function(){var e=this;e.$confirm({title:"提示",maskClosable:!0,content:"确定启用【"+e.theme.current.name+"】主题吗?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.Z.theme.active(e.theme.current.id);case 3:e.$message.success("启用成功!"),t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error("Failed active theme",t.t0);case 9:return t.prev=9,t.next=12,e.handleGetTheme(e.theme.current.id);case 12:return t.finish(9);case 13:case"end":return t.stop()}}),t,null,[[0,6,9,13]])})))()}})}}},d=m,h=n(42177),p=(0,h.Z)(d,a,r,!1,null,null,null),f=p.exports},53093:function(e,t,n){n.d(t,{Z:function(){return m}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{afterClose:e.onAfterClose,closable:!1,width:416,destroyOnClose:"",title:"提示"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("template",{slot:"footer"},[n("a-button",{on:{click:function(t){e.modalVisible=!1}}},[e._v(" 取消 ")]),n("ReactiveButton",{attrs:{errored:e.deleteErrored,loading:e.deleting,erroredText:"删除失败",loadedText:"删除成功",text:"确定"},on:{callback:e.handleDeleteCallback,click:function(t){return e.handleDelete()}}})],1),n("p",[e._v("确定删除【"+e._s(e.theme.name)+"】主题?")]),n("a-checkbox",{model:{value:e.deleteSettings,callback:function(t){e.deleteSettings=t},expression:"deleteSettings"}},[e._v(" 同时删除主题配置 ")])],2)},r=[],i=n(47458),s=(n(70315),n(17132)),l={name:"ThemeDeleteConfirmModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{deleteErrored:!1,deleting:!1,deleteSettings:!1}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{handleDelete:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.deleting=!0,t.next=4,s.Z.theme["delete"](e.theme.id,e.deleteSettings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.deleteErrored=!1,e.$log.error("Delete theme failed",t.t0);case 10:return t.prev=10,setTimeout((function(){e.deleting=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleDeleteCallback:function(){this.deleteErrored?this.deleteErrored=!1:(this.modalVisible=!1,this.$emit("success"))},onAfterClose:function(){this.deleteErrored=!1,this.deleting=!1,this.deleteSettings=!1,this.$emit("onAfterClose")}}},o=l,c=n(42177),u=(0,c.Z)(o,a,r,!1,null,null,null),m=u.exports},51712:function(e,t,n){n.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-modal",{attrs:{afterClose:e.onModalClose,footer:null,destroyOnClose:"",title:"更新主题"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[n("FilePondUpload",{ref:"updateByFile",attrs:{accepts:["application/x-zip","application/x-zip-compressed","application/zip"],field:e.theme.id,multiple:!1,uploadHandler:e.uploadHandler,label:"点击选择主题更新包或将主题更新包拖拽到此处
仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onThemeUploadSuccess}})],1)},r=[],i=n(17132),s={name:"ThemeLocalUpgradeModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{uploadHandler:function(e,t,n){return i.Z.theme.updateByUpload(e,t,n)}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.updateByFile.handleClearFileList(),this.$emit("onAfterClose")},onThemeUploadSuccess:function(){this.modalVisible=!1,this.$emit("success")}}},l=s,o=n(42177),c=(0,o.Z)(l,a,r,!1,null,null,null),u=c.exports},32221:function(e,t,n){n.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.theme.id?n("div",{staticClass:"card-container h-full"},[n("a-tabs",{staticClass:"h-full",attrs:{defaultActiveKey:"0",type:"card"}},[n("a-tab-pane",{key:0,attrs:{tab:"关于"}},[e.theme.logo?n("div",[n("a-avatar",{attrs:{alt:e.theme.name,size:72,src:e.theme.logo,shape:"square"}}),n("a-divider")],1):e._e(),n("a-descriptions",{attrs:{column:1,layout:"horizontal"}},[n("a-descriptions-item",{attrs:{label:"作者"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.author.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.author.name)+" ")])]),n("a-descriptions-item",{attrs:{label:"介绍"}},[e._v(" "+e._s(e.theme.description||"-")+" ")]),n("a-descriptions-item",{attrs:{label:"官网"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.website||"-")+" ")])]),n("a-descriptions-item",{attrs:{label:"Git 仓库"}},[n("a",{staticClass:"text-inherit",attrs:{href:e.theme.repo||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.repo||"-")+" ")])]),n("a-descriptions-item",{attrs:{label:"主题标识"}},[e._v(" "+e._s(e.theme.id)+" ")]),n("a-descriptions-item",{attrs:{label:"当前版本"}},[e._v(" "+e._s(e.theme.version)+" ")]),n("a-descriptions-item",{attrs:{label:"存储位置"}},[e._v(" "+e._s(e.theme.themePath)+" ")])],1)],1),e._l(e.form.configurations,(function(t,a){return n("a-tab-pane",{key:a+1,attrs:{tab:t.label}},[n("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[e._l(t.items,(function(t,a){return n("a-form-item",{key:a,attrs:{label:t.label+":"}},[t.description&&""!==t.description?n("p",{attrs:{slot:"help"},domProps:{innerHTML:e._s(t.description)},slot:"help"}):e._e(),"TEXT"===t.type?n("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"TEXTAREA"===t.type?n("a-input",{attrs:{autoSize:{minRows:5},placeholder:t.placeholder,type:"textarea"},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"RADIO"===t.type?n("a-radio-group",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t,a){return n("a-radio",{key:a,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"SELECT"===t.type?n("a-select",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t){return n("a-select-option",{key:t.value,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"COLOR"===t.type?n("verte",{staticStyle:{display:"inline-block",height:"24px"},attrs:{defaultValue:t.defaultValue,model:"hex",picker:"square"},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"ATTACHMENT"===t.type?n("AttachmentInput",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"NUMBER"===t.type?n("a-input-number",{staticStyle:{width:"100%"},attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):"SWITCH"===t.type?n("a-switch",{attrs:{defaultChecked:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}}):n("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(n){e.$set(e.form.settings,t.name,n)},expression:"form.settings[item.name]"}})],1)})),n("a-form-item",[n("ReactiveButton",{attrs:{errored:e.form.saveErrored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSaveSettingsCallback,click:e.handleSaveSettings}})],1)],2)],1)}))],2)],1):e._e()},r=[],i=n(47458),s=(n(70315),n(43154)),l=n(17132),o={name:"ThemeSettingForm",components:{Verte:s.Z},props:{theme:{type:Object,default:function(){}},wrapperCol:{type:Object,default:function(){return{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}}},data:function(){return{form:{settings:[],configurations:[],loading:!1,saving:!1,saveErrored:!1}}},watch:{theme:function(e){e&&this.handleGetConfigurations()}},methods:{handleGetConfigurations:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.theme.listConfigurations(e.theme.id);case 3:return n=t.sent,a=n.data,e.form.configurations=a,t.next=8,e.handleGetSettings();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.$log.error(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},handleGetSettings:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.theme.listSettings(e.theme.id);case 3:n=t.sent,a=n.data,e.form.settings=a,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},handleSaveSettings:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.saving=!0,t.next=4,l.Z.theme.saveSettings(e.theme.id,e.form.settings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error(t.t0),e.form.saveErrored=!0;case 10:return t.prev=10,setTimeout((function(){e.form.saving=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleSaveSettingsCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:(this.handleGetSettings(),this.$emit("saved"))}}},c=o,u=n(42177),m=(0,u.Z)(c,a,r,!1,null,null,null),d=m.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/260.743d45fe.js b/src/main/resources/admin/js/260.743d45fe.js deleted file mode 100644 index 8a49906ae..000000000 --- a/src/main/resources/admin/js/260.743d45fe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[260],{15260:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-row",[a("a-col",{attrs:{span:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline"}},[a("a-row",{attrs:{gutter:48}},[a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"关键词:"}},[a("a-input",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery()}},model:{value:t.list.params.keyword,callback:function(e){t.$set(t.list.params,"keyword",e)},expression:"list.params.keyword"}})],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"状态:"}},[a("a-select",{attrs:{placeholder:"请选择状态"},on:{change:function(e){return t.handleQuery()}},model:{value:t.list.params.type,callback:function(e){t.$set(t.list.params,"type",e)},expression:"list.params.type"}},t._l(Object.keys(t.list.journalType),(function(e){return a("a-select-option",{key:e,attrs:{value:e}},[t._v(" "+t._s(t.list.journalType[e].text)+" ")])})),1)],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("span",{staticClass:"table-page-search-submitButtons"},[a("a-space",[a("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleQuery()}}},[t._v("查询")]),a("a-button",{on:{click:function(e){return t.handleResetParam()}}},[t._v("重置")])],1)],1)])],1)],1)],1),a("div",{staticClass:"table-operator"},[a("a-button",{attrs:{icon:"plus",type:"primary"},on:{click:t.handleOpenPublishModal}},[t._v("写日志")])],1),a("a-divider"),a("div",{staticClass:"mt-4"},[t.list.loading||0!==t.list.data.length?a("a-list",{attrs:{dataSource:t.list.data,loading:t.list.loading,pagination:!1,itemLayout:"vertical"},scopedSlots:t._u([{key:"renderItem",fn:function(e,n){return[a("a-list-item",{key:n,scopedSlots:t._u([{key:"actions",fn:function(){return[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[a("a-icon",{attrs:{type:"like-o"}}),t._v(" "+t._s(e.likes)+" ")],1),a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return t.handleOpenJournalCommentsDrawer(e)}}},[a("a-icon",{attrs:{type:"message"}}),t._v(" "+t._s(e.commentCount)+" ")],1),"INTIMATE"===e.type?a("a-button",{staticClass:"!p-0",attrs:{disabled:"",type:"link"}},[a("a-icon",{attrs:{type:"lock"}})],1):a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[a("a-icon",{attrs:{type:"unlock"}})],1)]},proxy:!0},{key:"extra",fn:function(){return[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return t.handleOpenEditModal(e)}}},[t._v("编辑")]),a("a-divider",{attrs:{type:"vertical"}}),a("a-popconfirm",{attrs:{cancelText:"取消",okText:"确定",title:"你确定要删除这条日志?"},on:{confirm:function(a){return t.handleDelete(e.id)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("删除")])],1)]},proxy:!0}],null,!0)},[a("a-list-item-meta",{scopedSlots:t._u([{key:"description",fn:function(){return[a("div",{staticClass:"journal-list-content",domProps:{innerHTML:t._s(e.content)}})]},proxy:!0},{key:"title",fn:function(){return[a("span",[t._v(t._s(t._f("moment")(e.createTime)))])]},proxy:!0},{key:"avatar",fn:function(){return[a("a-avatar",{attrs:{src:t.user.avatar,size:"large"}})]},proxy:!0}],null,!0)})],1)]}}])},[a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1)]):a("a-empty")],1)],1)],1)],1),a("div",{staticStyle:{position:"fixed",bottom:"30px",right:"30px"}},[a("a-button",{attrs:{icon:"setting",shape:"circle",size:"large",type:"primary"},on:{click:function(e){t.optionModal.visible=!0}}})],1),a("a-modal",{attrs:{afterClose:function(){return t.optionModal.visible=!1},title:"页面设置"},scopedSlots:t._u([{key:"footer",fn:function(){return[a("a-button",{key:"submit",attrs:{type:"primary"},on:{click:function(e){return t.handleSaveOptions()}}},[t._v("保存")])]},proxy:!0}]),model:{value:t.optionModal.visible,callback:function(e){t.$set(t.optionModal,"visible",e)},expression:"optionModal.visible"}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{help:"* 需要主题进行适配",label:"页面标题:"}},[a("a-input",{model:{value:t.optionModal.options.journals_title,callback:function(e){t.$set(t.optionModal.options,"journals_title",e)},expression:"optionModal.options.journals_title"}})],1),a("a-form-item",{attrs:{label:"每页显示条数:"}},[a("a-input-number",{staticStyle:{width:"100%"},model:{value:t.optionModal.options.journals_page_size,callback:function(e){t.$set(t.optionModal.options,"journals_page_size",e)},expression:"optionModal.options.journals_page_size"}})],1)],1)],1),a("a-modal",{attrs:{title:t.formTitle,width:820},scopedSlots:t._u([{key:"footer",fn:function(){return[a("ReactiveButton",{attrs:{errored:t.form.saveErrored,loading:t.form.saving,erroredText:"发布失败",loadedText:"发布成功",text:"发布",type:"primary"},on:{callback:t.handleSaveOrUpdateCallback,click:t.handleSaveOrUpdate}})]},proxy:!0}]),model:{value:t.form.visible,callback:function(e){t.$set(t.form,"visible",e)},expression:"form.visible"}},[a("a-form-model",{ref:"journalForm",attrs:{model:t.form.model,rules:t.form.rules,layout:"vertical"}},[a("a-form-model-item",{attrs:{prop:"sourceContent"}},[a("div",{staticStyle:{height:"520px"},attrs:{id:"editor"}},[t.form.visible?a("MarkdownEditor",{attrs:{originalContent:t.form.model.sourceContent,subfield:!1,toolbars:t.simpleEditorToolbars},on:{"update:originalContent":function(e){return t.$set(t.form.model,"sourceContent",e)},"update:original-content":function(e){return t.$set(t.form.model,"sourceContent",e)},change:t.onContentChange}}):t._e()],1)]),a("a-form-model-item",[a("a-switch",{attrs:{checkedChildren:"公开",defaultChecked:"",unCheckedChildren:"私密"},model:{value:t.form.isPublic,callback:function(e){t.$set(t.form,"isPublic",e)},expression:"form.isPublic"}})],1)],1)],1),a("TargetCommentListModal",{attrs:{"target-id":t.list.selected.id,title:"「"+t.$options.filters.moment(t.list.selected.createTime)+"」的评论",visible:t.journalCommentDrawer.visible,target:"journal"},on:{"update:visible":function(e){return t.$set(t.journalCommentDrawer,"visible",e)},close:t.onJournalCommentsDrawerClose},scopedSlots:t._u([{key:"extraFooter",fn:function(){return[a("a-button",{attrs:{disabled:t.selectPreviousButtonDisabled},on:{click:t.handleSelectPrevious}},[t._v(" 上一篇")]),a("a-button",{attrs:{disabled:t.selectNextButtonDisabled},on:{click:t.handleSelectNext}},[t._v(" 下一篇")])]},proxy:!0}])})],1)},i=[],o=a(47458),s=a(86475),r=(a(70315),a(15928),a(31875),a(41479),a(27474)),l=a(13170),u=a(91411),c=a(98906),d=a(94671),p=a(13159),m=a(17132),f=a(95983),h={mixins:[u.jB,u.KT],components:{MarkdownEditor:f.Z,PageView:r.B4,TargetCommentListModal:l.Z},data:function(){return{simpleEditorToolbars:d.o6,list:{data:[],loading:!1,total:0,params:{page:0,size:10,keyword:void 0,type:void 0},hasPrevious:!1,hasNext:!1,selected:{},journalType:{PUBLIC:{text:"公开"},INTIMATE:{text:"私密"}}},form:{model:{},rules:{sourceContent:[{required:!0,message:"* 内容不能为空",trigger:[]}]},visible:!1,saving:!1,saveErrored:!1,isPublic:!0},journalCommentDrawer:{visible:!1},optionModal:{visible:!1,options:[]}}},beforeMount:function(){this.handleListJournals(),this.handleListOptions()},computed:(0,s.Z)((0,s.Z)({},(0,c.Se)(["user"])),{},{formTitle:function(){return this.form.model.id?"编辑":"发表"},pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},selectPreviousButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.selected.id}));return 0===e&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.selected.id}));return e===this.list.data.length-1&&!this.list.hasNext}}),methods:(0,s.Z)((0,s.Z)({},(0,c.nv)(["refreshOptionsCache"])),{},{handleListJournals:function(){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){var a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,m.Z.journal.list(t.list.params);case 4:a=e.sent,n=a.data,t.list.data=n.content,t.list.total=n.total,t.list.hasPrevious=n.hasPrevious,t.list.hasNext=n.hasNext,e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](0),t.$log.error(e.t0);case 15:return e.prev=15,t.list.loading=!1,e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[0,12,15,18]])})))()},handleListOptions:function(){var t=this;m.Z.option.list().then((function(e){t.optionModal.options=e.data}))},handleQuery:function(){this.handlePageChange(1)},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.type=void 0,this.handlePageChange(1)},handleOpenPublishModal:function(){this.form.visible=!0,this.form.model={sourceContent:"",content:""}},handleOpenEditModal:function(t){this.form.model=(0,p.I8)(t),this.form.isPublic="INTIMATE"!==t.type,this.form.visible=!0},handleDelete:function(t){var e=this;m.Z.journal["delete"](t).finally((function(){e.handleListJournals()}))},handleOpenJournalCommentsDrawer:function(t){this.list.selected=t,this.journalCommentDrawer.visible=!0},onContentChange:function(t){var e=t.originalContent,a=t.renderContent;this.form.model.sourceContent=e,this.form.model.content=a},handleSaveOrUpdate:function(){var t=this;t.$refs.journalForm.validate((function(e){e&&(t.form.model.type=t.form.isPublic?"PUBLIC":"INTIMATE",t.form.model.keepRaw=!0,t.form.saving=!0,t.form.model.id?m.Z.journal.update(t.form.model.id,t.form.model).catch((function(){t.form.saveErrored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})):m.Z.journal.create(t.form.model).catch((function(){t.form.saveErrored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})))}))},handleSaveOrUpdateCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:(this.form.isPublic=!0,this.form.visible=!1,this.handleListJournals())},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListJournals()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListJournals()},onJournalCommentsDrawerClose:function(){this.form.model={},this.journalCommentDrawer.visible=!1,this.handleListJournals()},handleSaveOptions:function(){var t=this;m.Z.option.save(this.optionModal.options).then((function(){t.$message.success("保存成功!"),t.optionModal.visible=!1})).finally((function(){t.handleListOptions(),t.refreshOptionsCache()}))},handleSelectPrevious:function(){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(a>0)){e.next=4;break}return t.list.selected=t.list.data[a-1],e.abrupt("return");case 4:if(0!==a||!t.list.hasPrevious){e.next=9;break}return t.list.params.page--,e.next=8,t.handleListJournals();case 8:t.list.selected=t.list.data[t.list.data.length-1];case 9:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(a=65&&O<=90||95==O||O>=97&&O<=122||O>=161}function C(O){return 9==O||10==O||13==O||32==O}let D=null,N=null,A=0;function I(O,e){let a=O.pos+e;if(A==a&&N==O)return D;let t=O.peek(e);while(C(t))t=O.peek(++e);let Q="";for(;;){if(!J(t))break;Q+=String.fromCharCode(t),t=O.peek(++e)}return N=O,A=a,D=Q||(t==B||t==M?void 0:null)}const F=60,H=62,K=47,B=63,M=33;function OO(O,e){this.name=O,this.parent=e,this.hash=e?e.hash:0;for(let a=0;a-1?new OO(I(t,1)||"",O):O},reduce(O,e){return e==_&&O?O.parent:O},reuse(O,e,a,t){let Q=e.type.id;return Q==g||Q==G?new OO(I(t,1)||"",O):O},hash(O){return O?O.hash:0},strict:!1}),tO=new d.Jq(((O,e)=>{if(O.next!=F)return void(O.next<0&&e.context&&O.acceptToken(Z));O.advance();let a=O.next==K;a&&O.advance();let t=I(O,0);if(void 0===t)return;if(!t)return O.acceptToken(a?h:g);let Q=e.context?e.context.name:null;if(a){if(t==Q)return O.acceptToken(Y);if(Q&&L[Q])return O.acceptToken(Z,-2);if(e.dialectEnabled(z))return O.acceptToken(x);for(let O=e.context;O;O=O.parent)if(O.name==t)return;O.acceptToken(k)}else{if("script"==t)return O.acceptToken(y);if("style"==t)return O.acceptToken(b);if("textarea"==t)return O.acceptToken(R);Q&&E[Q]&&E[Q][t]?O.acceptToken(Z,-1):O.acceptToken(g)}}),{contextual:!0}),QO=new d.Jq(((O,e)=>{let a=1;if(O.next==K){if(O.peek(1)!=H)return;a=2}else if(O.next!=H)return;e.context&&U[e.context.name]&&O.acceptToken(v,a)})),iO=new d.Jq((O=>{for(let e=0,a=0;;a++){if(O.next<0){a&&O.acceptToken(V);break}if(O.next=="--\x3e".charCodeAt(e)){if(e++,3==e){a>3&&O.acceptToken(V,-2);break}}else e=0;O.advance()}}));function rO(O,e,a){let t=2+O.length;return new d.Jq((Q=>{for(let i=0,r=0,n=0;;n++){if(Q.next<0){n&&Q.acceptToken(e);break}if(0==i&&Q.next==F||1==i&&Q.next==K||i>=2&&ir?Q.acceptToken(e,-r):Q.acceptToken(a,-(r-2));break}if((10==Q.next||13==Q.next)&&n){Q.acceptToken(e,1);break}i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`,59`OOOO'#D['#D[O*bOMhO,59`OOOO-E7X-E7XOOQ`1G.z1G.zOOOO-E7Y-E7Y",stateData:"*x~O!]OS~OSSOTPOUQOVROX[OYZOZ]O^]O_]O`]Oa]Ow]Oz^O!cYO~Od`O~OdaO~OdbO~OdcO~O!VdOPkP!YkP~O!WgOQnP!YnP~O!XjORqP!YqP~OSSOTPOUQOVROWoOX[OYZOZ]O^]O_]O`]Oa]Ow]O!cYO~O!YpO~P#[O!ZqO!dsO~OdtO~OduO~OfwOjzO~OfwOj|O~OfwOj!OO~O[!ROfwOj!QO~O!VdOPkX!YkX~OP!TO!Y!UO~O!WgOQnX!YnX~OQ!WO!Y!UO~O!XjORqX!YqX~OR!YO!Y!UO~O!Y!UO~P#[Od![O~O!ZqO!d!^O~Oj!_O~Oj!`O~Og!aOfeXjeX[eX~OfwOj!cO~OfwOj!dO~OfwOj!eO~O[!gOfwOj!fO~Od!hO~Od!iO~Od!jO~Oj!kO~Oi!nO!_!lO!a!mO~Oj!oO~Oj!pO~Oj!qO~O_!rO`!rO!_!tO!`!rO~O_!uO`!uO!a!tO!b!uO~O_!rO`!rO!_!xO!`!rO~O_!uO`!uO!a!xO!b!uO~O`_a!cwz!c~",goto:"%i!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!vPP!y!|#P#V#Y#]#c#f#i#o#u!`P!`!`P#{$R$e$k$q$w$}%T%ZPPPPPPPP%aX]OW_nXTOW_nax`abcy{}!PR!n!aRfTR!UfXUOW_nRiUR!UiXVOW_nRlVR!UlXWOW_nQpWR!UnXXOW_nQ_ORv_Qy`Q{aQ}bQ!PcX!by{}!PQ!s!lR!w!sQ!v!mR!y!vQeTR!SeQhUR!VhQkVR!XkQnWR!ZnQrYR!]rS^O_TmWn",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag SelfCloseEndTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:aO,nodeProps:[[P.md.closedBy,-9,1,2,3,5,6,7,8,9,10,"EndTag",4,"EndTag SelfCloseEndTag",-4,19,29,32,35,"CloseTag"],[P.md.group,-9,11,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],[P.md.openedBy,12,"StartTag",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:jiW!``!bpOq(kqr?Rrs'gsv(kwx(]x!a(k!a!bKj!b~(k!R?YZ!``!bpOr(krs'gsv(kwx(]x}(k}!O?{!O!f(k!f!gAR!g#W(k#W#XGz#X~(k!R@SV!``!bpOr(krs'gsv(kwx(]x}(k}!O@i!O~(k!R@rT!``!bp!cPOr(krs'gsv(kwx(]x~(k!RAYV!``!bpOr(krs'gsv(kwx(]x!q(k!q!rAo!r~(k!RAvV!``!bpOr(krs'gsv(kwx(]x!e(k!e!fB]!f~(k!RBdV!``!bpOr(krs'gsv(kwx(]x!v(k!v!wBy!w~(k!RCQV!``!bpOr(krs'gsv(kwx(]x!{(k!{!|Cg!|~(k!RCnV!``!bpOr(krs'gsv(kwx(]x!r(k!r!sDT!s~(k!RD[V!``!bpOr(krs'gsv(kwx(]x!g(k!g!hDq!h~(k!RDxW!``!bpOrDqrsEbsvDqvwEvwxFfx!`Dq!`!aGb!a~DqqEgT!bpOvEbvxEvx!`Eb!`!aFX!a~EbPEyRO!`Ev!`!aFS!a~EvPFXOzPqF`Q!bpzPOv'gx~'gaFkV!``OrFfrsEvsvFfvwEvw!`Ff!`!aGQ!a~FfaGXR!``zPOr(]sv(]w~(]!RGkT!``!bpzPOr(krs'gsv(kwx(]x~(k!RHRV!``!bpOr(krs'gsv(kwx(]x#c(k#c#dHh#d~(k!RHoV!``!bpOr(krs'gsv(kwx(]x#V(k#V#WIU#W~(k!RI]V!``!bpOr(krs'gsv(kwx(]x#h(k#h#iIr#i~(k!RIyV!``!bpOr(krs'gsv(kwx(]x#m(k#m#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[nO,oO,lO,tO,QO,iO,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:446});function sO(O,e){let a=Object.create(null);for(let t of O.firstChild.getChildren("Attribute")){let O=t.getChild("AttributeName"),Q=t.getChild("AttributeValue")||t.getChild("UnquotedAttributeValue");O&&(a[e.read(O.from,O.to)]=Q?"AttributeValue"==Q.name?e.read(Q.from+1,Q.to-1):e.read(Q.from,Q.to):"")}return a}function pO(O,e,a){let t;for(let Q of a)if(!Q.attrs||Q.attrs(t||(t=sO(O.node.parent,e))))return{parser:Q.parser};return null}function cO(O){let e=[],a=[],t=[];for(let Q of O){let O="script"==Q.tag?e:"style"==Q.tag?a:"textarea"==Q.tag?t:null;if(!O)throw new RangeError("Only script, style, and textarea tags can host nested parsers");O.push(Q)}return(0,P.FE)(((O,Q)=>{let i=O.type.id;return i==w?pO(O,Q,e):i==q?pO(O,Q,a):i==j?pO(O,Q,t):null}))}const uO=93,dO=1,PO=94,fO=95,WO=2,mO=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],TO=58,XO=40,SO=95,gO=91,yO=45,bO=46,RO=35,YO=37;function xO(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function kO(O){return O>=48&&O<=57}const ZO=new d.Jq(((O,e)=>{for(let a=!1,t=0,Q=0;;Q++){let{next:i}=O;if(!(xO(i)||i==yO||i==SO||a&&kO(i))){a&&O.acceptToken(i==XO?PO:2==t&&e.canShift(WO)?WO:fO);break}!a&&(i!=yO||Q>0)&&(a=!0),t===Q&&i==yO&&t++,O.advance()}})),hO=new d.Jq((O=>{if(mO.includes(O.peek(-1))){let{next:e}=O;(xO(e)||e==SO||e==RO||e==bO||e==gO||e==TO||e==yO)&&O.acceptToken(uO)}})),vO=new d.Jq((O=>{if(!mO.includes(O.peek(-1))){let{next:e}=O;if(e==YO&&(O.advance(),O.acceptToken(dO)),xO(e)){do{O.advance()}while(xO(O.next));O.acceptToken(dO)}}})),VO={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,dir:32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},_O={__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2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:O=>VO[O]||-1},{term:56,get:O=>_O[O]||-1},{term:95,get:O=>wO[O]||-1}],tokenPrec:1078});var jO=a(40405),GO=a(97428);let zO=null;function UO(){if(!zO&&"object"==typeof document&&document.body){let O=[];for(let e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||O.push(e);zO=O.sort().map((O=>({type:"property",label:O})))}return zO||[]}const LO=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map((O=>({type:"class",label:O}))),EO=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((O=>({type:"keyword",label:O}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((O=>({type:"constant",label:O})))),JO=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((O=>({type:"type",label:O}))),CO=/^[\w-]*/,DO=O=>{let{state:e,pos:a}=O,t=(0,jO.qz)(e).resolveInner(a,-1);if("PropertyName"==t.name)return{from:t.from,options:UO(),span:CO};if("ValueName"==t.name)return{from:t.from,options:EO,span:CO};if("PseudoClassName"==t.name)return{from:t.from,options:LO,span:CO};if("TagName"==t.name){for(let{parent:O}=t;O;O=O.parent)if("Block"==O.name)return{from:t.from,options:UO(),span:CO};return{from:t.from,options:JO,span:CO}}if(!O.explicit)return null;let Q=t.resolve(a),i=Q.childBefore(a);return i&&":"==i.name&&"PseudoClassSelector"==Q.name?{from:a,options:LO,span:CO}:i&&":"==i.name&&"Declaration"==Q.name||"ArgList"==Q.name?{from:a,options:EO,span:CO}:"Block"==Q.name?{from:a,options:UO(),span:CO}:null},NO=jO.qp.define({parser:qO.configure({props:[jO.uj.add({Declaration:(0,jO.tC)()}),jO.x0.add({Block:jO.Dv}),(0,GO.Gv)({"import charset namespace keyframes":GO.pJ.definitionKeyword,"media supports":GO.pJ.controlKeyword,"from to selector":GO.pJ.keyword,NamespaceName:GO.pJ.namespace,KeyframeName:GO.pJ.labelName,TagName:GO.pJ.tagName,ClassName:GO.pJ.className,PseudoClassName:GO.pJ.constant(GO.pJ.className),IdName:GO.pJ.labelName,"FeatureName PropertyName":GO.pJ.propertyName,AttributeName:GO.pJ.attributeName,NumberLiteral:GO.pJ.number,KeywordQuery:GO.pJ.keyword,UnaryQueryOp:GO.pJ.operatorKeyword,"CallTag ValueName":GO.pJ.atom,VariableName:GO.pJ.variableName,Callee:GO.pJ.operatorKeyword,Unit:GO.pJ.unit,"UniversalSelector NestingSelector":GO.pJ.definitionOperator,AtKeyword:GO.pJ.keyword,MatchOp:GO.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":GO.pJ.logicOperator,BinOp:GO.pJ.arithmeticOperator,Important:GO.pJ.modifier,Comment:GO.pJ.blockComment,ParenthesizedContent:GO.pJ.special(GO.pJ.name),ColorLiteral:GO.pJ.color,StringLiteral:GO.pJ.string,":":GO.pJ.punctuation,"PseudoOp #":GO.pJ.derefOperator,"; ,":GO.pJ.separator,"( )":GO.pJ.paren,"[ ]":GO.pJ.squareBracket,"{ }":GO.pJ.brace})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),AO=NO.data.of({autocomplete:DO});function IO(){return new jO.ri(NO,AO)}const FO=275,HO=1,KO=2,BO=276,MO=277,Oe=278,ee=279,ae=3,te=281,Qe=282,ie=4,re=5,ne=1,oe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],le=125,$e=123,se=59,pe=47,ce=42,ue=43,de=45,Pe=36,fe=96,We=92,me=new d.IK({start:!1,shift(O,e){return e==ie||e==re||e==te?O:e==Qe},strict:!1}),Te=new d.Jq(((O,e)=>{let{next:a}=O;(a==le||-1==a||e.context)&&e.canShift(ee)&&O.acceptToken(ee)}),{contextual:!0,fallback:!0}),Xe=new d.Jq(((O,e)=>{let a,{next:t}=O;oe.indexOf(t)>-1||(t!=pe||(a=O.peek(1))!=pe&&a!=ce)&&t!=le&&t!=se&&-1!=t&&!e.context&&e.canShift(FO)&&O.acceptToken(FO)}),{contextual:!0}),Se=new d.Jq(((O,e)=>{let{next:a}=O;if((a==ue||a==de)&&(O.advance(),a==O.next)){O.advance();let a=!e.context&&e.canShift(HO);O.acceptToken(a?HO:KO)}}),{contextual:!0}),ge=new d.Jq((O=>{for(let e=!1,a=0;;a++){let{next:t}=O;if(t<0){a&&O.acceptToken(BO);break}if(t==fe){a?O.acceptToken(BO):O.acceptToken(Oe,1);break}if(t==$e&&e){1==a?O.acceptToken(MO,1):O.acceptToken(BO,-1);break}if(10==t&&a){O.advance(),O.acceptToken(BO);break}t==We&&O.advance(),e=t==Pe,O.advance()}}));function ye(O,e){return"extends"==O&&e.dialectEnabled(ne)?ae:-1}const be={__proto__:null,export:16,as:21,from:25,default:30,async:35,function:36,this:46,true:54,false:54,void:60,typeof:64,null:78,super:80,new:114,await:131,yield:133,delete:134,class:144,extends:146,public:189,private:189,protected:189,readonly:191,instanceof:212,in:214,const:216,import:248,keyof:299,unique:303,infer:309,is:343,abstract:363,implements:365,type:367,let:370,var:372,interface:379,enum:383,namespace:389,module:391,declare:395,global:399,for:420,of:429,while:432,with:436,do:440,if:444,else:446,switch:450,case:456,try:462,catch:464,finally:466,return:470,throw:474,break:478,continue:482,debugger:486},Re={__proto__:null,async:101,get:103,set:105,public:153,private:153,protected:153,static:155,abstract:157,override:159,readonly:165,new:347},Ye={__proto__:null,"<":121},xe=d.WQ.deserialize({version:13,states:"$1WO`QYOOO'QQ!LdO'#CgO'XOSO'#DSO)dQYO'#DXO)tQYO'#DdO){QYO'#DnO-xQYO'#DtOOQO'#EX'#EXO.]QWO'#EWO.bQWO'#EWOOQ!LS'#Eb'#EbO0aQ!LdO'#IqO2wQ!LdO'#IrO3eQWO'#EvO3jQpO'#F]OOQ!LS'#FO'#FOO3rO!bO'#FOO4QQWO'#FdO5_QWO'#FcOOQ!LS'#Ir'#IrOOQ!LQ'#Iq'#IqOOQQ'#J['#J[O5dQWO'#HjO5iQ!LYO'#HkOOQQ'#Ic'#IcOOQQ'#Hl'#HlQ`QYOOO){QYO'#DfO5qQWO'#GWO5vQ#tO'#ClO6UQWO'#EVO6aQWO'#EcO6fQ#tO'#E}O7QQWO'#GWO7VQWO'#G[O7bQWO'#G[O7pQWO'#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T#p~%T%w!]S#c#v$QWO!^%T!_!`5T!`#o%T#p~%T$P!>pR$QW'a#wO!^%T!_#o%T#p~%T~!?OO!P~%r!?VT'u%j$QWO!^%T!_!`5T!`#o%T#p#q!=P#q~%T$u!?oR!O$k$QW'cQO!^%T!_#o%T#p~%TX!@PR!gP$QWO!^%T!_#o%T#p~%T,T!@gr$QW'T+{#vS'W%k'dpOX%TXY%cYZ%TZ[%c[p%Tpq%cqt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`,T!CO_$QW'U+{#vS'W%k'dpOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[Xe,Se,ge,0,1,2,3,4,5,6,7,8,Te],topRules:{Script:[0,6]},dialects:{jsx:11282,ts:11284},dynamicPrecedences:{145:1,172:1},specialized:[{term:284,get:(O,e)=>ye(O,e)<<1},{term:284,get:O=>be[O]||-1},{term:296,get:O=>Re[O]||-1},{term:59,get:O=>Ye[O]||-1}],tokenPrec:11305});var ke=a(26115);const Ze=[(0,ke.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,ke.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,ke.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,ke.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"block",type:"keyword"}),(0,ke.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,ke.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,ke.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],he=jO.qp.define({parser:xe.configure({props:[jO.uj.add({IfStatement:(0,jO.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,jO.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:jO.ze,SwitchBody:O=>{let e=O.textAfter,a=/^\s*\}/.test(e),t=/^\s*(case|default)\b/.test(e);return O.baseIndent+(a?0:t?1:2)*O.unit},Block:(0,jO.vw)({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"TemplateString BlockComment":()=>-1,"Statement Property":(0,jO.tC)({except:/^{/}),JSXElement(O){let e=/^\s*<\//.test(O.textAfter);return O.lineIndent(O.node.from)+(e?0:O.unit)},JSXEscape(O){let e=/\s*\}/.test(O.textAfter);return O.lineIndent(O.node.from)+(e?0:O.unit)},"JSXOpenTag JSXSelfClosingTag"(O){return O.column(O.node.from)+O.unit}}),jO.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":jO.Dv,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),(0,GO.Gv)({"get set async static":GO.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":GO.pJ.controlKeyword,"in of await yield void typeof delete instanceof":GO.pJ.operatorKeyword,"let var const function class extends":GO.pJ.definitionKeyword,"import export from":GO.pJ.moduleKeyword,"with debugger as new":GO.pJ.keyword,TemplateString:GO.pJ.special(GO.pJ.string),Super:GO.pJ.atom,BooleanLiteral:GO.pJ.bool,this:GO.pJ.self,null:GO.pJ["null"],Star:GO.pJ.modifier,VariableName:GO.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":GO.pJ["function"](GO.pJ.variableName),VariableDefinition:GO.pJ.definition(GO.pJ.variableName),Label:GO.pJ.labelName,PropertyName:GO.pJ.propertyName,PrivatePropertyName:GO.pJ.special(GO.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":GO.pJ["function"](GO.pJ.propertyName),"FunctionDeclaration/VariableDefinition":GO.pJ["function"](GO.pJ.definition(GO.pJ.variableName)),"ClassDeclaration/VariableDefinition":GO.pJ.definition(GO.pJ.className),PropertyDefinition:GO.pJ.definition(GO.pJ.propertyName),PrivatePropertyDefinition:GO.pJ.definition(GO.pJ.special(GO.pJ.propertyName)),UpdateOp:GO.pJ.updateOperator,LineComment:GO.pJ.lineComment,BlockComment:GO.pJ.blockComment,Number:GO.pJ.number,String:GO.pJ.string,ArithOp:GO.pJ.arithmeticOperator,LogicOp:GO.pJ.logicOperator,BitOp:GO.pJ.bitwiseOperator,CompareOp:GO.pJ.compareOperator,RegExp:GO.pJ.regexp,Equals:GO.pJ.definitionOperator,"Arrow : Spread":GO.pJ.punctuation,"( )":GO.pJ.paren,"[ ]":GO.pJ.squareBracket,"{ }":GO.pJ.brace,".":GO.pJ.derefOperator,", ;":GO.pJ.separator,TypeName:GO.pJ.typeName,TypeDefinition:GO.pJ.definition(GO.pJ.typeName),"type enum interface implements namespace module declare":GO.pJ.definitionKeyword,"abstract global Privacy readonly override":GO.pJ.modifier,"is keyof unique infer":GO.pJ.operatorKeyword,JSXAttributeValue:GO.pJ.attributeValue,JSXText:GO.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":GO.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":GO.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":GO.pJ.attributeName})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),ve=he.configure({dialect:"ts"}),Ve=he.configure({dialect:"jsx"}),_e=he.configure({dialect:"jsx ts"});function we(O={}){let e=O.jsx?O.typescript?_e:Ve:O.typescript?ve:he;return new jO.ri(e,he.data.of({autocomplete:(0,ke.eC)(["LineComment","BlockComment","String"],(0,ke.Mb)(Ze))}))}var qe=a(58583),je=a(46941);const Ge=["_blank","_self","_top","_parent"],ze=["ascii","utf-8","utf-16","latin1","latin1"],Ue=["get","post","put","delete"],Le=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Ee=["true","false"],Je={},Ce={a:{attrs:{href:null,ping:null,type:null,media:null,target:Ge,hreflang:null}},abbr:Je,acronym:Je,address:Je,applet:Je,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Je,aside:Je,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Je,base:{attrs:{href:null,target:Ge}},basefont:Je,bdi:Je,bdo:Je,big:Je,blockquote:{attrs:{cite:null}},body:Je,br:Je,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Le,formmethod:Ue,formnovalidate:["novalidate"],formtarget:Ge,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Je,center:Je,cite:Je,code:Je,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Je,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Je,dir:Je,div:Je,dl:Je,dt:Je,em:Je,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Je,figure:Je,font:Je,footer:Je,form:{attrs:{action:null,name:null,"accept-charset":ze,autocomplete:["on","off"],enctype:Le,method:Ue,novalidate:["novalidate"],target:Ge}},frame:Je,frameset:Je,h1:Je,h2:Je,h3:Je,h4:Je,h5:Je,h6:Je,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Je,hgroup:Je,hr:Je,html:{attrs:{manifest:null}},i:Je,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Le,formmethod:Ue,formnovalidate:["novalidate"],formtarget:Ge,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Je,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Je,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Je,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ze,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Je,noframes:Je,noscript:Je,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Je,param:{attrs:{name:null,value:null}},pre:Je,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Je,rt:Je,ruby:Je,s:Je,samp:Je,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ze}},section:Je,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},small:Je,source:{attrs:{src:null,type:null,media:null}},span:Je,strike:Je,strong:Je,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Je,summary:Je,sup:Je,table:Je,tbody:Je,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Je,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Je,time:{attrs:{datetime:null}},title:Je,tr:Je,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:Je,u:Je,ul:{children:["li","script","template","ul","ol"]},var:Je,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Je},De={accesskey:null,class:null,contenteditable:Ee,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Ee,autocorrect:Ee,autocapitalize:Ee,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Ee,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Ee,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Ee,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Ee,"aria-hidden":Ee,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Ee,"aria-multiselectable":Ee,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Ee,"aria-relevant":null,"aria-required":Ee,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Ne=Object.keys(Ce),Ae=Object.keys(De);function Ie(O,e,a=O.length){if(!e)return"";let t=e.firstChild,Q=t&&t.getChild("TagName");return Q?O.sliceString(Q.from,Math.min(Q.to,a)):""}function Fe(O,e=!1){for(let a=O.parent;a;a=a.parent)if("Element"==a.name){if(!e)return a;e=!1}return null}function He(O,e){let a=Ce[Ie(O,Fe(e,!0))];return(null===a||void 0===a?void 0:a.children)||Ne}function Ke(O,e){let a=[];for(let t=e;t=Fe(t);){let Q=Ie(O,t);if(Q&&"CloseTag"==t.lastChild.name)break;Q&&a.indexOf(Q)<0&&("EndTag"==e.name||e.from>=t.firstChild.to)&&a.push(Q)}return a}const Be=/^[:\-\.\w\u00b7-\uffff]+$/;function Me(O,e,a,t){let Q=/\s*>/.test(O.sliceDoc(t,t+5))?"":">";return{from:a,to:t,options:He(O.doc,e).map((O=>({label:O,type:"type"}))).concat(Ke(O.doc,e).map(((O,e)=>({label:"/"+O,apply:"/"+O+Q,type:"type",boost:99-e})))),span:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Oa(O,e,a,t){let Q=/\s*>/.test(O.sliceDoc(t,t+5))?"":">";return{from:a,to:t,options:Ke(O.doc,e).map(((O,e)=>({label:O,apply:O+Q,type:"type",boost:99-e}))),span:Be}}function ea(O,e,a){let t=[],Q=0;for(let i of He(O.doc,e))t.push({label:"<"+i,type:"type"});for(let i of Ke(O.doc,e))t.push({label:"",type:"type",boost:99-Q++});return{from:a,to:a,options:t,span:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function aa(O,e,a,t){let Q=Fe(e),i=Q?Ce[Ie(O.doc,Q)]:null,r=i&&i.attrs?Object.keys(i.attrs).concat(Ae):Ae;return{from:a,to:t,options:r.map((O=>({label:O,type:"property"}))),span:Be}}function ta(O,e,a,t){var Q;let i,r=null===(Q=e.parent)||void 0===Q?void 0:Q.getChild("AttributeName"),n=[];if(r){let Q=O.sliceDoc(r.from,r.to),o=De[Q];if(!o){let a=Fe(e),t=a?Ce[Ie(O.doc,a)]:null;o=(null===t||void 0===t?void 0:t.attrs)&&t.attrs[Q]}if(o){let e=O.sliceDoc(a,t).toLowerCase(),Q='"',r='"';/^['"]/.test(e)?(i='"'==e[0]?/^[^"]*$/:/^[^']*$/,Q="",r=O.sliceDoc(t,t+1)==e[0]?"":e[0],e=e.slice(1),a++):i=/^[^\s<>='"]*$/;for(let O of o)n.push({label:O,apply:Q+O+r,type:"constant"})}}return{from:a,to:t,options:n,span:i}}function Qa(O){let{state:e,pos:a}=O,t=(0,jO.qz)(e).resolveInner(a),Q=t.resolve(a,-1);for(let i,r=a;t==Q&&(i=Q.childBefore(r));){let O=i.lastChild;if(!O||!O.type.isError||O.from{if(O.composing||O.state.readOnly||e!=a||">"!=t&&"/"!=t||!ia.isActiveAt(O.state,e,-1))return!1;let{state:Q}=O,i=Q.changeByRange((O=>{var e,a,i;let r,{head:n}=O,o=(0,jO.qz)(Q).resolveInner(n,-1);if("TagName"!=o.name&&"StartTag"!=o.name||(o=o.parent),">"==t&&"OpenTag"==o.name){if("CloseTag"!=(null===(a=null===(e=o.parent)||void 0===e?void 0:e.lastChild)||void 0===a?void 0:a.name)&&(r=Ie(Q.doc,o.parent,n)))return{range:je.jT.cursor(n+1),changes:{from:n,insert:`>`}}}else if("/"==t&&"OpenTag"==o.name){let O=o.parent,e=null===O||void 0===O?void 0:O.parent;if(O.from==n-1&&"CloseTag"!=(null===(i=e.lastChild)||void 0===i?void 0:i.name)&&(r=Ie(Q.doc,e,n))){let O=`/${r}>`;return{range:je.jT.cursor(n+O.length),changes:{from:n,insert:O}}}}return{range:O}}));return!i.changes.empty&&(O.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)}));var la={ftl:na(),css:IO(),js:we()},$a={components:{Codemirror:u.Z,ThemeFile:p,PageView:c.B4},data:function(){return{themes:{data:[],loading:!1,selectedId:null},files:{data:[],loading:!1,selected:{},content:"",saving:!1,saveErrored:!1},editor:{languageExtensionsMap:la,extensions:[]}}},created:function(){this.handleListThemes()},methods:{handleListThemes:function(){var O=this;this.themes.loading=!0,n.Z.theme.list().then((function(e){O.themes.data=e.data;var a=O.themes.data.find((function(O){return O.activated}));a&&(O.themes.selectedId=a.id,O.onSelectTheme(a.id))})).finally((function(){O.themes.loading=!1}))},onSelectTheme:function(O){var e=this;this.files.data=[],this.files.loading=!0,n.Z.theme.listFiles(O).then((function(O){e.files.data=O.data,e.files.content="",e.files.selected={}})).finally((function(){e.files.loading=!1}))},handleSelectFile:function(O){var e=this,a=this;if(!O.editable)return this.$message.info("该文件不支持修改!"),this.files.content="",this.files.selected={},void this.handleInitEditor();["settings.yaml","settings.yml","theme.yaml","theme.yml"].includes(O.name)&&this.$confirm({title:"警告:请谨慎修改该配置文件",content:"修改之后可能会产生不可预料的问题!",onCancel:function(){a.files.content="",a.files.selected={},a.handleInitEditor()}}),n.Z.theme.getTemplateContent(this.themes.selectedId,O.path).then((function(a){e.files.content=a.data,e.files.selected=O,e.handleInitEditor()}))},handlerSaveContent:function(){var O=this;this.files.saving=!0,n.Z.theme.updateTemplateContent(this.themes.selectedId,{path:this.files.selected.path,content:this.files.content}).catch((function(){O.files.saveErrored=!0})).finally((function(){setTimeout((function(){O.files.saving=!1}),400)}))},handleInitEditor:function(){var O=this;this.$nextTick((function(){var e=O.files.selected.name;if(e){var a=e.substring(e.lastIndexOf(".")+1);O.editor.extensions=[O.editor.languageExtensionsMap[a]]}O.$refs.editor.handleInitCodemirror()}))}}},sa=$a,pa=(0,$.Z)(sa,i,r,!1,null,null,null),ca=pa.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/308.8871a940.js b/src/main/resources/admin/js/308.8871a940.js new file mode 100644 index 000000000..cb73c6296 --- /dev/null +++ b/src/main/resources/admin/js/308.8871a940.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[308],{16308:function(e,r,t){t.r(r),t.d(r,{default:function(){return d}});var o=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"container-wrapper animated fadeIn"},[e._m(0),t("div",[t("a-form-model",{ref:"sendCodeForm",attrs:{model:e.form.model,rules:e.form.sendCodeRules,layout:"vertical"}},[t("a-form-model-item",{attrs:{prop:"username"}},[t("a-input",{attrs:{placeholder:"用户名"},model:{value:e.form.model.username,callback:function(r){e.$set(e.form.model,"username",r)},expression:"form.model.username"}},[t("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"email"}},[t("a-input",{attrs:{placeholder:"邮箱"},model:{value:e.form.model.email,callback:function(r){e.$set(e.form.model,"email",r)},expression:"form.model.email"}},[t("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1)],1),t("a-form-model",{ref:"passwordForm",attrs:{model:e.form.model,rules:e.form.rules,layout:"vertical"}},[t("a-form-model-item",{attrs:{prop:"code"}},[t("a-input",{attrs:{placeholder:"验证码",type:"password"},scopedSlots:e._u([{key:"addonAfter",fn:function(){return[t("a-button",{staticClass:"!p-0 !h-auto",attrs:{type:"link"},on:{click:e.handleSendCode}},[e._v("获取")])]},proxy:!0}]),model:{value:e.form.model.code,callback:function(r){e.$set(e.form.model,"code",r)},expression:"form.model.code"}},[t("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"password"}},[t("a-input",{attrs:{autocomplete:"new-password",placeholder:"新密码",type:"password"},model:{value:e.form.model.password,callback:function(r){e.$set(e.form.model,"password",r)},expression:"form.model.password"}},[t("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"confirmPassword"}},[t("a-input",{attrs:{autocomplete:"new-password",placeholder:"确认密码",type:"password"},model:{value:e.form.model.confirmPassword,callback:function(r){e.$set(e.form.model,"confirmPassword",r)},expression:"form.model.confirmPassword"}},[t("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-model-item",[t("a-button",{attrs:{block:!0,type:"primary"},on:{click:e.handleResetPassword}},[e._v("重置密码")])],1)],1),t("router-link",{staticClass:"tip",attrs:{to:{name:"Login"}}},[e._v(" 返回登录")])],1)])},a=[function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"halo-logo"},[t("img",{attrs:{alt:"Halo Logo",src:"/images/logo.svg"}}),t("span",[e._v("重置密码")])])}],s=t(29230),n=(t(70315),t(87591),t(62210)),l={data:function(){var e=this,r=function(r,t,o){t&&e.form.model.password!==t?o(new Error("确认密码与新密码不一致")):o()};return{form:{model:{},sendCodeRules:{username:[{required:!0,message:"* 用户名不能为空",trigger:["change"]}],email:[{required:!0,message:"* 电子邮箱地址不能为空",trigger:["change"]}]},rules:{code:[{required:!0,message:"* 验证码不能为空",trigger:["change"]}],password:[{required:!0,message:"* 新密码不能为空",trigger:["change"]},{max:100,min:8,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["change"]}],confirmPassword:[{required:!0,message:"* 确认密码不能为空",trigger:["change"]},{validator:r,trigger:["change"]}]}}}},methods:{handleSendCode:function(){var e=this;this.$refs.sendCodeForm.validate(function(){var r=(0,s.Z)(regeneratorRuntime.mark((function r(t){var o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!t){r.next=14;break}return o=e.$message.loading("发送中...",0),r.prev=2,r.next=5,n.Z.sendResetPasswordCode(e.form.model);case 5:e.$message.success("邮件发送成功,五分钟内有效"),r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](2),e.$log.error("Failed send code: ",r.t0);case 11:return r.prev=11,o(),r.finish(11);case 14:case"end":return r.stop()}}),r,null,[[2,8,11,14]])})));return function(e){return r.apply(this,arguments)}}())},handleResetPassword:function(){var e=this;this.$refs.sendCodeForm.validate((function(r){r&&e.$refs.passwordForm.validate(function(){var r=(0,s.Z)(regeneratorRuntime.mark((function r(t){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!t){r.next=12;break}return r.prev=1,r.next=4,n.Z.resetPassword(e.form.model);case 4:return r.next=6,e.$router.push({name:"Login"});case 6:e.$message.success("密码重置成功!"),r.next=12;break;case 9:r.prev=9,r.t0=r["catch"](1),e.$log.error("Failed reset password: ",r.t0);case 12:case"end":return r.stop()}}),r,null,[[1,9]])})));return function(e){return r.apply(this,arguments)}}())}))}}},i=l,m=t(42177),c=(0,m.Z)(i,o,a,!1,null,null,null),d=c.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/309.9c782a15.js b/src/main/resources/admin/js/309.9c782a15.js deleted file mode 100644 index 3d67df949..000000000 --- a/src/main/resources/admin/js/309.9c782a15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[309],{1309:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-row",{attrs:{gutter:0}},[a("a-col",{staticClass:"h-screen",staticStyle:{"border-right":"1px solid #f2f2f2"},attrs:{md:6,sm:24}},[a("a-spin",{staticClass:"h-full",attrs:{spinning:e.theme.loading}},[a("ThemeSettingForm",{attrs:{theme:e.theme.data,wrapperCol:{span:24}},on:{saved:e.onSettingsSaved}})],1)],1),a("a-col",{staticClass:"h-screen",attrs:{md:18,sm:24}},[a("iframe",{attrs:{id:"themeViewIframe",src:e.options.blog_url,frameborder:"0",height:"100%",scrolling:"auto",width:"100%"}})])],1)},r=[],s=a(47458),i=a(86475),o=(a(70315),a(32221)),l=a(17132),m=a(98906),u={name:"ThemeVisualSetting",components:{ThemeSettingForm:o.Z},data:function(){return{theme:{data:{},loading:!1}}},computed:(0,i.Z)({},(0,m.Se)(["options"])),beforeRouteEnter:function(e,t,a){var n=e.query.themeId;a(function(){var e=(0,s.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetTheme(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},methods:{handleGetTheme:function(e){var t=this;return(0,s.Z)(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,t.theme.loading=!0,a.next=4,l.Z.theme.get(e);case 4:n=a.sent,r=n.data,t.theme.data=r;case 7:return a.prev=7,t.theme.loading=!1,a.finish(7);case 10:case"end":return a.stop()}}),a,null,[[0,,7,10]])})))()},onSettingsSaved:function(){document.getElementById("themeViewIframe").contentWindow.location.reload()}}},c=u,f=a(42177),d=(0,f.Z)(c,n,r,!1,null,"3839a26e",null),h=d.exports},32221:function(e,t,a){a.d(t,{Z:function(){return f}});var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.theme.id?a("div",{staticClass:"card-container h-full"},[a("a-tabs",{staticClass:"h-full",attrs:{defaultActiveKey:"0",type:"card"}},[a("a-tab-pane",{key:0,attrs:{tab:"关于"}},[e.theme.logo?a("div",[a("a-avatar",{attrs:{alt:e.theme.name,size:72,src:e.theme.logo,shape:"square"}}),a("a-divider")],1):e._e(),a("a-descriptions",{attrs:{column:1,layout:"horizontal"}},[a("a-descriptions-item",{attrs:{label:"作者"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.author.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.author.name)+" ")])]),a("a-descriptions-item",{attrs:{label:"介绍"}},[e._v(" "+e._s(e.theme.description||"-")+" ")]),a("a-descriptions-item",{attrs:{label:"官网"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.website||"-")+" ")])]),a("a-descriptions-item",{attrs:{label:"Git 仓库"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.repo||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.repo||"-")+" ")])]),a("a-descriptions-item",{attrs:{label:"主题标识"}},[e._v(" "+e._s(e.theme.id)+" ")]),a("a-descriptions-item",{attrs:{label:"当前版本"}},[e._v(" "+e._s(e.theme.version)+" ")]),a("a-descriptions-item",{attrs:{label:"存储位置"}},[e._v(" "+e._s(e.theme.themePath)+" ")])],1)],1),e._l(e.form.configurations,(function(t,n){return a("a-tab-pane",{key:n+1,attrs:{tab:t.label}},[a("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[e._l(t.items,(function(t,n){return a("a-form-item",{key:n,attrs:{label:t.label+":"}},[t.description&&""!==t.description?a("p",{attrs:{slot:"help"},domProps:{innerHTML:e._s(t.description)},slot:"help"}):e._e(),"TEXT"===t.type?a("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"TEXTAREA"===t.type?a("a-input",{attrs:{autoSize:{minRows:5},placeholder:t.placeholder,type:"textarea"},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"RADIO"===t.type?a("a-radio-group",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t,n){return a("a-radio",{key:n,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"SELECT"===t.type?a("a-select",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t){return a("a-select-option",{key:t.value,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"COLOR"===t.type?a("verte",{staticStyle:{display:"inline-block",height:"24px"},attrs:{defaultValue:t.defaultValue,model:"hex",picker:"square"},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"ATTACHMENT"===t.type?a("AttachmentInput",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"NUMBER"===t.type?a("a-input-number",{staticStyle:{width:"100%"},attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"SWITCH"===t.type?a("a-switch",{attrs:{defaultChecked:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):a("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}})],1)})),a("a-form-item",[a("ReactiveButton",{attrs:{errored:e.form.saveErrored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSaveSettingsCallback,click:e.handleSaveSettings}})],1)],2)],1)}))],2)],1):e._e()},r=[],s=a(47458),i=(a(70315),a(43154)),o=a(17132),l={name:"ThemeSettingForm",components:{Verte:i.Z},props:{theme:{type:Object,default:function(){}},wrapperCol:{type:Object,default:function(){return{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}}},data:function(){return{form:{settings:[],configurations:[],loading:!1,saving:!1,saveErrored:!1}}},watch:{theme:function(e){e&&this.handleGetConfigurations()}},methods:{handleGetConfigurations:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.Z.theme.listConfigurations(e.theme.id);case 3:return a=t.sent,n=a.data,e.form.configurations=n,t.next=8,e.handleGetSettings();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.$log.error(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},handleGetSettings:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.Z.theme.listSettings(e.theme.id);case 3:a=t.sent,n=a.data,e.form.settings=n,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},handleSaveSettings:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.saving=!0,t.next=4,o.Z.theme.saveSettings(e.theme.id,e.form.settings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error(t.t0),e.form.saveErrored=!0;case 10:return t.prev=10,setTimeout((function(){e.form.saving=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleSaveSettingsCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:(this.handleGetSettings(),this.$emit("saved"))}}},m=l,u=a(42177),c=(0,u.Z)(m,n,r,!1,null,null,null),f=c.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/640.7317250a.js b/src/main/resources/admin/js/33.49a1152d.js similarity index 58% rename from src/main/resources/admin/js/640.7317250a.js rename to src/main/resources/admin/js/33.49a1152d.js index ca5600142..cce28e9d4 100644 --- a/src/main/resources/admin/js/640.7317250a.js +++ b/src/main/resources/admin/js/33.49a1152d.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[640],{86763:function(e,t,n){var r="Expected a function",a=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,h=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function("return this")(),g=Object.prototype,v=g.toString,p=Math.max,S=Math.min,m=function(){return d.Date.now()};function w(e,t,n){var a,o,i,s,u,c,h=0,l=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError(r);function g(t){var n=a,r=o;return a=o=void 0,h=t,s=e.apply(r,n),s}function v(e){return h=e,u=setTimeout(y,t),l?g(e):s}function w(e){var n=e-c,r=e-h,a=t-n;return f?S(a,i-r):a}function T(e){var n=e-c,r=e-h;return void 0===c||n>=t||n<0||f&&r>=i}function y(){var e=m();if(T(e))return x(e);u=setTimeout(y,w(e))}function x(e){return u=void 0,d&&a?g(e):(a=o=void 0,s)}function C(){void 0!==u&&clearTimeout(u),h=0,a=c=o=u=void 0}function R(){return void 0===u?s:x(m())}function $(){var e=m(),n=T(e);if(a=arguments,o=this,c=e,n){if(void 0===u)return v(c);if(f)return u=setTimeout(y,t),g(c)}return void 0===u&&(u=setTimeout(y,t)),s}return t=k(t)||0,b(n)&&(l=!!n.leading,f="maxWait"in n,i=f?p(k(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),$.cancel=C,$.flush=R,$}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function T(e){return!!e&&"object"==typeof e}function y(e){return"symbol"==typeof e||T(e)&&v.call(e)==o}function k(e){if("number"==typeof e)return e;if(y(e))return a;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=w},66640:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",{attrs:{"sub-title":e.sheetToStage.inProgress?"当前内容已保存,但还未发布。":"",title:e.sheetToStage.title?e.sheetToStage.title:"新页面",affix:""}},[n("template",{slot:"extra"},[n("a-space",[n("a-button",{attrs:{loading:e.previewSaving},on:{click:e.handlePreviewClick}},[e._v("预览")]),n("a-button",{attrs:{type:"primary"},on:{click:function(t){e.sheetSettingVisible=!0}}},[e._v("发布")])],1)],1),n("a-row",{attrs:{gutter:12}},[n("a-col",{attrs:{span:24}},[n("div",{staticClass:"mb-4"},[n("a-input",{attrs:{placeholder:"请输入页面标题",size:"large"},model:{value:e.sheetToStage.title,callback:function(t){e.$set(e.sheetToStage,"title",t)},expression:"sheetToStage.title"}})],1),n("div",{style:{height:e.editorHeight},attrs:{id:"editor"}},[n("MarkdownEditor",{attrs:{originalContent:e.sheetToStage.originalContent},on:{"update:originalContent":function(t){return e.$set(e.sheetToStage,"originalContent",t)},"update:original-content":function(t){return e.$set(e.sheetToStage,"originalContent",t)},change:e.onContentChange,save:function(t){return e.handleSaveDraft()}}})],1)])],1),n("SheetSettingModal",{attrs:{sheet:e.sheetToStage,savedCallback:e.onSheetSavedCallback,visible:e.sheetSettingVisible},on:{"update:visible":function(t){e.sheetSettingVisible=t},onUpdate:e.onUpdateFromSetting}})],2)},a=[],o=n(47458),i=(n(70315),n(12566),n(30535),n(85018),n(27474)),s=n(3045),u=n(95983),c=n(91411),h=n(38487),l=n(17132),f=n(86763),d=n.n(f),g={components:{PageView:i.B4,SheetSettingModal:s.Z,MarkdownEditor:u.Z},mixins:[c.jB,c.KT,c.g3],data:function(){return{sheetSettingVisible:!1,sheetToStage:{},contentChanges:0,previewSaving:!1}},beforeRouteEnter:function(e,t,n){var r=e.query.sheetId;n(function(){var e=(0,o.Z)(regeneratorRuntime.mark((function e(t){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=6;break}return e.next=3,l.Z.sheet.get(Number(r));case 3:n=e.sent,a=n.data,t.sheetToStage=a;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},destroyed:function(){window.onbeforeunload&&(window.onbeforeunload=null)},beforeRouteLeave:function(e,t,n){var r=this.$createElement;this.contentChanges<=1?n():this.$confirm({title:"当前页面数据未保存,确定要离开吗?",content:function(){return r("div",{style:"color:red;"},["如果离开当面页面,你的数据很可能会丢失!"])},onOk:function(){n()},onCancel:function(){n(!1)}})},mounted:function(){window.onbeforeunload=function(e){return e=e||window.event,e&&(e.returnValue="当前页面数据未保存,确定要离开吗?"),"当前页面数据未保存,确定要离开吗?"}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterSaveShortcut)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterSaveShortcut)},methods:{onRegisterSaveShortcut:function(e){!e.ctrlKey&&!e.metaKey||e.altKey||e.shiftKey||83!==e.keyCode||(e.preventDefault(),e.stopPropagation(),this.handleSaveDraft())},handleSaveDraft:d()((0,o.Z)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.sheetToStage.id){e.next=16;break}return e.prev=1,e.next=4,l.Z.sheet.updateDraftById(this.sheetToStage.id,this.sheetToStage.originalContent,this.sheetToStage.content,!0);case 4:t=e.sent,n=t.data,this.sheetToStage.inProgress=n.inProgress,this.handleRestoreSavedStatus(),this.$message.success({content:"内容已保存",duration:.5}),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](1),this.$log.error("Failed to update sheet content",e.t0);case 14:e.next=18;break;case 16:return e.next=18,this.handleCreateSheet();case 18:case"end":return e.stop()}}),e,this,[[1,11]])}))),300),handleCreateSheet:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sheetToStage.title||(e.sheetToStage.title=(0,h._)(new Date,"YYYY-MM-DD-HH-mm-ss")),t.prev=1,e.sheetToStage.keepRaw=!0,t.next=5,l.Z.sheet.create(e.sheetToStage);case 5:n=t.sent,r=n.data,e.sheetToStage=r,e.handleRestoreSavedStatus(),a=e.$router.history.current.path,e.$router.replace({path:a,query:{sheetId:e.sheetToStage.id}}).catch((function(e){return e})),e.$message.success({content:"页面已创建",duration:.5}),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](1),e.$log.error("Failed to create sheet",t.t0);case 17:case"end":return t.stop()}}),t,null,[[1,14]])})))()},handlePreviewClick:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.previewSaving=!0,!e.sheetToStage.id){t.next=9;break}return t.next=4,l.Z.sheet.updateDraftById(e.sheetToStage.id,e.sheetToStage.originalContent,e.sheetToStage.content,!0);case 4:n=t.sent,r=n.data,e.sheetToStage.inProgress=r.inProgress,t.next=11;break;case 9:return t.next=11,e.handleCreateSheet();case 11:return t.next=13,e.handleOpenPreview();case 13:case"end":return t.stop()}}),t)})))()},handleOpenPreview:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.sheet.getPreviewLinkById(e.sheetToStage.id);case 3:n=t.sent,window.open(n,"_blank"),e.handleRestoreSavedStatus(),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error("Failed to get preview link",t.t0);case 11:return t.prev=11,setTimeout((function(){e.previewSaving=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,8,11,14]])})))()},handleRestoreSavedStatus:function(){this.contentChanges=0},onContentChange:function(e){var t=e.originalContent,n=e.renderContent;this.contentChanges++,this.sheetToStage.originalContent=t,this.sheetToStage.content=n},onSheetSavedCallback:function(){this.contentChanges=0,this.$router.push({name:"SheetList",query:{activeKey:"custom"}})},onUpdateFromSetting:function(e){this.sheetToStage=e}}},v=g,p=n(42177),S=(0,p.Z)(v,r,a,!1,null,null,null),m=S.exports}}]); \ No newline at end of file +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[33],{86763:function(e,t,n){var r="Expected a function",a=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,h=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function("return this")(),g=Object.prototype,v=g.toString,p=Math.max,S=Math.min,m=function(){return d.Date.now()};function w(e,t,n){var a,o,i,s,u,c,h=0,l=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError(r);function g(t){var n=a,r=o;return a=o=void 0,h=t,s=e.apply(r,n),s}function v(e){return h=e,u=setTimeout(y,t),l?g(e):s}function w(e){var n=e-c,r=e-h,a=t-n;return f?S(a,i-r):a}function T(e){var n=e-c,r=e-h;return void 0===c||n>=t||n<0||f&&r>=i}function y(){var e=m();if(T(e))return x(e);u=setTimeout(y,w(e))}function x(e){return u=void 0,d&&a?g(e):(a=o=void 0,s)}function C(){void 0!==u&&clearTimeout(u),h=0,a=c=o=u=void 0}function R(){return void 0===u?s:x(m())}function $(){var e=m(),n=T(e);if(a=arguments,o=this,c=e,n){if(void 0===u)return v(c);if(f)return u=setTimeout(y,t),g(c)}return void 0===u&&(u=setTimeout(y,t)),s}return t=k(t)||0,b(n)&&(l=!!n.leading,f="maxWait"in n,i=f?p(k(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),$.cancel=C,$.flush=R,$}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function T(e){return!!e&&"object"==typeof e}function y(e){return"symbol"==typeof e||T(e)&&v.call(e)==o}function k(e){if("number"==typeof e)return e;if(y(e))return a;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=u.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=w},45033:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",{attrs:{"sub-title":e.sheetToStage.inProgress?"当前内容已保存,但还未发布。":"",title:e.sheetToStage.title?e.sheetToStage.title:"新页面",affix:""}},[n("template",{slot:"extra"},[n("a-space",[n("a-button",{attrs:{loading:e.previewSaving},on:{click:e.handlePreviewClick}},[e._v("预览")]),n("a-button",{attrs:{type:"primary"},on:{click:function(t){e.sheetSettingVisible=!0}}},[e._v("发布")])],1)],1),n("a-row",{attrs:{gutter:12}},[n("a-col",{attrs:{span:24}},[n("div",{staticClass:"mb-4"},[n("a-input",{attrs:{placeholder:"请输入页面标题",size:"large"},model:{value:e.sheetToStage.title,callback:function(t){e.$set(e.sheetToStage,"title",t)},expression:"sheetToStage.title"}})],1),n("div",{style:{height:e.editorHeight},attrs:{id:"editor"}},[n("MarkdownEditor",{attrs:{originalContent:e.sheetToStage.originalContent},on:{"update:originalContent":function(t){return e.$set(e.sheetToStage,"originalContent",t)},"update:original-content":function(t){return e.$set(e.sheetToStage,"originalContent",t)},change:e.onContentChange,save:function(t){return e.handleSaveDraft()}}})],1)])],1),n("SheetSettingModal",{attrs:{sheet:e.sheetToStage,savedCallback:e.onSheetSavedCallback,visible:e.sheetSettingVisible},on:{"update:visible":function(t){e.sheetSettingVisible=t},onUpdate:e.onUpdateFromSetting}})],2)},a=[],o=n(29230),i=(n(70315),n(12566),n(30535),n(85018),n(22401)),s=n(49371),u=n(11940),c=n(64647),h=n(69716),l=n(62210),f=n(86763),d=n.n(f),g={components:{PageView:i.B4,SheetSettingModal:s.Z,MarkdownEditor:u.Z},mixins:[c.jB,c.KT,c.g3],data:function(){return{sheetSettingVisible:!1,sheetToStage:{},contentChanges:0,previewSaving:!1}},beforeRouteEnter:function(e,t,n){var r=e.query.sheetId;n(function(){var e=(0,o.Z)(regeneratorRuntime.mark((function e(t){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!r){e.next=6;break}return e.next=3,l.Z.sheet.get(Number(r));case 3:n=e.sent,a=n.data,t.sheetToStage=a;case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},destroyed:function(){window.onbeforeunload&&(window.onbeforeunload=null)},beforeRouteLeave:function(e,t,n){var r=this.$createElement;this.contentChanges<=1?n():this.$confirm({title:"当前页面数据未保存,确定要离开吗?",content:function(){return r("div",{style:"color:red;"},["如果离开当面页面,你的数据很可能会丢失!"])},onOk:function(){n()},onCancel:function(){n(!1)}})},mounted:function(){window.onbeforeunload=function(e){return e=e||window.event,e&&(e.returnValue="当前页面数据未保存,确定要离开吗?"),"当前页面数据未保存,确定要离开吗?"}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterSaveShortcut)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterSaveShortcut)},methods:{onRegisterSaveShortcut:function(e){!e.ctrlKey&&!e.metaKey||e.altKey||e.shiftKey||83!==e.keyCode||(e.preventDefault(),e.stopPropagation(),this.handleSaveDraft())},handleSaveDraft:d()((0,o.Z)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.sheetToStage.id){e.next=16;break}return e.prev=1,e.next=4,l.Z.sheet.updateDraftById(this.sheetToStage.id,this.sheetToStage.originalContent,this.sheetToStage.content,!0);case 4:t=e.sent,n=t.data,this.sheetToStage.inProgress=n.inProgress,this.handleRestoreSavedStatus(),this.$message.success({content:"内容已保存",duration:.5}),e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](1),this.$log.error("Failed to update sheet content",e.t0);case 14:e.next=18;break;case 16:return e.next=18,this.handleCreateSheet();case 18:case"end":return e.stop()}}),e,this,[[1,11]])}))),300),handleCreateSheet:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sheetToStage.title||(e.sheetToStage.title=(0,h._)(new Date,"YYYY-MM-DD-HH-mm-ss")),t.prev=1,e.sheetToStage.keepRaw=!0,t.next=5,l.Z.sheet.create(e.sheetToStage);case 5:n=t.sent,r=n.data,e.sheetToStage=r,e.handleRestoreSavedStatus(),a=e.$router.history.current.path,e.$router.replace({path:a,query:{sheetId:e.sheetToStage.id}}).catch((function(e){return e})),e.$message.success({content:"页面已创建",duration:.5}),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](1),e.$log.error("Failed to create sheet",t.t0);case 17:case"end":return t.stop()}}),t,null,[[1,14]])})))()},handlePreviewClick:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.previewSaving=!0,!e.sheetToStage.id){t.next=9;break}return t.next=4,l.Z.sheet.updateDraftById(e.sheetToStage.id,e.sheetToStage.originalContent,e.sheetToStage.content,!0);case 4:n=t.sent,r=n.data,e.sheetToStage.inProgress=r.inProgress,t.next=11;break;case 9:return t.next=11,e.handleCreateSheet();case 11:return t.next=13,e.handleOpenPreview();case 13:case"end":return t.stop()}}),t)})))()},handleOpenPreview:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l.Z.sheet.getPreviewLinkById(e.sheetToStage.id);case 3:n=t.sent,window.open(n,"_blank"),e.handleRestoreSavedStatus(),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error("Failed to get preview link",t.t0);case 11:return t.prev=11,setTimeout((function(){e.previewSaving=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,8,11,14]])})))()},handleRestoreSavedStatus:function(){this.contentChanges=0},onContentChange:function(e){var t=e.originalContent,n=e.renderContent;this.contentChanges++,this.sheetToStage.originalContent=t,this.sheetToStage.content=n},onSheetSavedCallback:function(){this.contentChanges=0,this.$router.push({name:"SheetList",query:{activeKey:"custom"}})},onUpdateFromSetting:function(e){this.sheetToStage=e}}},v=g,p=n(42177),S=(0,p.Z)(v,r,a,!1,null,null,null),m=S.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/906.61467a8d.js b/src/main/resources/admin/js/330.2f51e7c6.js similarity index 97% rename from src/main/resources/admin/js/906.61467a8d.js rename to src/main/resources/admin/js/330.2f51e7c6.js index e29afa636..70bb182a6 100644 --- a/src/main/resources/admin/js/906.61467a8d.js +++ b/src/main/resources/admin/js/330.2f51e7c6.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[906],{33466:function(t,e,a){var o=a(33691),n=a(36325),i=a(43150),l=/"/g,r=o("".replace);t.exports=function(t,e,a,o){var s=i(n(t)),d="<"+e;return""!==a&&(d+=" "+a+'="'+r(i(o),l,""")+'"'),d+">"+s+""}},42873:function(t,e,a){var o=a(32640);t.exports=function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},68576:function(t,e,a){"use strict";var o=a(79644),n=a(33466),i=a(42873);o({target:"String",proto:!0,forced:i("link")},{link:function(t){return n(this,"a","href",t)}})},8906:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return h}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-row",{attrs:{gutter:12}},[a("a-col",{staticClass:"pb-3",attrs:{lg:10,md:10,sm:24,xl:10,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:t.title}},[a("a-form-model",{ref:"linkForm",attrs:{model:t.form.model,rules:t.form.rules,layout:"horizontal"}},[a("a-form-model-item",{attrs:{label:"网站名称:",prop:"name"}},[a("a-input",{model:{value:t.form.model.name,callback:function(e){t.$set(t.form.model,"name",e)},expression:"form.model.name"}})],1),a("a-form-model-item",{attrs:{help:"* 需要加上 http://",label:"网站地址:",prop:"url"}},[a("a-input",{model:{value:t.form.model.url,callback:function(e){t.$set(t.form.model,"url",e)},expression:"form.model.url"}})],1),a("a-form-model-item",{attrs:{label:"Logo:",prop:"logo"}},[a("a-input",{model:{value:t.form.model.logo,callback:function(e){t.$set(t.form.model,"logo",e)},expression:"form.model.logo"}})],1),a("a-form-model-item",{attrs:{label:"分组:",prop:"team"}},[a("a-auto-complete",{attrs:{dataSource:t.computedTeams,allowClear:""},model:{value:t.form.model.team,callback:function(e){t.$set(t.form.model,"team",e)},expression:"form.model.team"}})],1),a("a-form-model-item",{attrs:{label:"排序编号:",prop:"priority"}},[a("a-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.model.priority,callback:function(e){t.$set(t.form.model,"priority",e)},expression:"form.model.priority"}})],1),a("a-form-model-item",{attrs:{label:"描述:",prop:"description"}},[a("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:t.form.model.description,callback:function(e){t.$set(t.form.model,"description",e)},expression:"form.model.description"}})],1),a("a-form-model-item",[t.isUpdateMode?a("a-button-group",[a("ReactiveButton",{attrs:{errored:t.form.errored,loading:t.form.saving,erroredText:"更新失败",loadedText:"更新成功",text:"更新",type:"primary"},on:{callback:t.handleSavedCallback,click:t.handleCreateOrUpdateLink}}),t.isUpdateMode?a("a-button",{attrs:{type:"dashed"},on:{click:function(e){t.form.model={}}}},[t._v("返回添加")]):t._e()],1):a("ReactiveButton",{attrs:{errored:t.form.errored,loading:t.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:t.handleSavedCallback,click:t.handleCreateOrUpdateLink}})],1)],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:14,md:14,sm:24,xl:14,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:"所有友情链接"}},[t.isMobile()?a("a-list",{attrs:{dataSource:t.table.data,loading:t.table.loading,itemLayout:"vertical",size:"large"},scopedSlots:t._u([{key:"renderItem",fn:function(e,o){return a("a-list-item",{key:o},[a("template",{slot:"actions"},[a("a-dropdown",{attrs:{trigger:["click"],placement:"topLeft"}},[a("span",[a("a-icon",{attrs:{type:"bars"}})],1),a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",{on:{click:function(a){t.form.model=e}}},[t._v("编辑")]),a("a-menu-item",[a("a-popconfirm",{attrs:{title:"你确定要删除【"+e.name+"】链接?",cancelText:"取消",okText:"确定"},on:{confirm:function(a){return t.handleDeleteLink(e.id)}}},[t._v(" 删除 ")])],1)],1)],1)],1),a("template",{slot:"extra"},[a("span",[t._v(" "+t._s(e.team)+" ")])]),a("a-list-item-meta",[a("template",{slot:"description"},[t._v(" "+t._s(e.description)+" ")]),a("span",{staticStyle:{"max-width":"300px",display:"block","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},attrs:{slot:"title"},slot:"title"},[t._v(" "+t._s(e.name)+" ")])],2),a("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.url))])],2)}}],null,!1,3158558575)}):a("a-table",{attrs:{columns:t.table.columns,dataSource:t.table.data,loading:t.table.loading,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"url",fn:function(e){return[a("a",{attrs:{href:e,target:"_blank"}},[t._v(t._s(e))])]}},{key:"name",fn:function(e){return a("ellipsis",{attrs:{length:15,tooltip:""}},[t._v(t._s(e))])}},{key:"action",fn:function(e,o){return a("span",{},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(e){return t.handleEdit(o)}}},[t._v("编辑")]),a("a-divider",{attrs:{type:"vertical"}}),a("a-popconfirm",{attrs:{title:"你确定要删除【"+o.name+"】链接?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleDeleteLink(o.id)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("删除")])],1)],1)}}])})],1)],1)],1),a("div",{staticStyle:{position:"fixed",bottom:"30px",right:"30px"}},[a("a-button",{attrs:{icon:"setting",shape:"circle",size:"large",type:"primary"},on:{click:function(e){t.optionsModal.visible=!0}}})],1),a("a-modal",{attrs:{afterClose:function(){return t.optionsModal.visible=!1},title:"页面设置"},model:{value:t.optionsModal.visible,callback:function(e){t.$set(t.optionsModal,"visible",e)},expression:"optionsModal.visible"}},[a("template",{slot:"footer"},[a("a-button",{key:"submit",attrs:{type:"primary"},on:{click:function(e){return t.handleSaveOptions()}}},[t._v("保存")])],1),a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{help:"* 需要主题进行适配",label:"页面标题:"}},[a("a-input",{model:{value:t.optionsModal.data.links_title,callback:function(e){t.$set(t.optionsModal.data,"links_title",e)},expression:"optionsModal.data.links_title"}})],1)],1)],2)],1)},n=[],i=a(86475),l=(a(90195),a(31875),a(68576),a(27474)),r=a(98906),s=a(91411),d=a(17132),m=[{title:"名称",dataIndex:"name",ellipsis:!0,scopedSlots:{customRender:"name"}},{title:"网址",dataIndex:"url",ellipsis:!0,scopedSlots:{customRender:"url"}},{title:"分组",ellipsis:!0,dataIndex:"team"},{title:"排序",dataIndex:"priority"},{title:"操作",key:"action",scopedSlots:{customRender:"action"}}],c={mixins:[s.jB,s.KT],components:{PageView:l.B4},data:function(){return{table:{columns:m,data:[],loading:!1},form:{model:{},saving:!1,errored:!1,rules:{name:[{required:!0,message:"* 友情链接名称不能为空",trigger:["change"]},{max:255,message:"* 友情链接名称的字符长度不能超过 255",trigger:["change"]}],url:[{required:!0,message:"* 友情链接地址不能为空",trigger:["change"]},{max:1023,message:"* 友情链接地址的字符长度不能超过 1023",trigger:["change"]},{type:"url",message:"* 友情链接地址格式有误",trigger:["change"]}],logo:[{max:1023,message:"* 友情链接 Logo 的字符长度不能超过 1023",trigger:["change"]}],description:[{max:255,message:"* 友情链接描述的字符长度不能超过 255",trigger:["change"]}],team:[{max:255,message:"* 友情链接分组的字符长度 255",trigger:["change"]}]}},optionsModal:{visible:!1,data:[]},teams:[]}},computed:{title:function(){return this.isUpdateMode?"修改友情链接":"添加友情链接"},isUpdateMode:function(){return!!this.form.model.id},computedTeams:function(){return this.teams.filter((function(t){return""!==t}))}},created:function(){this.handleListLinks(),this.handleListLinkTeams(),this.handleListOptions()},methods:(0,i.Z)((0,i.Z)({},(0,r.nv)(["refreshOptionsCache"])),{},{handleListLinks:function(){var t=this;this.table.loading=!0,d.Z.link.list().then((function(e){t.table.data=e.data})).finally((function(){t.table.loading=!1}))},handleListLinkTeams:function(){var t=this;d.Z.link.listTeams().then((function(e){t.teams=e.data}))},handleListOptions:function(){var t=this;d.Z.option.list().then((function(e){t.optionsModal.data=e.data}))},handleEdit:function(t){this.form.model=t,this.$refs.linkForm.clearValidate()},handleDeleteLink:function(t){var e=this;d.Z.link["delete"](t).then((function(){e.$message.success("删除成功!")})).finally((function(){e.handleListLinks(),e.handleListLinkTeams()}))},handleCreateOrUpdateLink:function(){var t=this,e=this;e.$refs.linkForm.validate((function(a){a&&(e.form.saving=!0,e.isUpdateMode?d.Z.link.update(e.form.model.id,e.form.model).catch((function(){t.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})):d.Z.link.create(e.form.model).catch((function(){t.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})))}))},handleSavedCallback:function(){this.form.errored?this.form.errored=!1:(this.form.model={},this.handleListLinks(),this.handleListLinkTeams())},handleSaveOptions:function(){var t=this;d.Z.option.save(this.optionsModal.data).then((function(){t.$message.success("保存成功!"),t.optionsModal.visible=!1})).finally((function(){t.handleListOptions(),t.refreshOptionsCache()}))}})},u=c,p=a(42177),f=(0,p.Z)(u,o,n,!1,null,null,null),h=f.exports}}]); \ No newline at end of file +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[330],{33466:function(t,e,a){var o=a(33691),n=a(36325),i=a(43150),l=/"/g,r=o("".replace);t.exports=function(t,e,a,o){var s=i(n(t)),d="<"+e;return""!==a&&(d+=" "+a+'="'+r(i(o),l,""")+'"'),d+">"+s+""}},42873:function(t,e,a){var o=a(32640);t.exports=function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},68576:function(t,e,a){"use strict";var o=a(79644),n=a(33466),i=a(42873);o({target:"String",proto:!0,forced:i("link")},{link:function(t){return n(this,"a","href",t)}})},7330:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return h}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-row",{attrs:{gutter:12}},[a("a-col",{staticClass:"pb-3",attrs:{lg:10,md:10,sm:24,xl:10,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:t.title}},[a("a-form-model",{ref:"linkForm",attrs:{model:t.form.model,rules:t.form.rules,layout:"horizontal"}},[a("a-form-model-item",{attrs:{label:"网站名称:",prop:"name"}},[a("a-input",{model:{value:t.form.model.name,callback:function(e){t.$set(t.form.model,"name",e)},expression:"form.model.name"}})],1),a("a-form-model-item",{attrs:{help:"* 需要加上 http://",label:"网站地址:",prop:"url"}},[a("a-input",{model:{value:t.form.model.url,callback:function(e){t.$set(t.form.model,"url",e)},expression:"form.model.url"}})],1),a("a-form-model-item",{attrs:{label:"Logo:",prop:"logo"}},[a("a-input",{model:{value:t.form.model.logo,callback:function(e){t.$set(t.form.model,"logo",e)},expression:"form.model.logo"}})],1),a("a-form-model-item",{attrs:{label:"分组:",prop:"team"}},[a("a-auto-complete",{attrs:{dataSource:t.computedTeams,allowClear:""},model:{value:t.form.model.team,callback:function(e){t.$set(t.form.model,"team",e)},expression:"form.model.team"}})],1),a("a-form-model-item",{attrs:{label:"排序编号:",prop:"priority"}},[a("a-input-number",{staticStyle:{width:"100%"},attrs:{min:0},model:{value:t.form.model.priority,callback:function(e){t.$set(t.form.model,"priority",e)},expression:"form.model.priority"}})],1),a("a-form-model-item",{attrs:{label:"描述:",prop:"description"}},[a("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:t.form.model.description,callback:function(e){t.$set(t.form.model,"description",e)},expression:"form.model.description"}})],1),a("a-form-model-item",[t.isUpdateMode?a("a-button-group",[a("ReactiveButton",{attrs:{errored:t.form.errored,loading:t.form.saving,erroredText:"更新失败",loadedText:"更新成功",text:"更新",type:"primary"},on:{callback:t.handleSavedCallback,click:t.handleCreateOrUpdateLink}}),t.isUpdateMode?a("a-button",{attrs:{type:"dashed"},on:{click:function(e){t.form.model={}}}},[t._v("返回添加")]):t._e()],1):a("ReactiveButton",{attrs:{errored:t.form.errored,loading:t.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:t.handleSavedCallback,click:t.handleCreateOrUpdateLink}})],1)],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:14,md:14,sm:24,xl:14,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:"所有友情链接"}},[t.isMobile()?a("a-list",{attrs:{dataSource:t.table.data,loading:t.table.loading,itemLayout:"vertical",size:"large"},scopedSlots:t._u([{key:"renderItem",fn:function(e,o){return a("a-list-item",{key:o},[a("template",{slot:"actions"},[a("a-dropdown",{attrs:{trigger:["click"],placement:"topLeft"}},[a("span",[a("a-icon",{attrs:{type:"bars"}})],1),a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",{on:{click:function(a){t.form.model=e}}},[t._v("编辑")]),a("a-menu-item",[a("a-popconfirm",{attrs:{title:"你确定要删除【"+e.name+"】链接?",cancelText:"取消",okText:"确定"},on:{confirm:function(a){return t.handleDeleteLink(e.id)}}},[t._v(" 删除 ")])],1)],1)],1)],1),a("template",{slot:"extra"},[a("span",[t._v(" "+t._s(e.team)+" ")])]),a("a-list-item-meta",[a("template",{slot:"description"},[t._v(" "+t._s(e.description)+" ")]),a("span",{staticStyle:{"max-width":"300px",display:"block","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},attrs:{slot:"title"},slot:"title"},[t._v(" "+t._s(e.name)+" ")])],2),a("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.url))])],2)}}],null,!1,3158558575)}):a("a-table",{attrs:{columns:t.table.columns,dataSource:t.table.data,loading:t.table.loading,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"url",fn:function(e){return[a("a",{attrs:{href:e,target:"_blank"}},[t._v(t._s(e))])]}},{key:"name",fn:function(e){return a("ellipsis",{attrs:{length:15,tooltip:""}},[t._v(t._s(e))])}},{key:"action",fn:function(e,o){return a("span",{},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(e){return t.handleEdit(o)}}},[t._v("编辑")]),a("a-divider",{attrs:{type:"vertical"}}),a("a-popconfirm",{attrs:{title:"你确定要删除【"+o.name+"】链接?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleDeleteLink(o.id)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("删除")])],1)],1)}}])})],1)],1)],1),a("div",{staticStyle:{position:"fixed",bottom:"30px",right:"30px"}},[a("a-button",{attrs:{icon:"setting",shape:"circle",size:"large",type:"primary"},on:{click:function(e){t.optionsModal.visible=!0}}})],1),a("a-modal",{attrs:{afterClose:function(){return t.optionsModal.visible=!1},title:"页面设置"},model:{value:t.optionsModal.visible,callback:function(e){t.$set(t.optionsModal,"visible",e)},expression:"optionsModal.visible"}},[a("template",{slot:"footer"},[a("a-button",{key:"submit",attrs:{type:"primary"},on:{click:function(e){return t.handleSaveOptions()}}},[t._v("保存")])],1),a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{help:"* 需要主题进行适配",label:"页面标题:"}},[a("a-input",{model:{value:t.optionsModal.data.links_title,callback:function(e){t.$set(t.optionsModal.data,"links_title",e)},expression:"optionsModal.data.links_title"}})],1)],1)],2)],1)},n=[],i=a(94524),l=(a(90195),a(31875),a(68576),a(22401)),r=a(98906),s=a(64647),d=a(62210),m=[{title:"名称",dataIndex:"name",ellipsis:!0,scopedSlots:{customRender:"name"}},{title:"网址",dataIndex:"url",ellipsis:!0,scopedSlots:{customRender:"url"}},{title:"分组",ellipsis:!0,dataIndex:"team"},{title:"排序",dataIndex:"priority"},{title:"操作",key:"action",scopedSlots:{customRender:"action"}}],c={mixins:[s.jB,s.KT],components:{PageView:l.B4},data:function(){return{table:{columns:m,data:[],loading:!1},form:{model:{},saving:!1,errored:!1,rules:{name:[{required:!0,message:"* 友情链接名称不能为空",trigger:["change"]},{max:255,message:"* 友情链接名称的字符长度不能超过 255",trigger:["change"]}],url:[{required:!0,message:"* 友情链接地址不能为空",trigger:["change"]},{max:1023,message:"* 友情链接地址的字符长度不能超过 1023",trigger:["change"]},{type:"url",message:"* 友情链接地址格式有误",trigger:["change"]}],logo:[{max:1023,message:"* 友情链接 Logo 的字符长度不能超过 1023",trigger:["change"]}],description:[{max:255,message:"* 友情链接描述的字符长度不能超过 255",trigger:["change"]}],team:[{max:255,message:"* 友情链接分组的字符长度 255",trigger:["change"]}]}},optionsModal:{visible:!1,data:[]},teams:[]}},computed:{title:function(){return this.isUpdateMode?"修改友情链接":"添加友情链接"},isUpdateMode:function(){return!!this.form.model.id},computedTeams:function(){return this.teams.filter((function(t){return""!==t}))}},created:function(){this.handleListLinks(),this.handleListLinkTeams(),this.handleListOptions()},methods:(0,i.Z)((0,i.Z)({},(0,r.nv)(["refreshOptionsCache"])),{},{handleListLinks:function(){var t=this;this.table.loading=!0,d.Z.link.list().then((function(e){t.table.data=e.data})).finally((function(){t.table.loading=!1}))},handleListLinkTeams:function(){var t=this;d.Z.link.listTeams().then((function(e){t.teams=e.data}))},handleListOptions:function(){var t=this;d.Z.option.list().then((function(e){t.optionsModal.data=e.data}))},handleEdit:function(t){this.form.model=t,this.$refs.linkForm.clearValidate()},handleDeleteLink:function(t){var e=this;d.Z.link["delete"](t).then((function(){e.$message.success("删除成功!")})).finally((function(){e.handleListLinks(),e.handleListLinkTeams()}))},handleCreateOrUpdateLink:function(){var t=this,e=this;e.$refs.linkForm.validate((function(a){a&&(e.form.saving=!0,e.isUpdateMode?d.Z.link.update(e.form.model.id,e.form.model).catch((function(){t.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})):d.Z.link.create(e.form.model).catch((function(){t.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})))}))},handleSavedCallback:function(){this.form.errored?this.form.errored=!1:(this.form.model={},this.handleListLinks(),this.handleListLinkTeams())},handleSaveOptions:function(){var t=this;d.Z.option.save(this.optionsModal.data).then((function(){t.$message.success("保存成功!"),t.optionsModal.visible=!1})).finally((function(){t.handleListOptions(),t.refreshOptionsCache()}))}})},u=c,p=a(42177),f=(0,p.Z)(u,o,n,!1,null,null,null),h=f.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/244.5a9af792.js b/src/main/resources/admin/js/342.a78fc830.js similarity index 96% rename from src/main/resources/admin/js/244.5a9af792.js rename to src/main/resources/admin/js/342.a78fc830.js index 77930aad0..9a38842ce 100644 --- a/src/main/resources/admin/js/244.5a9af792.js +++ b/src/main/resources/admin/js/342.a78fc830.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[244],{79244:function(t){!function(a,e){t.exports=e()}(0,(function(){return function(t){function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}var e={};return a.m=t,a.c=e,a.i=function(t){return t},a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,a){return Object.prototype.hasOwnProperty.call(t,a)},a.p="/dist/",a(a.s=2)}([function(t,a,e){var n=e(4)(e(1),e(5),null,null);t.exports=n.exports},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e(3);a.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,a,e,n){return e*(1-Math.pow(2,-10*t/n))*1024/1023+a}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var a=t-this.startTime;this.remaining=this.localDuration-a,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(a,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(a,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(a/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(a/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),a1?this.decimal+a[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(e);)e=e.replace(i,"$1"+this.separator+"$2");return this.prefix+e+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e(0),i=function(t){return t&&t.__esModule?t:{default:t}}(n);a.default=i.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",i.default)},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=0,i="webkit moz ms o".split(" "),s=void 0,r=void 0;if("undefined"==typeof window)a.requestAnimationFrame=s=function(){},a.cancelAnimationFrame=r=function(){};else{a.requestAnimationFrame=s=window.requestAnimationFrame,a.cancelAnimationFrame=r=window.cancelAnimationFrame;for(var o=void 0,l=0;l=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,a,e,n){return e*(1-Math.pow(2,-10*t/n))*1024/1023+a}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var a=t-this.startTime;this.remaining=this.localDuration-a,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(a,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(a,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(a/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(a/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),a1?this.decimal+a[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;i.test(e);)e=e.replace(i,"$1"+this.separator+"$2");return this.prefix+e+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e(0),i=function(t){return t&&t.__esModule?t:{default:t}}(n);a.default=i.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",i.default)},function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=0,i="webkit moz ms o".split(" "),s=void 0,r=void 0;if("undefined"==typeof window)a.requestAnimationFrame=s=function(){},a.cancelAnimationFrame=r=function(){};else{a.requestAnimationFrame=s=window.requestAnimationFrame,a.cancelAnimationFrame=r=window.cancelAnimationFrame;for(var o=void 0,l=0;l0)e[a]=e[--a];a!==i++&&(e[a]=l)}return e},o=function(e,t,l,a){var n=t.length,i=l.length,r=0,o=0;while(r3)){if(m)return!0;if(p)return p<603;var e,t,l,a,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:l=3;break;case 68:case 71:l=4;break;default:l=2}for(a=0;a<47;a++)v.push({k:t+a,v:l})}for(v.sort((function(e,t){return t.v-e.v})),a=0;as(l)?1:-1}};a({target:"Array",proto:!0,forced:C},{sort:function(e){void 0!==e&&i(e);var t=r(this);if(T)return void 0===e?g(t):g(t,e);var l,a,n=[],s=o(t);for(a=0;a仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onUploadSucceed}}),l("div",{staticClass:"mt-5"},[l("a-alert",{attrs:{closable:"",type:"info"}},[l("template",{slot:"message"},[e._v(" 更多主题请访问: "),l("a",{attrs:{href:"https://halo.run/themes.html",target:"_blank"}},[e._v("https://halo.run/themes")])])],2)],1)],1),l("a-tab-pane",{key:"2",attrs:{tab:"远程下载"}},[l("a-form-model",{ref:"remoteInstallForm",attrs:{model:e.remote,rules:e.remote.rules,layout:"vertical"}},[l("a-form-model-item",{attrs:{help:"* 支持 Git 仓库地址,ZIP 链接。",label:"远程地址:",prop:"url"}},[l("a-input",{model:{value:e.remote.url,callback:function(t){e.$set(e.remote,"url",t)},expression:"remote.url"}})],1),l("a-form-model-item",[l("ReactiveButton",{attrs:{errored:e.remote.fetchErrored,loading:e.remote.fetching,erroredText:"下载失败",loadedText:"下载成功",text:"下载",type:"primary"},on:{callback:e.handleRemoteFetchCallback,click:e.handleRemoteFetching}})],1)],1),l("div",{staticClass:"mt-5"},[l("a-alert",{attrs:{closable:"",type:"info"}},[l("template",{slot:"message"},[e._v(" 目前仅支持远程 Git 仓库和 ZIP 下载链接。更多主题请访问: "),l("a",{attrs:{href:"https://halo.run/themes.html",target:"_blank"}},[e._v("https://halo.run/themes")])])],2)],1)],1)],1)],1)])},c=[],d=l(17132),u={name:"ThemeInstallModal",props:{visible:{type:Boolean,default:!1}},data:function(){return{local:{uploadHandler:function(e,t){return d.Z.theme.upload(e,t)}},remote:{url:null,fetching:!1,fetchErrored:!1,rules:{url:[{required:!0,message:"* 远程地址不能为空",trigger:["change"]}]}}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.upload.handleClearFileList(),this.remote.url=null,this.$emit("onAfterClose")},onUploadSucceed:function(){this.modalVisible=!1,this.$emit("upload-succeed")},handleRemoteFetching:function(){var e=this;this.$refs.remoteInstallForm.validate(function(){var t=(0,i.Z)(regeneratorRuntime.mark((function t(l){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!l){t.next=14;break}return t.prev=1,e.remote.fetching=!0,t.next=5,d.Z.theme.fetchTheme(e.remote.url);case 5:t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](1),e.remote.fetchErrored=!0,e.$log.error("Fetch remote theme failed: ",t.t0);case 11:return t.prev=11,setTimeout((function(){e.remote.fetching=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[1,7,11,14]])})));return function(e){return t.apply(this,arguments)}}())},handleRemoteFetchCallback:function(){this.remote.fetchErrored?this.remote.fetchErrored=!1:this.modalVisible=!1}}},h=u,m=l(42177),f=(0,m.Z)(h,s,c,!1,null,null,null),p=f.exports,v=l(27474),g={components:{PageView:v.B4,ThemeDeleteConfirmModal:r.Z,ThemeLocalUpgradeModal:o.Z,ThemeInstallModal:p},data:function(){return{list:{loading:!1,data:[]},installModal:{visible:!1},localUpgradeModel:{visible:!1,selected:{}},themeDeleteModal:{visible:!1,selected:{}}}},computed:{sortedThemes:function(){var e=this.list.data.slice(0);return e.sort((function(e,t){return t.activated-e.activated}))},activatedTheme:function(){return this.sortedThemes.length>0?this.sortedThemes[0]:null}},beforeMount:function(){this.handleListThemes()},methods:{handleListThemes:function(){var e=this;this.list.loading=!0,d.Z.theme.list().then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleRefreshThemesCache:function(){var e=this;d.Z.theme.reload().finally((function(){e.handleListThemes()}))},handleActiveTheme:function(e){var t=this;d.Z.theme.active(e.id).finally((function(){t.handleListThemes()}))},handleOpenLocalUpdateModal:function(e){this.localUpgradeModel.selected=e,this.localUpgradeModel.visible=!0},handleRouteToThemeSetting:function(e){this.$router.push({name:"ThemeSetting",query:{themeId:e.id}})},handleOpenThemeDeleteModal:function(e){this.themeDeleteModal.visible=!0,this.themeDeleteModal.selected=e},handleConfirmRemoteUpdate:function(e){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"确定更新【"+e.name+"】主题?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function l(){var a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.$message.loading("更新中...",0),l.prev=1,l.next=4,d.Z.theme.updateThemeByFetching(e.id);case 4:t.$message.success("更新成功!"),l.next=10;break;case 7:l.prev=7,l.t0=l["catch"](1),t.$log.error("Failed to update theme: ",l.t0);case 10:return l.prev=10,a(),t.handleListThemes(),l.finish(10);case 14:case"end":return l.stop()}}),l,null,[[1,7,10,14]])})))()}})}}},b=g,y=(0,m.Z)(b,a,n,!1,null,null,null),k=y.exports},53093:function(e,t,l){"use strict";l.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("a-modal",{attrs:{afterClose:e.onAfterClose,closable:!1,width:416,destroyOnClose:"",title:"提示"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[l("template",{slot:"footer"},[l("a-button",{on:{click:function(t){e.modalVisible=!1}}},[e._v(" 取消 ")]),l("ReactiveButton",{attrs:{errored:e.deleteErrored,loading:e.deleting,erroredText:"删除失败",loadedText:"删除成功",text:"确定"},on:{callback:e.handleDeleteCallback,click:function(t){return e.handleDelete()}}})],1),l("p",[e._v("确定删除【"+e._s(e.theme.name)+"】主题?")]),l("a-checkbox",{model:{value:e.deleteSettings,callback:function(t){e.deleteSettings=t},expression:"deleteSettings"}},[e._v(" 同时删除主题配置 ")])],2)},n=[],i=l(47458),r=(l(70315),l(17132)),o={name:"ThemeDeleteConfirmModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{deleteErrored:!1,deleting:!1,deleteSettings:!1}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{handleDelete:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.deleting=!0,t.next=4,r.Z.theme["delete"](e.theme.id,e.deleteSettings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.deleteErrored=!1,e.$log.error("Delete theme failed",t.t0);case 10:return t.prev=10,setTimeout((function(){e.deleting=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleDeleteCallback:function(){this.deleteErrored?this.deleteErrored=!1:(this.modalVisible=!1,this.$emit("success"))},onAfterClose:function(){this.deleteErrored=!1,this.deleting=!1,this.deleteSettings=!1,this.$emit("onAfterClose")}}},s=o,c=l(42177),d=(0,c.Z)(s,a,n,!1,null,null,null),u=d.exports},51712:function(e,t,l){"use strict";l.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("a-modal",{attrs:{afterClose:e.onModalClose,footer:null,destroyOnClose:"",title:"更新主题"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[l("FilePondUpload",{ref:"updateByFile",attrs:{accepts:["application/x-zip","application/x-zip-compressed","application/zip"],field:e.theme.id,multiple:!1,uploadHandler:e.uploadHandler,label:"点击选择主题更新包或将主题更新包拖拽到此处
仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onThemeUploadSuccess}})],1)},n=[],i=l(17132),r={name:"ThemeLocalUpgradeModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{uploadHandler:function(e,t,l){return i.Z.theme.updateByUpload(e,t,l)}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.updateByFile.handleClearFileList(),this.$emit("onAfterClose")},onThemeUploadSuccess:function(){this.modalVisible=!1,this.$emit("success")}}},o=r,s=l(42177),c=(0,s.Z)(o,a,n,!1,null,null,null),d=c.exports}}]); \ No newline at end of file +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[393],{53303:function(e,t,l){var a=l(15820),n=Math.floor,i=function(e,t){var l=e.length,s=n(l/2);return l<8?r(e,t):o(e,i(a(e,0,s),t),i(a(e,s),t),t)},r=function(e,t){var l,a,n=e.length,i=1;while(i0)e[a]=e[--a];a!==i++&&(e[a]=l)}return e},o=function(e,t,l,a){var n=t.length,i=l.length,r=0,o=0;while(r3)){if(m)return!0;if(p)return p<603;var e,t,l,a,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:l=3;break;case 68:case 71:l=4;break;default:l=2}for(a=0;a<47;a++)v.push({k:t+a,v:l})}for(v.sort((function(e,t){return t.v-e.v})),a=0;as(l)?1:-1}};a({target:"Array",proto:!0,forced:C},{sort:function(e){void 0!==e&&i(e);var t=r(this);if(T)return void 0===e?g(t):g(t,e);var l,a,n=[],s=o(t);for(a=0;a仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onUploadSucceed}}),l("div",{staticClass:"mt-5"},[l("a-alert",{attrs:{closable:"",type:"info"}},[l("template",{slot:"message"},[e._v(" 更多主题请访问: "),l("a",{attrs:{href:"https://halo.run/themes.html",target:"_blank"}},[e._v("https://halo.run/themes")])])],2)],1)],1),l("a-tab-pane",{key:"2",attrs:{tab:"远程下载"}},[l("a-form-model",{ref:"remoteInstallForm",attrs:{model:e.remote,rules:e.remote.rules,layout:"vertical"}},[l("a-form-model-item",{attrs:{help:"* 支持 Git 仓库地址,ZIP 链接。",label:"远程地址:",prop:"url"}},[l("a-input",{model:{value:e.remote.url,callback:function(t){e.$set(e.remote,"url",t)},expression:"remote.url"}})],1),l("a-form-model-item",[l("ReactiveButton",{attrs:{errored:e.remote.fetchErrored,loading:e.remote.fetching,erroredText:"下载失败",loadedText:"下载成功",text:"下载",type:"primary"},on:{callback:e.handleRemoteFetchCallback,click:e.handleRemoteFetching}})],1)],1),l("div",{staticClass:"mt-5"},[l("a-alert",{attrs:{closable:"",type:"info"}},[l("template",{slot:"message"},[e._v(" 目前仅支持远程 Git 仓库和 ZIP 下载链接。更多主题请访问: "),l("a",{attrs:{href:"https://halo.run/themes.html",target:"_blank"}},[e._v("https://halo.run/themes")])])],2)],1)],1)],1)],1)])},c=[],d=l(62210),u={name:"ThemeInstallModal",props:{visible:{type:Boolean,default:!1}},data:function(){return{local:{uploadHandler:function(e,t){return d.Z.theme.upload(e,t)}},remote:{url:null,fetching:!1,fetchErrored:!1,rules:{url:[{required:!0,message:"* 远程地址不能为空",trigger:["change"]}]}}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.upload.handleClearFileList(),this.remote.url=null,this.$emit("onAfterClose")},onUploadSucceed:function(){this.modalVisible=!1,this.$emit("upload-succeed")},handleRemoteFetching:function(){var e=this;this.$refs.remoteInstallForm.validate(function(){var t=(0,i.Z)(regeneratorRuntime.mark((function t(l){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!l){t.next=14;break}return t.prev=1,e.remote.fetching=!0,t.next=5,d.Z.theme.fetchTheme(e.remote.url);case 5:t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](1),e.remote.fetchErrored=!0,e.$log.error("Fetch remote theme failed: ",t.t0);case 11:return t.prev=11,setTimeout((function(){e.remote.fetching=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[1,7,11,14]])})));return function(e){return t.apply(this,arguments)}}())},handleRemoteFetchCallback:function(){this.remote.fetchErrored?this.remote.fetchErrored=!1:this.modalVisible=!1}}},h=u,m=l(42177),f=(0,m.Z)(h,s,c,!1,null,null,null),p=f.exports,v=l(22401),g={components:{PageView:v.B4,ThemeDeleteConfirmModal:r.Z,ThemeLocalUpgradeModal:o.Z,ThemeInstallModal:p},data:function(){return{list:{loading:!1,data:[]},installModal:{visible:!1},localUpgradeModel:{visible:!1,selected:{}},themeDeleteModal:{visible:!1,selected:{}}}},computed:{sortedThemes:function(){var e=this.list.data.slice(0);return e.sort((function(e,t){return t.activated-e.activated}))},activatedTheme:function(){return this.sortedThemes.length>0?this.sortedThemes[0]:null}},beforeMount:function(){this.handleListThemes()},methods:{handleListThemes:function(){var e=this;this.list.loading=!0,d.Z.theme.list().then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleRefreshThemesCache:function(){var e=this;d.Z.theme.reload().finally((function(){e.handleListThemes()}))},handleActiveTheme:function(e){var t=this;d.Z.theme.active(e.id).finally((function(){t.handleListThemes()}))},handleOpenLocalUpdateModal:function(e){this.localUpgradeModel.selected=e,this.localUpgradeModel.visible=!0},handleRouteToThemeSetting:function(e){this.$router.push({name:"ThemeSetting",query:{themeId:e.id}})},handleOpenThemeDeleteModal:function(e){this.themeDeleteModal.visible=!0,this.themeDeleteModal.selected=e},handleConfirmRemoteUpdate:function(e){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"确定更新【"+e.name+"】主题?",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function l(){var a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:return a=t.$message.loading("更新中...",0),l.prev=1,l.next=4,d.Z.theme.updateThemeByFetching(e.id);case 4:t.$message.success("更新成功!"),l.next=10;break;case 7:l.prev=7,l.t0=l["catch"](1),t.$log.error("Failed to update theme: ",l.t0);case 10:return l.prev=10,a(),t.handleListThemes(),l.finish(10);case 14:case"end":return l.stop()}}),l,null,[[1,7,10,14]])})))()}})}}},b=g,y=(0,m.Z)(b,a,n,!1,null,null,null),k=y.exports},41561:function(e,t,l){"use strict";l.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("a-modal",{attrs:{afterClose:e.onAfterClose,closable:!1,width:416,destroyOnClose:"",title:"提示"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[l("template",{slot:"footer"},[l("a-button",{on:{click:function(t){e.modalVisible=!1}}},[e._v(" 取消 ")]),l("ReactiveButton",{attrs:{errored:e.deleteErrored,loading:e.deleting,erroredText:"删除失败",loadedText:"删除成功",text:"确定"},on:{callback:e.handleDeleteCallback,click:function(t){return e.handleDelete()}}})],1),l("p",[e._v("确定删除【"+e._s(e.theme.name)+"】主题?")]),l("a-checkbox",{model:{value:e.deleteSettings,callback:function(t){e.deleteSettings=t},expression:"deleteSettings"}},[e._v(" 同时删除主题配置 ")])],2)},n=[],i=l(29230),r=(l(70315),l(62210)),o={name:"ThemeDeleteConfirmModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{deleteErrored:!1,deleting:!1,deleteSettings:!1}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{handleDelete:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.deleting=!0,t.next=4,r.Z.theme["delete"](e.theme.id,e.deleteSettings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.deleteErrored=!1,e.$log.error("Delete theme failed",t.t0);case 10:return t.prev=10,setTimeout((function(){e.deleting=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleDeleteCallback:function(){this.deleteErrored?this.deleteErrored=!1:(this.modalVisible=!1,this.$emit("success"))},onAfterClose:function(){this.deleteErrored=!1,this.deleting=!1,this.deleteSettings=!1,this.$emit("onAfterClose")}}},s=o,c=l(42177),d=(0,c.Z)(s,a,n,!1,null,null,null),u=d.exports},88159:function(e,t,l){"use strict";l.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("a-modal",{attrs:{afterClose:e.onModalClose,footer:null,destroyOnClose:"",title:"更新主题"},model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[l("FilePondUpload",{ref:"updateByFile",attrs:{accepts:["application/x-zip","application/x-zip-compressed","application/zip"],field:e.theme.id,multiple:!1,uploadHandler:e.uploadHandler,label:"点击选择主题更新包或将主题更新包拖拽到此处
仅支持 ZIP 格式的文件",name:"file"},on:{success:e.onThemeUploadSuccess}})],1)},n=[],i=l(62210),r={name:"ThemeLocalUpgradeModal",props:{visible:{type:Boolean,default:!1},theme:{type:Object,default:function(){return{}}}},data:function(){return{uploadHandler:function(e,t,l){return i.Z.theme.updateByUpload(e,t,l)}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{onModalClose:function(){this.$refs.updateByFile.handleClearFileList(),this.$emit("onAfterClose")},onThemeUploadSuccess:function(){this.modalVisible=!1,this.$emit("success")}}},o=r,s=l(42177),c=(0,s.Z)(o,a,n,!1,null,null,null),d=c.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/432.52fc5990.js b/src/main/resources/admin/js/395.eb908528.js similarity index 95% rename from src/main/resources/admin/js/432.52fc5990.js rename to src/main/resources/admin/js/395.eb908528.js index c7743c7f3..23c6104bd 100644 --- a/src/main/resources/admin/js/432.52fc5990.js +++ b/src/main/resources/admin/js/395.eb908528.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[432],{86763:function(t,e,n){var o="Expected a function",r=NaN,a="[object Symbol]",i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=p||f||Function("return this")(),g=Object.prototype,h=g.toString,v=Math.max,S=Math.min,m=function(){return d.Date.now()};function w(t,e,n){var r,a,i,s,u,c,l=0,p=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError(o);function g(e){var n=r,o=a;return r=a=void 0,l=e,s=t.apply(o,n),s}function h(t){return l=t,u=setTimeout(k,e),p?g(t):s}function w(t){var n=t-c,o=t-l,r=e-n;return f?S(r,i-o):r}function T(t){var n=t-c,o=t-l;return void 0===c||n>=e||n<0||f&&o>=i}function k(){var t=m();if(T(t))return x(t);u=setTimeout(k,w(t))}function x(t){return u=void 0,d&&r?g(t):(r=a=void 0,s)}function C(){void 0!==u&&clearTimeout(u),l=0,r=c=a=u=void 0}function P(){return void 0===u?s:x(m())}function R(){var t=m(),n=T(t);if(r=arguments,a=this,c=t,n){if(void 0===u)return h(c);if(f)return u=setTimeout(k,e),g(c)}return void 0===u&&(u=setTimeout(k,e)),s}return e=y(e)||0,b(n)&&(p=!!n.leading,f="maxWait"in n,i=f?v(y(n.maxWait)||0,e):i,d="trailing"in n?!!n.trailing:d),R.cancel=C,R.flush=P,R}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function T(t){return!!t&&"object"==typeof t}function k(t){return"symbol"==typeof t||T(t)&&h.call(t)==a}function y(t){if("number"==typeof t)return t;if(k(t))return r;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):s.test(t)?r:+t}t.exports=w},91432:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-view",{attrs:{"sub-title":t.postToStage.inProgress?"当前内容已保存,但还未发布。":"",title:t.postToStage.title?t.postToStage.title:"新文章",affix:""}},[n("template",{slot:"extra"},[n("a-space",[n("a-button",{attrs:{loading:t.previewSaving},on:{click:t.handlePreviewClick}},[t._v("预览")]),n("a-button",{attrs:{type:"primary"},on:{click:function(e){t.postSettingVisible=!0}}},[t._v("发布")])],1)],1),n("a-row",{attrs:{gutter:12}},[n("a-col",{attrs:{span:24}},[n("div",{staticClass:"mb-4"},[n("a-input",{attrs:{placeholder:"请输入文章标题",size:"large"},model:{value:t.postToStage.title,callback:function(e){t.$set(t.postToStage,"title",e)},expression:"postToStage.title"}})],1),n("div",{style:{height:t.editorHeight},attrs:{id:"editor"}},[n("MarkdownEditor",{attrs:{originalContent:t.postToStage.originalContent},on:{"update:originalContent":function(e){return t.$set(t.postToStage,"originalContent",e)},"update:original-content":function(e){return t.$set(t.postToStage,"originalContent",e)},change:t.onContentChange,save:function(e){return t.handleSaveDraft()}}})],1)])],1),n("PostSettingModal",{attrs:{post:t.postToStage,savedCallback:t.onPostSavedCallback,visible:t.postSettingVisible},on:{"update:visible":function(e){t.postSettingVisible=e},onUpdate:t.onUpdateFromSetting}})],2)},r=[],a=n(47458),i=(n(70315),n(12566),n(55362)),s=n(95983),u=n(27474),c=n(91411),l=n(38487),p=n(17132),f=n(86763),d=n.n(f),g={mixins:[c.jB,c.KT,c.g3],components:{PostSettingModal:i.Z,MarkdownEditor:s.Z,PageView:u.B4},data:function(){return{postSettingVisible:!1,postToStage:{},contentChanges:0,previewSaving:!1}},beforeRouteEnter:function(t,e,n){var o=t.query.postId;n(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o){t.next=6;break}return t.next=3,p.Z.post.get(Number(o));case 3:n=t.sent,r=n.data,e.postToStage=r;case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},destroyed:function(){window.onbeforeunload&&(window.onbeforeunload=null)},beforeRouteLeave:function(t,e,n){var o=this.$createElement;this.contentChanges<=1?n():this.$confirm({title:"当前页面数据未保存,确定要离开吗?",content:function(){return o("div",{style:"color:red;"},["如果离开当面页面,你的数据很可能会丢失!"])},onOk:function(){n()},onCancel:function(){n(!1)}})},mounted:function(){window.onbeforeunload=function(t){return t=t||window.event,t&&(t.returnValue="当前页面数据未保存,确定要离开吗?"),"当前页面数据未保存,确定要离开吗?"}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterSaveShortcut)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterSaveShortcut)},methods:{onRegisterSaveShortcut:function(t){!t.ctrlKey&&!t.metaKey||t.altKey||t.shiftKey||83!==t.keyCode||(t.preventDefault(),t.stopPropagation(),this.handleSaveDraft())},handleSaveDraft:d()((0,a.Z)(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.postToStage.id){t.next=16;break}return t.prev=1,t.next=4,p.Z.post.updateDraftById(this.postToStage.id,this.postToStage.originalContent,this.postToStage.content,!0);case 4:e=t.sent,n=e.data,this.postToStage.inProgress=n.inProgress,this.handleRestoreSavedStatus(),this.$message.success({content:"内容已保存",duration:.5}),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](1),this.$log.error("Failed to update post content",t.t0);case 14:t.next=18;break;case 16:return t.next=18,this.handleCreatePost();case 18:case"end":return t.stop()}}),t,this,[[1,11]])}))),300),handleCreatePost:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.postToStage.title||(t.postToStage.title=(0,l._)(new Date,"YYYY-MM-DD-HH-mm-ss")),e.prev=1,t.postToStage.keepRaw=!0,e.next=5,p.Z.post.create(t.postToStage);case 5:n=e.sent,o=n.data,t.postToStage=o,t.handleRestoreSavedStatus(),r=t.$router.history.current.path,t.$router.push({path:r,query:{postId:t.postToStage.id}}).catch((function(t){return t})),t.$message.success({content:"文章已创建",duration:.5}),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](1),t.$log.error("Failed to create post",e.t0);case 17:case"end":return e.stop()}}),e,null,[[1,14]])})))()},handlePreviewClick:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.previewSaving=!0,!t.postToStage.id){e.next=9;break}return e.next=4,p.Z.post.updateDraftById(t.postToStage.id,t.postToStage.originalContent,t.postToStage.content,!0);case 4:n=e.sent,o=n.data,t.postToStage.inProgress=o.inProgress,e.next=11;break;case 9:return e.next=11,t.handleCreatePost();case 11:return e.next=13,t.handleOpenPreview();case 13:case"end":return e.stop()}}),e)})))()},handleOpenPreview:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.Z.post.getPreviewLinkById(t.postToStage.id);case 3:n=e.sent,window.open(n,"_blank"),t.handleRestoreSavedStatus(),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error("Failed to get preview link",e.t0);case 11:return e.prev=11,setTimeout((function(){t.previewSaving=!1}),400),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleRestoreSavedStatus:function(){this.contentChanges=0},onContentChange:function(t){var e=t.originalContent,n=t.renderContent;this.contentChanges++,this.postToStage.originalContent=e,this.postToStage.content=n},onPostSavedCallback:function(){this.contentChanges=0,this.$router.push({name:"PostList"})},onUpdateFromSetting:function(t){this.postToStage=t}}},h=g,v=n(42177),S=(0,v.Z)(h,o,r,!1,null,null,null),m=S.exports}}]); \ No newline at end of file +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[395],{86763:function(t,e,n){var o="Expected a function",r=NaN,a="[object Symbol]",i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=p||f||Function("return this")(),g=Object.prototype,h=g.toString,v=Math.max,S=Math.min,m=function(){return d.Date.now()};function w(t,e,n){var r,a,i,s,u,c,l=0,p=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError(o);function g(e){var n=r,o=a;return r=a=void 0,l=e,s=t.apply(o,n),s}function h(t){return l=t,u=setTimeout(k,e),p?g(t):s}function w(t){var n=t-c,o=t-l,r=e-n;return f?S(r,i-o):r}function T(t){var n=t-c,o=t-l;return void 0===c||n>=e||n<0||f&&o>=i}function k(){var t=m();if(T(t))return x(t);u=setTimeout(k,w(t))}function x(t){return u=void 0,d&&r?g(t):(r=a=void 0,s)}function C(){void 0!==u&&clearTimeout(u),l=0,r=c=a=u=void 0}function P(){return void 0===u?s:x(m())}function R(){var t=m(),n=T(t);if(r=arguments,a=this,c=t,n){if(void 0===u)return h(c);if(f)return u=setTimeout(k,e),g(c)}return void 0===u&&(u=setTimeout(k,e)),s}return e=y(e)||0,b(n)&&(p=!!n.leading,f="maxWait"in n,i=f?v(y(n.maxWait)||0,e):i,d="trailing"in n?!!n.trailing:d),R.cancel=C,R.flush=P,R}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function T(t){return!!t&&"object"==typeof t}function k(t){return"symbol"==typeof t||T(t)&&h.call(t)==a}function y(t){if("number"==typeof t)return t;if(k(t))return r;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):s.test(t)?r:+t}t.exports=w},79395:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-view",{attrs:{"sub-title":t.postToStage.inProgress?"当前内容已保存,但还未发布。":"",title:t.postToStage.title?t.postToStage.title:"新文章",affix:""}},[n("template",{slot:"extra"},[n("a-space",[n("a-button",{attrs:{loading:t.previewSaving},on:{click:t.handlePreviewClick}},[t._v("预览")]),n("a-button",{attrs:{type:"primary"},on:{click:function(e){t.postSettingVisible=!0}}},[t._v("发布")])],1)],1),n("a-row",{attrs:{gutter:12}},[n("a-col",{attrs:{span:24}},[n("div",{staticClass:"mb-4"},[n("a-input",{attrs:{placeholder:"请输入文章标题",size:"large"},model:{value:t.postToStage.title,callback:function(e){t.$set(t.postToStage,"title",e)},expression:"postToStage.title"}})],1),n("div",{style:{height:t.editorHeight},attrs:{id:"editor"}},[n("MarkdownEditor",{attrs:{originalContent:t.postToStage.originalContent},on:{"update:originalContent":function(e){return t.$set(t.postToStage,"originalContent",e)},"update:original-content":function(e){return t.$set(t.postToStage,"originalContent",e)},change:t.onContentChange,save:function(e){return t.handleSaveDraft()}}})],1)])],1),n("PostSettingModal",{attrs:{post:t.postToStage,savedCallback:t.onPostSavedCallback,visible:t.postSettingVisible},on:{"update:visible":function(e){t.postSettingVisible=e},onUpdate:t.onUpdateFromSetting}})],2)},r=[],a=n(29230),i=(n(70315),n(12566),n(95493)),s=n(11940),u=n(22401),c=n(64647),l=n(69716),p=n(62210),f=n(86763),d=n.n(f),g={mixins:[c.jB,c.KT,c.g3],components:{PostSettingModal:i.Z,MarkdownEditor:s.Z,PageView:u.B4},data:function(){return{postSettingVisible:!1,postToStage:{},contentChanges:0,previewSaving:!1}},beforeRouteEnter:function(t,e,n){var o=t.query.postId;n(function(){var t=(0,a.Z)(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o){t.next=6;break}return t.next=3,p.Z.post.get(Number(o));case 3:n=t.sent,r=n.data,e.postToStage=r;case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},destroyed:function(){window.onbeforeunload&&(window.onbeforeunload=null)},beforeRouteLeave:function(t,e,n){var o=this.$createElement;this.contentChanges<=1?n():this.$confirm({title:"当前页面数据未保存,确定要离开吗?",content:function(){return o("div",{style:"color:red;"},["如果离开当面页面,你的数据很可能会丢失!"])},onOk:function(){n()},onCancel:function(){n(!1)}})},mounted:function(){window.onbeforeunload=function(t){return t=t||window.event,t&&(t.returnValue="当前页面数据未保存,确定要离开吗?"),"当前页面数据未保存,确定要离开吗?"}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterSaveShortcut)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterSaveShortcut)},methods:{onRegisterSaveShortcut:function(t){!t.ctrlKey&&!t.metaKey||t.altKey||t.shiftKey||83!==t.keyCode||(t.preventDefault(),t.stopPropagation(),this.handleSaveDraft())},handleSaveDraft:d()((0,a.Z)(regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.postToStage.id){t.next=16;break}return t.prev=1,t.next=4,p.Z.post.updateDraftById(this.postToStage.id,this.postToStage.originalContent,this.postToStage.content,!0);case 4:e=t.sent,n=e.data,this.postToStage.inProgress=n.inProgress,this.handleRestoreSavedStatus(),this.$message.success({content:"内容已保存",duration:.5}),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](1),this.$log.error("Failed to update post content",t.t0);case 14:t.next=18;break;case 16:return t.next=18,this.handleCreatePost();case 18:case"end":return t.stop()}}),t,this,[[1,11]])}))),300),handleCreatePost:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n,o,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.postToStage.title||(t.postToStage.title=(0,l._)(new Date,"YYYY-MM-DD-HH-mm-ss")),e.prev=1,t.postToStage.keepRaw=!0,e.next=5,p.Z.post.create(t.postToStage);case 5:n=e.sent,o=n.data,t.postToStage=o,t.handleRestoreSavedStatus(),r=t.$router.history.current.path,t.$router.push({path:r,query:{postId:t.postToStage.id}}).catch((function(t){return t})),t.$message.success({content:"文章已创建",duration:.5}),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](1),t.$log.error("Failed to create post",e.t0);case 17:case"end":return e.stop()}}),e,null,[[1,14]])})))()},handlePreviewClick:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.previewSaving=!0,!t.postToStage.id){e.next=9;break}return e.next=4,p.Z.post.updateDraftById(t.postToStage.id,t.postToStage.originalContent,t.postToStage.content,!0);case 4:n=e.sent,o=n.data,t.postToStage.inProgress=o.inProgress,e.next=11;break;case 9:return e.next=11,t.handleCreatePost();case 11:return e.next=13,t.handleOpenPreview();case 13:case"end":return e.stop()}}),e)})))()},handleOpenPreview:function(){var t=this;return(0,a.Z)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.Z.post.getPreviewLinkById(t.postToStage.id);case 3:n=e.sent,window.open(n,"_blank"),t.handleRestoreSavedStatus(),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error("Failed to get preview link",e.t0);case 11:return e.prev=11,setTimeout((function(){t.previewSaving=!1}),400),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleRestoreSavedStatus:function(){this.contentChanges=0},onContentChange:function(t){var e=t.originalContent,n=t.renderContent;this.contentChanges++,this.postToStage.originalContent=e,this.postToStage.content=n},onPostSavedCallback:function(){this.contentChanges=0,this.$router.push({name:"PostList"})},onUpdateFromSetting:function(t){this.postToStage=t}}},h=g,v=n(42177),S=(0,v.Z)(h,o,r,!1,null,null,null),m=S.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/343.9869e5d1.js b/src/main/resources/admin/js/421.38e76d79.js similarity index 98% rename from src/main/resources/admin/js/343.9869e5d1.js rename to src/main/resources/admin/js/421.38e76d79.js index b2f2986aa..16ff4f3f0 100644 --- a/src/main/resources/admin/js/343.9869e5d1.js +++ b/src/main/resources/admin/js/421.38e76d79.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[343],{13343:function(a,t,e){e.r(t),e.d(t,{default:function(){return u}});var r=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{staticClass:"pb-3",attrs:{lg:10,md:24}},[e("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[e("div",{staticClass:"mb-6 text-center"},[e("a-tooltip",{attrs:{trigger:["hover"],placement:"right",title:"点击可修改头像"}},[e("a-avatar",{staticClass:"cursor-pointer",attrs:{size:104,src:a.userForm.model.avatar||"//cn.gravatar.com/avatar/?s=256&d=mm"},on:{click:a.handleOpenUpdateAvatarForm}})],1),e("div",{staticClass:"mt-4 mb-1 text-xl font-medium leading-5",staticStyle:{color:"rgba(0, 0, 0, 0.85)"}},[a._v(" "+a._s(a.userForm.model.nickname)+" ")]),e("div",[a._v(a._s(a.userForm.model.description))])],1),e("div",[e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"link"}}),e("a",{attrs:{href:a.options.blog_url,target:"method"}},[a._v(a._s(a.options.blog_url))])],1),e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"mail"}}),a._v(" "+a._s(a.userForm.model.email)+" ")],1),e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"calendar"}}),a._v(" "+a._s(a.statistics.data.establishDays||0)+" 天 ")],1)]),e("a-divider"),e("div",[e("a-list",{attrs:{loading:a.statistics.loading,itemLayout:"horizontal"}},[e("a-list-item",[a._v("累计发表了 "+a._s(a.statistics.data.postCount||0)+" 篇文章。")]),e("a-list-item",[a._v("累计创建了 "+a._s(a.statistics.data.categoryCount||0)+" 个分类。")]),e("a-list-item",[a._v("累计创建了 "+a._s(a.statistics.data.tagCount||0)+" 个标签。")]),e("a-list-item",[a._v("累计获得了 "+a._s(a.statistics.data.commentCount||0)+" 条评论。")]),e("a-list-item",[a._v("累计添加了 "+a._s(a.statistics.data.linkCount||0)+" 个友链。")]),e("a-list-item",[a._v("文章总阅读 "+a._s(a.statistics.data.visitCount||0)+" 次。")]),e("a-list-item")],1)],1)],1)],1),e("a-col",{staticClass:"pb-3",attrs:{lg:14,md:24}},[e("a-card",{attrs:{bodyStyle:{padding:"0"},bordered:!1,title:"个人资料"}},[e("div",{staticClass:"card-container"},[e("a-tabs",{attrs:{type:"card"}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"idcard"}}),a._v("基本资料 ")],1),e("a-form-model",{ref:"userForm",attrs:{model:a.userForm.model,rules:a.userForm.rules,wrapperCol:{xl:{span:15},lg:{span:15},sm:{span:15},xs:{span:24}},layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"用户名:",prop:"username"}},[e("a-input",{model:{value:a.userForm.model.username,callback:function(t){a.$set(a.userForm.model,"username",t)},expression:"userForm.model.username"}})],1),e("a-form-model-item",{attrs:{label:"昵称:",prop:"nickname"}},[e("a-input",{model:{value:a.userForm.model.nickname,callback:function(t){a.$set(a.userForm.model,"nickname",t)},expression:"userForm.model.nickname"}})],1),e("a-form-model-item",{attrs:{label:"电子邮箱:",prop:"email"}},[e("a-input",{model:{value:a.userForm.model.email,callback:function(t){a.$set(a.userForm.model,"email",t)},expression:"userForm.model.email"}})],1),e("a-form-model-item",{attrs:{label:"个人说明:",prop:"description"}},[e("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:a.userForm.model.description,callback:function(t){a.$set(a.userForm.model,"description",t)},expression:"userForm.model.description"}})],1),e("a-form-model-item",[e("ReactiveButton",{attrs:{errored:a.userForm.errored,loading:a.userForm.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:a.handleUpdatedProfileCallback,click:a.handleUpdateProfile}})],1)],1)],1),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"lock"}}),a._v("密码 ")],1),e("a-form-model",{ref:"passwordForm",attrs:{model:a.passwordForm.model,rules:a.passwordForm.rules,wrapperCol:{xl:{span:15},lg:{span:15},sm:{span:15},xs:{span:24}},layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"原密码:",prop:"oldPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.oldPassword,callback:function(t){a.$set(a.passwordForm.model,"oldPassword",t)},expression:"passwordForm.model.oldPassword"}})],1),e("a-form-model-item",{attrs:{label:"新密码:",prop:"newPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.newPassword,callback:function(t){a.$set(a.passwordForm.model,"newPassword",t)},expression:"passwordForm.model.newPassword"}})],1),e("a-form-model-item",{attrs:{label:"确认密码:",prop:"confirmPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.confirmPassword,callback:function(t){a.$set(a.passwordForm.model,"confirmPassword",t)},expression:"passwordForm.model.confirmPassword"}})],1),e("a-form-model-item",[e("ReactiveButton",{attrs:{errored:a.passwordForm.errored,loading:a.passwordForm.saving,erroredText:"更改失败",loadedText:"更改成功",text:"确认更改",type:"primary"},on:{callback:a.handleUpdatedPasswordCallback,click:a.handleUpdatePassword}})],1)],1)],1),e("a-tab-pane",{key:"3"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"safety-certificate"}}),a._v("两步验证 ")],1),e("a-form-model",{attrs:{layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"两步验证:"}},[e("a-switch",{attrs:{loading:a.mfaParam.switch.loading},on:{change:a.handleMFASwitch},model:{value:a.mfaParam.switch.checked,callback:function(t){a.$set(a.mfaParam.switch,"checked",t)},expression:"mfaParam.switch.checked"}})],1),e("a-form-model-item",{attrs:{label:"两步验证应用:"}},[e("a-list",{attrs:{itemLayout:"horizontal"}},[e("a-list-item",[e("b",[a._v("Authy")]),a._v(" 功能丰富 专为两步验证码 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://authy.com/download/",target:"_blank"}},[a._v(" iOS/Android/Windows/Mac/Linux "),e("a-icon",{attrs:{type:"link"}})],1),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://chrome.google.com/webstore/detail/authy/gaedmjdfmmahhbjefcbgaolhhanlaolb?hl=cn",target:"_blank"}},[a._v(" Chrome 扩展 "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("Google Authenticator")]),a._v(" 简单易用,但不支持密钥导出备份 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://apps.apple.com/us/app/google-authenticator/id388497605",target:"_blank"}},[a._v(" iOS "),e("a-icon",{attrs:{type:"link"}})],1),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=cn",target:"_blank"}},[a._v(" Android "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("Microsoft Authenticator")]),a._v(" 使用微软全家桶的推荐 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://www.microsoft.com/zh-cn/account/authenticator",target:"_blank"}},[a._v(" iOS/Android "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("1Password")]),a._v(" 强大安全的密码管理付费应用 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://1password.com/zh-cn/downloads/",target:"_blank"}},[a._v(" iOS/Android/Windows/Mac/Linux/ChromeOS "),e("a-icon",{attrs:{type:"link"}})],1)],1)],1)],1)],1)],1)],1)],1)])],1)],1),e("a-modal",{attrs:{centered:!0,closable:!1,confirmLoading:!1,destroyOnClose:!0,keyboard:!1,title:a.mfaParam.modal.title,visible:a.mfaParam.modal.visible,width:400,icon:"safety-certificate"},scopedSlots:a._u([{key:"footer",fn:function(){return[e("a-button",{key:"back",on:{click:a.handleCloseMFAuthModal}},[a._v(" 取消")]),e("ReactiveButton",{key:"submit",attrs:{errored:a.mfaParam.errored,loading:a.mfaParam.saving,erroredText:"设置失败",loadedText:"设置成功",text:"确定",type:"primary"},on:{callback:a.handleSetMFAuthCallback,click:a.handleSetMFAuth}})]},proxy:!0}])},[e("a-form-model",{ref:"mfaForm",attrs:{model:a.mfaParam,rules:a.mfaParam.rules,layout:"vertical"}},[a.mfaUsed?e("a-form-model-item",{attrs:{label:"两步验证码",prop:"authcode"}},[e("a-input",{attrs:{maxLength:6},scopedSlots:a._u([{key:"prefix",fn:function(){return[e("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{type:"safety-certificate"}})]},proxy:!0}],null,!1,4227117093),model:{value:a.mfaParam.authcode,callback:function(t){a.$set(a.mfaParam,"authcode",t)},expression:"mfaParam.authcode"}})],1):a._e(),a.mfaUsed?a._e():e("a-form-model-item",{attrs:{help:"MFAKey:"+a.mfaParam.mfaKey,label:"1. 请扫描二维码或导入 key"},scopedSlots:a._u([{key:"extra",fn:function(){return[e("span",{staticClass:"text-red-600"},[a._v(" * 建议保存此二维码或 MFAKey,验证设备丢失将无法找回,只能通过重置密码关闭二步验证。 ")])]},proxy:!0}],null,!1,3878319085)},[e("img",{attrs:{src:a.mfaParam.qrImage,width:"100%"}})]),a.mfaUsed?a._e():e("a-form-model-item",{attrs:{label:"2. 验证两步验证码",prop:"authcode"}},[e("a-input",{attrs:{maxLength:6},scopedSlots:a._u([{key:"prefix",fn:function(){return[e("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{type:"safety-certificate"}})]},proxy:!0}],null,!1,4227117093),model:{value:a.mfaParam.authcode,callback:function(t){a.$set(a.mfaParam,"authcode",t)},expression:"mfaParam.authcode"}})],1)],1)],1),e("a-modal",{attrs:{title:"修改头像"},scopedSlots:a._u([{key:"footer",fn:function(){return[e("a-button",{attrs:{type:"primary"},on:{click:a.handleUpdateAvatar}},[a._v("确定")]),e("a-button",{on:{click:function(t){a.updateAvatarForm.visible=!1}}},[a._v("关闭")])]},proxy:!0}]),model:{value:a.updateAvatarForm.visible,callback:function(t){a.$set(a.updateAvatarForm,"visible",t)},expression:"updateAvatarForm.visible"}},[e("a-form",{attrs:{layout:"vertical"}},[e("a-form-item",{attrs:{label:"头像链接:"}},[e("AttachmentInput",{ref:"avatarInput",model:{value:a.updateAvatarForm.avatar,callback:function(t){a.$set(a.updateAvatarForm,"avatar",t)},expression:"updateAvatarForm.avatar"}})],1)],1)],1)],1)},s=[],o=e(86475),i=(e(87591),e(31875),e(17132)),l=e(98906),m={data:function(){var a=this,t=function(t,e,r){e&&a.passwordForm.model.newPassword!==e?r(new Error("确认密码与新密码不一致")):r()};return{attachmentSelect:{visible:!1},updateAvatarForm:{avatar:void 0,visible:!1,saving:!1,saveErrored:!1},userForm:{model:{},saving:!1,errored:!1,rules:{username:[{required:!0,message:"* 用户名不能为空",trigger:["change"]},{max:50,message:"* 用户名的字符长度不能超过 50",trigger:["change"]}],nickname:[{required:!0,message:"* 用户昵称不能为空",trigger:["change"]},{max:255,message:"* 用户昵称的字符长度不能超过 255",trigger:["change"]}],email:[{required:!0,message:"* 电子邮箱地址不能为空",trigger:["change"]},{type:"email",message:"* 电子邮箱地址格式不正确",trigger:["change"]},{max:127,message:"* 电子邮箱的字符长度不能超过 255",trigger:["change"]}],description:[{max:1023,message:"* 个人说明的字符长度不能超过 1023",trigger:["change"]}]}},statistics:{data:{},loading:!1},passwordForm:{model:{oldPassword:null,newPassword:null,confirmPassword:null},saving:!1,errored:!1,rules:{oldPassword:[{required:!0,message:"* 原密码不能为空",trigger:["change"]},{max:100,min:8,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["blur"]}],newPassword:[{required:!0,message:"* 新密码不能为空",trigger:["change"]},{max:100,min:8,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["change"]}],confirmPassword:[{required:!0,message:"* 确认密码不能为空",trigger:["change"]},{validator:t,trigger:["change"]}]}},mfaParam:{mfaKey:null,mfaType:"NONE",mfaUsed:!1,authcode:null,qrImage:null,modal:{title:"确认开启两步验证?",visible:!1},switch:{loading:!1,checked:!1},rules:{authcode:[{required:!0,message:"* 两步验证码不能为空",trigger:["change"]}]},saving:!1,errored:!1}}},computed:(0,o.Z)((0,o.Z)({},(0,l.Se)(["options"])),{},{mfaType:function(){return this.mfaParam.mfaType},mfaUsed:function(){return this.mfaParam.mfaUsed}}),created:function(){this.handleLoadStatistics()},watch:{mfaType:function(a){a&&(this.mfaParam.mfaUsed="NONE"!==a)},mfaUsed:function(a){this.mfaParam.switch.checked=a}},methods:(0,o.Z)((0,o.Z)({},(0,l.OI)({setUser:"SET_USER"})),{},{handleLoadStatistics:function(){var a=this;this.statistics.loading=!0,i.Z.statistic.statisticsWithUser().then((function(t){a.userForm.model=t.data.user,a.statistics.data=t.data,a.mfaParam.mfaType=a.userForm.model.mfaType&&a.userForm.model.mfaType})).finally((function(){a.statistics.loading=!1}))},handleUpdatePassword:function(){var a=this,t=this;t.$refs.passwordForm.validate((function(t){t&&(a.passwordForm.saving=!0,i.Z.user.updatePassword(a.passwordForm.model).catch((function(){a.passwordForm.errored=!0})).finally((function(){setTimeout((function(){a.passwordForm.saving=!1}),400)})))}))},handleUpdatedPasswordCallback:function(){this.passwordForm.errored?this.passwordForm.errored=!1:(this.passwordForm.model.oldPassword=null,this.passwordForm.model.newPassword=null,this.passwordForm.model.confirmPassword=null)},handleUpdateProfile:function(){var a=this,t=this;t.$refs.userForm.validate((function(t){t&&(a.userForm.saving=!0,i.Z.user.updateProfile(a.userForm.model).then((function(t){a.userForm.model=t.data,a.setUser(Object.assign({},a.userForm.model))})).catch((function(){a.userForm.errored=!0})).finally((function(){setTimeout((function(){a.userForm.saving=!1}),400)})))}))},handleUpdatedProfileCallback:function(){this.userForm.errored&&(this.userForm.errored=!1)},handleMFASwitch:function(a){var t=this;this.mfaParam.switch.loading=!0,!a&&this.mfaUsed?(this.mfaParam.modal.title="确认关闭两步验证?",this.mfaParam.modal.visible=!0):(this.mfaParam.modal.title="确认开启两步验证?",i.Z.user.generateMFAQrImage({mfaType:"TFA_TOTP"}).then((function(a){t.mfaParam.mfaKey=a.data.mfaKey,t.mfaParam.qrImage=a.data.qrImage,t.mfaParam.modal.visible=!0})).catch((function(){t.mfaParam.switch.loading=!1})))},handleSetMFAuth:function(){var a=this,t=a.mfaUsed?"NONE":"TFA_TOTP";a.$refs.mfaForm.validate((function(e){e&&(a.mfaParam.saving=!0,i.Z.user.updateMFAuth({mfaType:t,mfaKey:a.mfaParam.mfaKey,authcode:a.mfaParam.authcode}).catch((function(){a.mfaParam.errored=!0})).finally((function(){setTimeout((function(){a.mfaParam.saving=!1}),400)})))}))},handleSetMFAuthCallback:function(){this.mfaParam.errored?this.mfaParam.errored=!1:(this.handleCloseMFAuthModal(),this.handleLoadStatistics(),this.$message.success(this.mfaUsed?"两步验证已关闭!":"两步验证已开启,下次登录生效!"))},handleCloseMFAuthModal:function(){this.mfaParam.modal.visible=!1,this.mfaParam.switch.loading=!1,this.mfaParam.switch.checked=this.mfaUsed,this.mfaParam.authcode=null,this.mfaParam.qrImage=null,this.mfaParam.mfaKey=null},handleOpenUpdateAvatarForm:function(){var a=this;this.updateAvatarForm.avatar=this.userForm.model.avatar,this.updateAvatarForm.visible=!0,this.$nextTick((function(){a.$refs.avatarInput.focus()}))},handleUpdateAvatar:function(){this.userForm.model.avatar=this.updateAvatarForm.avatar,this.updateAvatarForm.visible=!1}})},n=m,d=e(42177),c=(0,d.Z)(n,r,s,!1,null,null,null),u=c.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[421],{41421:function(a,t,e){e.r(t),e.d(t,{default:function(){return u}});var r=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{staticClass:"pb-3",attrs:{lg:10,md:24}},[e("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[e("div",{staticClass:"mb-6 text-center"},[e("a-tooltip",{attrs:{trigger:["hover"],placement:"right",title:"点击可修改头像"}},[e("a-avatar",{staticClass:"cursor-pointer",attrs:{size:104,src:a.userForm.model.avatar||"//cn.gravatar.com/avatar/?s=256&d=mm"},on:{click:a.handleOpenUpdateAvatarForm}})],1),e("div",{staticClass:"mt-4 mb-1 text-xl font-medium leading-5",staticStyle:{color:"rgba(0, 0, 0, 0.85)"}},[a._v(" "+a._s(a.userForm.model.nickname)+" ")]),e("div",[a._v(a._s(a.userForm.model.description))])],1),e("div",[e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"link"}}),e("a",{attrs:{href:a.options.blog_url,target:"method"}},[a._v(a._s(a.options.blog_url))])],1),e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"mail"}}),a._v(" "+a._s(a.userForm.model.email)+" ")],1),e("p",{staticClass:"mb-3"},[e("a-icon",{staticClass:"mr-3",attrs:{type:"calendar"}}),a._v(" "+a._s(a.statistics.data.establishDays||0)+" 天 ")],1)]),e("a-divider"),e("div",[e("a-list",{attrs:{loading:a.statistics.loading,itemLayout:"horizontal"}},[e("a-list-item",[a._v("累计发表了 "+a._s(a.statistics.data.postCount||0)+" 篇文章。")]),e("a-list-item",[a._v("累计创建了 "+a._s(a.statistics.data.categoryCount||0)+" 个分类。")]),e("a-list-item",[a._v("累计创建了 "+a._s(a.statistics.data.tagCount||0)+" 个标签。")]),e("a-list-item",[a._v("累计获得了 "+a._s(a.statistics.data.commentCount||0)+" 条评论。")]),e("a-list-item",[a._v("累计添加了 "+a._s(a.statistics.data.linkCount||0)+" 个友链。")]),e("a-list-item",[a._v("文章总阅读 "+a._s(a.statistics.data.visitCount||0)+" 次。")]),e("a-list-item")],1)],1)],1)],1),e("a-col",{staticClass:"pb-3",attrs:{lg:14,md:24}},[e("a-card",{attrs:{bodyStyle:{padding:"0"},bordered:!1,title:"个人资料"}},[e("div",{staticClass:"card-container"},[e("a-tabs",{attrs:{type:"card"}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"idcard"}}),a._v("基本资料 ")],1),e("a-form-model",{ref:"userForm",attrs:{model:a.userForm.model,rules:a.userForm.rules,wrapperCol:{xl:{span:15},lg:{span:15},sm:{span:15},xs:{span:24}},layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"用户名:",prop:"username"}},[e("a-input",{model:{value:a.userForm.model.username,callback:function(t){a.$set(a.userForm.model,"username",t)},expression:"userForm.model.username"}})],1),e("a-form-model-item",{attrs:{label:"昵称:",prop:"nickname"}},[e("a-input",{model:{value:a.userForm.model.nickname,callback:function(t){a.$set(a.userForm.model,"nickname",t)},expression:"userForm.model.nickname"}})],1),e("a-form-model-item",{attrs:{label:"电子邮箱:",prop:"email"}},[e("a-input",{model:{value:a.userForm.model.email,callback:function(t){a.$set(a.userForm.model,"email",t)},expression:"userForm.model.email"}})],1),e("a-form-model-item",{attrs:{label:"个人说明:",prop:"description"}},[e("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:a.userForm.model.description,callback:function(t){a.$set(a.userForm.model,"description",t)},expression:"userForm.model.description"}})],1),e("a-form-model-item",[e("ReactiveButton",{attrs:{errored:a.userForm.errored,loading:a.userForm.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:a.handleUpdatedProfileCallback,click:a.handleUpdateProfile}})],1)],1)],1),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"lock"}}),a._v("密码 ")],1),e("a-form-model",{ref:"passwordForm",attrs:{model:a.passwordForm.model,rules:a.passwordForm.rules,wrapperCol:{xl:{span:15},lg:{span:15},sm:{span:15},xs:{span:24}},layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"原密码:",prop:"oldPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.oldPassword,callback:function(t){a.$set(a.passwordForm.model,"oldPassword",t)},expression:"passwordForm.model.oldPassword"}})],1),e("a-form-model-item",{attrs:{label:"新密码:",prop:"newPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.newPassword,callback:function(t){a.$set(a.passwordForm.model,"newPassword",t)},expression:"passwordForm.model.newPassword"}})],1),e("a-form-model-item",{attrs:{label:"确认密码:",prop:"confirmPassword"}},[e("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:a.passwordForm.model.confirmPassword,callback:function(t){a.$set(a.passwordForm.model,"confirmPassword",t)},expression:"passwordForm.model.confirmPassword"}})],1),e("a-form-model-item",[e("ReactiveButton",{attrs:{errored:a.passwordForm.errored,loading:a.passwordForm.saving,erroredText:"更改失败",loadedText:"更改成功",text:"确认更改",type:"primary"},on:{callback:a.handleUpdatedPasswordCallback,click:a.handleUpdatePassword}})],1)],1)],1),e("a-tab-pane",{key:"3"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"safety-certificate"}}),a._v("两步验证 ")],1),e("a-form-model",{attrs:{layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"两步验证:"}},[e("a-switch",{attrs:{loading:a.mfaParam.switch.loading},on:{change:a.handleMFASwitch},model:{value:a.mfaParam.switch.checked,callback:function(t){a.$set(a.mfaParam.switch,"checked",t)},expression:"mfaParam.switch.checked"}})],1),e("a-form-model-item",{attrs:{label:"两步验证应用:"}},[e("a-list",{attrs:{itemLayout:"horizontal"}},[e("a-list-item",[e("b",[a._v("Authy")]),a._v(" 功能丰富 专为两步验证码 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://authy.com/download/",target:"_blank"}},[a._v(" iOS/Android/Windows/Mac/Linux "),e("a-icon",{attrs:{type:"link"}})],1),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://chrome.google.com/webstore/detail/authy/gaedmjdfmmahhbjefcbgaolhhanlaolb?hl=cn",target:"_blank"}},[a._v(" Chrome 扩展 "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("Google Authenticator")]),a._v(" 简单易用,但不支持密钥导出备份 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://apps.apple.com/us/app/google-authenticator/id388497605",target:"_blank"}},[a._v(" iOS "),e("a-icon",{attrs:{type:"link"}})],1),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=cn",target:"_blank"}},[a._v(" Android "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("Microsoft Authenticator")]),a._v(" 使用微软全家桶的推荐 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://www.microsoft.com/zh-cn/account/authenticator",target:"_blank"}},[a._v(" iOS/Android "),e("a-icon",{attrs:{type:"link"}})],1)],1),e("a-list-item",[e("b",[a._v("1Password")]),a._v(" 强大安全的密码管理付费应用 "),e("a-divider",{attrs:{type:"vertical"}}),e("a",{attrs:{href:"https://1password.com/zh-cn/downloads/",target:"_blank"}},[a._v(" iOS/Android/Windows/Mac/Linux/ChromeOS "),e("a-icon",{attrs:{type:"link"}})],1)],1)],1)],1)],1)],1)],1)],1)])],1)],1),e("a-modal",{attrs:{centered:!0,closable:!1,confirmLoading:!1,destroyOnClose:!0,keyboard:!1,title:a.mfaParam.modal.title,visible:a.mfaParam.modal.visible,width:400,icon:"safety-certificate"},scopedSlots:a._u([{key:"footer",fn:function(){return[e("a-button",{key:"back",on:{click:a.handleCloseMFAuthModal}},[a._v(" 取消")]),e("ReactiveButton",{key:"submit",attrs:{errored:a.mfaParam.errored,loading:a.mfaParam.saving,erroredText:"设置失败",loadedText:"设置成功",text:"确定",type:"primary"},on:{callback:a.handleSetMFAuthCallback,click:a.handleSetMFAuth}})]},proxy:!0}])},[e("a-form-model",{ref:"mfaForm",attrs:{model:a.mfaParam,rules:a.mfaParam.rules,layout:"vertical"}},[a.mfaUsed?e("a-form-model-item",{attrs:{label:"两步验证码",prop:"authcode"}},[e("a-input",{attrs:{maxLength:6},scopedSlots:a._u([{key:"prefix",fn:function(){return[e("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{type:"safety-certificate"}})]},proxy:!0}],null,!1,4227117093),model:{value:a.mfaParam.authcode,callback:function(t){a.$set(a.mfaParam,"authcode",t)},expression:"mfaParam.authcode"}})],1):a._e(),a.mfaUsed?a._e():e("a-form-model-item",{attrs:{help:"MFAKey:"+a.mfaParam.mfaKey,label:"1. 请扫描二维码或导入 key"},scopedSlots:a._u([{key:"extra",fn:function(){return[e("span",{staticClass:"text-red-600"},[a._v(" * 建议保存此二维码或 MFAKey,验证设备丢失将无法找回,只能通过重置密码关闭二步验证。 ")])]},proxy:!0}],null,!1,3878319085)},[e("img",{attrs:{src:a.mfaParam.qrImage,width:"100%"}})]),a.mfaUsed?a._e():e("a-form-model-item",{attrs:{label:"2. 验证两步验证码",prop:"authcode"}},[e("a-input",{attrs:{maxLength:6},scopedSlots:a._u([{key:"prefix",fn:function(){return[e("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{type:"safety-certificate"}})]},proxy:!0}],null,!1,4227117093),model:{value:a.mfaParam.authcode,callback:function(t){a.$set(a.mfaParam,"authcode",t)},expression:"mfaParam.authcode"}})],1)],1)],1),e("a-modal",{attrs:{title:"修改头像"},scopedSlots:a._u([{key:"footer",fn:function(){return[e("a-button",{attrs:{type:"primary"},on:{click:a.handleUpdateAvatar}},[a._v("确定")]),e("a-button",{on:{click:function(t){a.updateAvatarForm.visible=!1}}},[a._v("关闭")])]},proxy:!0}]),model:{value:a.updateAvatarForm.visible,callback:function(t){a.$set(a.updateAvatarForm,"visible",t)},expression:"updateAvatarForm.visible"}},[e("a-form",{attrs:{layout:"vertical"}},[e("a-form-item",{attrs:{label:"头像链接:"}},[e("AttachmentInput",{ref:"avatarInput",model:{value:a.updateAvatarForm.avatar,callback:function(t){a.$set(a.updateAvatarForm,"avatar",t)},expression:"updateAvatarForm.avatar"}})],1)],1)],1)],1)},s=[],o=e(94524),i=(e(87591),e(31875),e(62210)),l=e(98906),m={data:function(){var a=this,t=function(t,e,r){e&&a.passwordForm.model.newPassword!==e?r(new Error("确认密码与新密码不一致")):r()};return{attachmentSelect:{visible:!1},updateAvatarForm:{avatar:void 0,visible:!1,saving:!1,saveErrored:!1},userForm:{model:{},saving:!1,errored:!1,rules:{username:[{required:!0,message:"* 用户名不能为空",trigger:["change"]},{max:50,message:"* 用户名的字符长度不能超过 50",trigger:["change"]}],nickname:[{required:!0,message:"* 用户昵称不能为空",trigger:["change"]},{max:255,message:"* 用户昵称的字符长度不能超过 255",trigger:["change"]}],email:[{required:!0,message:"* 电子邮箱地址不能为空",trigger:["change"]},{type:"email",message:"* 电子邮箱地址格式不正确",trigger:["change"]},{max:127,message:"* 电子邮箱的字符长度不能超过 255",trigger:["change"]}],description:[{max:1023,message:"* 个人说明的字符长度不能超过 1023",trigger:["change"]}]}},statistics:{data:{},loading:!1},passwordForm:{model:{oldPassword:null,newPassword:null,confirmPassword:null},saving:!1,errored:!1,rules:{oldPassword:[{required:!0,message:"* 原密码不能为空",trigger:["change"]},{max:100,min:8,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["blur"]}],newPassword:[{required:!0,message:"* 新密码不能为空",trigger:["change"]},{max:100,min:8,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["change"]}],confirmPassword:[{required:!0,message:"* 确认密码不能为空",trigger:["change"]},{validator:t,trigger:["change"]}]}},mfaParam:{mfaKey:null,mfaType:"NONE",mfaUsed:!1,authcode:null,qrImage:null,modal:{title:"确认开启两步验证?",visible:!1},switch:{loading:!1,checked:!1},rules:{authcode:[{required:!0,message:"* 两步验证码不能为空",trigger:["change"]}]},saving:!1,errored:!1}}},computed:(0,o.Z)((0,o.Z)({},(0,l.Se)(["options"])),{},{mfaType:function(){return this.mfaParam.mfaType},mfaUsed:function(){return this.mfaParam.mfaUsed}}),created:function(){this.handleLoadStatistics()},watch:{mfaType:function(a){a&&(this.mfaParam.mfaUsed="NONE"!==a)},mfaUsed:function(a){this.mfaParam.switch.checked=a}},methods:(0,o.Z)((0,o.Z)({},(0,l.OI)({setUser:"SET_USER"})),{},{handleLoadStatistics:function(){var a=this;this.statistics.loading=!0,i.Z.statistic.statisticsWithUser().then((function(t){a.userForm.model=t.data.user,a.statistics.data=t.data,a.mfaParam.mfaType=a.userForm.model.mfaType&&a.userForm.model.mfaType})).finally((function(){a.statistics.loading=!1}))},handleUpdatePassword:function(){var a=this,t=this;t.$refs.passwordForm.validate((function(t){t&&(a.passwordForm.saving=!0,i.Z.user.updatePassword(a.passwordForm.model).catch((function(){a.passwordForm.errored=!0})).finally((function(){setTimeout((function(){a.passwordForm.saving=!1}),400)})))}))},handleUpdatedPasswordCallback:function(){this.passwordForm.errored?this.passwordForm.errored=!1:(this.passwordForm.model.oldPassword=null,this.passwordForm.model.newPassword=null,this.passwordForm.model.confirmPassword=null)},handleUpdateProfile:function(){var a=this,t=this;t.$refs.userForm.validate((function(t){t&&(a.userForm.saving=!0,i.Z.user.updateProfile(a.userForm.model).then((function(t){a.userForm.model=t.data,a.setUser(Object.assign({},a.userForm.model))})).catch((function(){a.userForm.errored=!0})).finally((function(){setTimeout((function(){a.userForm.saving=!1}),400)})))}))},handleUpdatedProfileCallback:function(){this.userForm.errored&&(this.userForm.errored=!1)},handleMFASwitch:function(a){var t=this;this.mfaParam.switch.loading=!0,!a&&this.mfaUsed?(this.mfaParam.modal.title="确认关闭两步验证?",this.mfaParam.modal.visible=!0):(this.mfaParam.modal.title="确认开启两步验证?",i.Z.user.generateMFAQrImage({mfaType:"TFA_TOTP"}).then((function(a){t.mfaParam.mfaKey=a.data.mfaKey,t.mfaParam.qrImage=a.data.qrImage,t.mfaParam.modal.visible=!0})).catch((function(){t.mfaParam.switch.loading=!1})))},handleSetMFAuth:function(){var a=this,t=a.mfaUsed?"NONE":"TFA_TOTP";a.$refs.mfaForm.validate((function(e){e&&(a.mfaParam.saving=!0,i.Z.user.updateMFAuth({mfaType:t,mfaKey:a.mfaParam.mfaKey,authcode:a.mfaParam.authcode}).catch((function(){a.mfaParam.errored=!0})).finally((function(){setTimeout((function(){a.mfaParam.saving=!1}),400)})))}))},handleSetMFAuthCallback:function(){this.mfaParam.errored?this.mfaParam.errored=!1:(this.handleCloseMFAuthModal(),this.handleLoadStatistics(),this.$message.success(this.mfaUsed?"两步验证已关闭!":"两步验证已开启,下次登录生效!"))},handleCloseMFAuthModal:function(){this.mfaParam.modal.visible=!1,this.mfaParam.switch.loading=!1,this.mfaParam.switch.checked=this.mfaUsed,this.mfaParam.authcode=null,this.mfaParam.qrImage=null,this.mfaParam.mfaKey=null},handleOpenUpdateAvatarForm:function(){var a=this;this.updateAvatarForm.avatar=this.userForm.model.avatar,this.updateAvatarForm.visible=!0,this.$nextTick((function(){a.$refs.avatarInput.focus()}))},handleUpdateAvatar:function(){this.userForm.model.avatar=this.updateAvatarForm.avatar,this.updateAvatarForm.visible=!1}})},n=m,d=e(42177),c=(0,d.Z)(n,r,s,!1,null,null,null),u=c.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/462.008b460a.js b/src/main/resources/admin/js/428.3f56cc65.js similarity index 99% rename from src/main/resources/admin/js/462.008b460a.js rename to src/main/resources/admin/js/428.3f56cc65.js index e57a7bce1..17bfa4739 100644 --- a/src/main/resources/admin/js/462.008b460a.js +++ b/src/main/resources/admin/js/428.3f56cc65.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[462],{36462:function(e,t,o){o.r(t),o.d(t,{default:function(){return $e}});var s=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("page-view",{attrs:{title:e.title}},[o("template",{slot:"extra"},[o("a-button",{staticStyle:{padding:"0"},attrs:{type:"link"},on:{click:function(t){e.advancedOptions=!e.advancedOptions}}},[e._v(" 切换到"+e._s(e.advancedOptions?"基础选项":"高级选项")+" ")])],1),o("a-row",[o("a-col",{attrs:{span:24}},[o("div",{staticClass:"card-container"},[e.advancedOptions?o("a-tabs",{staticClass:"advanced",attrs:{type:"card"}},[o("a-tab-pane",{key:"permalink"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"link"}}),e._v("固定链接 ")],1),o("PermalinkTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"api"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"api"}}),e._v("API 设置 ")],1),o("ApiTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"advanced-other"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"align-left"}}),e._v("其他设置 ")],1),o("AdvancedOtherTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1)],1):o("a-tabs",{staticClass:"general",attrs:{type:"card"}},[o("a-tab-pane",{key:"general"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"tool"}}),e._v("常规设置 ")],1),o("GeneralTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"seo"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"global"}}),e._v("SEO 设置 ")],1),o("SeoTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"post"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"form"}}),e._v("文章设置 ")],1),o("PostTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"comment"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"message"}}),e._v("评论设置 ")],1),o("CommentTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"attachment"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"picture"}}),e._v("附件设置 ")],1),o("AttachmentTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"smtp"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"mail"}}),e._v("SMTP 服务 ")],1),o("SmtpTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"other"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"align-left"}}),e._v("其他设置 ")],1),o("OtherTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1)],1)],1)])],1)],2)},a=[],n=o(47458),i=o(86475),r=(o(70315),o(27474)),l=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"generalOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"博客标题:",prop:"blog_title"}},[o("a-input",{model:{value:e.options.blog_title,callback:function(t){e.$set(e.options,"blog_title",t)},expression:"options.blog_title"}})],1),o("a-form-model-item",{attrs:{label:"博客地址:",prop:"blog_url"}},[o("a-input",{attrs:{placeholder:"如:https://halo.run"},model:{value:e.options.blog_url,callback:function(t){e.$set(e.options,"blog_url",t)},expression:"options.blog_url"}})],1),o("a-form-model-item",{attrs:{label:"Logo:",prop:"blog_logo"}},[o("AttachmentInput",{attrs:{title:"选择 Logo"},model:{value:e.options.blog_logo,callback:function(t){e.$set(e.options,"blog_logo",t)},expression:"options.blog_logo"}})],1),o("a-form-model-item",{attrs:{label:"Favicon:",prop:"blog_favicon"}},[o("AttachmentInput",{attrs:{title:"选择 Favicon"},model:{value:e.options.blog_favicon,callback:function(t){e.$set(e.options,"blog_favicon",t)},expression:"options.blog_favicon"}})],1),o("a-form-model-item",{attrs:{label:"页脚信息:",prop:"blog_footer_info"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"支持 HTML 格式的文本",type:"textarea"},model:{value:e.options.blog_footer_info,callback:function(t){e.$set(e.options,"blog_footer_info",t)},expression:"options.blog_footer_info"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},p=[],c={name:"GeneralTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{blog_title:[{required:!0,message:"* 博客标题不能为空",trigger:["change"]},{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_url:[{required:!0,message:"* 博客地址不能为空",trigger:["change"]},{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_logo:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_favicon:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_footer_info:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.generalOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},m=c,u=o(42177),_=(0,u.Z)(m,l,p,!1,null,null,null),d=_.exports,b=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"seoOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"屏蔽搜索引擎:",prop:"seo_spider_disabled"}},[o("a-switch",{model:{value:e.options.seo_spider_disabled,callback:function(t){e.$set(e.options,"seo_spider_disabled",t)},expression:"options.seo_spider_disabled"}})],1),o("a-form-model-item",{attrs:{label:"关键词:",prop:"seo_keywords"}},[o("a-input",{attrs:{placeholder:"多个关键词以英文状态下的逗号隔开"},model:{value:e.options.seo_keywords,callback:function(t){e.$set(e.options,"seo_keywords",t)},expression:"options.seo_keywords"}})],1),o("a-form-model-item",{attrs:{label:"博客描述:",prop:"seo_description"}},[o("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:e.options.seo_description,callback:function(t){e.$set(e.options,"seo_description",t)},expression:"options.seo_description"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},f=[],h={name:"SeoTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{seo_keywords:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],seo_description:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.seoOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},v=h,g=(0,u.Z)(v,b,f,!1,null,null,null),k=g.exports,y=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"postOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"首页文章排序:"}},[o("a-select",{model:{value:e.options.post_index_sort,callback:function(t){e.$set(e.options,"post_index_sort",t)},expression:"options.post_index_sort"}},[o("a-select-option",{attrs:{value:"createTime"}},[e._v("创建时间")]),o("a-select-option",{attrs:{value:"editTime"}},[e._v("最后编辑时间")]),o("a-select-option",{attrs:{value:"visits"}},[e._v("点击量")])],1)],1),o("a-form-model-item",{attrs:{label:"首页每页文章条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.post_index_page_size,callback:function(t){e.$set(e.options,"post_index_page_size",t)},expression:"options.post_index_page_size"}})],1),o("a-form-model-item",{attrs:{help:"* 包括标签所属文章页面、分类所属文章页面",label:"归档页面每页文章条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.post_archives_page_size,callback:function(t){e.$set(e.options,"post_archives_page_size",t)},expression:"options.post_archives_page_size"}})],1),o("a-form-model-item",{attrs:{label:"RSS 内容类型:"}},[o("a-select",{model:{value:e.options.rss_content_type,callback:function(t){e.$set(e.options,"rss_content_type",t)},expression:"options.rss_content_type"}},[o("a-select-option",{attrs:{value:"full"}},[e._v("全文")]),o("a-select-option",{attrs:{value:"summary"}},[e._v("摘要")])],1)],1),o("a-form-model-item",{attrs:{label:"RSS 内容条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.rss_page_size,callback:function(t){e.$set(e.options,"rss_page_size",t)},expression:"options.rss_page_size"}})],1),o("a-form-model-item",{attrs:{label:"文章摘要字数:"}},[o("a-input-number",{staticStyle:{width:"100%"},model:{value:e.options.post_summary_length,callback:function(t){e.$set(e.options,"post_summary_length",t)},expression:"options.post_summary_length"}})],1),o("a-form-model-item",{attrs:{label:"自动清理回收站文章:"}},[o("a-switch",{model:{value:e.options.recycled_post_cleaning_enabled,callback:function(t){e.$set(e.options,"recycled_post_cleaning_enabled",t)},expression:"options.recycled_post_cleaning_enabled"}})],1),o("a-form-model-item",{directives:[{name:"show",rawName:"v-show",value:e.options.recycled_post_cleaning_enabled,expression:"options.recycled_post_cleaning_enabled"}],attrs:{label:"回收站文章保留时长:"}},[o("a-input-group",{attrs:{compact:""}},[o("a-input-number",{staticStyle:{width:"70%"},attrs:{min:1,precision:0},model:{value:e.options.recycled_post_retention_time,callback:function(t){e.$set(e.options,"recycled_post_retention_time",t)},expression:"options.recycled_post_retention_time"}}),o("a-select",{staticStyle:{width:"30%"},model:{value:e.options.recycled_post_retention_timeunit,callback:function(t){e.$set(e.options,"recycled_post_retention_timeunit",t)},expression:"options.recycled_post_retention_timeunit"}},[o("a-select-option",{attrs:{value:"DAY"}},[e._v("天")]),o("a-select-option",{attrs:{value:"HOUR"}},[e._v("小时")])],1)],1)],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},x=[],w={name:"PostTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.postOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},$=w,S=(0,u.Z)($,y,x,!1,null,null,null),O=S.exports,T=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"commentOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"评论者头像:"}},[o("a-select",{model:{value:e.options.comment_gravatar_default,callback:function(t){e.$set(e.options,"comment_gravatar_default",t)},expression:"options.comment_gravatar_default"}},e._l(e.avatarTypes,(function(t,s){return o("a-select-option",{key:s,attrs:{value:t.value}},[o("a-avatar",{staticClass:"comment_select_gravatar",attrs:{size:18,src:e.options.gravatar_source+"?s=256&d="+t.value}}),e._v(" "+e._s(t.text)+" ")],1)})),1)],1),o("a-form-model-item",{attrs:{label:"评论审核后才显示:"}},[o("a-switch",{model:{value:e.options.comment_new_need_check,callback:function(t){e.$set(e.options,"comment_new_need_check",t)},expression:"options.comment_new_need_check"}})],1),o("a-form-model-item",{attrs:{label:"新评论通知:"}},[o("a-switch",{model:{value:e.options.comment_new_notice,callback:function(t){e.$set(e.options,"comment_new_notice",t)},expression:"options.comment_new_notice"}})],1),o("a-form-model-item",{attrs:{label:"评论回复通知对方:"}},[o("a-switch",{model:{value:e.options.comment_reply_notice,callback:function(t){e.$set(e.options,"comment_reply_notice",t)},expression:"options.comment_reply_notice"}})],1),o("a-form-model-item",{attrs:{help:"* 关闭之后将无法进行评论",label:"API 评论开关:"}},[o("a-switch",{model:{value:e.options.comment_api_enabled,callback:function(t){e.$set(e.options,"comment_api_enabled",t)},expression:"options.comment_api_enabled"}})],1),o("a-form-model-item",{attrs:{help:"* 该设置需要主题支持",label:"评论模块 JS:"}},[o("a-input",{attrs:{autoSize:{minRows:2},type:"textarea"},model:{value:e.options.comment_internal_plugin_js,callback:function(t){e.$set(e.options,"comment_internal_plugin_js",t)},expression:"options.comment_internal_plugin_js"}})],1),o("a-form-model-item",{attrs:{help:"* 例如://gravatar.com/avatar/",label:"Gravatar 镜像源:"}},[o("a-input",{model:{value:e.options.gravatar_source,callback:function(t){e.$set(e.options,"gravatar_source",t)},expression:"options.gravatar_source"}})],1),o("a-form-model-item",{attrs:{label:"每页显示条数: "}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.comment_page_size,callback:function(t){e.$set(e.options,"comment_page_size",t)},expression:"options.comment_page_size"}})],1),o("a-form-model-item",{attrs:{label:"占位提示:"}},[o("a-input",{model:{value:e.options.comment_content_placeholder,callback:function(t){e.$set(e.options,"comment_content_placeholder",t)},expression:"options.comment_content_placeholder"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},C=[],A=[{text:"默认",value:""},{text:"匿名者",value:"mm"},{text:"抽象几何图形",value:"identicon"},{text:"小怪物",value:"monsterid"},{text:"Wavatar",value:"wavatar"},{text:"复古",value:"retro"},{text:"机器人",value:"robohash"},{text:"不显示头像",value:"blank"}],B={name:"CommentTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{},avatarTypes:A}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this;if(!this.options.comment_new_notice&&!this.options.comment_reply_notice||this.options.email_enabled){var t=this;t.$refs.commentOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}else this.$notification["error"]({message:"提示",description:"新评论通知或回复通知需要打开和配置 SMTP 服务!"})}}},P=B,q=(0,u.Z)(P,T,C,!1,null,"5cb11a90",null),E=q.exports,R=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"attachmentOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"上传图片时预览:"}},[o("a-switch",{model:{value:e.options.attachment_upload_image_preview_enable,callback:function(t){e.$set(e.options,"attachment_upload_image_preview_enable",t)},expression:"options.attachment_upload_image_preview_enable"}})],1),o("a-form-model-item",{attrs:{label:"最大上传文件数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.attachment_upload_max_files,callback:function(t){e.$set(e.options,"attachment_upload_max_files",t)},expression:"options.attachment_upload_max_files"}})],1),o("a-form-model-item",{attrs:{label:"同时上传文件数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.attachment_upload_max_parallel_uploads,callback:function(t){e.$set(e.options,"attachment_upload_max_parallel_uploads",t)},expression:"options.attachment_upload_max_parallel_uploads"}})],1),o("a-form-model-item",{attrs:{label:"存储位置:"}},[o("a-select",{model:{value:e.options.attachment_type,callback:function(t){e.$set(e.options,"attachment_type",t)},expression:"options.attachment_type"}},e._l(Object.keys(e.attachmentTypes),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(" "+e._s(e.attachmentTypes[t].text)+" ")])})),1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"SMMS"===e.options.attachment_type,expression:"options.attachment_type === 'SMMS'"}],attrs:{id:"smmsForm"}},[o("a-form-model-item",{attrs:{label:"Secret Token:"}},[o("a-input-password",{attrs:{autocomplete:"new-password",placeholder:"需要到 sm.ms 官网注册后获取"},model:{value:e.options.smms_api_secret_token,callback:function(t){e.$set(e.options,"smms_api_secret_token",t)},expression:"options.smms_api_secret_token"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"UPOSS"===e.options.attachment_type,expression:"options.attachment_type === 'UPOSS'"}],attrs:{id:"upOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_upyun_domain_protocol,callback:function(t){e.$set(e.options,"oss_upyun_domain_protocol",t)},expression:"options.oss_upyun_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"无需再加上 http:// 或者 https://"},model:{value:e.options.oss_upyun_domain,callback:function(t){e.$set(e.options,"oss_upyun_domain",t)},expression:"options.oss_upyun_domain"}})],1),o("a-form-model-item",{attrs:{label:"空间名称:"}},[o("a-input",{model:{value:e.options.oss_upyun_bucket,callback:function(t){e.$set(e.options,"oss_upyun_bucket",t)},expression:"options.oss_upyun_bucket"}})],1),o("a-form-model-item",{attrs:{label:"操作员名称:"}},[o("a-input",{model:{value:e.options.oss_upyun_operator,callback:function(t){e.$set(e.options,"oss_upyun_operator",t)},expression:"options.oss_upyun_operator"}})],1),o("a-form-model-item",{attrs:{label:"操作员密码:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_upyun_password,callback:function(t){e.$set(e.options,"oss_upyun_password",t)},expression:"options.oss_upyun_password"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{model:{value:e.options.oss_upyun_source,callback:function(t){e.$set(e.options,"oss_upyun_source",t)},expression:"options.oss_upyun_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"间隔标识符+图片处理版本名称"},model:{value:e.options.oss_upyun_style_rule,callback:function(t){e.$set(e.options,"oss_upyun_style_rule",t)},expression:"options.oss_upyun_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"间隔标识符+图片处理版本名称,一般为后台展示所用"},model:{value:e.options.oss_upyun_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_upyun_thumbnail_style_rule",t)},expression:"options.oss_upyun_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"QINIUOSS"===e.options.attachment_type,expression:"options.attachment_type === 'QINIUOSS'"}],attrs:{id:"qiniuOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_qiniu_domain_protocol,callback:function(t){e.$set(e.options,"oss_qiniu_domain_protocol",t)},expression:"options.oss_qiniu_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"无需再加上 http:// 或者 https://"},model:{value:e.options.oss_qiniu_domain,callback:function(t){e.$set(e.options,"oss_qiniu_domain",t)},expression:"options.oss_qiniu_domain"}})],1),o("a-form-model-item",{attrs:{label:"区域:"}},[o("a-auto-complete",{attrs:{dataSource:e.qiniuOssZones,allowClear:""},model:{value:e.options.oss_qiniu_zone,callback:function(t){e.$set(e.options,"oss_qiniu_zone",t)},expression:"options.oss_qiniu_zone"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_qiniu_access_key,callback:function(t){e.$set(e.options,"oss_qiniu_access_key",t)},expression:"options.oss_qiniu_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_qiniu_secret_key,callback:function(t){e.$set(e.options,"oss_qiniu_secret_key",t)},expression:"options.oss_qiniu_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.oss_qiniu_source,callback:function(t){e.$set(e.options,"oss_qiniu_source",t)},expression:"options.oss_qiniu_source"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.oss_qiniu_bucket,callback:function(t){e.$set(e.options,"oss_qiniu_bucket",t)},expression:"options.oss_qiniu_bucket"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"样式分隔符+图片处理样式名称"},model:{value:e.options.oss_qiniu_style_rule,callback:function(t){e.$set(e.options,"oss_qiniu_style_rule",t)},expression:"options.oss_qiniu_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"样式分隔符+图片处理样式名称,一般为后台展示所用"},model:{value:e.options.oss_qiniu_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_qiniu_thumbnail_style_rule",t)},expression:"options.oss_qiniu_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"ALIOSS"===e.options.attachment_type,expression:"options.attachment_type === 'ALIOSS'"}],attrs:{id:"aliOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_ali_domain_protocol,callback:function(t){e.$set(e.options,"oss_ali_domain_protocol",t)},expression:"options.oss_ali_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.oss_ali_domain,callback:function(t){e.$set(e.options,"oss_ali_domain",t)},expression:"options.oss_ali_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.oss_ali_bucket_name,callback:function(t){e.$set(e.options,"oss_ali_bucket_name",t)},expression:"options.oss_ali_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(地域节点):"}},[o("a-input",{model:{value:e.options.oss_ali_endpoint,callback:function(t){e.$set(e.options,"oss_ali_endpoint",t)},expression:"options.oss_ali_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_ali_access_key,callback:function(t){e.$set(e.options,"oss_ali_access_key",t)},expression:"options.oss_ali_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_ali_access_secret,callback:function(t){e.$set(e.options,"oss_ali_access_secret",t)},expression:"options.oss_ali_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.oss_ali_source,callback:function(t){e.$set(e.options,"oss_ali_source",t)},expression:"options.oss_ali_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到阿里云控制台的图片处理获取"},model:{value:e.options.oss_ali_style_rule,callback:function(t){e.$set(e.options,"oss_ali_style_rule",t)},expression:"options.oss_ali_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到阿里云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.oss_ali_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_ali_thumbnail_style_rule",t)},expression:"options.oss_ali_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"BAIDUBOS"===e.options.attachment_type,expression:"options.attachment_type === 'BAIDUBOS'"}],attrs:{id:"baiduBosForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.bos_baidu_domain_protocol,callback:function(t){e.$set(e.options,"bos_baidu_domain_protocol",t)},expression:"options.bos_baidu_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.bos_baidu_domain,callback:function(t){e.$set(e.options,"bos_baidu_domain",t)},expression:"options.bos_baidu_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.bos_baidu_bucket_name,callback:function(t){e.$set(e.options,"bos_baidu_bucket_name",t)},expression:"options.bos_baidu_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(地域节点):"}},[o("a-input",{model:{value:e.options.bos_baidu_endpoint,callback:function(t){e.$set(e.options,"bos_baidu_endpoint",t)},expression:"options.bos_baidu_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.bos_baidu_access_key,callback:function(t){e.$set(e.options,"bos_baidu_access_key",t)},expression:"options.bos_baidu_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.bos_baidu_secret_key,callback:function(t){e.$set(e.options,"bos_baidu_secret_key",t)},expression:"options.bos_baidu_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到百度云控制台的图片处理获取"},model:{value:e.options.bos_baidu_style_rule,callback:function(t){e.$set(e.options,"bos_baidu_style_rule",t)},expression:"options.bos_baidu_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到百度云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.bos_baidu_thumbnail_style_rule,callback:function(t){e.$set(e.options,"bos_baidu_thumbnail_style_rule",t)},expression:"options.bos_baidu_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"TENCENTCOS"===e.options.attachment_type,expression:"options.attachment_type === 'TENCENTCOS'"}],attrs:{id:"tencentCosForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.cos_tencent_domain_protocol,callback:function(t){e.$set(e.options,"cos_tencent_domain_protocol",t)},expression:"options.cos_tencent_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + 区域地址"},model:{value:e.options.cos_tencent_domain,callback:function(t){e.$set(e.options,"cos_tencent_domain",t)},expression:"options.cos_tencent_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储桶名称"},model:{value:e.options.cos_tencent_bucket_name,callback:function(t){e.$set(e.options,"cos_tencent_bucket_name",t)},expression:"options.cos_tencent_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"区域:"}},[o("a-auto-complete",{attrs:{dataSource:e.tencentCosRegions,allowClear:""},model:{value:e.options.cos_tencent_region,callback:function(t){e.$set(e.options,"cos_tencent_region",t)},expression:"options.cos_tencent_region"}})],1),o("a-form-model-item",{attrs:{label:"Secret Id:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.cos_tencent_secret_id,callback:function(t){e.$set(e.options,"cos_tencent_secret_id",t)},expression:"options.cos_tencent_secret_id"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.cos_tencent_secret_key,callback:function(t){e.$set(e.options,"cos_tencent_secret_key",t)},expression:"options.cos_tencent_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.cos_tencent_source,callback:function(t){e.$set(e.options,"cos_tencent_source",t)},expression:"options.cos_tencent_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到腾讯云控制台的图片处理获取"},model:{value:e.options.cos_tencent_style_rule,callback:function(t){e.$set(e.options,"cos_tencent_style_rule",t)},expression:"options.cos_tencent_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到腾讯云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.cos_tencent_thumbnail_style_rule,callback:function(t){e.$set(e.options,"cos_tencent_thumbnail_style_rule",t)},expression:"options.cos_tencent_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"HUAWEIOBS"===e.options.attachment_type,expression:"options.attachment_type === 'HUAWEIOBS'"}],attrs:{id:"huaweiObsForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.obs_huawei_domain_protocol,callback:function(t){e.$set(e.options,"obs_huawei_domain_protocol",t)},expression:"options.obs_huawei_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.obs_huawei_domain,callback:function(t){e.$set(e.options,"obs_huawei_domain",t)},expression:"options.obs_huawei_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket(桶名称):"}},[o("a-input",{attrs:{placeholder:"桶名称"},model:{value:e.options.obs_huawei_bucket_name,callback:function(t){e.$set(e.options,"obs_huawei_bucket_name",t)},expression:"options.obs_huawei_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(终端节点):"}},[o("a-input",{attrs:{placeholder:"Endpoint"},model:{value:e.options.obs_huawei_endpoint,callback:function(t){e.$set(e.options,"obs_huawei_endpoint",t)},expression:"options.obs_huawei_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.obs_huawei_access_key,callback:function(t){e.$set(e.options,"obs_huawei_access_key",t)},expression:"options.obs_huawei_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.obs_huawei_access_secret,callback:function(t){e.$set(e.options,"obs_huawei_access_secret",t)},expression:"options.obs_huawei_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.obs_huawei_source,callback:function(t){e.$set(e.options,"obs_huawei_source",t)},expression:"options.obs_huawei_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到华为云控制台的图片处理创建"},model:{value:e.options.obs_huawei_style_rule,callback:function(t){e.$set(e.options,"obs_huawei_style_rule",t)},expression:"options.obs_huawei_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到华为云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.obs_huawei_thumbnail_style_rule,callback:function(t){e.$set(e.options,"obs_huawei_thumbnail_style_rule",t)},expression:"options.obs_huawei_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"MINIO"===e.options.attachment_type,expression:"options.attachment_type === 'MINIO'"}],attrs:{id:"minioForm"}},[o("a-form-model-item",{attrs:{label:"EndPoint(终端节点):"}},[o("a-input",{attrs:{placeholder:"Endpoint"},model:{value:e.options.minio_endpoint,callback:function(t){e.$set(e.options,"minio_endpoint",t)},expression:"options.minio_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Bucket(桶名称):"}},[o("a-input",{attrs:{placeholder:"桶名称"},model:{value:e.options.minio_bucket_name,callback:function(t){e.$set(e.options,"minio_bucket_name",t)},expression:"options.minio_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"Region(区域):"}},[o("a-input",{attrs:{placeholder:"区域"},model:{value:e.options.minio_region,callback:function(t){e.$set(e.options,"minio_region",t)},expression:"options.minio_region"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.minio_access_key,callback:function(t){e.$set(e.options,"minio_access_key",t)},expression:"options.minio_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.minio_access_secret,callback:function(t){e.$set(e.options,"minio_access_secret",t)},expression:"options.minio_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.minio_source,callback:function(t){e.$set(e.options,"minio_source",t)},expression:"options.minio_source"}})],1)],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},I=[],F=o(94671),D=[{text:"北京一区",value:"ap-beijing-1"},{text:"北京",value:"ap-beijing"},{text:"上海(华东)",value:"ap-shanghai"},{text:"广州(华南)",value:"ap-guangzhou"},{text:"成都(西南)",value:"ap-chengdu"},{text:"重庆",value:"ap-chongqing"}],N=[{text:"自动选择",value:"auto"},{text:"华东",value:"z0"},{text:"华北",value:"z1"},{text:"华南",value:"z2"},{text:"北美",value:"na0"},{text:"东南亚",value:"as0"}],j={name:"AttachmentTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},tencentCosRegions:D,qiniuOssZones:N,attachmentTypes:F.k,rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this;switch(this.options.attachment_type){case"SMMS":if(!this.options.smms_api_secret_token)return void this.$notification["error"]({message:"提示",description:"Secret Token 不能为空!"});break;case"UPOSS":if(!this.options.oss_upyun_domain)return void this.$notification["error"]({message:"提示",description:"绑定域名不能为空!"});if(!this.options.oss_upyun_bucket)return void this.$notification["error"]({message:"提示",description:"空间名称不能为空!"});if(!this.options.oss_upyun_operator)return void this.$notification["error"]({message:"提示",description:"操作员名称不能为空!"});if(!this.options.oss_upyun_password)return void this.$notification["error"]({message:"提示",description:"操作员密码不能为空!"});if(!this.options.oss_upyun_source)return void this.$notification["error"]({message:"提示",description:"文件目录不能为空!"});break;case"QINIUOSS":if(!this.options.oss_qiniu_domain)return void this.$notification["error"]({message:"提示",description:"绑定域名不能为空!"});if(!this.options.oss_qiniu_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.oss_qiniu_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});if(!this.options.oss_qiniu_bucket)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});break;case"ALIOSS":if(!this.options.oss_ali_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.oss_ali_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(地域节点) 不能为空!"});if(!this.options.oss_ali_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.oss_ali_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break;case"BAIDUBOS":if(!this.options.bos_baidu_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.bos_baidu_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(地域节点) 不能为空!"});if(!this.options.bos_baidu_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.bos_baidu_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});break;case"TENCENTCOS":if(!this.options.cos_tencent_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.cos_tencent_region)return void this.$notification["error"]({message:"提示",description:"区域不能为空!"});if(!this.options.cos_tencent_secret_id)return void this.$notification["error"]({message:"提示",description:"Secret Id 不能为空!"});if(!this.options.cos_tencent_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});break;case"HUAWEIOBS":if(!this.options.obs_huawei_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.obs_huawei_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(终端节点) 不能为空!"});if(!this.options.obs_huawei_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.obs_huawei_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break;case"MINIO":if(!this.options.minio_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(终端节点)不能为空!"});if(!this.options.minio_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.minio_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.minio_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break}var t=this;t.$refs.attachmentOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},z=j,Z=(0,u.Z)(z,R,I,!1,null,null,null),U=Z.exports,M=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"custom-tab-wrapper"},[o("a-tabs",{attrs:{animated:{inkBar:!0,tabPane:!1}}},[o("a-tab-pane",{key:"smtpoptions",attrs:{tab:"发信设置"}},[o("a-form-model",{ref:"smtpOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"是否启用:"}},[o("a-switch",{model:{value:e.options.email_enabled,callback:function(t){e.$set(e.options,"email_enabled",t)},expression:"options.email_enabled"}})],1),o("a-form-model-item",{attrs:{label:"SMTP 地址:",prop:"email_host"}},[o("a-input",{model:{value:e.options.email_host,callback:function(t){e.$set(e.options,"email_host",t)},expression:"options.email_host"}})],1),o("a-form-model-item",{attrs:{label:"发送协议:",prop:"email_protocol"}},[o("a-input",{model:{value:e.options.email_protocol,callback:function(t){e.$set(e.options,"email_protocol",t)},expression:"options.email_protocol"}})],1),o("a-form-model-item",{attrs:{label:"SSL 端口:",prop:"email_ssl_port"}},[o("a-input",{model:{value:e.options.email_ssl_port,callback:function(t){e.$set(e.options,"email_ssl_port",t)},expression:"options.email_ssl_port"}})],1),o("a-form-model-item",{attrs:{label:"邮箱账号:",prop:"email_username"}},[o("a-input",{model:{value:e.options.email_username,callback:function(t){e.$set(e.options,"email_username",t)},expression:"options.email_username"}})],1),o("a-form-model-item",{attrs:{label:"邮箱密码:",prop:"email_password"}},[o("a-input-password",{attrs:{autocomplete:"new-password",placeholder:"部分邮箱可能是授权码"},model:{value:e.options.email_password,callback:function(t){e.$set(e.options,"email_password",t)},expression:"options.email_password"}})],1),o("a-form-model-item",{attrs:{label:"发件人:",prop:"email_from_name"}},[o("a-input",{model:{value:e.options.email_from_name,callback:function(t){e.$set(e.options,"email_from_name",t)},expression:"options.email_from_name"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1),o("a-tab-pane",{key:"smtptest",attrs:{tab:"发送测试"}},[o("a-form-model",{ref:"smtpTestForm",attrs:{model:e.mailParam,rules:e.testRules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"收件人地址:",prop:"to"}},[o("a-input",{model:{value:e.mailParam.to,callback:function(t){e.$set(e.mailParam,"to",t)},expression:"mailParam.to"}})],1),o("a-form-model-item",{attrs:{label:"主题:",prop:"subject"}},[o("a-input",{model:{value:e.mailParam.subject,callback:function(t){e.$set(e.mailParam,"subject",t)},expression:"mailParam.subject"}})],1),o("a-form-model-item",{attrs:{label:"内容:",prop:"content"}},[o("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:e.mailParam.content,callback:function(t){e.$set(e.mailParam,"content",t)},expression:"mailParam.content"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.sendErrored,loading:e.sending,erroredText:"发送失败",loadedText:"发送成功",text:"发送",type:"primary"},on:{callback:function(t){e.sendErrored=!1},click:e.handleTestMailClick}})],1)],1)],1)],1)],1)},H=[],L=(o(31875),o(17132)),K={name:"SmtpTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},mailParam:{},sending:!1,sendErrored:!1,testRules:{to:[{required:!0,message:"* 收件人地址不能为空",trigger:["change"]}],subject:[{required:!0,message:"* 主题不能为空",trigger:["change"]}],content:[{required:!0,message:"* 内容不能为空",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},computed:{rules:function(){var e=this.options.email_enabled;return{email_host:[{required:e,message:"* SMTP 地址不能为空",trigger:["change"]}],email_protocol:[{required:e,message:"* 发送协议不能为空",trigger:["change"]}],email_ssl_port:[{required:e,message:"* SSL 端口不能为空",trigger:["change"]}],email_username:[{required:e,message:"* 邮箱账号不能为空",trigger:["change"]},{type:"email",message:"* 邮箱账号格式不正确",trigger:["change"]}],email_password:[{required:e,message:"* 邮箱密码不能为空",trigger:["change"]}],email_from_name:[{required:e,message:"* 发件人不能为空",trigger:["change"]}]}}},methods:{handleSaveOptions:function(){var e=this;e.$refs.smtpOptionsForm.validate((function(t){t&&e.$emit("onSave")}))},handleTestMailClick:function(){var e=this,t=this;t.$refs.smtpTestForm.validate((function(t){t&&(e.sending=!0,L.Z.mail.testSmtpService(e.mailParam).then((function(t){e.$message.info(t.data)})).catch((function(){e.sendErrored=!0})).finally((function(){setTimeout((function(){e.sending=!1}),400)})))}))}}},Y=K,G=(0,u.Z)(Y,M,H,!1,null,null,null),W=G.exports,Q=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"otherOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"自定义全局 head:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"放置于每个页面的 标签中",type:"textarea"},model:{value:e.options.blog_custom_head,callback:function(t){e.$set(e.options,"blog_custom_head",t)},expression:"options.blog_custom_head"}})],1),o("a-form-model-item",{attrs:{label:"自定义内容页 head:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"仅放置于内容页面的 标签中",type:"textarea"},model:{value:e.options.blog_custom_content_head,callback:function(t){e.$set(e.options,"blog_custom_content_head",t)},expression:"options.blog_custom_content_head"}})],1),o("a-form-model-item",{attrs:{label:"统计代码:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"第三方网站统计的代码,如:Google Analytics、百度统计、CNZZ 等",type:"textarea"},model:{value:e.options.blog_statistics_code,callback:function(t){e.$set(e.options,"blog_statistics_code",t)},expression:"options.blog_statistics_code"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},V=[],J={name:"OtherTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.otherOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},X=J,ee=(0,u.Z)(X,Q,V,!1,null,null,null),te=ee.exports,oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"permalinkOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"文章固定链接类型:"}},[o("template",{slot:"help"},["DEFAULT"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+"/{slug}"+e._s(e.options.path_suffix))]):"YEAR"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_year")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"DATE"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_date")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"DAY"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_day")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"ID"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/?p={id}")]):"ID_SLUG"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+"/{id}"+e._s(e.options.path_suffix))]):e._e()]),o("a-select",{model:{value:e.options.post_permalink_type,callback:function(t){e.$set(e.options,"post_permalink_type",t)},expression:"options.post_permalink_type"}},e._l(Object.keys(e.postPermalinkType),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(e._s(e.postPermalinkType[t].text)+" ")])})),1)],2),o("a-form-model-item",{attrs:{label:"归档前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.archives_prefix,callback:function(t){e.$set(e.options,"archives_prefix",t)},expression:"options.archives_prefix"}})],2),o("a-form-model-item",{attrs:{label:"分类前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.categories_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.categories_prefix,callback:function(t){e.$set(e.options,"categories_prefix",t)},expression:"options.categories_prefix"}})],2),o("a-form-model-item",{attrs:{label:"标签前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.tags_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.tags_prefix,callback:function(t){e.$set(e.options,"tags_prefix",t)},expression:"options.tags_prefix"}})],2),o("a-form-model-item",{attrs:{label:"自定义页面固定链接类型:"}},[o("template",{slot:"help"},["SECONDARY"===e.options.sheet_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.sheet_prefix)+"/{slug}"+e._s(e.options.path_suffix))]):"ROOT"===e.options.sheet_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/{slug}"+e._s(e.options.path_suffix))]):e._e()]),o("a-select",{model:{value:e.options.sheet_permalink_type,callback:function(t){e.$set(e.options,"sheet_permalink_type",t)},expression:"options.sheet_permalink_type"}},e._l(Object.keys(e.sheetPermalinkType),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(e._s(e.sheetPermalinkType[t].text)+" ")])})),1)],2),o("a-form-model-item",{directives:[{name:"show",rawName:"v-show",value:"SECONDARY"===e.options.sheet_permalink_type,expression:"options.sheet_permalink_type === 'SECONDARY'"}],attrs:{label:"自定义页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.sheet_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.sheet_prefix,callback:function(t){e.$set(e.options,"sheet_prefix",t)},expression:"options.sheet_prefix"}})],2),o("a-form-model-item",{attrs:{label:"友情链接页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.links_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.links_prefix,callback:function(t){e.$set(e.options,"links_prefix",t)},expression:"options.links_prefix"}})],2),o("a-form-model-item",{attrs:{label:"图库页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.photos_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.photos_prefix,callback:function(t){e.$set(e.options,"photos_prefix",t)},expression:"options.photos_prefix"}})],2),o("a-form-model-item",{attrs:{label:"日志页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.journals_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.journals_prefix,callback:function(t){e.$set(e.options,"journals_prefix",t)},expression:"options.journals_prefix"}})],2),o("a-form-model-item",{attrs:{label:"路径后缀:"}},[o("template",{slot:"help"},[o("span",[e._v("* 格式为:"),o("code",[e._v(".{suffix}")]),e._v(",仅对内建路径有效")])]),o("a-input",{model:{value:e.options.path_suffix,callback:function(t){e.$set(e.options,"path_suffix",t)},expression:"options.path_suffix"}})],2),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},se=[],ae={name:"PermalinkTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{postPermalinkType:{DEFAULT:{type:"DEFAULT",text:"默认"},YEAR:{type:"YEAR",text:"年份型"},DATE:{type:"DATE",text:"年月型"},DAY:{type:"DAY",text:"年月日型"},ID:{type:"ID",text:"ID 型"},ID_SLUG:{type:"ID_SLUG",text:"ID 别名型"}},sheetPermalinkType:{SECONDARY:{type:"SECONDARY",text:"二级路径"},ROOT:{type:"ROOT",text:"根路径"}},wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.permalinkOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},ne=ae,ie=(0,u.Z)(ne,oe,se,!1,null,null,null),re=ie.exports,le=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"apiOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"API 服务:"}},[o("a-switch",{model:{value:e.options.api_enabled,callback:function(t){e.$set(e.options,"api_enabled",t)},expression:"options.api_enabled"}})],1),o("a-form-model-item",{attrs:{label:"Access key:",prop:"api_access_key"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.api_access_key,callback:function(t){e.$set(e.options,"api_access_key",t)},expression:"options.api_access_key"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},pe=[],ce={name:"ApiTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}},watch:{options:function(e){this.$emit("onChange",e)}},computed:{rules:function(){var e=this.options.api_enabled;return{api_access_key:[{required:e,message:"* Access key 不能为空",trigger:["change"]}]}}},methods:{handleSaveOptions:function(){var e=this;e.$refs.apiOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},me=ce,ue=(0,u.Z)(me,le,pe,!1,null,null,null),_e=ue.exports,de=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"advancedOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{help:"* 对网站上面的所有页面路径、本地附件路径、以及主题中的静态资源路径有效。",label:"全局绝对路径:"}},[o("a-switch",{model:{value:e.options.global_absolute_path_enabled,callback:function(t){e.$set(e.options,"global_absolute_path_enabled",t)},expression:"options.global_absolute_path_enabled"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},be=[],fe={name:"AdvancedOtherTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.advancedOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},he=fe,ve=(0,u.Z)(he,de,be,!1,null,null,null),ge=ve.exports,ke=o(98906),ye={components:{PageView:r.B4,GeneralTab:d,SeoTab:k,PostTab:O,CommentTab:E,AttachmentTab:U,SmtpTab:W,OtherTab:te,PermalinkTab:re,ApiTab:_e,AdvancedOtherTab:ge},data:function(){return{options:{},advancedOptions:!1,saving:!1,errored:!1}},computed:{title:function(){return this.advancedOptions?"高级选项":"基础选项"}},created:function(){this.handleListOptions()},methods:(0,i.Z)((0,i.Z)({},(0,ke.nv)(["refreshUserCache","refreshOptionsCache"])),{},{handleListOptions:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){var o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,L.Z.option.listAsMapView();case 3:o=t.sent,e.options=o.data,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$log.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},onOptionsChange:function(e){this.options=e},onSaveOptions:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.saving=!0,t.next=4,L.Z.option.saveMapView(e.options);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.errored=!0,e.$log.error(t.t0);case 10:return t.prev=10,setTimeout((function(){e.saving=!1}),400),t.next=14,e.handleListOptions();case 14:return t.next=16,e.refreshOptionsCache();case 16:return t.next=18,e.refreshUserCache();case 18:return t.finish(10);case 19:case"end":return t.stop()}}),t,null,[[0,6,10,19]])})))()}})},xe=ye,we=(0,u.Z)(xe,s,a,!1,null,null,null),$e=we.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[428],{36428:function(e,t,o){o.r(t),o.d(t,{default:function(){return $e}});var s=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("page-view",{attrs:{title:e.title}},[o("template",{slot:"extra"},[o("a-button",{staticStyle:{padding:"0"},attrs:{type:"link"},on:{click:function(t){e.advancedOptions=!e.advancedOptions}}},[e._v(" 切换到"+e._s(e.advancedOptions?"基础选项":"高级选项")+" ")])],1),o("a-row",[o("a-col",{attrs:{span:24}},[o("div",{staticClass:"card-container"},[e.advancedOptions?o("a-tabs",{staticClass:"advanced",attrs:{type:"card"}},[o("a-tab-pane",{key:"permalink"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"link"}}),e._v("固定链接 ")],1),o("PermalinkTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"api"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"api"}}),e._v("API 设置 ")],1),o("ApiTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"advanced-other"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"align-left"}}),e._v("其他设置 ")],1),o("AdvancedOtherTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1)],1):o("a-tabs",{staticClass:"general",attrs:{type:"card"}},[o("a-tab-pane",{key:"general"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"tool"}}),e._v("常规设置 ")],1),o("GeneralTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"seo"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"global"}}),e._v("SEO 设置 ")],1),o("SeoTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"post"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"form"}}),e._v("文章设置 ")],1),o("PostTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"comment"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"message"}}),e._v("评论设置 ")],1),o("CommentTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"attachment"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"picture"}}),e._v("附件设置 ")],1),o("AttachmentTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"smtp"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"mail"}}),e._v("SMTP 服务 ")],1),o("SmtpTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1),o("a-tab-pane",{key:"other"},[o("span",{attrs:{slot:"tab"},slot:"tab"},[o("a-icon",{attrs:{type:"align-left"}}),e._v("其他设置 ")],1),o("OtherTab",{attrs:{errored:e.errored,options:e.options,saving:e.saving},on:{callback:function(t){e.errored=!1},onChange:e.onOptionsChange,onSave:e.onSaveOptions}})],1)],1)],1)])],1)],2)},a=[],n=o(29230),i=o(94524),r=(o(70315),o(22401)),l=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"generalOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"博客标题:",prop:"blog_title"}},[o("a-input",{model:{value:e.options.blog_title,callback:function(t){e.$set(e.options,"blog_title",t)},expression:"options.blog_title"}})],1),o("a-form-model-item",{attrs:{label:"博客地址:",prop:"blog_url"}},[o("a-input",{attrs:{placeholder:"如:https://halo.run"},model:{value:e.options.blog_url,callback:function(t){e.$set(e.options,"blog_url",t)},expression:"options.blog_url"}})],1),o("a-form-model-item",{attrs:{label:"Logo:",prop:"blog_logo"}},[o("AttachmentInput",{attrs:{title:"选择 Logo"},model:{value:e.options.blog_logo,callback:function(t){e.$set(e.options,"blog_logo",t)},expression:"options.blog_logo"}})],1),o("a-form-model-item",{attrs:{label:"Favicon:",prop:"blog_favicon"}},[o("AttachmentInput",{attrs:{title:"选择 Favicon"},model:{value:e.options.blog_favicon,callback:function(t){e.$set(e.options,"blog_favicon",t)},expression:"options.blog_favicon"}})],1),o("a-form-model-item",{attrs:{label:"页脚信息:",prop:"blog_footer_info"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"支持 HTML 格式的文本",type:"textarea"},model:{value:e.options.blog_footer_info,callback:function(t){e.$set(e.options,"blog_footer_info",t)},expression:"options.blog_footer_info"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},p=[],c={name:"GeneralTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{blog_title:[{required:!0,message:"* 博客标题不能为空",trigger:["change"]},{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_url:[{required:!0,message:"* 博客地址不能为空",trigger:["change"]},{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_logo:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_favicon:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],blog_footer_info:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.generalOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},m=c,u=o(42177),_=(0,u.Z)(m,l,p,!1,null,null,null),d=_.exports,b=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"seoOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"屏蔽搜索引擎:",prop:"seo_spider_disabled"}},[o("a-switch",{model:{value:e.options.seo_spider_disabled,callback:function(t){e.$set(e.options,"seo_spider_disabled",t)},expression:"options.seo_spider_disabled"}})],1),o("a-form-model-item",{attrs:{label:"关键词:",prop:"seo_keywords"}},[o("a-input",{attrs:{placeholder:"多个关键词以英文状态下的逗号隔开"},model:{value:e.options.seo_keywords,callback:function(t){e.$set(e.options,"seo_keywords",t)},expression:"options.seo_keywords"}})],1),o("a-form-model-item",{attrs:{label:"博客描述:",prop:"seo_description"}},[o("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:e.options.seo_description,callback:function(t){e.$set(e.options,"seo_description",t)},expression:"options.seo_description"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},f=[],h={name:"SeoTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{seo_keywords:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}],seo_description:[{max:1023,message:"* 字符数不能超过 1023",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.seoOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},v=h,g=(0,u.Z)(v,b,f,!1,null,null,null),k=g.exports,y=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"postOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"首页文章排序:"}},[o("a-select",{model:{value:e.options.post_index_sort,callback:function(t){e.$set(e.options,"post_index_sort",t)},expression:"options.post_index_sort"}},[o("a-select-option",{attrs:{value:"createTime"}},[e._v("创建时间")]),o("a-select-option",{attrs:{value:"editTime"}},[e._v("最后编辑时间")]),o("a-select-option",{attrs:{value:"visits"}},[e._v("点击量")])],1)],1),o("a-form-model-item",{attrs:{label:"首页每页文章条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.post_index_page_size,callback:function(t){e.$set(e.options,"post_index_page_size",t)},expression:"options.post_index_page_size"}})],1),o("a-form-model-item",{attrs:{help:"* 包括标签所属文章页面、分类所属文章页面",label:"归档页面每页文章条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.post_archives_page_size,callback:function(t){e.$set(e.options,"post_archives_page_size",t)},expression:"options.post_archives_page_size"}})],1),o("a-form-model-item",{attrs:{label:"RSS 内容类型:"}},[o("a-select",{model:{value:e.options.rss_content_type,callback:function(t){e.$set(e.options,"rss_content_type",t)},expression:"options.rss_content_type"}},[o("a-select-option",{attrs:{value:"full"}},[e._v("全文")]),o("a-select-option",{attrs:{value:"summary"}},[e._v("摘要")])],1)],1),o("a-form-model-item",{attrs:{label:"RSS 内容条数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.rss_page_size,callback:function(t){e.$set(e.options,"rss_page_size",t)},expression:"options.rss_page_size"}})],1),o("a-form-model-item",{attrs:{label:"文章摘要字数:"}},[o("a-input-number",{staticStyle:{width:"100%"},model:{value:e.options.post_summary_length,callback:function(t){e.$set(e.options,"post_summary_length",t)},expression:"options.post_summary_length"}})],1),o("a-form-model-item",{attrs:{label:"自动清理回收站文章:"}},[o("a-switch",{model:{value:e.options.recycled_post_cleaning_enabled,callback:function(t){e.$set(e.options,"recycled_post_cleaning_enabled",t)},expression:"options.recycled_post_cleaning_enabled"}})],1),o("a-form-model-item",{directives:[{name:"show",rawName:"v-show",value:e.options.recycled_post_cleaning_enabled,expression:"options.recycled_post_cleaning_enabled"}],attrs:{label:"回收站文章保留时长:"}},[o("a-input-group",{attrs:{compact:""}},[o("a-input-number",{staticStyle:{width:"70%"},attrs:{min:1,precision:0},model:{value:e.options.recycled_post_retention_time,callback:function(t){e.$set(e.options,"recycled_post_retention_time",t)},expression:"options.recycled_post_retention_time"}}),o("a-select",{staticStyle:{width:"30%"},model:{value:e.options.recycled_post_retention_timeunit,callback:function(t){e.$set(e.options,"recycled_post_retention_timeunit",t)},expression:"options.recycled_post_retention_timeunit"}},[o("a-select-option",{attrs:{value:"DAY"}},[e._v("天")]),o("a-select-option",{attrs:{value:"HOUR"}},[e._v("小时")])],1)],1)],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},x=[],w={name:"PostTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.postOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},$=w,S=(0,u.Z)($,y,x,!1,null,null,null),O=S.exports,T=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"commentOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"评论者头像:"}},[o("a-select",{model:{value:e.options.comment_gravatar_default,callback:function(t){e.$set(e.options,"comment_gravatar_default",t)},expression:"options.comment_gravatar_default"}},e._l(e.avatarTypes,(function(t,s){return o("a-select-option",{key:s,attrs:{value:t.value}},[o("a-avatar",{staticClass:"comment_select_gravatar",attrs:{size:18,src:e.options.gravatar_source+"?s=256&d="+t.value}}),e._v(" "+e._s(t.text)+" ")],1)})),1)],1),o("a-form-model-item",{attrs:{label:"评论审核后才显示:"}},[o("a-switch",{model:{value:e.options.comment_new_need_check,callback:function(t){e.$set(e.options,"comment_new_need_check",t)},expression:"options.comment_new_need_check"}})],1),o("a-form-model-item",{attrs:{label:"新评论通知:"}},[o("a-switch",{model:{value:e.options.comment_new_notice,callback:function(t){e.$set(e.options,"comment_new_notice",t)},expression:"options.comment_new_notice"}})],1),o("a-form-model-item",{attrs:{label:"评论回复通知对方:"}},[o("a-switch",{model:{value:e.options.comment_reply_notice,callback:function(t){e.$set(e.options,"comment_reply_notice",t)},expression:"options.comment_reply_notice"}})],1),o("a-form-model-item",{attrs:{help:"* 关闭之后将无法进行评论",label:"API 评论开关:"}},[o("a-switch",{model:{value:e.options.comment_api_enabled,callback:function(t){e.$set(e.options,"comment_api_enabled",t)},expression:"options.comment_api_enabled"}})],1),o("a-form-model-item",{attrs:{help:"* 该设置需要主题支持",label:"评论模块 JS:"}},[o("a-input",{attrs:{autoSize:{minRows:2},type:"textarea"},model:{value:e.options.comment_internal_plugin_js,callback:function(t){e.$set(e.options,"comment_internal_plugin_js",t)},expression:"options.comment_internal_plugin_js"}})],1),o("a-form-model-item",{attrs:{help:"* 例如://gravatar.com/avatar/",label:"Gravatar 镜像源:"}},[o("a-input",{model:{value:e.options.gravatar_source,callback:function(t){e.$set(e.options,"gravatar_source",t)},expression:"options.gravatar_source"}})],1),o("a-form-model-item",{attrs:{label:"每页显示条数: "}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.comment_page_size,callback:function(t){e.$set(e.options,"comment_page_size",t)},expression:"options.comment_page_size"}})],1),o("a-form-model-item",{attrs:{label:"占位提示:"}},[o("a-input",{model:{value:e.options.comment_content_placeholder,callback:function(t){e.$set(e.options,"comment_content_placeholder",t)},expression:"options.comment_content_placeholder"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},C=[],A=[{text:"默认",value:""},{text:"匿名者",value:"mm"},{text:"抽象几何图形",value:"identicon"},{text:"小怪物",value:"monsterid"},{text:"Wavatar",value:"wavatar"},{text:"复古",value:"retro"},{text:"机器人",value:"robohash"},{text:"不显示头像",value:"blank"}],B={name:"CommentTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{},avatarTypes:A}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this;if(!this.options.comment_new_notice&&!this.options.comment_reply_notice||this.options.email_enabled){var t=this;t.$refs.commentOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}else this.$notification["error"]({message:"提示",description:"新评论通知或回复通知需要打开和配置 SMTP 服务!"})}}},P=B,q=(0,u.Z)(P,T,C,!1,null,"5cb11a90",null),E=q.exports,R=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"attachmentOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"上传图片时预览:"}},[o("a-switch",{model:{value:e.options.attachment_upload_image_preview_enable,callback:function(t){e.$set(e.options,"attachment_upload_image_preview_enable",t)},expression:"options.attachment_upload_image_preview_enable"}})],1),o("a-form-model-item",{attrs:{label:"最大上传文件数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.attachment_upload_max_files,callback:function(t){e.$set(e.options,"attachment_upload_max_files",t)},expression:"options.attachment_upload_max_files"}})],1),o("a-form-model-item",{attrs:{label:"同时上传文件数:"}},[o("a-input-number",{staticStyle:{width:"100%"},attrs:{min:1},model:{value:e.options.attachment_upload_max_parallel_uploads,callback:function(t){e.$set(e.options,"attachment_upload_max_parallel_uploads",t)},expression:"options.attachment_upload_max_parallel_uploads"}})],1),o("a-form-model-item",{attrs:{label:"存储位置:"}},[o("a-select",{model:{value:e.options.attachment_type,callback:function(t){e.$set(e.options,"attachment_type",t)},expression:"options.attachment_type"}},e._l(Object.keys(e.attachmentTypes),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(" "+e._s(e.attachmentTypes[t].text)+" ")])})),1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"SMMS"===e.options.attachment_type,expression:"options.attachment_type === 'SMMS'"}],attrs:{id:"smmsForm"}},[o("a-form-model-item",{attrs:{label:"Secret Token:"}},[o("a-input-password",{attrs:{autocomplete:"new-password",placeholder:"需要到 sm.ms 官网注册后获取"},model:{value:e.options.smms_api_secret_token,callback:function(t){e.$set(e.options,"smms_api_secret_token",t)},expression:"options.smms_api_secret_token"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"UPOSS"===e.options.attachment_type,expression:"options.attachment_type === 'UPOSS'"}],attrs:{id:"upOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_upyun_domain_protocol,callback:function(t){e.$set(e.options,"oss_upyun_domain_protocol",t)},expression:"options.oss_upyun_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"无需再加上 http:// 或者 https://"},model:{value:e.options.oss_upyun_domain,callback:function(t){e.$set(e.options,"oss_upyun_domain",t)},expression:"options.oss_upyun_domain"}})],1),o("a-form-model-item",{attrs:{label:"空间名称:"}},[o("a-input",{model:{value:e.options.oss_upyun_bucket,callback:function(t){e.$set(e.options,"oss_upyun_bucket",t)},expression:"options.oss_upyun_bucket"}})],1),o("a-form-model-item",{attrs:{label:"操作员名称:"}},[o("a-input",{model:{value:e.options.oss_upyun_operator,callback:function(t){e.$set(e.options,"oss_upyun_operator",t)},expression:"options.oss_upyun_operator"}})],1),o("a-form-model-item",{attrs:{label:"操作员密码:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_upyun_password,callback:function(t){e.$set(e.options,"oss_upyun_password",t)},expression:"options.oss_upyun_password"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{model:{value:e.options.oss_upyun_source,callback:function(t){e.$set(e.options,"oss_upyun_source",t)},expression:"options.oss_upyun_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"间隔标识符+图片处理版本名称"},model:{value:e.options.oss_upyun_style_rule,callback:function(t){e.$set(e.options,"oss_upyun_style_rule",t)},expression:"options.oss_upyun_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"间隔标识符+图片处理版本名称,一般为后台展示所用"},model:{value:e.options.oss_upyun_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_upyun_thumbnail_style_rule",t)},expression:"options.oss_upyun_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"QINIUOSS"===e.options.attachment_type,expression:"options.attachment_type === 'QINIUOSS'"}],attrs:{id:"qiniuOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_qiniu_domain_protocol,callback:function(t){e.$set(e.options,"oss_qiniu_domain_protocol",t)},expression:"options.oss_qiniu_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"无需再加上 http:// 或者 https://"},model:{value:e.options.oss_qiniu_domain,callback:function(t){e.$set(e.options,"oss_qiniu_domain",t)},expression:"options.oss_qiniu_domain"}})],1),o("a-form-model-item",{attrs:{label:"区域:"}},[o("a-auto-complete",{attrs:{dataSource:e.qiniuOssZones,allowClear:""},model:{value:e.options.oss_qiniu_zone,callback:function(t){e.$set(e.options,"oss_qiniu_zone",t)},expression:"options.oss_qiniu_zone"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_qiniu_access_key,callback:function(t){e.$set(e.options,"oss_qiniu_access_key",t)},expression:"options.oss_qiniu_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_qiniu_secret_key,callback:function(t){e.$set(e.options,"oss_qiniu_secret_key",t)},expression:"options.oss_qiniu_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.oss_qiniu_source,callback:function(t){e.$set(e.options,"oss_qiniu_source",t)},expression:"options.oss_qiniu_source"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.oss_qiniu_bucket,callback:function(t){e.$set(e.options,"oss_qiniu_bucket",t)},expression:"options.oss_qiniu_bucket"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"样式分隔符+图片处理样式名称"},model:{value:e.options.oss_qiniu_style_rule,callback:function(t){e.$set(e.options,"oss_qiniu_style_rule",t)},expression:"options.oss_qiniu_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"样式分隔符+图片处理样式名称,一般为后台展示所用"},model:{value:e.options.oss_qiniu_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_qiniu_thumbnail_style_rule",t)},expression:"options.oss_qiniu_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"ALIOSS"===e.options.attachment_type,expression:"options.attachment_type === 'ALIOSS'"}],attrs:{id:"aliOssForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.oss_ali_domain_protocol,callback:function(t){e.$set(e.options,"oss_ali_domain_protocol",t)},expression:"options.oss_ali_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.oss_ali_domain,callback:function(t){e.$set(e.options,"oss_ali_domain",t)},expression:"options.oss_ali_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.oss_ali_bucket_name,callback:function(t){e.$set(e.options,"oss_ali_bucket_name",t)},expression:"options.oss_ali_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(地域节点):"}},[o("a-input",{model:{value:e.options.oss_ali_endpoint,callback:function(t){e.$set(e.options,"oss_ali_endpoint",t)},expression:"options.oss_ali_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_ali_access_key,callback:function(t){e.$set(e.options,"oss_ali_access_key",t)},expression:"options.oss_ali_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.oss_ali_access_secret,callback:function(t){e.$set(e.options,"oss_ali_access_secret",t)},expression:"options.oss_ali_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.oss_ali_source,callback:function(t){e.$set(e.options,"oss_ali_source",t)},expression:"options.oss_ali_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到阿里云控制台的图片处理获取"},model:{value:e.options.oss_ali_style_rule,callback:function(t){e.$set(e.options,"oss_ali_style_rule",t)},expression:"options.oss_ali_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到阿里云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.oss_ali_thumbnail_style_rule,callback:function(t){e.$set(e.options,"oss_ali_thumbnail_style_rule",t)},expression:"options.oss_ali_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"BAIDUBOS"===e.options.attachment_type,expression:"options.attachment_type === 'BAIDUBOS'"}],attrs:{id:"baiduBosForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.bos_baidu_domain_protocol,callback:function(t){e.$set(e.options,"bos_baidu_domain_protocol",t)},expression:"options.bos_baidu_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.bos_baidu_domain,callback:function(t){e.$set(e.options,"bos_baidu_domain",t)},expression:"options.bos_baidu_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储空间名称"},model:{value:e.options.bos_baidu_bucket_name,callback:function(t){e.$set(e.options,"bos_baidu_bucket_name",t)},expression:"options.bos_baidu_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(地域节点):"}},[o("a-input",{model:{value:e.options.bos_baidu_endpoint,callback:function(t){e.$set(e.options,"bos_baidu_endpoint",t)},expression:"options.bos_baidu_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.bos_baidu_access_key,callback:function(t){e.$set(e.options,"bos_baidu_access_key",t)},expression:"options.bos_baidu_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.bos_baidu_secret_key,callback:function(t){e.$set(e.options,"bos_baidu_secret_key",t)},expression:"options.bos_baidu_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到百度云控制台的图片处理获取"},model:{value:e.options.bos_baidu_style_rule,callback:function(t){e.$set(e.options,"bos_baidu_style_rule",t)},expression:"options.bos_baidu_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到百度云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.bos_baidu_thumbnail_style_rule,callback:function(t){e.$set(e.options,"bos_baidu_thumbnail_style_rule",t)},expression:"options.bos_baidu_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"TENCENTCOS"===e.options.attachment_type,expression:"options.attachment_type === 'TENCENTCOS'"}],attrs:{id:"tencentCosForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.cos_tencent_domain_protocol,callback:function(t){e.$set(e.options,"cos_tencent_domain_protocol",t)},expression:"options.cos_tencent_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + 区域地址"},model:{value:e.options.cos_tencent_domain,callback:function(t){e.$set(e.options,"cos_tencent_domain",t)},expression:"options.cos_tencent_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket:"}},[o("a-input",{attrs:{placeholder:"存储桶名称"},model:{value:e.options.cos_tencent_bucket_name,callback:function(t){e.$set(e.options,"cos_tencent_bucket_name",t)},expression:"options.cos_tencent_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"区域:"}},[o("a-auto-complete",{attrs:{dataSource:e.tencentCosRegions,allowClear:""},model:{value:e.options.cos_tencent_region,callback:function(t){e.$set(e.options,"cos_tencent_region",t)},expression:"options.cos_tencent_region"}})],1),o("a-form-model-item",{attrs:{label:"Secret Id:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.cos_tencent_secret_id,callback:function(t){e.$set(e.options,"cos_tencent_secret_id",t)},expression:"options.cos_tencent_secret_id"}})],1),o("a-form-model-item",{attrs:{label:"Secret Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.cos_tencent_secret_key,callback:function(t){e.$set(e.options,"cos_tencent_secret_key",t)},expression:"options.cos_tencent_secret_key"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.cos_tencent_source,callback:function(t){e.$set(e.options,"cos_tencent_source",t)},expression:"options.cos_tencent_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到腾讯云控制台的图片处理获取"},model:{value:e.options.cos_tencent_style_rule,callback:function(t){e.$set(e.options,"cos_tencent_style_rule",t)},expression:"options.cos_tencent_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到腾讯云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.cos_tencent_thumbnail_style_rule,callback:function(t){e.$set(e.options,"cos_tencent_thumbnail_style_rule",t)},expression:"options.cos_tencent_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"HUAWEIOBS"===e.options.attachment_type,expression:"options.attachment_type === 'HUAWEIOBS'"}],attrs:{id:"huaweiObsForm"}},[o("a-form-model-item",{attrs:{label:"绑定域名协议:"}},[o("a-select",{model:{value:e.options.obs_huawei_domain_protocol,callback:function(t){e.$set(e.options,"obs_huawei_domain_protocol",t)},expression:"options.obs_huawei_domain_protocol"}},[o("a-select-option",{attrs:{value:"https://"}},[e._v("HTTPS")]),o("a-select-option",{attrs:{value:"http://"}},[e._v("HTTP")])],1)],1),o("a-form-model-item",{attrs:{label:"绑定域名:"}},[o("a-input",{attrs:{placeholder:"如不填写,路径根域名将为 Bucket + EndPoint"},model:{value:e.options.obs_huawei_domain,callback:function(t){e.$set(e.options,"obs_huawei_domain",t)},expression:"options.obs_huawei_domain"}})],1),o("a-form-model-item",{attrs:{label:"Bucket(桶名称):"}},[o("a-input",{attrs:{placeholder:"桶名称"},model:{value:e.options.obs_huawei_bucket_name,callback:function(t){e.$set(e.options,"obs_huawei_bucket_name",t)},expression:"options.obs_huawei_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"EndPoint(终端节点):"}},[o("a-input",{attrs:{placeholder:"Endpoint"},model:{value:e.options.obs_huawei_endpoint,callback:function(t){e.$set(e.options,"obs_huawei_endpoint",t)},expression:"options.obs_huawei_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.obs_huawei_access_key,callback:function(t){e.$set(e.options,"obs_huawei_access_key",t)},expression:"options.obs_huawei_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.obs_huawei_access_secret,callback:function(t){e.$set(e.options,"obs_huawei_access_secret",t)},expression:"options.obs_huawei_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.obs_huawei_source,callback:function(t){e.$set(e.options,"obs_huawei_source",t)},expression:"options.obs_huawei_source"}})],1),o("a-form-model-item",{attrs:{label:"图片处理策略:"}},[o("a-input",{attrs:{placeholder:"请到华为云控制台的图片处理创建"},model:{value:e.options.obs_huawei_style_rule,callback:function(t){e.$set(e.options,"obs_huawei_style_rule",t)},expression:"options.obs_huawei_style_rule"}})],1),o("a-form-model-item",{attrs:{label:"缩略图处理策略:"}},[o("a-input",{attrs:{placeholder:"请到华为云控制台的图片处理获取,一般为后台展示所用"},model:{value:e.options.obs_huawei_thumbnail_style_rule,callback:function(t){e.$set(e.options,"obs_huawei_thumbnail_style_rule",t)},expression:"options.obs_huawei_thumbnail_style_rule"}})],1)],1),o("div",{directives:[{name:"show",rawName:"v-show",value:"MINIO"===e.options.attachment_type,expression:"options.attachment_type === 'MINIO'"}],attrs:{id:"minioForm"}},[o("a-form-model-item",{attrs:{label:"EndPoint(终端节点):"}},[o("a-input",{attrs:{placeholder:"Endpoint"},model:{value:e.options.minio_endpoint,callback:function(t){e.$set(e.options,"minio_endpoint",t)},expression:"options.minio_endpoint"}})],1),o("a-form-model-item",{attrs:{label:"Bucket(桶名称):"}},[o("a-input",{attrs:{placeholder:"桶名称"},model:{value:e.options.minio_bucket_name,callback:function(t){e.$set(e.options,"minio_bucket_name",t)},expression:"options.minio_bucket_name"}})],1),o("a-form-model-item",{attrs:{label:"Region(区域):"}},[o("a-input",{attrs:{placeholder:"区域"},model:{value:e.options.minio_region,callback:function(t){e.$set(e.options,"minio_region",t)},expression:"options.minio_region"}})],1),o("a-form-model-item",{attrs:{label:"Access Key:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.minio_access_key,callback:function(t){e.$set(e.options,"minio_access_key",t)},expression:"options.minio_access_key"}})],1),o("a-form-model-item",{attrs:{label:"Access Secret:"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.minio_access_secret,callback:function(t){e.$set(e.options,"minio_access_secret",t)},expression:"options.minio_access_secret"}})],1),o("a-form-model-item",{attrs:{label:"文件目录:"}},[o("a-input",{attrs:{placeholder:"不填写则上传到根目录"},model:{value:e.options.minio_source,callback:function(t){e.$set(e.options,"minio_source",t)},expression:"options.minio_source"}})],1)],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},I=[],F=o(34069),D=[{text:"北京一区",value:"ap-beijing-1"},{text:"北京",value:"ap-beijing"},{text:"上海(华东)",value:"ap-shanghai"},{text:"广州(华南)",value:"ap-guangzhou"},{text:"成都(西南)",value:"ap-chengdu"},{text:"重庆",value:"ap-chongqing"}],N=[{text:"自动选择",value:"auto"},{text:"华东",value:"z0"},{text:"华北",value:"z1"},{text:"华南",value:"z2"},{text:"北美",value:"na0"},{text:"东南亚",value:"as0"}],j={name:"AttachmentTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},tencentCosRegions:D,qiniuOssZones:N,attachmentTypes:F.k,rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this;switch(this.options.attachment_type){case"SMMS":if(!this.options.smms_api_secret_token)return void this.$notification["error"]({message:"提示",description:"Secret Token 不能为空!"});break;case"UPOSS":if(!this.options.oss_upyun_domain)return void this.$notification["error"]({message:"提示",description:"绑定域名不能为空!"});if(!this.options.oss_upyun_bucket)return void this.$notification["error"]({message:"提示",description:"空间名称不能为空!"});if(!this.options.oss_upyun_operator)return void this.$notification["error"]({message:"提示",description:"操作员名称不能为空!"});if(!this.options.oss_upyun_password)return void this.$notification["error"]({message:"提示",description:"操作员密码不能为空!"});if(!this.options.oss_upyun_source)return void this.$notification["error"]({message:"提示",description:"文件目录不能为空!"});break;case"QINIUOSS":if(!this.options.oss_qiniu_domain)return void this.$notification["error"]({message:"提示",description:"绑定域名不能为空!"});if(!this.options.oss_qiniu_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.oss_qiniu_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});if(!this.options.oss_qiniu_bucket)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});break;case"ALIOSS":if(!this.options.oss_ali_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.oss_ali_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(地域节点) 不能为空!"});if(!this.options.oss_ali_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.oss_ali_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break;case"BAIDUBOS":if(!this.options.bos_baidu_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.bos_baidu_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(地域节点) 不能为空!"});if(!this.options.bos_baidu_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.bos_baidu_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});break;case"TENCENTCOS":if(!this.options.cos_tencent_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.cos_tencent_region)return void this.$notification["error"]({message:"提示",description:"区域不能为空!"});if(!this.options.cos_tencent_secret_id)return void this.$notification["error"]({message:"提示",description:"Secret Id 不能为空!"});if(!this.options.cos_tencent_secret_key)return void this.$notification["error"]({message:"提示",description:"Secret Key 不能为空!"});break;case"HUAWEIOBS":if(!this.options.obs_huawei_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.obs_huawei_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(终端节点) 不能为空!"});if(!this.options.obs_huawei_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.obs_huawei_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break;case"MINIO":if(!this.options.minio_endpoint)return void this.$notification["error"]({message:"提示",description:"EndPoint(终端节点)不能为空!"});if(!this.options.minio_bucket_name)return void this.$notification["error"]({message:"提示",description:"Bucket 不能为空!"});if(!this.options.minio_access_key)return void this.$notification["error"]({message:"提示",description:"Access Key 不能为空!"});if(!this.options.minio_access_secret)return void this.$notification["error"]({message:"提示",description:"Access Secret 不能为空!"});break}var t=this;t.$refs.attachmentOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},z=j,Z=(0,u.Z)(z,R,I,!1,null,null,null),U=Z.exports,M=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"custom-tab-wrapper"},[o("a-tabs",{attrs:{animated:{inkBar:!0,tabPane:!1}}},[o("a-tab-pane",{key:"smtpoptions",attrs:{tab:"发信设置"}},[o("a-form-model",{ref:"smtpOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"是否启用:"}},[o("a-switch",{model:{value:e.options.email_enabled,callback:function(t){e.$set(e.options,"email_enabled",t)},expression:"options.email_enabled"}})],1),o("a-form-model-item",{attrs:{label:"SMTP 地址:",prop:"email_host"}},[o("a-input",{model:{value:e.options.email_host,callback:function(t){e.$set(e.options,"email_host",t)},expression:"options.email_host"}})],1),o("a-form-model-item",{attrs:{label:"发送协议:",prop:"email_protocol"}},[o("a-input",{model:{value:e.options.email_protocol,callback:function(t){e.$set(e.options,"email_protocol",t)},expression:"options.email_protocol"}})],1),o("a-form-model-item",{attrs:{label:"SSL 端口:",prop:"email_ssl_port"}},[o("a-input",{model:{value:e.options.email_ssl_port,callback:function(t){e.$set(e.options,"email_ssl_port",t)},expression:"options.email_ssl_port"}})],1),o("a-form-model-item",{attrs:{label:"邮箱账号:",prop:"email_username"}},[o("a-input",{model:{value:e.options.email_username,callback:function(t){e.$set(e.options,"email_username",t)},expression:"options.email_username"}})],1),o("a-form-model-item",{attrs:{label:"邮箱密码:",prop:"email_password"}},[o("a-input-password",{attrs:{autocomplete:"new-password",placeholder:"部分邮箱可能是授权码"},model:{value:e.options.email_password,callback:function(t){e.$set(e.options,"email_password",t)},expression:"options.email_password"}})],1),o("a-form-model-item",{attrs:{label:"发件人:",prop:"email_from_name"}},[o("a-input",{model:{value:e.options.email_from_name,callback:function(t){e.$set(e.options,"email_from_name",t)},expression:"options.email_from_name"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1),o("a-tab-pane",{key:"smtptest",attrs:{tab:"发送测试"}},[o("a-form-model",{ref:"smtpTestForm",attrs:{model:e.mailParam,rules:e.testRules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"收件人地址:",prop:"to"}},[o("a-input",{model:{value:e.mailParam.to,callback:function(t){e.$set(e.mailParam,"to",t)},expression:"mailParam.to"}})],1),o("a-form-model-item",{attrs:{label:"主题:",prop:"subject"}},[o("a-input",{model:{value:e.mailParam.subject,callback:function(t){e.$set(e.mailParam,"subject",t)},expression:"mailParam.subject"}})],1),o("a-form-model-item",{attrs:{label:"内容:",prop:"content"}},[o("a-input",{attrs:{autoSize:{minRows:5},type:"textarea"},model:{value:e.mailParam.content,callback:function(t){e.$set(e.mailParam,"content",t)},expression:"mailParam.content"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.sendErrored,loading:e.sending,erroredText:"发送失败",loadedText:"发送成功",text:"发送",type:"primary"},on:{callback:function(t){e.sendErrored=!1},click:e.handleTestMailClick}})],1)],1)],1)],1)],1)},H=[],L=(o(31875),o(62210)),K={name:"SmtpTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},mailParam:{},sending:!1,sendErrored:!1,testRules:{to:[{required:!0,message:"* 收件人地址不能为空",trigger:["change"]}],subject:[{required:!0,message:"* 主题不能为空",trigger:["change"]}],content:[{required:!0,message:"* 内容不能为空",trigger:["change"]}]}}},watch:{options:function(e){this.$emit("onChange",e)}},computed:{rules:function(){var e=this.options.email_enabled;return{email_host:[{required:e,message:"* SMTP 地址不能为空",trigger:["change"]}],email_protocol:[{required:e,message:"* 发送协议不能为空",trigger:["change"]}],email_ssl_port:[{required:e,message:"* SSL 端口不能为空",trigger:["change"]}],email_username:[{required:e,message:"* 邮箱账号不能为空",trigger:["change"]},{type:"email",message:"* 邮箱账号格式不正确",trigger:["change"]}],email_password:[{required:e,message:"* 邮箱密码不能为空",trigger:["change"]}],email_from_name:[{required:e,message:"* 发件人不能为空",trigger:["change"]}]}}},methods:{handleSaveOptions:function(){var e=this;e.$refs.smtpOptionsForm.validate((function(t){t&&e.$emit("onSave")}))},handleTestMailClick:function(){var e=this,t=this;t.$refs.smtpTestForm.validate((function(t){t&&(e.sending=!0,L.Z.mail.testSmtpService(e.mailParam).then((function(t){e.$message.info(t.data)})).catch((function(){e.sendErrored=!0})).finally((function(){setTimeout((function(){e.sending=!1}),400)})))}))}}},Y=K,G=(0,u.Z)(Y,M,H,!1,null,null,null),W=G.exports,Q=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"otherOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"自定义全局 head:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"放置于每个页面的 标签中",type:"textarea"},model:{value:e.options.blog_custom_head,callback:function(t){e.$set(e.options,"blog_custom_head",t)},expression:"options.blog_custom_head"}})],1),o("a-form-model-item",{attrs:{label:"自定义内容页 head:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"仅放置于内容页面的 标签中",type:"textarea"},model:{value:e.options.blog_custom_content_head,callback:function(t){e.$set(e.options,"blog_custom_content_head",t)},expression:"options.blog_custom_content_head"}})],1),o("a-form-model-item",{attrs:{label:"统计代码:"}},[o("a-input",{attrs:{autoSize:{minRows:5},placeholder:"第三方网站统计的代码,如:Google Analytics、百度统计、CNZZ 等",type:"textarea"},model:{value:e.options.blog_statistics_code,callback:function(t){e.$set(e.options,"blog_statistics_code",t)},expression:"options.blog_statistics_code"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},V=[],J={name:"OtherTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.otherOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},X=J,ee=(0,u.Z)(X,Q,V,!1,null,null,null),te=ee.exports,oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"permalinkOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"文章固定链接类型:"}},[o("template",{slot:"help"},["DEFAULT"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+"/{slug}"+e._s(e.options.path_suffix))]):"YEAR"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_year")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"DATE"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_date")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"DAY"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+e._s(e._f("moment_post_day")(new Date))+"{slug}"+e._s(e.options.path_suffix))]):"ID"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/?p={id}")]):"ID_SLUG"===e.options.post_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+"/{id}"+e._s(e.options.path_suffix))]):e._e()]),o("a-select",{model:{value:e.options.post_permalink_type,callback:function(t){e.$set(e.options,"post_permalink_type",t)},expression:"options.post_permalink_type"}},e._l(Object.keys(e.postPermalinkType),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(e._s(e.postPermalinkType[t].text)+" ")])})),1)],2),o("a-form-model-item",{attrs:{label:"归档前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.archives_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.archives_prefix,callback:function(t){e.$set(e.options,"archives_prefix",t)},expression:"options.archives_prefix"}})],2),o("a-form-model-item",{attrs:{label:"分类前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.categories_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.categories_prefix,callback:function(t){e.$set(e.options,"categories_prefix",t)},expression:"options.categories_prefix"}})],2),o("a-form-model-item",{attrs:{label:"标签前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.tags_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.tags_prefix,callback:function(t){e.$set(e.options,"tags_prefix",t)},expression:"options.tags_prefix"}})],2),o("a-form-model-item",{attrs:{label:"自定义页面固定链接类型:"}},[o("template",{slot:"help"},["SECONDARY"===e.options.sheet_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.sheet_prefix)+"/{slug}"+e._s(e.options.path_suffix))]):"ROOT"===e.options.sheet_permalink_type?o("span",[e._v(e._s(e.options.blog_url)+"/{slug}"+e._s(e.options.path_suffix))]):e._e()]),o("a-select",{model:{value:e.options.sheet_permalink_type,callback:function(t){e.$set(e.options,"sheet_permalink_type",t)},expression:"options.sheet_permalink_type"}},e._l(Object.keys(e.sheetPermalinkType),(function(t){return o("a-select-option",{key:t,attrs:{value:t}},[e._v(e._s(e.sheetPermalinkType[t].text)+" ")])})),1)],2),o("a-form-model-item",{directives:[{name:"show",rawName:"v-show",value:"SECONDARY"===e.options.sheet_permalink_type,expression:"options.sheet_permalink_type === 'SECONDARY'"}],attrs:{label:"自定义页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.sheet_prefix)+"/{slug}"+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.sheet_prefix,callback:function(t){e.$set(e.options,"sheet_prefix",t)},expression:"options.sheet_prefix"}})],2),o("a-form-model-item",{attrs:{label:"友情链接页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.links_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.links_prefix,callback:function(t){e.$set(e.options,"links_prefix",t)},expression:"options.links_prefix"}})],2),o("a-form-model-item",{attrs:{label:"图库页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.photos_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.photos_prefix,callback:function(t){e.$set(e.options,"photos_prefix",t)},expression:"options.photos_prefix"}})],2),o("a-form-model-item",{attrs:{label:"日志页面前缀:"}},[o("template",{slot:"help"},[o("span",[e._v(e._s(e.options.blog_url)+"/"+e._s(e.options.journals_prefix)+e._s(e.options.path_suffix))])]),o("a-input",{model:{value:e.options.journals_prefix,callback:function(t){e.$set(e.options,"journals_prefix",t)},expression:"options.journals_prefix"}})],2),o("a-form-model-item",{attrs:{label:"路径后缀:"}},[o("template",{slot:"help"},[o("span",[e._v("* 格式为:"),o("code",[e._v(".{suffix}")]),e._v(",仅对内建路径有效")])]),o("a-input",{model:{value:e.options.path_suffix,callback:function(t){e.$set(e.options,"path_suffix",t)},expression:"options.path_suffix"}})],2),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},se=[],ae={name:"PermalinkTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{postPermalinkType:{DEFAULT:{type:"DEFAULT",text:"默认"},YEAR:{type:"YEAR",text:"年份型"},DATE:{type:"DATE",text:"年月型"},DAY:{type:"DAY",text:"年月日型"},ID:{type:"ID",text:"ID 型"},ID_SLUG:{type:"ID_SLUG",text:"ID 别名型"}},sheetPermalinkType:{SECONDARY:{type:"SECONDARY",text:"二级路径"},ROOT:{type:"ROOT",text:"根路径"}},wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.permalinkOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},ne=ae,ie=(0,u.Z)(ne,oe,se,!1,null,null,null),re=ie.exports,le=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"apiOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{label:"API 服务:"}},[o("a-switch",{model:{value:e.options.api_enabled,callback:function(t){e.$set(e.options,"api_enabled",t)},expression:"options.api_enabled"}})],1),o("a-form-model-item",{attrs:{label:"Access key:",prop:"api_access_key"}},[o("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.options.api_access_key,callback:function(t){e.$set(e.options,"api_access_key",t)},expression:"options.api_access_key"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},pe=[],ce={name:"ApiTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}},watch:{options:function(e){this.$emit("onChange",e)}},computed:{rules:function(){var e=this.options.api_enabled;return{api_access_key:[{required:e,message:"* Access key 不能为空",trigger:["change"]}]}}},methods:{handleSaveOptions:function(){var e=this;e.$refs.apiOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},me=ce,ue=(0,u.Z)(me,le,pe,!1,null,null,null),_e=ue.exports,de=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("a-form-model",{ref:"advancedOptionsForm",attrs:{model:e.options,rules:e.rules,wrapperCol:e.wrapperCol,layout:"vertical"}},[o("a-form-model-item",{attrs:{help:"* 对网站上面的所有页面路径、本地附件路径、以及主题中的静态资源路径有效。",label:"全局绝对路径:"}},[o("a-switch",{model:{value:e.options.global_absolute_path_enabled,callback:function(t){e.$set(e.options,"global_absolute_path_enabled",t)},expression:"options.global_absolute_path_enabled"}})],1),o("a-form-model-item",[o("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(t){return e.$emit("callback")},click:e.handleSaveOptions}})],1)],1)],1)},be=[],fe={name:"AdvancedOtherTab",props:{options:{type:Object,required:!0},saving:{type:Boolean,default:!1},errored:{type:Boolean,default:!1}},data:function(){return{wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},rules:{}}},watch:{options:function(e){this.$emit("onChange",e)}},methods:{handleSaveOptions:function(){var e=this,t=this;t.$refs.advancedOptionsForm.validate((function(t){t&&e.$emit("onSave")}))}}},he=fe,ve=(0,u.Z)(he,de,be,!1,null,null,null),ge=ve.exports,ke=o(98906),ye={components:{PageView:r.B4,GeneralTab:d,SeoTab:k,PostTab:O,CommentTab:E,AttachmentTab:U,SmtpTab:W,OtherTab:te,PermalinkTab:re,ApiTab:_e,AdvancedOtherTab:ge},data:function(){return{options:{},advancedOptions:!1,saving:!1,errored:!1}},computed:{title:function(){return this.advancedOptions?"高级选项":"基础选项"}},created:function(){this.handleListOptions()},methods:(0,i.Z)((0,i.Z)({},(0,ke.nv)(["refreshUserCache","refreshOptionsCache"])),{},{handleListOptions:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){var o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,L.Z.option.listAsMapView();case 3:o=t.sent,e.options=o.data,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$log.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},onOptionsChange:function(e){this.options=e},onSaveOptions:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.saving=!0,t.next=4,L.Z.option.saveMapView(e.options);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.errored=!0,e.$log.error(t.t0);case 10:return t.prev=10,setTimeout((function(){e.saving=!1}),400),t.next=14,e.handleListOptions();case 14:return t.next=16,e.refreshOptionsCache();case 16:return t.next=18,e.refreshUserCache();case 18:return t.finish(10);case 19:case"end":return t.stop()}}),t,null,[[0,6,10,19]])})))()}})},xe=ye,we=(0,u.Z)(xe,s,a,!1,null,null,null),$e=we.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/45.99e1ce6f.js b/src/main/resources/admin/js/45.99e1ce6f.js deleted file mode 100644 index 4c672c8d0..000000000 --- a/src/main/resources/admin/js/45.99e1ce6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[45],{3045:function(e,t,a){a.d(t,{Z:function(){return S}});var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-modal",{attrs:{afterClose:e.onClosed,bodyStyle:{padding:0},maskClosable:!1,width:680,destroyOnClose:""},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(" "+e._s(e.modalTitle)+" "),e.loading?a("a-icon",{attrs:{type:"loading"}}):e._e()]},proxy:!0},{key:"footer",fn:function(){return[e._t("extraFooter"),e.draftSaveVisible?a("ReactiveButton",{attrs:{errored:e.form.draftSaveErrored,loading:e.form.draftSaving,text:(e.hasId?"转为":"保存")+"草稿",erroredText:"保存失败",loadedText:"保存成功",type:"danger"},on:{callback:function(t){return e.handleSavedCallback()},click:function(t){return e.handleSaveDraft()}}}):e._e(),e.publishVisible?a("ReactiveButton",{attrs:{errored:e.form.publishErrored,loading:e.form.publishing,erroredText:"发布失败",loadedText:"发布成功",text:"转为发布"},on:{callback:function(t){return e.handleSavedCallback()},click:function(t){return e.handlePublish()}}}):e._e(),a("ReactiveButton",{attrs:{errored:e.form.saveErrored,erroredText:(e.hasId?"保存":"发布")+"失败",loadedText:(e.hasId?"保存":"发布")+"成功",loading:e.form.saving,text:e.hasId?"保存":"发布"},on:{callback:function(t){return e.handleSavedCallback()},click:function(t){return e.handleSave()}}}),a("a-button",{attrs:{disabled:e.loading},on:{click:function(t){e.modalVisible=!1}}},[e._v("关闭")])]},proxy:!0}],null,!0),model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[a("div",{staticClass:"card-container"},[a("a-tabs",{attrs:{type:"card"}},[a("a-tab-pane",{key:"normal",attrs:{tab:"常规"}},[a("a-form",{attrs:{"label-col":{span:4},"wrapper-col":{span:20},labelAlign:"left"}},[a("a-form-item",{attrs:{label:"页面标题"}},[a("a-input",{model:{value:e.form.model.title,callback:function(t){e.$set(e.form.model,"title",t)},expression:"form.model.title"}})],1),a("a-form-item",{attrs:{help:e.fullPath,label:"页面别名"}},[a("a-input",{scopedSlots:e._u([{key:"addonAfter",fn:function(){return[a("a-popconfirm",{attrs:{"cancel-text":"取消","ok-text":"确定",placement:"left",title:"是否确定根据标题重新生成别名?"},on:{confirm:e.handleGenerateSlug}},[a("a-icon",{staticClass:"cursor-pointer",attrs:{type:"sync"}})],1)]},proxy:!0}]),model:{value:e.form.model.slug,callback:function(t){e.$set(e.form.model,"slug",t)},expression:"form.model.slug"}})],1),a("a-form-item",{attrs:{label:"摘要"}},[a("a-input",{attrs:{autoSize:{minRows:5},placeholder:"如不填写,会从页面中自动截取",type:"textarea"},model:{value:e.form.model.summary,callback:function(t){e.$set(e.form.model,"summary",t)},expression:"form.model.summary"}})],1)],1)],1),a("a-tab-pane",{key:"advanced",attrs:{tab:"高级"}},[a("a-form",{attrs:{"label-col":{span:4},"wrapper-col":{span:20},labelAlign:"left"}},[a("a-form-item",{attrs:{label:"禁止评论"}},[a("a-switch",{model:{value:e.form.model.disallowComment,callback:function(t){e.$set(e.form.model,"disallowComment",t)},expression:"form.model.disallowComment"}})],1),a("a-form-item",{attrs:{label:"发表时间:"}},[a("a-date-picker",{attrs:{defaultValue:e.createTimeDefaultValue,format:"YYYY-MM-DD HH:mm:ss",placeholder:"选择页面发表时间",showTime:""},on:{change:e.onCreateTimeSelect,ok:e.onCreateTimeSelect}})],1),a("a-form-item",{attrs:{label:"自定义模板:"}},[a("a-select",{model:{value:e.form.model.template,callback:function(t){e.$set(e.form.model,"template",t)},expression:"form.model.template"}},[a("a-select-option",{key:"",attrs:{value:""}},[e._v("无")]),e._l(e.templates,(function(t){return a("a-select-option",{key:t,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])}))],2)],1),a("a-form-item",{attrs:{label:"封面图:"}},[a("a-space",{attrs:{direction:"vertical"}},[a("img",{staticClass:"w-1/2 cursor-pointer",staticStyle:{"border-radius":"4px"},attrs:{src:e.form.model.thumbnail||"/images/placeholder.jpg",alt:"Sheet cover thumbnail"},on:{click:function(t){e.attachmentSelectVisible=!0}}}),a("a-input",{attrs:{"allow-clear":"",placeholder:"点击封面图选择图片,或者输入外部链接"},model:{value:e.form.model.thumbnail,callback:function(t){e.$set(e.form.model,"thumbnail",t)},expression:"form.model.thumbnail"}})],1)],1)],1)],1),a("a-tab-pane",{key:"seo",attrs:{tab:"SEO"}},[a("a-form",{attrs:{"label-col":{span:4},"wrapper-col":{span:20},labelAlign:"left"}},[a("a-form-item",{attrs:{label:"自定义关键词"}},[a("a-input",{attrs:{autoSize:{minRows:5},placeholder:"多个关键词以英文逗号隔开",type:"textarea"},model:{value:e.form.model.metaKeywords,callback:function(t){e.$set(e.form.model,"metaKeywords",t)},expression:"form.model.metaKeywords"}})],1),a("a-form-item",{attrs:{label:"自定义描述"}},[a("a-input",{attrs:{autoSize:{minRows:5},placeholder:"如不填写,会从页面中自动截取",type:"textarea"},model:{value:e.form.model.metaDescription,callback:function(t){e.$set(e.form.model,"metaDescription",t)},expression:"form.model.metaDescription"}})],1)],1)],1),a("a-tab-pane",{key:"meta",attrs:{tab:"元数据"}},[a("MetaEditor",{attrs:{metas:e.form.model.metas,targetId:e.form.model.id,target:"sheet"},on:{"update:metas":function(t){return e.$set(e.form.model,"metas",t)}}})],1)],1)],1),a("AttachmentSelectModal",{attrs:{multiSelect:!1,visible:e.attachmentSelectVisible},on:{"update:visible":function(t){e.attachmentSelectVisible=t},confirm:e.handleSelectSheetThumbnail}})],1)},o=[],n=a(47458),l=a(86475),s=(a(70315),a(41479),a(87591),a(30535),a(85018),a(31875),a(18482),a(86381),a(99421)),i=a(91411),m=a(38487),c=a(73511),u=a.n(c),d=a(98906),f=a(94671),h=a(17132),p={name:"SheetSettingModal",mixins:[i.jB,i.KT],components:{MetaEditor:s.Z},props:{visible:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},sheet:{type:Object,default:function(){return{}}},savedCallback:{type:Function,default:null}},data:function(){return{sheetStatuses:f.Zi,form:{model:{},saving:!1,saveErrored:!1,draftSaving:!1,draftSaveErrored:!1,publishing:!1,publishErrored:!1},templates:[],attachmentSelectVisible:!1}},computed:(0,l.Z)((0,l.Z)({},(0,d.Se)(["options"])),{},{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},modalTitle:function(){return this.form.model.id?"页面设置":"页面发布"},createTimeDefaultValue:function(){if(this.form.model.createTime){var e=new Date(this.form.model.createTime);return(0,m._)(e,"YYYY-MM-DD HH:mm:ss")}return(0,m._)(new Date,"YYYY-MM-DD HH:mm:ss")},fullPath:function(){var e=this.options,t=e.sheet_permalink_type,a=e.blog_url,r=e.sheet_prefix,o=e.path_suffix,n=void 0===o?"":o,l=this.form.model.slug,s=void 0===l?"{slug}":l;switch(t){case"SECONDARY":return"".concat(a,"/").concat(r,"/").concat(s).concat(n);case"ROOT":return"".concat(a,"/").concat(s).concat(n);default:return""}},hasId:function(){return!!this.form.model.id},draftSaveVisible:function(){var e=this.form,t=e.draftSaving,a=e.publishing;return(this.form.model.status!==f.Zi.DRAFT.value||!this.hasId||t)&&!a},publishVisible:function(){var e=this.form,t=e.draftSaving,a=e.publishing;return(this.form.model.status===f.Zi.DRAFT.value&&this.hasId||a)&&!t}}),watch:{modalVisible:function(e){e&&(this.form.model=Object.assign({},this.sheet),this.form.model.slug||this.form.model.id||this.handleGenerateSlug())},sheet:{deep:!0,handler:function(e){this.form.model=Object.assign({},e)}}},created:function(){this.handleListCustomTemplates()},methods:{handleCreateOrUpdate:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.form.model.title){t.next=3;break}throw e.$notification["error"]({message:"提示",description:"页面标题不能为空!"}),new Error("文章标题不能为空!");case 3:if(e.form.model.keepRaw=!0,t.prev=4,!e.hasId){t.next=10;break}return t.next=8,h.Z.sheet.update(e.form.model.id,e.form.model);case 8:t.next=12;break;case 10:return t.next=12,h.Z.sheet.create(e.form.model);case 12:t.next=18;break;case 14:throw t.prev=14,t.t0=t["catch"](4),e.$log.error(t.t0),new Error(t.t0);case 18:case"end":return t.stop()}}),t,null,[[4,14]])})))()},handleSave:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.saving=!0,a=e.form.model.status,a||(e.form.model.status=e.sheetStatuses.PUBLISHED.value),t.next=6,e.handleCreateOrUpdate();case 6:t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](0),e.form.saveErrored=!0,e.$log.error("Failed to save sheet",t.t0);case 12:return t.prev=12,setTimeout((function(){e.form.saving=!1}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[0,8,12,15]])})))()},handlePublish:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.publishing=!0,e.form.model.status=e.sheetStatuses.PUBLISHED.value,t.next=5,e.handleCreateOrUpdate();case 5:t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](0),e.form.publishErrored=!0,e.$log.error("Failed to publish sheet",t.t0);case 11:return t.prev=11,setTimeout((function(){e.form.publishing=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,7,11,14]])})))()},handleSaveDraft:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.draftSaving=!0,e.form.model.status=e.sheetStatuses.DRAFT.value,t.next=5,e.handleCreateOrUpdate();case 5:t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](0),e.form.draftSaveErrored=!0,e.$log.error("Failed to save draft sheet",t.t0);case 11:return t.prev=11,setTimeout((function(){e.form.draftSaving=!1}),400),t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,7,11,14]])})))()},handleSavedCallback:function(){this.form.saveErrored||this.form.draftSaveErrored||this.form.publishErrored?(this.form.saveErrored=!1,this.form.draftSaveErrored=!1,this.form.publishErrored=!1):this.savedCallback&&this.savedCallback()},handleListCustomTemplates:function(){var e=this;return(0,n.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h.Z.theme.listCustomSheetTemplates();case 3:a=t.sent,e.templates=a.data,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$log.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()},onCreateTimeSelect:function(e){this.form.model.createTime=e.valueOf()},handleGenerateSlug:function(){if(this.form.model.title&&u().isSupported()){var e,t="",a=u().parse(this.form.model.title.replace(/\s+/g,"").toLowerCase());a.forEach((function(a){if(2===a.type){var r=a.target?a.target.toLowerCase():"";t+=t&&!/\n|\s/.test(e.target)?"-"+r:r}else t+=(e&&2===e.type?"-":"")+a.target;e=a})),this.$set(this.form.model,"slug",t)}},handleSelectSheetThumbnail:function(e){var t=e.raw;t.length&&(this.form.model.thumbnail=encodeURI(t[0].path)),this.attachmentSelectVisible=!1},onClosed:function(){this.$emit("onClose"),this.$emit("onUpdate",this.form.model)}}},b=p,v=a(42177),g=(0,v.Z)(b,r,o,!1,null,null,null),S=g.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/457.789c0360.js b/src/main/resources/admin/js/457.789c0360.js new file mode 100644 index 000000000..13a06c2e9 --- /dev/null +++ b/src/main/resources/admin/js/457.789c0360.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[457],{66457:function(O,Q,i){i.r(Q),i.d(Q,{default:function(){return m}});var $=function(){var O=this,Q=O.$createElement,i=O._self._c||Q;return i("a-form",{attrs:{layout:"vertical"}},[i("a-form-item",[i("a-spin",{attrs:{spinning:O.loading}},[i("Codemirror",{ref:"editor",attrs:{extensions:O.editor.extensions,height:"700px"},model:{value:O.logContent,callback:function(Q){O.logContent=Q},expression:"logContent"}})],1)],1),i("a-form-item",[i("a-space",[i("a-select",{staticStyle:{width:"100px"},attrs:{defaultValue:"200"},on:{change:O.handleLoadLogsLines},model:{value:O.logLines,callback:function(Q){O.logLines=Q},expression:"logLines"}},[i("a-select-option",{attrs:{value:"200"}},[O._v("200 行")]),i("a-select-option",{attrs:{value:"500"}},[O._v("500 行")]),i("a-select-option",{attrs:{value:"800"}},[O._v("800 行")]),i("a-select-option",{attrs:{value:"1000"}},[O._v("1000 行")])],1),i("a-button",{attrs:{loading:O.loading,type:"primary"},on:{click:function(Q){return O.handleLoadLogsLines()}}},[O._v("刷新")]),i("a-button",{attrs:{loading:O.downloading,type:"dashed"},on:{click:function(Q){return O.handleDownloadLogFile()}}},[O._v("下载")])],1)],1)],1)},a=[],P=(i(31875),i(29888),i(45107),i(42164),i(20838),i(60742)),e=i(8192),t=i(17918);const n={__proto__:null,true:34,false:34,null:40,void:44,byte:46,short:46,int:46,long:46,char:46,float:46,double:46,boolean:46,extends:60,super:62,class:74,this:76,new:82,public:98,protected:100,private:102,abstract:104,static:106,final:108,strictfp:110,default:112,synchronized:114,native:116,transient:118,volatile:120,throws:148,implements:158,interface:164,enum:174,instanceof:234,open:263,module:265,requires:270,transitive:272,exports:274,to:276,opens:278,uses:280,provides:282,with:284,package:288,import:292,if:304,else:306,while:310,for:314,var:321,assert:328,switch:332,case:338,do:342,break:346,continue:350,return:354,throw:360,try:364,catch:368,finally:376},X=e.WQ.deserialize({version:13,states:"# rQ]QPOOO&qQQO'#HYO(uQQO'#CbOOQO'#Cb'#CbO(|QPO'#CaOOQO'#H_'#H_OOQO'#Ct'#CtO*iQPO'#D^O+SQQO'#HfOOQO'#Hf'#HfO-hQQO'#HaO-oQQO'#HaOOQO'#Ha'#HaOOQO'#H`'#H`O/pQPO'#DTO/}QPO'#GjO2uQPO'#D^O2|QPO'#DyO(|QPO'#EZO3oQPO'#EZOOQO'#DU'#DUO4}QQO'#H]O7UQQO'#EdO7]QPO'#EcO7bQPO'#EeOOQO'#H^'#H^O5eQQO'#H^O8eQQO'#FfO8lQPO'#EvO8qQPO'#E{O8qQPO'#E}OOQO'#H]'#H]OOQO'#HU'#HUOOQO'#Ge'#GeOOQO'#HT'#HTO:OQPO'#FgOOQO'#HS'#HSOOQO'#Gd'#GdQ]QPOOO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loatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp BitOp BitOp LogicOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource",maxTerm:269,nodeProps:[[t.md.group,-26,4,46,75,76,81,86,91,143,145,148,149,151,154,156,159,161,163,165,170,172,174,176,178,179,181,189,"Statement",-24,6,13,14,15,16,17,18,19,20,21,38,39,40,98,99,101,102,105,116,118,120,123,125,128,"Expression",-7,22,23,24,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({parser:X.configure({props:[o.uj.add({IfStatement:(0,o.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,o.tC)({except:/^\s*({|catch|finally)\b/}),LabeledStatement:o.ze,SwitchBlock:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),$=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:$?1:2)*O.unit},BlockComment:()=>-1,Statement:(0,o.tC)({except:/^{/})}),o.x0.add({["Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer"]:o.Dv,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),(0,r.Gv)({null:r.pJ["null"],instanceof:r.pJ.operatorKeyword,this:r.pJ.self,"new super assert open to with void":r.pJ.keyword,"class interface extends implements module package import enum":r.pJ.definitionKeyword,"switch while for if else case default do break continue return try catch finally throw":r.pJ.controlKeyword,["requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws"]:r.pJ.modifier,IntegerLiteral:r.pJ.integer,FloatLiteral:r.pJ.float,StringLiteral:r.pJ.string,CharacterLiteral:r.pJ.character,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,BooleanLiteral:r.pJ.bool,PrimitiveType:r.pJ.standard(r.pJ.typeName),TypeName:r.pJ.typeName,Identifier:r.pJ.variableName,"MethodName/Identifier":r.pJ["function"](r.pJ.variableName),Definition:r.pJ.definition(r.pJ.variableName),ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,AssignOp:r.pJ.definitionOperator,UpdateOp:r.pJ.updateOperator,Asterisk:r.pJ.punctuation,Label:r.pJ.labelName,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,".":r.pJ.derefOperator,", ;":r.pJ.separator})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function l(){return new o.ri(p)}var T=i(69716),Y=i(62210),s={name:"RuntimeLogs",components:{Codemirror:P.Z},data:function(){return{logContent:"",loading:!1,logLines:200,downloading:!1,editor:{extensions:[l()]}}},beforeMount:function(){this.handleLoadLogsLines()},methods:{handleLoadLogsLines:function(){var O=this;this.loading=!0,Y.Z.getLogFile(this.logLines).then((function(Q){O.logContent=Q.data,O.$nextTick((function(){O.$refs.editor.handleInitCodemirror();var Q=O.$el.querySelector(".cm-scroller");Q.scrollTop=Q.scrollHeight-Q.clientHeight}))})).finally((function(){O.loading=!1}))},handleDownloadLogFile:function(){var O=this,Q=this.$message.loading("下载中...",0);this.downloading=!0,Y.Z.getLogFile(this.logLines).then((function(O){var Q=new Blob([O.data]),i=document.createElement("a"),$=window.URL.createObjectURL(Q);i.href=$,i.download="halo-log-"+(0,T._)(new Date,"YYYY-MM-DD-HH-mm-ss")+".log",document.body.appendChild(i),i.click(),document.body.removeChild(i),window.URL.revokeObjectURL($)})).catch((function(){O.$message.error("下载失败!")})).finally((function(){setTimeout((function(){O.downloading=!1,Q()}),400)}))}}},c=s,d=i(42177),y=(0,d.Z)(c,$,a,!1,null,null,null),m=y.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/658.85c6381e.js b/src/main/resources/admin/js/46.919f9fca.js similarity index 90% rename from src/main/resources/admin/js/658.85c6381e.js rename to src/main/resources/admin/js/46.919f9fca.js index 7d8fd1975..9efb62cbe 100644 --- a/src/main/resources/admin/js/658.85c6381e.js +++ b/src/main/resources/admin/js/46.919f9fca.js @@ -1 +1 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[658],{53303:function(t,e,s){var a=s(15820),n=Math.floor,r=function(t,e){var s=t.length,l=n(s/2);return s<8?i(t,e):o(t,r(a(t,0,l),e),r(a(t,l),e),e)},i=function(t,e){var s,a,n=t.length,r=1;while(r0)t[a]=t[--a];a!==r++&&(t[a]=s)}return t},o=function(t,e,s,a){var n=e.length,r=s.length,i=0,o=0;while(i3)){if(h)return!0;if(m)return m<603;var t,e,s,a,n="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:s=3;break;case 68:case 71:s=4;break;default:s=2}for(a=0;a<47;a++)g.push({k:e+a,v:s})}for(g.sort((function(t,e){return e.v-t.v})),a=0;al(s)?1:-1}};a({target:"Array",proto:!0,forced:C},{sort:function(t){void 0!==t&&r(t);var e=i(this);if(x)return void 0===t?v(e):v(e,t);var s,a,n=[],l=o(e);for(a=0;a0&&void 0!==t[0])||t[0],s.prev=1,a&&(e.list.loading=!0),s.next=5,h.Z.post.list(e.list.params);case 5:n=s.sent,e.list.data=n.data.content,e.list.total=n.data.total,e.list.hasPrevious=n.data.hasPrevious,e.list.hasNext=n.data.hasNext,s.next=15;break;case 12:s.prev=12,s.t0=s["catch"](1),e.$log.error(s.t0);case 15:return s.prev=15,e.list.loading=!1,s.finish(15);case 18:case"end":return s.stop()}}),s,null,[[1,12,15,18]])})))()},handleListCategories:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.categories.loading=!0,e.next=4,h.Z.category.list({sort:[],more:!0});case 4:s=e.sent,t.categories.data=s.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.categories.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleEditClick:function(t){this.$router.push({name:"PostEdit",query:{postId:t.id}})},onSelectionChange:function(t){this.selectedRowKeys=t,this.$log.debug("SelectedRowKeys: ".concat(t))},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListPosts()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListPosts()},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.categoryId=void 0,this.list.params.statuses=this.defaultStatuses,this.list.params.status=void 0,this.selectedRowKeys=[],this.handlePageChange(1),this.handleListCategories()},handleQuery:function(){this.selectedRowKeys=[],this.handlePageChange(1)},handleChangeQueryStatus:function(t){t?(this.list.params.statuses=[t],this.list.params.status=t):(this.list.params.statuses=this.defaultStatuses,this.list.params.status=void 0),this.handleQuery()},handleChangeStatus:function(t,e){var s=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,h.Z.post.updateStatusById(t,e);case 3:s.$message.success("操作成功!"),a.next=9;break;case 6:a.prev=6,a.t0=a["catch"](0),s.$log.error("Failed to change post status",a.t0);case 9:return a.prev=9,a.next=12,s.handleListPosts();case 12:return a.finish(9);case 13:case"end":return a.stop()}}),a,null,[[0,6,9,13]])})))()},handleChangeStatusInBatch:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(!(e.selectedRowKeys.length<=0)){s.next=3;break}return e.$message.info("请至少选择一项!"),s.abrupt("return");case 3:e.$confirm({title:"提示",content:"确定要将所选的文章转为".concat(d.JQ[t].text,"状态吗?"),okText:"确定",cancelText:"取消",onOk:function(){var s=(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,h.Z.post.updateStatusInBatch(e.selectedRowKeys,t);case 3:e.selectedRowKeys=[],e.$message.success("操作成功!"),s.next=10;break;case 7:s.prev=7,s.t0=s["catch"](0),e.$log.error("Failed to change status in batch",s.t0);case 10:return s.prev=10,s.next=13,e.handleListPosts();case 13:return s.finish(10);case 14:case"end":return s.stop()}}),s,null,[[0,7,10,14]])})));function a(){return s.apply(this,arguments)}return a}()});case 4:case"end":return s.stop()}}),s)})))()},handleDelete:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,h.Z.post["delete"](t);case 3:e.$message.success("删除成功!"),s.next=9;break;case 6:s.prev=6,s.t0=s["catch"](0),e.$log.error("Failed to delete post",s.t0);case 9:return s.prev=9,s.next=12,e.handleListPosts();case 12:return s.finish(9);case 13:case"end":return s.stop()}}),s,null,[[0,6,9,13]])})))()},handleDeleteInBatch:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.selectedRowKeys.length<=0)){e.next=3;break}return t.$message.info("请至少选择一项!"),e.abrupt("return");case 3:t.$confirm({title:"提示",content:"确定删除所选的文章吗?",okText:"确定",cancelText:"取消",onOk:function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.Z.post.deleteInBatch(t.selectedRowKeys);case 3:t.selectedRowKeys=[],t.$message.success("删除成功!"),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$log.error("Failed to delete posts in batch",e.t0);case 10:return e.prev=10,e.next=13,t.handleListPosts();case 13:return e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[0,7,10,14]])})));function s(){return e.apply(this,arguments)}return s}()});case 4:case"end":return e.stop()}}),e)})))()},handleDeleteCurrentPage:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.list.data.length){e.next=3;break}return t.$message.info("当前页没有文章"),e.abrupt("return");case 3:t.$confirm({title:"提示",content:"确定删除当前页的所有文章吗?",okText:"确定",cancelText:"取消",onOk:function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,s=t.list.data.map((function(t){return t.id})),e.next=4,h.Z.post.deleteInBatch(s);case 4:t.$message.success("删除成功!"),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$log.error("Failed to delete posts in batch",e.t0);case 10:return e.prev=10,e.next=13,t.handleListPosts();case 13:return e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[0,7,10,14]])})));function s(){return e.apply(this,arguments)}return s}()});case 4:case"end":return e.stop()}}),e)})))()},handleOpenPostSettings:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){var a,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,e.postSettingVisible=!0,e.postSettingLoading=!0,s.next=5,h.Z.post.get(t.id);case 5:a=s.sent,n=a.data,e.list.selected=n,s.next=13;break;case 10:s.prev=10,s.t0=s["catch"](0),e.$log.error("Failed to open post settings",s.t0);case 13:return s.prev=13,e.postSettingLoading=!1,s.finish(13);case 16:case"end":return s.stop()}}),s,null,[[0,10,13,16]])})))()},handleOpenPostComments:function(t){this.list.selected=t,this.postCommentVisible=!0},handlePreview:function(t){h.Z.post.getPreviewLinkById(t).then((function(t){window.open(t,"_blank")}))},onPostSavedCallback:function(){this.handleListPosts(!1)},onPostCommentsClose:function(){this.postCommentVisible=!1,this.list.selected={},this.handleListPosts(!1)},handleSelectPrevious:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(s>0)){e.next=9;break}return t.postSettingLoading=!0,e.next=5,h.Z.post.get(t.list.data[s-1].id);case 5:return a=e.sent,t.list.selected=a.data,t.postSettingLoading=!1,e.abrupt("return");case 9:if(0!==s||!t.list.hasPrevious){e.next=19;break}return t.list.params.page--,e.next=13,t.handleListPosts();case 13:return t.postSettingLoading=!0,e.next=16,h.Z.post.get(t.list.data[t.list.data.length-1].id);case 16:n=e.sent,t.list.selected=n.data,t.postSettingLoading=!1;case 19:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(s0)t[a]=t[--a];a!==r++&&(t[a]=s)}return t},o=function(t,e,s,a){var n=e.length,r=s.length,i=0,o=0;while(i3)){if(h)return!0;if(m)return m<603;var t,e,s,a,n="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:s=3;break;case 68:case 71:s=4;break;default:s=2}for(a=0;a<47;a++)g.push({k:e+a,v:s})}for(g.sort((function(t,e){return e.v-t.v})),a=0;al(s)?1:-1}};a({target:"Array",proto:!0,forced:C},{sort:function(t){void 0!==t&&r(t);var e=i(this);if(x)return void 0===t?v(e):v(e,t);var s,a,n=[],l=o(e);for(a=0;a0&&void 0!==t[0])||t[0],s.prev=1,a&&(e.list.loading=!0),s.next=5,h.Z.post.list(e.list.params);case 5:n=s.sent,e.list.data=n.data.content,e.list.total=n.data.total,e.list.hasPrevious=n.data.hasPrevious,e.list.hasNext=n.data.hasNext,s.next=15;break;case 12:s.prev=12,s.t0=s["catch"](1),e.$log.error(s.t0);case 15:return s.prev=15,e.list.loading=!1,s.finish(15);case 18:case"end":return s.stop()}}),s,null,[[1,12,15,18]])})))()},handleListCategories:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.categories.loading=!0,e.next=4,h.Z.category.list({sort:[],more:!0});case 4:s=e.sent,t.categories.data=s.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.categories.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleEditClick:function(t){this.$router.push({name:"PostEdit",query:{postId:t.id}})},onSelectionChange:function(t){this.selectedRowKeys=t,this.$log.debug("SelectedRowKeys: ".concat(t))},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListPosts()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListPosts()},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.categoryId=void 0,this.list.params.statuses=this.defaultStatuses,this.list.params.status=void 0,this.selectedRowKeys=[],this.handlePageChange(1),this.handleListCategories()},handleQuery:function(){this.selectedRowKeys=[],this.handlePageChange(1)},handleChangeQueryStatus:function(t){t?(this.list.params.statuses=[t],this.list.params.status=t):(this.list.params.statuses=this.defaultStatuses,this.list.params.status=void 0),this.handleQuery()},handleChangeStatus:function(t,e){var s=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,h.Z.post.updateStatusById(t,e);case 3:s.$message.success("操作成功!"),a.next=9;break;case 6:a.prev=6,a.t0=a["catch"](0),s.$log.error("Failed to change post status",a.t0);case 9:return a.prev=9,a.next=12,s.handleListPosts();case 12:return a.finish(9);case 13:case"end":return a.stop()}}),a,null,[[0,6,9,13]])})))()},handleChangeStatusInBatch:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:if(!(e.selectedRowKeys.length<=0)){s.next=3;break}return e.$message.info("请至少选择一项!"),s.abrupt("return");case 3:e.$confirm({title:"提示",content:"确定要将所选的文章转为".concat(d.JQ[t].text,"状态吗?"),okText:"确定",cancelText:"取消",onOk:function(){var s=(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,h.Z.post.updateStatusInBatch(e.selectedRowKeys,t);case 3:e.selectedRowKeys=[],e.$message.success("操作成功!"),s.next=10;break;case 7:s.prev=7,s.t0=s["catch"](0),e.$log.error("Failed to change status in batch",s.t0);case 10:return s.prev=10,s.next=13,e.handleListPosts();case 13:return s.finish(10);case 14:case"end":return s.stop()}}),s,null,[[0,7,10,14]])})));function a(){return s.apply(this,arguments)}return a}()});case 4:case"end":return s.stop()}}),s)})))()},handleDelete:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,h.Z.post["delete"](t);case 3:e.$message.success("删除成功!"),s.next=9;break;case 6:s.prev=6,s.t0=s["catch"](0),e.$log.error("Failed to delete post",s.t0);case 9:return s.prev=9,s.next=12,e.handleListPosts();case 12:return s.finish(9);case 13:case"end":return s.stop()}}),s,null,[[0,6,9,13]])})))()},handleDeleteInBatch:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.selectedRowKeys.length<=0)){e.next=3;break}return t.$message.info("请至少选择一项!"),e.abrupt("return");case 3:t.$confirm({title:"提示",content:"确定删除所选的文章吗?",okText:"确定",cancelText:"取消",onOk:function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.Z.post.deleteInBatch(t.selectedRowKeys);case 3:t.selectedRowKeys=[],t.$message.success("删除成功!"),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$log.error("Failed to delete posts in batch",e.t0);case 10:return e.prev=10,e.next=13,t.handleListPosts();case 13:return e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[0,7,10,14]])})));function s(){return e.apply(this,arguments)}return s}()});case 4:case"end":return e.stop()}}),e)})))()},handleDeleteCurrentPage:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.list.data.length){e.next=3;break}return t.$message.info("当前页没有文章"),e.abrupt("return");case 3:t.$confirm({title:"提示",content:"确定删除当前页的所有文章吗?",okText:"确定",cancelText:"取消",onOk:function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){var s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,s=t.list.data.map((function(t){return t.id})),e.next=4,h.Z.post.deleteInBatch(s);case 4:t.$message.success("删除成功!"),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$log.error("Failed to delete posts in batch",e.t0);case 10:return e.prev=10,e.next=13,t.handleListPosts();case 13:return e.finish(10);case 14:case"end":return e.stop()}}),e,null,[[0,7,10,14]])})));function s(){return e.apply(this,arguments)}return s}()});case 4:case"end":return e.stop()}}),e)})))()},handleOpenPostSettings:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function s(){var a,n;return regeneratorRuntime.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,e.postSettingVisible=!0,e.postSettingLoading=!0,s.next=5,h.Z.post.get(t.id);case 5:a=s.sent,n=a.data,e.list.selected=n,s.next=13;break;case 10:s.prev=10,s.t0=s["catch"](0),e.$log.error("Failed to open post settings",s.t0);case 13:return s.prev=13,e.postSettingLoading=!1,s.finish(13);case 16:case"end":return s.stop()}}),s,null,[[0,10,13,16]])})))()},handleOpenPostComments:function(t){this.list.selected=t,this.postCommentVisible=!0},handlePreview:function(t){h.Z.post.getPreviewLinkById(t).then((function(t){window.open(t,"_blank")}))},onPostSavedCallback:function(){this.handleListPosts(!1)},onPostCommentsClose:function(){this.postCommentVisible=!1,this.list.selected={},this.handleListPosts(!1)},handleSelectPrevious:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(s>0)){e.next=9;break}return t.postSettingLoading=!0,e.next=5,h.Z.post.get(t.list.data[s-1].id);case 5:return a=e.sent,t.list.selected=a.data,t.postSettingLoading=!1,e.abrupt("return");case 9:if(0!==s||!t.list.hasPrevious){e.next=19;break}return t.list.params.page--,e.next=13,t.handleListPosts();case 13:return t.postSettingLoading=!0,e.next=16,h.Z.post.get(t.list.data[t.list.data.length-1].id);case 16:n=e.sent,t.list.selected=n.data,t.postSettingLoading=!1;case 19:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var s,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(s0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListJournals()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListJournals()},onJournalCommentsDrawerClose:function(){this.form.model={},this.journalCommentDrawer.visible=!1,this.handleListJournals()},handleSaveOptions:function(){var t=this;m.Z.option.save(this.optionModal.options).then((function(){t.$message.success("保存成功!"),t.optionModal.visible=!1})).finally((function(){t.handleListOptions(),t.refreshOptionsCache()}))},handleSelectPrevious:function(){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(a>0)){e.next=4;break}return t.list.selected=t.list.data[a-1],e.abrupt("return");case 4:if(0!==a||!t.list.hasPrevious){e.next=9;break}return t.list.params.page--,e.next=8,t.handleListJournals();case 8:t.list.selected=t.list.data[t.list.data.length-1];case 9:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(a1&&void 0!==arguments[1]?arguments[1]:0;return t&&0!==t.length?t.reduce((function(t,a,n){a.priority=n+1,a.parentId=r;var i=a.children.length>0?e(a.children,a.id):[];return[].concat((0,o.Z)(t),[a],(0,o.Z)(i))}),[]):[]},a=r(e.list.treeData),t.prev=2,e.formBatch.saving=!0,t.next=6,f.Z.category.updateInBatch(a);case 6:t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](2),e.formBatch.errored=!0,e.$log.error("Failed to update categories",t.t0);case 12:return t.prev=12,setTimeout((function(){e.formBatch.saving=!1,e.handleListCategories()}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,8,12,15]])})))()},handleSavedCallback:function(){if(this.form.errored)this.form.errored=!1;else{var e=this;e.form.model={},e.handleListCategories()}},handleQueryCategoryPosts:function(e){this.$router.push({name:"PostList",query:{categoryId:e.id}})}}},C=k,w=(0,v.Z)(C,a,n,!1,null,null,null),I=w.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[545],{67664:function(e,t,r){r.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-tree-select",{attrs:{allowClear:!0,treeData:e.categoryTreeData,treeDataSimpleMode:!0,placeholder:"请选择上级目录,默认为顶级目录",treeDefaultExpandAll:""},model:{value:e.categoryIdString,callback:function(t){e.categoryIdString=t},expression:"categoryIdString"}})},n=[],o=r(34616),i=(r(12566),r(41479),r(82395),r(21082),r(31875),r(11074),{name:"CategorySelectTree",props:{categoryId:{type:Number,required:!0,default:0},categories:{type:Array,required:!1,default:function(){return[]}}},computed:{categoryTreeData:function(){return[{id:0,title:"根目录",value:"0",pId:-1}].concat((0,o.Z)(this.categories.map((function(e){return{id:e.id,title:e.name,value:e.id.toString(),pId:e.parentId}}))))},categoryIdString:{get:function(){return this.categoryId.toString()},set:function(e){this.$emit("update:categoryId",e?parseInt(e):0)}}}}),l=i,s=r(42177),c=(0,s.Z)(l,a,n,!1,null,null,null),d=c.exports},81545:function(e,t,r){r.r(t),r.d(t,{default:function(){return I}});var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("page-view",[r("a-row",{attrs:{gutter:12}},[r("a-col",{staticClass:"pb-3",attrs:{lg:8,md:8,sm:24,xl:8,xs:24}},[r("a-card",{attrs:{bodyStyle:{padding:"16px"},"head-style":{padding:"8px 16px!important"},title:e.title}},[r("a-form-model",{ref:"categoryForm",attrs:{model:e.form.model,rules:e.form.rules,layout:"horizontal"}},[r("a-form-model-item",{attrs:{help:"* 页面上所显示的名称",label:"名称:",prop:"name"}},[r("a-input",{ref:"nameInput",model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),r("a-form-model-item",{attrs:{help:"* 一般为单个分类页面的标识,最好为英文",label:"别名:",prop:"slug"}},[r("a-input",{model:{value:e.form.model.slug,callback:function(t){e.$set(e.form.model,"slug",t)},expression:"form.model.slug"}})],1),r("a-form-model-item",{attrs:{label:"上级目录:",prop:"parentId"}},[r("category-select-tree",{attrs:{categories:e.list.data,"category-id":e.form.model.parentId},on:{"update:categoryId":function(t){return e.$set(e.form.model,"parentId",t)},"update:category-id":function(t){return e.$set(e.form.model,"parentId",t)}}})],1),r("a-form-model-item",{attrs:{help:"* 在分类页面可展示,需要主题支持",label:"封面图:",prop:"thumbnail"}},[r("AttachmentInput",{attrs:{title:"选择封面图"},model:{value:e.form.model.thumbnail,callback:function(t){e.$set(e.form.model,"thumbnail",t)},expression:"form.model.thumbnail"}})],1),r("a-form-model-item",{attrs:{help:"* 分类密码",label:"密码:",prop:"password"}},[r("a-input-password",{attrs:{autocomplete:"new-password"},model:{value:e.form.model.password,callback:function(t){e.$set(e.form.model,"password",t)},expression:"form.model.password"}})],1),r("a-form-model-item",{attrs:{help:"* 分类描述,需要主题支持",label:"描述:",prop:"description"}},[r("a-input",{attrs:{autoSize:{minRows:3},type:"textarea"},model:{value:e.form.model.description,callback:function(t){e.$set(e.form.model,"description",t)},expression:"form.model.description"}})],1),r("a-form-model-item",[e.isUpdateMode?r("a-button-group",[r("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"更新失败",loadedText:"更新成功",text:"更新",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateCategory}}),r("a-button",{attrs:{type:"dashed"},on:{click:function(t){e.form.model={}}}},[e._v("返回添加")])],1):r("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateCategory}})],1)],1)],1)],1),r("a-col",{staticClass:"pb-3",attrs:{lg:16,md:16,sm:24,xl:16,xs:24}},[r("a-card",{attrs:{bodyStyle:{padding:"16px"},title:"分类列表"},scopedSlots:e._u([{key:"extra",fn:function(){return[r("ReactiveButton",{attrs:{disabled:e.list.data.length<=0,errored:e.formBatch.errored,loading:e.formBatch.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存"},on:{callback:function(t){e.formBatch.errored=!1},click:e.handleUpdateBatch}})]},proxy:!0}])},[r("a-spin",{attrs:{spinning:e.list.loading}},[r("CategoryTreeNode",{on:{edit:e.handleEdit,reload:e.handleListCategories,select:e.handleSelect},model:{value:e.list.treeData,callback:function(t){e.$set(e.list,"treeData",t)},expression:"list.treeData"}})],1)],1)],1)],1)],1)},n=[],o=r(34616),i=r(94524),l=r(29230),s=(r(31875),r(18482),r(41479),r(70315),r(22401)),c=r(67664),d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("a-list",{attrs:{"item-layout":"horizontal"}},[r("draggable",e._b({staticClass:"item-container",attrs:{list:e.list,value:e.value,handle:".mover",tag:"div"},on:{end:function(t){e.isDragging=!1},input:e.emitter,start:function(t){e.isDragging=!0}}},"draggable",{animation:300,group:"description",ghostClass:"ghost",chosenClass:"chosen",dragClass:"drag",emptyInsertThreshold:20},!1),[r("transition-group",e._l(e.realValue,(function(t){return r("div",{key:t.id},[r("a-list-item",{staticClass:"menu-item",scopedSlots:e._u([{key:"actions",fn:function(){return[r("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(r){return e.handleSelect(t)}}},[e._v("新增")]),r("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(r){return e.handleEdit(t)}}},[e._v("编辑")]),r("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(r){return e.handleDelete(t)}}},[e._v("删除")])]},proxy:!0}],null,!0)},[r("a-list-item-meta",[r("span",{staticClass:"inline-block font-bold title",attrs:{slot:"title"},slot:"title"},[r("a-icon",{staticClass:"cursor-move mover mr-1",attrs:{type:"bars"}}),e._v(" "+e._s(t.name)+e._s(t.hasPassword?"(加密)":"")+" ")],1),r("span",{staticClass:"inline-block",attrs:{slot:"description"},slot:"description"},[r("a",{staticClass:"ant-anchor-link-title",attrs:{href:t.fullPath,target:"_blank"}},[e._v(" "+e._s(t.fullPath)+" ")])])])],1),r("div",{staticClass:"a-list-nested",staticStyle:{"margin-left":"44px"}},[r("CategoryTreeNode",{attrs:{list:t.children},on:{edit:e.handleEdit,reload:function(t){return e.$emit("reload")},select:e.handleSelect}})],1)],1)})),0)],1)],1)},u=[],m=(r(21082),r(77513)),p=r.n(m),f=r(62210),g={name:"CategoryTreeNode",components:{draggable:p()},props:{value:{required:!1,type:Array,default:null},list:{required:!1,type:Array,default:null}},computed:{realValue:function(){return this.value?this.value:this.list}},data:function(){return{isDragging:!1}},methods:{emitter:function(e){this.$emit("input",e)},handleDelete:function(e){var t=this;t.$confirm({title:"提示",content:"确定要删除名为".concat(e.name,"的分类?"),onOk:function(){return(0,l.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,f.Z.category["delete"](e.id);case 3:t.$emit("reload"),r.next=9;break;case 6:r.prev=6,r.t0=r["catch"](0),t.$log.error("Fail to delete category",r.t0);case 9:case"end":return r.stop()}}),r,null,[[0,6]])})))()}})},handleEdit:function(e){this.$emit("edit",e)},handleSelect:function(e){this.$emit("select",e)}}},h=g,v=r(42177),y=(0,v.Z)(h,d,u,!1,null,"93ae2cf2",null),b=y.exports,x=r(64647),k={components:{PageView:s.B4,CategorySelectTree:c.Z,CategoryTreeNode:b},mixins:[x.jB,x.KT],data:function(){return{list:{data:[],treeData:[],loading:!1},form:{model:{},saving:!1,errored:!1,rules:{name:[{required:!0,message:"* 分类名称不能为空",trigger:["change"]},{max:255,message:"* 分类名称的字符长度不能超过 255",trigger:["change"]}],slug:[{max:255,message:"* 分类别名的字符长度不能超过 255",trigger:["change"]}],thumbnail:[{max:1023,message:"* 封面图链接的字符长度不能超过 1023",trigger:["change"]}],description:[{max:100,message:"* 分类描述的字符长度不能超过 100",trigger:["change"]}]}},formBatch:{saving:!1,errored:!1}}},computed:{title:function(){return this.isUpdateMode?"修改分类":"添加分类"},isUpdateMode:function(){return!!this.form.model.id}},created:function(){this.handleListCategories()},methods:{handleListCategories:function(){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function t(){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.list.loading=!0,t.next=4,f.Z.category.list({});case 4:r=t.sent,a=r.data,e.list.data=a,e.list.treeData=e.convertDataToTree(a),t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.$log.error("Failed to get categories",t.t0);case 13:return t.prev=13,e.list.loading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[0,10,13,16]])})))()},convertDataToTree:function(e){var t={},r=[];return e.forEach((function(e){return t[e.id]=(0,i.Z)((0,i.Z)({},e),{},{children:[]})})),e.forEach((function(e){var a=t[e.id],n=t[e.parentId];a.password&&(a.hasPassword=!0),n&&(n.password||n.hasPassword)&&(a.hasPassword=!0),e.parentId?t[e.parentId].children.push(a):r.push(a)})),r},handleEdit:function(e){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function r(){var a,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,f.Z.category.get(e.id);case 3:a=r.sent,n=a.data,t.$refs.categoryForm.clearValidate(),t.form.model=n,t.$refs.nameInput.focus(),r.next=13;break;case 10:r.prev=10,r.t0=r["catch"](0),t.$log.error("Failed to get category",r.t0);case 13:case"end":return r.stop()}}),r,null,[[0,10]])})))()},handleSelect:function(e){this.form.model={parentId:e.id},this.$refs.nameInput.focus()},handleCreateOrUpdateCategory:function(){var e=this,t=this;t.$refs.categoryForm.validate((function(r){r&&(t.form.saving=!0,t.isUpdateMode?f.Z.category.update(t.form.model.id,t.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})):f.Z.category.create(e.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})))}))},handleUpdateBatch:function(){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function t(){var r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t&&0!==t.length?t.reduce((function(t,a,n){a.priority=n+1,a.parentId=r;var i=a.children.length>0?e(a.children,a.id):[];return[].concat((0,o.Z)(t),[a],(0,o.Z)(i))}),[]):[]},a=r(e.list.treeData),t.prev=2,e.formBatch.saving=!0,t.next=6,f.Z.category.updateInBatch(a);case 6:t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](2),e.formBatch.errored=!0,e.$log.error("Failed to update categories",t.t0);case 12:return t.prev=12,setTimeout((function(){e.formBatch.saving=!1,e.handleListCategories()}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[2,8,12,15]])})))()},handleSavedCallback:function(){if(this.form.errored)this.form.errored=!1;else{var e=this;e.form.model={},e.handleListCategories()}},handleQueryCategoryPosts:function(e){this.$router.push({name:"PostList",query:{categoryId:e.id}})}}},C=k,w=(0,v.Z)(C,a,n,!1,null,null,null),I=w.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/565.f508d59d.js b/src/main/resources/admin/js/565.f508d59d.js new file mode 100644 index 000000000..5ba79692d --- /dev/null +++ b/src/main/resources/admin/js/565.f508d59d.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[565],{9565:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container-wrapper animated fadeIn"},[e._m(0),s("div",{staticClass:"login-form"},[s("LoginForm",{on:{success:e.onLoginSucceed}}),e.resetPasswordButtonVisible?s("router-link",{staticClass:"tip",attrs:{to:{name:"ResetPassword"}}},[e._v(" 找回密码 ")]):e._e()],1)])},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"halo-logo"},[s("img",{attrs:{alt:"Halo Logo",src:"/images/logo.svg"}})])}],n=s(94524),i=s(98906),a=s(24130),u={components:{LoginForm:a.Z},data:function(){return{resetPasswordButtonVisible:!1}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterResetPasswordKeydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterResetPasswordKeydown)},methods:(0,n.Z)((0,n.Z)({},(0,i.nv)(["refreshUserCache","refreshOptionsCache"])),{},{onRegisterResetPasswordKeydown:function(e){72===e.keyCode&&(e.altKey||e.metaKey)&&e.shiftKey&&(e.preventDefault(),this.resetPasswordButtonVisible=!this.resetPasswordButtonVisible)},onLoginSucceed:function(){this.refreshUserCache(),this.refreshOptionsCache(),this.$route.query.redirect?this.$router.push(this.$route.query.redirect):this.$router.push({name:"Dashboard"})}})},c=u,d=s(42177),l=(0,d.Z)(c,o,r,!1,null,null,null),h=l.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/589.96f0d21f.js b/src/main/resources/admin/js/589.96f0d21f.js new file mode 100644 index 000000000..e3302e14d --- /dev/null +++ b/src/main/resources/admin/js/589.96f0d21f.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[589],{45589:function(t,M,i){i.r(M),i.d(M,{default:function(){return I}});var e=function(){var t=this,M=t.$createElement,i=t._self._c||M;return i("a-row",{staticClass:"h-screen",attrs:{align:"middle",justify:"center",type:"flex"}},[i("a-col",{attrs:{lg:16,md:20,sm:20,xl:12,xs:23,xxl:8}},[i("div",{staticClass:"card-container animated fadeIn"},[i("a-card",{staticStyle:{"box-shadow":"rgba(99, 99, 99, 0.2) 0 2px 8px 0"},attrs:{bordered:!1}},[i("div",{staticClass:"halo-logo"},[i("img",{attrs:{alt:"Halo Logo",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAyMTQ0IDg3NyIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxuczpzZXJpZj0iaHR0cDovL3d3dy5zZXJpZi5jb20vIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjI7Ij48cGF0aCBkPSJNMTAyOC4xNiwzMzkuMzMxYzE0OC4yNDksM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NldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwMzU4MDtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJfTGluZWFyNiIgeDE9IjAiIHkxPSIwIiB4Mj0iMSIgeTI9IjAiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDUuNTE4NDhlLTE0LDg5OC41MDYsLTkwMS4yMzYsNS41MDE3NmUtMTQsMTYyLjQyMSwtMTIuMTMzNykiPjxzdG9wIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzBiODlmZjtzdG9wLW9wYWNpdHk6MSIvPjxzdG9wIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzAwNGViMjtzdG9wLW9wYWNpdHk6MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg=="}}),i("span",[t._v("安装向导")])]),i("a-alert",{attrs:{message:"欢迎使用 Halo,您正在安装的是 Halo "+t.VERSION+"。","show-icon":"",type:"success"}}),i("div",{staticClass:"mt-5 mb-5"},[i("a-radio-group",{model:{value:t.installationMode,callback:function(M){t.installationMode=M},expression:"installationMode"}},[i("a-radio-button",{attrs:{value:"new"}},[t._v(" 全新安装")]),i("a-radio-button",{attrs:{value:"import"}},[t._v(" 数据导入")])],1)],1),i("a-form-model",{directives:[{name:"show",rawName:"v-show",value:t.isInstallMode,expression:"isInstallMode"}],ref:"installationForm",staticClass:"installationForm animated fadeIn",attrs:{model:t.form.model,rules:t.form.rules,layout:"horizontal"}},[i("a-divider",{attrs:{dashed:"",orientation:"left"}},[t._v(" 管理员信息")]),i("a-form-model-item",{attrs:{prop:"username"}},[i("a-input",{attrs:{placeholder:"用户名"},model:{value:t.form.model.username,callback:function(M){t.$set(t.form.model,"username",M)},expression:"form.model.username"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"username"}},[i("a-input",{attrs:{placeholder:"用户昵称"},model:{value:t.form.model.nickname,callback:function(M){t.$set(t.form.model,"nickname",M)},expression:"form.model.nickname"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"email"}},[i("a-input",{attrs:{placeholder:"用户邮箱"},model:{value:t.form.model.email,callback:function(M){t.$set(t.form.model,"email",M)},expression:"form.model.email"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"password"}},[i("a-input",{attrs:{placeholder:"登录密码(8-100位)",type:"password"},model:{value:t.form.model.password,callback:function(M){t.$set(t.form.model,"password",M)},expression:"form.model.password"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"confirmPassword"}},[i("a-input",{attrs:{placeholder:"确认登录密码",type:"password"},model:{value:t.form.model.confirmPassword,callback:function(M){t.$set(t.form.model,"confirmPassword",M)},expression:"form.model.confirmPassword"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),i("a-divider",{attrs:{dashed:"",orientation:"left"}},[t._v(" 站点信息")]),i("a-form-model-item",{attrs:{prop:"url"}},[i("a-input",{attrs:{placeholder:"博客地址"},model:{value:t.form.model.url,callback:function(M){t.$set(t.form.model,"url",M)},expression:"form.model.url"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"link"},slot:"prefix"})],1)],1),i("a-form-model-item",{attrs:{prop:"title"}},[i("a-input",{attrs:{placeholder:"博客标题"},model:{value:t.form.model.title,callback:function(M){t.$set(t.form.model,"title",M)},expression:"form.model.title"}},[i("a-icon",{staticStyle:{color:"rgba(0, 0, 0, 0.25)"},attrs:{slot:"prefix",type:"book"},slot:"prefix"})],1)],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:t.isImportMode,expression:"isImportMode"}],staticClass:"animated fadeIn"},[i("FilePondUpload",{ref:"upload",attrs:{accepts:["application/json"],multiple:!1,uploadHandler:t.onImportUpload,label:"拖拽或点击选择数据文件
请确认是否为 Halo 后台导出的文件。",name:"file"}})],1),i("div",{staticClass:"mt-8"},[t.isInstallMode?i("ReactiveButton",{attrs:{errored:t.form.installErrored,loading:t.form.installing,block:"",erroredText:"安装失败",icon:"check",loadedText:"安装成功",size:"large",text:"安装",type:"primary"},on:{callback:t.handleInstallCallback,click:t.handleInstall}}):t._e(),t.isImportMode?i("ReactiveButton",{attrs:{errored:t.form.importErrored,loading:t.form.importing,block:"",erroredText:"导入失败",icon:"import",loadedText:"导入成功",size:"large",text:"导入",type:"primary"},on:{callback:t.handleImportCallback,click:t.handleImport}}):t._e()],1)],1)],1)])],1)},s=[],l=i(94524),a=(i(87591),i(31875),i(30535),i(85018),i(62210)),o=i(98906),r={data:function(){var t=this,M=function(M,i,e){i!==t.form.model.password?e(new Error("确认密码与所输入的密码不一致")):e()};return{installationMode:"new",form:{model:{},rules:{username:[{required:!0,message:"* 用户名不能为空",trigger:["change"]},{max:50,message:"* 用户名的字符长度不能超过 50",trigger:["change"]}],nickname:[{required:!0,message:"* 用户昵称不能为空",trigger:["change"]},{max:255,message:"* 用户昵称的字符长度不能超过 255",trigger:["change"]}],email:[{required:!0,message:"* 电子邮件地址不能为空",trigger:["change"]},{max:127,message:"* 电子邮件地址的字符长度不能超过 127",trigger:["change"]},{pattern:/\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/g,message:"* 电子邮件地址的格式不正确",trigger:["change"]}],password:[{required:!0,message:"* 密码不能为空",trigger:["change"]},{min:8,max:100,message:"* 密码的字符长度必须在 8 - 100 之间",trigger:["change"]}],confirmPassword:[{required:!0,message:"* 确认密码不能为空",trigger:["change"]},{validator:M,trigger:["change"]}],url:[{required:!0,message:"* 博客地址不能为空",trigger:["change"]}],title:[{required:!0,message:"* 博客标题不能为空",trigger:["change"]}]},installing:!1,installErrored:!1,importing:!1,importErrored:!1,importData:null}}},beforeMount:function(){this.$set(this.form.model,"url",window.location.protocol+"//"+window.location.host)},computed:{isInstallMode:function(){return"new"===this.installationMode},isImportMode:function(){return"import"===this.installationMode}},methods:(0,l.Z)((0,l.Z)({},(0,o.nv)(["installCleanToken","fetchIsInstalled"])),{},{handleInstall:function(){var t=this;this.$refs.installationForm.validate((function(M){M&&(t.form.installing=!0,t.installCleanToken(t.form.model).then((function(M){t.$log.debug("Installation response",M)})).catch((function(){t.form.installErrored=!0})).finally((function(){setTimeout((function(){t.form.installing=!1}),400),t.fetchIsInstalled()})))}))},handleInstallCallback:function(){this.form.installErrored?this.form.installErrored=!1:(this.$message.success("安装成功!"),this.$router.push({name:"Login"}))},onImportUpload:function(t){var M=this;return this.$log.debug("Selected data",t),this.form.importData=t,new Promise((function(t){M.$log.debug("Handle uploading"),t()}))},handleImport:function(){var t=this;this.form.importData?(this.form.importing=!0,a.Z.migration.migrate(this.form.importData).then((function(){t.$log.debug("Migrated successfully")})).catch((function(){t.form.importErrored=!0})).finally((function(){setTimeout((function(){t.form.importing=!1}),400),t.fetchIsInstalled()}))):this.$message.warning("请先上传数据文件!")},handleImportCallback:function(){this.form.importErrored?this.form.importErrored=!1:(this.$message.success("导入成功!"),this.$router.replace({name:"Login"}))}})},L=r,j=i(42177),N=(0,j.Z)(L,e,s,!1,null,"6a3000be",null),I=N.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/591.b599db4a.js b/src/main/resources/admin/js/591.b599db4a.js new file mode 100644 index 000000000..a881ac89c --- /dev/null +++ b/src/main/resources/admin/js/591.b599db4a.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[591],{26591:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-row",{attrs:{gutter:0}},[a("a-col",{staticClass:"h-screen",staticStyle:{"border-right":"1px solid #f2f2f2"},attrs:{md:5,sm:24}},[a("a-spin",{staticClass:"h-full",attrs:{spinning:e.theme.loading}},[a("ThemeSettingForm",{attrs:{theme:e.theme.data,wrapperCol:{span:24}},on:{saved:e.onSettingsSaved},scopedSlots:e._u([{key:"descriptions-item",fn:function(){return[a("a-descriptions-item",[a("a-button",{on:{click:function(t){return e.handleRouteToThemeSetting()}}},[e._v("返回")])],1)]},proxy:!0}])})],1)],1),a("a-col",{staticClass:"h-screen",attrs:{md:19,sm:24}},[a("iframe",{attrs:{id:"themeViewIframe",src:e.options.blog_url,frameborder:"0",height:"100%",scrolling:"auto",width:"100%"}})])],1)},r=[],s=a(29230),i=a(94524),o=(a(70315),a(2823)),l=a(62210),m=a(98906),u={name:"ThemeVisualSetting",components:{ThemeSettingForm:o.Z},data:function(){return{theme:{data:{},loading:!1}}},computed:(0,i.Z)({},(0,m.Se)(["options"])),beforeRouteEnter:function(e,t,a){var n=e.query.themeId;a(function(){var e=(0,s.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.handleGetTheme(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},methods:{handleGetTheme:function(e){var t=this;return(0,s.Z)(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,t.theme.loading=!0,a.next=4,l.Z.theme.get(e);case 4:n=a.sent,r=n.data,t.theme.data=r;case 7:return a.prev=7,t.theme.loading=!1,a.finish(7);case 10:case"end":return a.stop()}}),a,null,[[0,,7,10]])})))()},handleRouteToThemeSetting:function(){this.$router.push({name:"ThemeSetting",query:{themeId:this.theme.id}})},onSettingsSaved:function(){document.getElementById("themeViewIframe").contentWindow.location.reload()}}},c=u,d=a(42177),f=(0,d.Z)(c,n,r,!1,null,"19de66d0",null),h=f.exports},2823:function(e,t,a){a.d(t,{Z:function(){return d}});var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.theme.id?a("div",{staticClass:"card-container h-full"},[a("a-tabs",{staticClass:"h-full",attrs:{defaultActiveKey:"0",type:"card"}},[a("a-tab-pane",{key:0,attrs:{tab:"关于"}},[e.theme.logo?a("div",[a("a-avatar",{attrs:{alt:e.theme.name,size:72,src:e.theme.logo,shape:"square"}}),a("a-divider")],1):e._e(),a("a-descriptions",{attrs:{column:1,layout:"horizontal"}},[a("a-descriptions-item",{attrs:{label:"作者"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.author.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.author.name)+" ")])]),a("a-descriptions-item",{attrs:{label:"介绍"}},[e._v(" "+e._s(e.theme.description||"-")+" ")]),a("a-descriptions-item",{attrs:{label:"官网"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.website||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.website||"-")+" ")])]),a("a-descriptions-item",{attrs:{label:"Git 仓库"}},[a("a",{staticClass:"text-inherit",attrs:{href:e.theme.repo||"#",target:"_blank"}},[e._v(" "+e._s(e.theme.repo||"-")+" ")])]),a("a-descriptions-item",{attrs:{label:"主题标识"}},[e._v(" "+e._s(e.theme.id)+" ")]),a("a-descriptions-item",{attrs:{label:"当前版本"}},[e._v(" "+e._s(e.theme.version)+" ")]),a("a-descriptions-item",{attrs:{label:"存储位置"}},[e._v(" "+e._s(e.theme.themePath)+" ")]),e._t("descriptions-item")],2)],1),e._l(e.form.configurations,(function(t,n){return a("a-tab-pane",{key:n+1,attrs:{tab:t.label}},[a("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[e._l(t.items,(function(t,n){return a("a-form-item",{key:n,attrs:{label:t.label+":"}},[t.description&&""!==t.description?a("p",{attrs:{slot:"help"},domProps:{innerHTML:e._s(t.description)},slot:"help"}):e._e(),"TEXT"===t.type?a("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"TEXTAREA"===t.type?a("a-input",{attrs:{autoSize:{minRows:5},placeholder:t.placeholder,type:"textarea"},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"RADIO"===t.type?a("a-radio-group",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t,n){return a("a-radio",{key:n,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"SELECT"===t.type?a("a-select",{attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}},e._l(t.options,(function(t){return a("a-select-option",{key:t.value,attrs:{value:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1):"COLOR"===t.type?a("verte",{staticStyle:{display:"inline-block",height:"24px"},attrs:{defaultValue:t.defaultValue,model:"hex",picker:"square"},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"ATTACHMENT"===t.type?a("AttachmentInput",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"NUMBER"===t.type?a("a-input-number",{staticStyle:{width:"100%"},attrs:{defaultValue:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):"SWITCH"===t.type?a("a-switch",{attrs:{defaultChecked:t.defaultValue},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}}):a("a-input",{attrs:{defaultValue:t.defaultValue,placeholder:t.placeholder},model:{value:e.form.settings[t.name],callback:function(a){e.$set(e.form.settings,t.name,a)},expression:"form.settings[item.name]"}})],1)})),a("a-form-item",[a("ReactiveButton",{attrs:{errored:e.form.saveErrored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSaveSettingsCallback,click:e.handleSaveSettings}})],1)],2)],1)}))],2)],1):e._e()},r=[],s=a(29230),i=(a(70315),a(43154)),o=a(62210),l={name:"ThemeSettingForm",components:{Verte:i.Z},props:{theme:{type:Object,default:function(){}},wrapperCol:{type:Object,default:function(){return{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}}}}},data:function(){return{form:{settings:[],configurations:[],loading:!1,saving:!1,saveErrored:!1}}},watch:{theme:function(e){e&&this.handleGetConfigurations()}},methods:{handleGetConfigurations:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.Z.theme.listConfigurations(e.theme.id);case 3:return a=t.sent,n=a.data,e.form.configurations=n,t.next=8,e.handleGetSettings();case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.$log.error(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},handleGetSettings:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.Z.theme.listSettings(e.theme.id);case 3:a=t.sent,n=a.data,e.form.settings=n,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.$log.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},handleSaveSettings:function(){var e=this;return(0,s.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.form.saving=!0,t.next=4,o.Z.theme.saveSettings(e.theme.id,e.form.settings);case 4:t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.$log.error(t.t0),e.form.saveErrored=!0;case 10:return t.prev=10,setTimeout((function(){e.form.saving=!1}),400),t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[0,6,10,13]])})))()},handleSaveSettingsCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:(this.handleGetSettings(),this.$emit("saved"))}}},m=l,u=a(42177),c=(0,u.Z)(m,n,r,!1,null,null,null),d=c.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/614.877d4a6f.js b/src/main/resources/admin/js/609.f195da4f.js similarity index 97% rename from src/main/resources/admin/js/614.877d4a6f.js rename to src/main/resources/admin/js/609.f195da4f.js index 2f788d6d1..0cf2f6b19 100644 --- a/src/main/resources/admin/js/614.877d4a6f.js +++ b/src/main/resources/admin/js/609.f195da4f.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[614],{75614:function(t,e,a){a.r(e),a.d(e,{default:function(){return g}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-row",{attrs:{gutter:12,align:"middle",type:"flex"}},[a("a-col",{staticClass:"pb-3",attrs:{span:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline"}},[a("a-row",{attrs:{gutter:48}},[a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"关键词:"}},[a("a-input",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery()}},model:{value:t.list.params.keyword,callback:function(e){t.$set(t.list.params,"keyword",e)},expression:"list.params.keyword"}})],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"存储位置:"}},[a("a-select",{attrs:{loading:t.types.loading,allowClear:""},on:{change:function(e){return t.handleQuery()}},model:{value:t.list.params.attachmentType,callback:function(e){t.$set(t.list.params,"attachmentType",e)},expression:"list.params.attachmentType"}},t._l(t.types.data,(function(e){return a("a-select-option",{key:e,attrs:{value:e}},[t._v(" "+t._s(t._f("typeText")(e))+" ")])})),1)],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"文件类型:"}},[a("a-select",{attrs:{loading:t.mediaTypes.loading,allowClear:""},on:{change:function(e){return t.handleQuery()}},model:{value:t.list.params.mediaType,callback:function(e){t.$set(t.list.params,"mediaType",e)},expression:"list.params.mediaType"}},t._l(t.mediaTypes.data,(function(e,n){return a("a-select-option",{key:n,attrs:{value:e}},[t._v(t._s(e)+" ")])})),1)],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("span",{staticClass:"table-page-search-submitButtons"},[a("a-space",[a("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleQuery()}}},[t._v("查询")]),a("a-button",{on:{click:function(e){return t.handleResetParam()}}},[t._v("重置")])],1)],1)])],1)],1)],1),a("div",{staticClass:"mb-0 table-operator"},[a("a-button",{attrs:{icon:"cloud-upload",type:"primary"},on:{click:function(e){t.upload.visible=!0}}},[t._v("上传")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:t.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"check-circle",type:"primary"},on:{click:t.handleSelectAll}},[t._v(" 全选 ")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:t.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"delete",type:"danger"},on:{click:t.handleDeleteAttachmentInBatch}},[t._v(" 删除 ")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:t.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"close"},on:{click:function(e){t.list.selected=[]}}},[t._v(" 取消")])],1)])],1),a("a-col",{attrs:{span:24}},[a("a-list",{staticClass:"attachments-group",attrs:{dataSource:t.list.data,grid:{gutter:6,xs:2,sm:2,md:4,lg:6,xl:6,xxl:6},loading:t.list.loading},scopedSlots:t._u([{key:"renderItem",fn:function(e,n){return[a("a-list-item",{key:n,on:{click:function(a){return t.handleItemClick(e)},mouseenter:function(a){return t.$set(e,"hover",!0)},mouseleave:function(a){return t.$set(e,"hover",!1)},contextmenu:function(a){return a.preventDefault(),t.handleContextMenu(a,e)}}},[a("div",{staticClass:"border border-solid",class:t.isItemSelect(e)?"border-blue-600":"border-slate-200"},[a("div",{staticClass:"attach-thumb attachments-group-item"},[t.isImage(e)?a("span",{staticClass:"attachments-group-item-img",style:{backgroundImage:"url('"+encodeURI(e.thumbPath)+"')"},attrs:{loading:"lazy"}}):a("span",{staticClass:"attachments-group-item-type"},[t._v(t._s(e.suffix))])]),a("a-card-meta",{staticClass:"p-2 cursor-pointer",scopedSlots:t._u([{key:"description",fn:function(){return[a("a-tooltip",{attrs:{title:e.name}},[a("div",{staticClass:"truncate"},[t._v(t._s(e.name))])])]},proxy:!0}],null,!0)}),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:!t.isItemSelect(e)&&e.hover,expression:"!isItemSelect(item) && item.hover"}],staticClass:"absolute top-1 right-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px",color:"rgb(37 99 235)"},attrs:{theme:"twoTone",type:"plus-circle"},on:{click:function(a){return a.stopPropagation(),t.handleSelect(e)}}}),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:t.isItemSelect(e),expression:"isItemSelect(item)"}],staticClass:"absolute top-1 right-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px",color:"rgb(37 99 235)"},attrs:{theme:"twoTone",type:"check-circle"}}),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:e.hover&&t.list.selected.length>0,expression:"item.hover && list.selected.length > 0"}],staticClass:"absolute top-1 left-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px"},attrs:{theme:"twoTone",type:"profile"},on:{click:function(a){return a.stopPropagation(),t.handleOpenDetail(e)}}})],1)])]}}])})],1)],1),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["18","36","54","72","90","108"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1),a("AttachmentUploadModal",{attrs:{visible:t.upload.visible},on:{"update:visible":function(e){return t.$set(t.upload,"visible",e)},close:t.onUploadClose}}),a("AttachmentDetailModal",{attrs:{addToPhoto:!0,attachment:t.list.current,visible:t.detailVisible},on:{"update:visible":function(e){t.detailVisible=e},delete:function(e){return t.handleListAttachments()}},scopedSlots:t._u([{key:"extraFooter",fn:function(){return[a("a-button",{attrs:{disabled:t.selectPreviousButtonDisabled},on:{click:t.handleSelectPrevious}},[t._v("上一项")]),a("a-button",{attrs:{disabled:t.selectNextButtonDisabled},on:{click:t.handleSelectNext}},[t._v("下一项")])]},proxy:!0}])})],1)},s=[],i=a(75725),r=a(47458),l=(a(70315),a(3662),a(15928),a(41479),a(90195),a(31875),a(21082),a(82395),a(91411)),o=a(27474),c=a(17132),u=a(94671),d={components:{PageView:o.B4},mixins:[l.jB,l.KT],filters:{typeText:function(t){return u.k[t].text}},data:function(){return{list:{data:[],loading:!1,total:0,hasNext:!1,hasPrevious:!1,params:{page:0,size:18,keyword:void 0,mediaType:void 0,attachmentType:void 0},selected:[],current:{}},mediaTypes:{data:[],loading:!1},types:{data:[],loading:!1},upload:{visible:!1},detailVisible:!1}},computed:{isImage:function(){return function(t){return!(!t||!t.mediaType)&&t.mediaType.startsWith("image")}},isItemSelect:function(){return function(t){return this.list.selected.findIndex((function(e){return e.id===t.id}))>-1}},pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},selectPreviousButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.current.id}));return 0===e&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.current.id}));return e===this.list.data.length-1&&!this.list.hasNext}},created:function(){this.handleListAttachments(),this.handleListMediaTypes(),this.handleListTypes()},methods:{handleListAttachments:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,c.Z.attachment.list(t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,t.list.hasNext=a.data.hasNext,t.list.hasPrevious=a.data.hasPrevious,e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),t.$log.error(e.t0);case 14:return e.prev=14,t.list.loading=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})))()},handleListMediaTypes:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.mediaTypes.loading=!0,e.next=4,c.Z.attachment.listMediaTypes();case 4:a=e.sent,t.mediaTypes.data=a.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.mediaTypes.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleListTypes:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.types.loading=!0,e.next=4,c.Z.attachment.listTypes();case 4:a=e.sent,t.types.data=a.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.types.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleOpenDetail:function(t){this.list.current=t,this.detailVisible=!0},handleItemClick:function(t){this.list.selected.length<=0?this.handleOpenDetail(t):this.isItemSelect(t)?this.handleUnselect(t):this.handleSelect(t)},handleSelect:function(t){this.list.selected=[].concat((0,i.Z)(this.list.selected),[t])},handleUnselect:function(t){this.list.selected=this.list.selected.filter((function(e){return e.id!==t.id}))},handleSelectAll:function(){this.list.selected=this.list.data},handleContextMenu:function(t,e){var a=this;return this.$contextmenu({items:[{label:"复制".concat(this.isImage(e)?"图片":"文件","链接"),onClick:function(){var t="".concat(encodeURI(e.path));a.$copyText(t).then((function(t){a.$log.debug("copy",t),a.$message.success("复制成功!")})).catch((function(t){a.$log.debug("copy.err",t),a.$message.error("复制失败!")}))},divided:!0},{disabled:!this.isImage(e),label:"复制 Markdown 格式链接",onClick:function(){var t="![".concat(e.name,"](").concat(encodeURI(e.path),")");a.$copyText(t).then((function(t){a.$log.debug("copy",t),a.$message.success("复制成功!")})).catch((function(t){a.$log.debug("copy.err",t),a.$message.error("复制失败!")}))},divided:!0},{label:"删除",onClick:function(){a.$confirm({title:"提示",content:"确定删除该附件?",okText:"确定",cancelText:"取消",onOk:function(){var t=(0,r.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c.Z.attachment["delete"](e.id);case 2:return t.next=4,a.handleListAttachments();case 4:a.handleUnselect(e);case 5:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})}}],event:t,minWidth:210}),!1},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListAttachments()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListAttachments()},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.mediaType=void 0,this.list.params.attachmentType=void 0,this.handlePageChange(),this.handleListMediaTypes(),this.handleListTypes()},handleQuery:function(){this.handlePageChange()},onUploadClose:function(){this.handlePageChange(),this.handleListMediaTypes(),this.handleListTypes()},handleDeleteAttachmentInBatch:function(){var t=this;this.list.selected.length<=0?this.$message.warn("你还未选择任何附件,请至少选择一个!"):this.$confirm({title:"确定要批量删除选中的附件吗?",content:"一旦删除不可恢复,请谨慎操作",onOk:function(){return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,a=t.list.selected.map((function(t){return t.id})),e.next=4,c.Z.attachment.deleteInBatch(a);case 4:t.list.selected=[],t.$message.success("删除成功"),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error("Failed to delete selected attachments",e.t0);case 11:return e.prev=11,e.next=14,t.handleListAttachments();case 14:return e.finish(11);case 15:case"end":return e.stop()}}),e,null,[[0,8,11,15]])})))()}})},handleSelectPrevious:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.current.id})),!(a>0)){e.next=4;break}return t.list.current=t.list.data[a-1],e.abrupt("return");case 4:if(0!==a||!t.list.hasPrevious){e.next=9;break}return t.list.params.page--,e.next=8,t.handleListAttachments();case 8:t.list.current=t.list.data[t.list.data.length-1];case 9:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.current.id})),!(a0,expression:"item.hover && list.selected.length > 0"}],staticClass:"absolute top-1 left-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px"},attrs:{theme:"twoTone",type:"profile"},on:{click:function(a){return a.stopPropagation(),t.handleOpenDetail(e)}}})],1)])]}}])})],1)],1),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["18","36","54","72","90","108"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1),a("AttachmentUploadModal",{attrs:{visible:t.upload.visible},on:{"update:visible":function(e){return t.$set(t.upload,"visible",e)},close:t.onUploadClose}}),a("AttachmentDetailModal",{attrs:{addToPhoto:!0,attachment:t.list.current,visible:t.detailVisible},on:{"update:visible":function(e){t.detailVisible=e},delete:function(e){return t.handleListAttachments()}},scopedSlots:t._u([{key:"extraFooter",fn:function(){return[a("a-button",{attrs:{disabled:t.selectPreviousButtonDisabled},on:{click:t.handleSelectPrevious}},[t._v("上一项")]),a("a-button",{attrs:{disabled:t.selectNextButtonDisabled},on:{click:t.handleSelectNext}},[t._v("下一项")])]},proxy:!0}])})],1)},s=[],i=a(34616),r=a(29230),l=(a(70315),a(3662),a(15928),a(41479),a(90195),a(31875),a(21082),a(82395),a(64647)),o=a(22401),c=a(62210),u=a(34069),d={components:{PageView:o.B4},mixins:[l.jB,l.KT],filters:{typeText:function(t){return u.k[t].text}},data:function(){return{list:{data:[],loading:!1,total:0,hasNext:!1,hasPrevious:!1,params:{page:0,size:18,keyword:void 0,mediaType:void 0,attachmentType:void 0},selected:[],current:{}},mediaTypes:{data:[],loading:!1},types:{data:[],loading:!1},upload:{visible:!1},detailVisible:!1}},computed:{isImage:function(){return function(t){return!(!t||!t.mediaType)&&t.mediaType.startsWith("image")}},isItemSelect:function(){return function(t){return this.list.selected.findIndex((function(e){return e.id===t.id}))>-1}},pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},selectPreviousButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.current.id}));return 0===e&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.current.id}));return e===this.list.data.length-1&&!this.list.hasNext}},created:function(){this.handleListAttachments(),this.handleListMediaTypes(),this.handleListTypes()},methods:{handleListAttachments:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,c.Z.attachment.list(t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,t.list.hasNext=a.data.hasNext,t.list.hasPrevious=a.data.hasPrevious,e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),t.$log.error(e.t0);case 14:return e.prev=14,t.list.loading=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})))()},handleListMediaTypes:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.mediaTypes.loading=!0,e.next=4,c.Z.attachment.listMediaTypes();case 4:a=e.sent,t.mediaTypes.data=a.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.mediaTypes.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleListTypes:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.types.loading=!0,e.next=4,c.Z.attachment.listTypes();case 4:a=e.sent,t.types.data=a.data,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.types.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},handleOpenDetail:function(t){this.list.current=t,this.detailVisible=!0},handleItemClick:function(t){this.list.selected.length<=0?this.handleOpenDetail(t):this.isItemSelect(t)?this.handleUnselect(t):this.handleSelect(t)},handleSelect:function(t){this.list.selected=[].concat((0,i.Z)(this.list.selected),[t])},handleUnselect:function(t){this.list.selected=this.list.selected.filter((function(e){return e.id!==t.id}))},handleSelectAll:function(){this.list.selected=this.list.data},handleContextMenu:function(t,e){var a=this;return this.$contextmenu({items:[{label:"复制".concat(this.isImage(e)?"图片":"文件","链接"),onClick:function(){var t="".concat(encodeURI(e.path));a.$copyText(t).then((function(t){a.$log.debug("copy",t),a.$message.success("复制成功!")})).catch((function(t){a.$log.debug("copy.err",t),a.$message.error("复制失败!")}))},divided:!0},{disabled:!this.isImage(e),label:"复制 Markdown 格式链接",onClick:function(){var t="![".concat(e.name,"](").concat(encodeURI(e.path),")");a.$copyText(t).then((function(t){a.$log.debug("copy",t),a.$message.success("复制成功!")})).catch((function(t){a.$log.debug("copy.err",t),a.$message.error("复制失败!")}))},divided:!0},{label:"删除",onClick:function(){a.$confirm({title:"提示",content:"确定删除该附件?",okText:"确定",cancelText:"取消",onOk:function(){var t=(0,r.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c.Z.attachment["delete"](e.id);case 2:return t.next=4,a.handleListAttachments();case 4:a.handleUnselect(e);case 5:case"end":return t.stop()}}),t)})));function n(){return t.apply(this,arguments)}return n}()})}}],event:t,minWidth:210}),!1},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListAttachments()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListAttachments()},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.mediaType=void 0,this.list.params.attachmentType=void 0,this.handlePageChange(),this.handleListMediaTypes(),this.handleListTypes()},handleQuery:function(){this.handlePageChange()},onUploadClose:function(){this.handlePageChange(),this.handleListMediaTypes(),this.handleListTypes()},handleDeleteAttachmentInBatch:function(){var t=this;this.list.selected.length<=0?this.$message.warn("你还未选择任何附件,请至少选择一个!"):this.$confirm({title:"确定要批量删除选中的附件吗?",content:"一旦删除不可恢复,请谨慎操作",onOk:function(){return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,a=t.list.selected.map((function(t){return t.id})),e.next=4,c.Z.attachment.deleteInBatch(a);case 4:t.list.selected=[],t.$message.success("删除成功"),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error("Failed to delete selected attachments",e.t0);case 11:return e.prev=11,e.next=14,t.handleListAttachments();case 14:return e.finish(11);case 15:case"end":return e.stop()}}),e,null,[[0,8,11,15]])})))()}})},handleSelectPrevious:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.current.id})),!(a>0)){e.next=4;break}return t.list.current=t.list.data[a-1],e.abrupt("return");case 4:if(0!==a||!t.list.hasPrevious){e.next=9;break}return t.list.params.page--,e.next=8,t.handleListAttachments();case 8:t.list.current=t.list.data[t.list.data.length-1];case 9:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,r.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.list.data.findIndex((function(e){return e.id===t.list.current.id})),!(a0)e[n]=e[--n];n!==r++&&(e[n]=a)}return e},l=function(e,t,a,n){var i=t.length,r=a.length,s=0,l=0;while(s3)){if(h)return!0;if(p)return p<603;var e,t,a,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0;n<47;n++)g.push({k:t+n,v:a})}for(g.sort((function(e,t){return t.v-e.v})),n=0;no(a)?1:-1}};n({target:"Array",proto:!0,forced:M},{sort:function(e){void 0!==e&&r(e);var t=s(this);if(C)return void 0===e?v(t):v(t,e);var a,n,i=[],o=l(t);for(n=0;ng)throw h(v);for(i=u(k,n),m=0;my-n+a;m--)delete k[m-1]}else if(a>n)for(m=y-n;m>x;m--)d=m+n-1,b=m+a-1,d in k?k[b]=k[d]:delete k[b];for(m=0;m0?a("a-menu",{staticClass:"w-full",attrs:{mode:"inline"},on:{select:e.handleSelectedTeam},model:{value:e.selectedTeam,callback:function(t){e.selectedTeam=t},expression:"selectedTeam"}},e._l(e.teams.data,(function(t){return a("a-menu-item",{key:t},[e._v(" "+e._s(""===t?"未分组":t)+e._s(e.defaultMenuTeam===t?"(默认)":"")+" ")])})),1):e._e()],1)],1),a("a-popover",{attrs:{destroyTooltipOnHide:"",placement:"bottom",title:"新增分组",trigger:"click"},on:{visibleChange:e.handleTeamFormVisibleChange},scopedSlots:e._u([{key:"content",fn:function(){return[a("a-form-model",{ref:"teamForm",attrs:{model:e.teams.form.model,rules:e.teams.form.rules},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleCreateTeam.apply(null,arguments)}}},[a("a-form-model-item",{attrs:{prop:"team"}},[a("a-input",{attrs:{autoFocus:""},model:{value:e.teams.form.model.team,callback:function(t){e.$set(e.teams.form.model,"team",t)},expression:"teams.form.model.team"}})],1),a("a-form-model-item",{staticStyle:{"margin-bottom":"0"}},[a("a-button",{attrs:{type:"primary"},on:{click:e.handleCreateTeam}},[e._v(" 新增")])],1)],1)]},proxy:!0}]),model:{value:e.teams.form.visible,callback:function(t){e.$set(e.teams.form,"visible",t)},expression:"teams.form.visible"}},[a("a-button",{staticClass:"mt-3",attrs:{block:"",type:"primary"}},[e._v(" 新增分组")])],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:18,md:18,sm:24,xl:18,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(" "+e._s(e.menuListTitle)+" "),e.list.data.length<=0&&!e.list.loading?a("a-tooltip",{attrs:{slot:"action",title:"分组下的菜单为空时,该分组也不会保存"},slot:"action"},[a("a-icon",{staticClass:"cursor-pointer",attrs:{type:"info-circle-o"}})],1):e._e()]},proxy:!0},{key:"extra",fn:function(){return[a("a-space",[a("ReactiveButton",{attrs:{disabled:e.list.data.length<=0,errored:e.formBatch.errored,loading:e.formBatch.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存"},on:{callback:function(t){e.formBatch.errored=!1},click:e.handleUpdateBatch}}),e.form.visible?a("a-button",{attrs:{type:"default"},on:{click:function(t){return e.handleCloseCreateMenuForm()}}},[e._v(" 取消新增")]):a("a-button",{attrs:{ghost:"",type:"primary"},on:{click:function(t){return e.handleOpenCreateMenuForm()}}},[e._v(" 新增")]),a("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:e._u([{key:"overlay",fn:function(){return[a("a-menu",[a("a-menu-item",{on:{click:function(t){e.menuInternalLinkSelector.visible=!0}}},[e._v(" 从系统预设链接添加")]),a("a-menu-item",{on:{click:e.handleOpenUpdateTeamForm}},[e._v(" 重命名分组")]),a("a-menu-item",{on:{click:e.handleDeleteBatch}},[e._v(" 删除当前组")])],1)]},proxy:!0}])},[a("a-button",[e._v(" 其他 "),a("a-icon",{attrs:{type:"down"}})],1)],1)],1)]},proxy:!0}])},[a("a-spin",{attrs:{spinning:e.list.loading}},[e.form.visible?a("MenuForm",{attrs:{menu:e.form.model},on:{cancel:function(t){return e.handleCloseCreateMenuForm()},succeed:function(t){return e.handleCreateMenuSucceed()}}}):e._e(),0!==e.list.data.length||e.list.loading||e.form.visible?e._e():a("a-empty"),a("MenuTreeNode",{attrs:{excludedTeams:e.excludedTeams},on:{reload:e.handleListMenus},model:{value:e.list.data,callback:function(t){e.$set(e.list,"data",t)},expression:"list.data"}})],1)],1)],1)],1),a("MenuInternalLinkSelector",{attrs:{team:e.teams.selected},on:{reload:e.handleListMenus},model:{value:e.menuInternalLinkSelector.visible,callback:function(t){e.$set(e.menuInternalLinkSelector,"visible",t)},expression:"menuInternalLinkSelector.visible"}}),a("a-modal",{attrs:{title:"重命名分组"},scopedSlots:e._u([{key:"footer",fn:function(){return[a("ReactiveButton",{attrs:{errored:e.updateTeamForm.saveErrored,loading:e.updateTeamForm.saving,erroredText:"更改失败",loadedText:"更改成功",text:"确定"},on:{callback:e.handleUpdateTeamInBatchCallback,click:e.handleUpdateTeamInBatch}}),a("a-button",{on:{click:function(t){e.updateTeamForm.visible=!1}}},[e._v("关闭")])]},proxy:!0}]),model:{value:e.updateTeamForm.visible,callback:function(t){e.$set(e.updateTeamForm,"visible",t)},expression:"updateTeamForm.visible"}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{label:"分组名称:"}},[a("a-input",{ref:"teamInput",staticStyle:{width:"100%"},attrs:{allowClear:""},model:{value:e.updateTeamForm.team,callback:function(t){e.$set(e.updateTeamForm,"team",t)},expression:"updateTeamForm.team"}})],1)],1)],1)],1)},i=[],r=a(47458),s=a(86475),l=(a(70315),a(82395),a(90195),a(31875),a(2923),a(18329),a(27474)),o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-list",{attrs:{"item-layout":"horizontal"}},[a("draggable",e._b({staticClass:"item-container",attrs:{list:e.list,value:e.value,handle:".mover",tag:"div"},on:{end:function(t){e.isDragging=!1},input:e.emitter,start:function(t){e.isDragging=!0}}},"draggable",e.dragOptions,!1),[a("transition-group",e._l(e.realValue,(function(t){return a("div",{key:t.id},[a("a-list-item",{staticClass:"menu-item"},[a("a-list-item-meta",[a("span",{staticClass:"inline-block font-bold title",attrs:{slot:"title"},slot:"title"},[a("a-icon",{staticClass:"cursor-pointer mover",attrs:{type:"bars"}}),e._v(" "+e._s(t.name)+" "),"_blank"===t.target?a("a-tooltip",{attrs:{title:"外部链接"}},[a("a-icon",{attrs:{type:"link"}})],1):e._e(),e._v(" "+e._s(t.formVisible?"(正在编辑)":"")+" ")],1),a("span",{staticClass:"inline-block",attrs:{slot:"description"},slot:"description"},[a("a",{staticClass:"ant-anchor-link-title",attrs:{href:t.url,target:"_blank"}},[e._v(" "+e._s(t.url)+" ")])])]),a("template",{slot:"actions"},[t.formVisible?a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleCloseCreateMenuForm(t)}}},[e._v("取消编辑")]):a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleOpenEditForm(t)}}},[e._v(" 编辑 ")])],1),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleDelete(t.id)}}},[e._v("删除")])],1),e.excludedTeams&&e.excludedTeams.length>0?a("template",{slot:"actions"},[a("a-dropdown",{attrs:{trigger:["click"]}},[a("a",{staticClass:"ant-dropdown-link",on:{click:function(e){return e.preventDefault()}}},[e._v(" 更多 "),a("a-icon",{attrs:{type:"down"}})],1),a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-sub-menu",{attrs:{title:"移动到分组"}},e._l(e.excludedTeams,(function(n,i){return a("a-menu-item",{key:i,on:{click:function(a){return e.handleMoveMenu(t,n)}}},[e._v(e._s(""===n?"未分组":n)+" ")])})),1)],1)],1)],1):e._e()],2),t.formVisible?a("MenuForm",{attrs:{menu:t},on:{cancel:function(a){return e.handleCloseCreateMenuForm(t)},succeed:function(a){return e.handleUpdateMenuSucceed(t)}}}):e._e(),a("div",{staticClass:"a-list-nested",staticStyle:{"margin-left":"44px"}},[a("MenuTreeNode",{attrs:{excludedTeams:e.excludedTeams,list:t.children},on:{reload:e.onReloadEmit}})],1)],1)})),0)],1)],1)},u=[],c=a(75725),m=(a(41479),a(77513)),d=a.n(m),h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("a-form-model",{ref:"menuForm",attrs:{model:e.menuModel,rules:e.form.rules,labelAlign:"left"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleCreateOrUpdateMenu.apply(null,arguments)}}},[a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 页面上所显示的名称",label:"名称",prop:"name"}},[a("a-input",{attrs:{autoFocus:""},model:{value:e.menuModel.name,callback:function(t){e.$set(e.menuModel,"name",t)},expression:"menuModel.name"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 菜单的地址",label:"地址",prop:"url"}},[a("a-input",{model:{value:e.menuModel.url,callback:function(t){e.$set(e.menuModel,"url",t)},expression:"menuModel.url"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 请根据主题的支持情况选填",label:"图标",prop:"icon"}},[a("a-input",{model:{value:e.menuModel.icon,callback:function(t){e.$set(e.menuModel,"icon",t)},expression:"menuModel.icon"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{label:"打开方式",prop:"target"}},[a("a-radio-group",{attrs:{options:e.targets},model:{value:e.menuModel.target,callback:function(t){e.$set(e.menuModel,"target",t)},expression:"menuModel.target"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{colon:!1,label:" "}},[a("a-space",[a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateMenu}}),a("a-button",{on:{click:e.handleCancel}},[e._v("取消")])],1)],1)],1)],1)],1)],1)},f=[],p=a(17132),g=[{value:"_self",label:"当前窗口"},{value:"_blank",label:"新窗口"}],v={name:"MenuForm",model:{prop:"menu",event:"input"},props:{menu:{type:Object,default:function(){return{}}}},computed:{menuModel:{get:function(){return this.menu},set:function(e){this.$emit("input",e)}},isUpdateMode:function(){return!!this.menuModel.id}},data:function(){return{targets:g,form:{rules:{name:[{required:!0,message:"* 菜单名称不能为空",trigger:["change"]},{max:50,message:"* 菜单名称的字符长度不能超过 50",trigger:["change"]}],url:[{required:!0,message:"* 菜单地址不能为空",trigger:["change"]},{max:1023,message:"* 菜单地址的字符长度不能超过 1023",trigger:["change"]}],icon:[{max:50,message:"* 菜单图标的字符长度不能超过 50",trigger:["change"]}]},saving:!1,errored:!1}}},methods:{handleCreateOrUpdateMenu:function(){var e=this;e.$refs.menuForm.validate((function(t){t&&(e.form.saving=!0,e.isUpdateMode?p.Z.menu.update(e.menuModel.id,e.menuModel).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})):p.Z.menu.create(e.menuModel).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})))}))},handleSavedCallback:function(){var e=this;e.form.errored?e.form.errored=!1:(e.menuModel={target:"_self"},e.$emit("succeed"))},handleCancel:function(){this.$emit("cancel")}}},b=v,k=a(42177),y=(0,k.Z)(b,h,f,!1,null,null,null),x=y.exports,C=a(13159),M={name:"MenuTreeNode",components:{draggable:d(),MenuForm:x},props:{value:{required:!1,type:Array,default:null},list:{required:!1,type:Array,default:null},excludedTeams:{required:!1,type:Array,default:null}},data:function(){return{isDragging:!1}},computed:{dragOptions:function(){return{animation:300,group:"description",ghostClass:"ghost",chosenClass:"chosen",dragClass:"drag",emptyInsertThreshold:20}},realValue:function(){return this.value?this.value:this.list}},methods:{emitter:function(e){this.$emit("input",e)},handleDelete:function(e){var t=this;t.$confirm({title:"提示",content:"确定要删除当前菜单?",onOk:function(){p.Z.menu["delete"](e).finally((function(){t.onReloadEmit()}))}})},handleOpenEditForm:function(e){this.$set(e,"formVisible",!0)},handleUpdateMenuSucceed:function(e){this.handleCloseCreateMenuForm(e)},handleCloseCreateMenuForm:function(e){this.$set(e,"formVisible",!1)},handleMoveMenu:function(e,t){var a=this;return(0,r.Z)(regeneratorRuntime.mark((function n(){var i,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=(0,C.I8)(e),i.team=t,i.parentId=0,i.priority=0,r=function e(a){return a&&0!==a.length?a.reduce((function(a,n){var i=n.children.length>0?e(n.children):[];return n.team=t,[].concat((0,c.Z)(a),[n],(0,c.Z)(i))}),[]):[]},s=[i].concat((0,c.Z)(r(i.children))),a.$log.debug("menu list as flat list:",s),n.prev=7,n.next=10,p.Z.menu.updateInBatch(s);case 10:a.$emit("reload"),n.next=16;break;case 13:n.prev=13,n.t0=n["catch"](7),a.$log.error("Fail to update menu in batch",n.t0);case 16:case"end":return n.stop()}}),n,null,[[7,13]])})))()},onReloadEmit:function(){this.$emit("reload")}}},T=M,_=(0,k.Z)(T,o,u,!1,null,"bf844320",null),F=_.exports,S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-modal",{attrs:{bodyStyle:{padding:"0 24px 24px"},width:1024,title:"从系统预设链接添加菜单"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("template",{slot:"footer"},[a("a-button",{on:{click:e.handleCancel}},[e._v(" 取消")]),a("ReactiveButton",{attrs:{disabled:e.menus&&e.menus.length<=0,errored:e.saveErrored,loading:e.saving,erroredText:"添加失败",loadedText:"添加成功",text:"添加"},on:{callback:e.handleCreateBatchCallback,click:e.handleCreateBatch}})],1),a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{span:12}},[a("a-spin",{attrs:{spinning:e.loading}},[a("div",{staticClass:"custom-tab-wrapper"},[a("a-tabs",{attrs:{animated:{inkBar:!0,tabPane:!1},"default-active-key":"1"}},[a("a-tab-pane",{key:"1",attrs:{"force-render":"",tab:"分类目录"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.categories,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"2",attrs:{tab:"标签"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.tags,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"3",attrs:{tab:"独立页面"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.sheet.independents,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.title}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"4",attrs:{tab:"自定义页面"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.sheet.customs.data,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.title}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:e.sheet.customs.pagination.page,defaultPageSize:e.sheet.customs.pagination.size,pageSizeOptions:["10","20","50","100"],total:e.sheet.customs.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:e.handleSheetPaginationChange,showSizeChange:e.handleSheetPaginationChange}})],1)],1),a("a-tab-pane",{key:"5",attrs:{tab:"其他"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.otherInternalLinks,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.url,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.url)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1)],1)],1)])],1),a("a-col",{attrs:{span:12}},[a("div",{staticClass:"custom-tab-wrapper"},[a("a-tabs",{attrs:{"default-active-key":"1"}},[a("a-tab-pane",{key:"1",attrs:{"force-render":"",tab:"备选"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.menus,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.url,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(t){return e.handleRemovePre(n)}}},[a("a-icon",{attrs:{type:"close-circle"}})],1)],1)],2)})),1)],1)],1)],1)])],1)],2)},w=[],I=(a(29888),a(45107),a(19003),a(55792),{name:"MenuInternalLinkSelector",props:{value:{type:Boolean,default:!1},team:{type:String,default:""}},data:function(){return{options:{},categories:[],tags:[],menus:[],sheet:{independents:[],customs:{data:[],pagination:{page:1,size:10,sort:null,total:1},queryParam:{page:0,size:10,sort:null}}},loading:!1,saving:!1,saveErrored:!1}},computed:{visible:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},otherInternalLinks:function(){var e=this.options,t=this.options.path_suffix?this.options.path_suffix:"";return[{name:"分类目录",url:"".concat(e.blog_url,"/").concat(e.categories_prefix).concat(t)},{name:"标签",url:"".concat(e.blog_url,"/").concat(e.tags_prefix).concat(t)},{name:"文章归档",url:"".concat(e.blog_url,"/").concat(e.archives_prefix).concat(t)},{name:"RSS",url:"".concat(e.blog_url,"/atom.xml")},{name:"网站地图",url:"".concat(e.blog_url,"/sitemap.xml")},{name:"网站地图",url:"".concat(e.blog_url,"/sitemap.html")}]}},watch:{visible:function(e){e&&(this.handleFetchAll(),this.handleListSheets())}},methods:{handleFetchAll:function(){var e=this;this.loading=!0,Promise.all([p.Z.option.listAsMapView(),p.Z.category.list({sort:[],more:!1}),p.Z.tag.list({more:!1}),p.Z.sheet.listIndependents()]).then((function(t){e.options=t[0].data,e.categories=t[1].data,e.tags=t[2].data,e.sheet.independents=t[3].data})).finally((function(){e.loading=!1}))},handleListSheets:function(){var e=this;this.sheet.customs.queryParam.page=this.sheet.customs.pagination.page-1,this.sheet.customs.queryParam.size=this.sheet.customs.pagination.size,this.sheet.customs.queryParam.sort=this.sheet.customs.pagination.sort,p.Z.sheet.list(this.sheet.customs.queryParam).then((function(t){e.sheet.customs.data=t.data.content,e.sheet.customs.pagination.total=t.data.total}))},handleSheetPaginationChange:function(e,t){this.sheet.customs.pagination.page=e,this.sheet.customs.pagination.size=t,this.handleListSheets()},handleInsertPre:function(e,t){this.menus.push({name:e,url:t,team:this.team})},handleRemovePre:function(e){this.menus.splice(e,1)},handleCancel:function(){this.menus=[],this.visible=!1,this.$emit("reload")},handleCreateBatch:function(){var e=this;this.saving=!0,p.Z.menu.createInBatch(this.menus).catch((function(){e.saveErrored=!1})).finally((function(){setTimeout((function(){e.saving=!1}),400)}))},handleCreateBatchCallback:function(){this.saveErrored?this.saveErrored=!1:this.handleCancel()}}}),L=I,B=(0,k.Z)(L,S,w,!1,null,null,null),$=B.exports,Z=a(98906),P={components:{PageView:l.B4,MenuTreeNode:F,MenuForm:x,MenuInternalLinkSelector:$},data:function(){return{list:{data:[],loading:!1},form:{visible:!1,model:{}},formBatch:{saving:!1,errored:!1},teams:{data:[],loading:!1,selected:null,form:{visible:!1,model:{team:null},rules:{team:[{required:!0,message:"分组名称不能为空",trigger:["change"]}]}},default:{saving:!1,errored:!1}},updateTeamForm:{team:void 0,visible:!1,saving:!1,saveErrored:!1},menuInternalLinkSelector:{visible:!1}}},computed:(0,s.Z)((0,s.Z)({},(0,Z.Se)(["options"])),{},{computedMenusMoved:function(){var e=(0,C.I8)(this.list.data);return this.handleMenuMoved(0,e)},computedMenusWithoutLevel:function(){return this.handleGetMenusWithoutLevel(this.computedMenusMoved,[])},computedMenuIds:function(){return this.computedMenusWithoutLevel.map((function(e){return e.id}))},selectedTeam:{get:function(){return[this.teams.selected]},set:function(e){this.teams.selected=e[0]}},menuListTitle:function(){return""===this.teams.selected?"未分组":this.teams.selected},excludedTeams:function(){var e=this;return this.teams.data.filter((function(t){return t!==e.teams.selected}))},defaultMenuTeam:function(){return this.options.default_menu_team?this.options.default_menu_team:""}}),created:function(){this.handleListTeams()},methods:(0,s.Z)((0,s.Z)({},(0,Z.nv)(["refreshOptionsCache"])),{},{handleListTeams:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.teams.loading=!0,p.Z.menu.listTeams().then((function(a){e.teams.data=a.data,e.teams.selected&&!t||(e.teams.selected=e.teams.data[0]),e.handleListMenus()})).finally((function(){e.teams.loading=!1}))},handleListMenus:function(){var e=this;this.list.data=[],this.list.loading=!0,p.Z.menu.listTreeViewByTeam(this.teams.selected).then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleMenuMoved:function(e,t){for(var a=0;a0&&this.handleMenuMoved(t[a].id,t[a].children);return t},handleGetMenusWithoutLevel:function(e,t){for(var a=0;a0&&this.handleGetMenusWithoutLevel(n,t)}return t},handleSelectedTeam:function(e){var t=e.key;this.teams.selected=t,this.handleCloseCreateMenuForm(),this.handleListMenus()},handleUpdateBatch:function(){var e=this;this.formBatch.saving=!0,p.Z.menu.updateInBatch(this.computedMenusWithoutLevel).catch((function(){e.formBatch.errored=!0})).finally((function(){setTimeout((function(){e.formBatch.saving=!1,e.handleListMenus()}),400)}))},handleDeleteBatch:function(){var e=this;e.$confirm({title:"提示",content:"确定要删除当前分组以及所有菜单?",onOk:function(){p.Z.menu.deleteInBatch(e.computedMenuIds).finally((function(){e.handleListTeams(!0)}))}})},handleTeamFormVisibleChange:function(e){e&&(this.teams.form.model.team=null)},handleCreateTeam:function(){var e=this;e.$refs.teamForm.validate((function(t){t&&(e.teams.data.includes(e.teams.form.model.team)||e.teams.data.push(e.teams.form.model.team),e.teams.selected=e.teams.form.model.team,e.teams.form.visible=!1,e.handleListMenus())}))},handleOpenCreateMenuForm:function(){this.form.visible=!0,this.form.model={team:this.teams.selected,target:"_self"}},handleCloseCreateMenuForm:function(){this.form.visible=!1,this.form.model={}},handleCreateMenuSucceed:function(){this.handleCloseCreateMenuForm(),this.handleListMenus()},handleSetDefaultTeam:function(){var e=this;this.teams.default.saving=!0,p.Z.option.saveMapView({default_menu_team:this.teams.selected}).catch((function(){e.teams.default.errored=!0})).finally((function(){setTimeout((function(){e.teams.default.saving=!1}),400)}))},handleSetDefaultTeamCallback:function(){this.teams.default.errored?this.teams.default.errored=!1:this.refreshOptionsCache()},handleOpenUpdateTeamForm:function(){var e=this;this.updateTeamForm.team=this.teams.selected,this.updateTeamForm.visible=!0,this.$nextTick((function(){e.$refs.teamInput.focus()}))},handleUpdateTeamInBatch:function(){var e=this;return(0,r.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.updateTeamForm.saving=!0,t.next=4,p.Z.menu.updateInBatch(e.computedMenusWithoutLevel.map((function(t){return(0,s.Z)((0,s.Z)({},t),{},{team:e.updateTeamForm.team})})));case 4:if(e.teams.selected!==e.defaultMenuTeam){t.next=9;break}return t.next=7,p.Z.option.saveMapView({default_menu_team:e.updateTeamForm.team});case 7:return t.next=9,e.refreshOptionsCache();case 9:e.teams.selected=e.updateTeamForm.team,t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](0),e.updateTeamForm.saveErrored=!0,e.$log.debug("Failed update menus team",t.t0);case 16:return t.prev=16,setTimeout((function(){e.updateTeamForm.saving=!1}),400),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[0,12,16,19]])})))()},handleUpdateTeamInBatchCallback:function(){this.updateTeamForm.saveErrored?this.updateTeamForm.saveErrored=!1:(this.handleListMenus(),this.handleListTeams(),this.updateTeamForm.visible=!1)}})},E=P,O=(0,k.Z)(E,n,i,!1,null,null,null),z=O.exports}}]); \ No newline at end of file +(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[627],{53303:function(e,t,a){var n=a(15820),i=Math.floor,r=function(e,t){var a=e.length,o=i(a/2);return a<8?s(e,t):l(e,r(n(e,0,o),t),r(n(e,o),t),t)},s=function(e,t){var a,n,i=e.length,r=1;while(r0)e[n]=e[--n];n!==r++&&(e[n]=a)}return e},l=function(e,t,a,n){var i=t.length,r=a.length,s=0,l=0;while(s3)){if(h)return!0;if(p)return p<603;var e,t,a,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0;n<47;n++)g.push({k:t+n,v:a})}for(g.sort((function(e,t){return t.v-e.v})),n=0;no(a)?1:-1}};n({target:"Array",proto:!0,forced:M},{sort:function(e){void 0!==e&&r(e);var t=s(this);if(C)return void 0===e?v(t):v(t,e);var a,n,i=[],o=l(t);for(n=0;ng)throw h(v);for(i=u(k,n),m=0;my-n+a;m--)delete k[m-1]}else if(a>n)for(m=y-n;m>x;m--)d=m+n-1,b=m+a-1,d in k?k[b]=k[d]:delete k[b];for(m=0;m0?a("a-menu",{staticClass:"w-full",attrs:{mode:"inline"},on:{select:e.handleSelectedTeam},model:{value:e.selectedTeam,callback:function(t){e.selectedTeam=t},expression:"selectedTeam"}},e._l(e.teams.data,(function(t){return a("a-menu-item",{key:t},[e._v(" "+e._s(""===t?"未分组":t)+e._s(e.defaultMenuTeam===t?"(默认)":"")+" ")])})),1):e._e()],1)],1),a("a-popover",{attrs:{destroyTooltipOnHide:"",placement:"bottom",title:"新增分组",trigger:"click"},on:{visibleChange:e.handleTeamFormVisibleChange},scopedSlots:e._u([{key:"content",fn:function(){return[a("a-form-model",{ref:"teamForm",attrs:{model:e.teams.form.model,rules:e.teams.form.rules},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleCreateTeam.apply(null,arguments)}}},[a("a-form-model-item",{attrs:{prop:"team"}},[a("a-input",{attrs:{autoFocus:""},model:{value:e.teams.form.model.team,callback:function(t){e.$set(e.teams.form.model,"team",t)},expression:"teams.form.model.team"}})],1),a("a-form-model-item",{staticStyle:{"margin-bottom":"0"}},[a("a-button",{attrs:{type:"primary"},on:{click:e.handleCreateTeam}},[e._v(" 新增")])],1)],1)]},proxy:!0}]),model:{value:e.teams.form.visible,callback:function(t){e.$set(e.teams.form,"visible",t)},expression:"teams.form.visible"}},[a("a-button",{staticClass:"mt-3",attrs:{block:"",type:"primary"}},[e._v(" 新增分组")])],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:18,md:18,sm:24,xl:18,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"}},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(" "+e._s(e.menuListTitle)+" "),e.list.data.length<=0&&!e.list.loading?a("a-tooltip",{attrs:{slot:"action",title:"分组下的菜单为空时,该分组也不会保存"},slot:"action"},[a("a-icon",{staticClass:"cursor-pointer",attrs:{type:"info-circle-o"}})],1):e._e()]},proxy:!0},{key:"extra",fn:function(){return[a("a-space",[a("ReactiveButton",{attrs:{disabled:e.list.data.length<=0,errored:e.formBatch.errored,loading:e.formBatch.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存"},on:{callback:function(t){e.formBatch.errored=!1},click:e.handleUpdateBatch}}),e.form.visible?a("a-button",{attrs:{type:"default"},on:{click:function(t){return e.handleCloseCreateMenuForm()}}},[e._v(" 取消新增")]):a("a-button",{attrs:{ghost:"",type:"primary"},on:{click:function(t){return e.handleOpenCreateMenuForm()}}},[e._v(" 新增")]),a("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:e._u([{key:"overlay",fn:function(){return[a("a-menu",[a("a-menu-item",{on:{click:function(t){e.menuInternalLinkSelector.visible=!0}}},[e._v(" 从系统预设链接添加")]),a("a-menu-item",{on:{click:e.handleOpenUpdateTeamForm}},[e._v(" 重命名分组")]),a("a-menu-item",{on:{click:e.handleDeleteBatch}},[e._v(" 删除当前组")])],1)]},proxy:!0}])},[a("a-button",[e._v(" 其他 "),a("a-icon",{attrs:{type:"down"}})],1)],1)],1)]},proxy:!0}])},[a("a-spin",{attrs:{spinning:e.list.loading}},[e.form.visible?a("MenuForm",{attrs:{menu:e.form.model},on:{cancel:function(t){return e.handleCloseCreateMenuForm()},succeed:function(t){return e.handleCreateMenuSucceed()}}}):e._e(),0!==e.list.data.length||e.list.loading||e.form.visible?e._e():a("a-empty"),a("MenuTreeNode",{attrs:{excludedTeams:e.excludedTeams},on:{reload:e.handleListMenus},model:{value:e.list.data,callback:function(t){e.$set(e.list,"data",t)},expression:"list.data"}})],1)],1)],1)],1),a("MenuInternalLinkSelector",{attrs:{team:e.teams.selected},on:{reload:e.handleListMenus},model:{value:e.menuInternalLinkSelector.visible,callback:function(t){e.$set(e.menuInternalLinkSelector,"visible",t)},expression:"menuInternalLinkSelector.visible"}}),a("a-modal",{attrs:{title:"重命名分组"},scopedSlots:e._u([{key:"footer",fn:function(){return[a("ReactiveButton",{attrs:{errored:e.updateTeamForm.saveErrored,loading:e.updateTeamForm.saving,erroredText:"更改失败",loadedText:"更改成功",text:"确定"},on:{callback:e.handleUpdateTeamInBatchCallback,click:e.handleUpdateTeamInBatch}}),a("a-button",{on:{click:function(t){e.updateTeamForm.visible=!1}}},[e._v("关闭")])]},proxy:!0}]),model:{value:e.updateTeamForm.visible,callback:function(t){e.$set(e.updateTeamForm,"visible",t)},expression:"updateTeamForm.visible"}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{label:"分组名称:"}},[a("a-input",{ref:"teamInput",staticStyle:{width:"100%"},attrs:{allowClear:""},model:{value:e.updateTeamForm.team,callback:function(t){e.$set(e.updateTeamForm,"team",t)},expression:"updateTeamForm.team"}})],1)],1)],1)],1)},i=[],r=a(29230),s=a(94524),l=(a(70315),a(82395),a(90195),a(31875),a(2923),a(18329),a(22401)),o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-list",{attrs:{"item-layout":"horizontal"}},[a("draggable",e._b({staticClass:"item-container",attrs:{list:e.list,value:e.value,handle:".mover",tag:"div"},on:{end:function(t){e.isDragging=!1},input:e.emitter,start:function(t){e.isDragging=!0}}},"draggable",e.dragOptions,!1),[a("transition-group",e._l(e.realValue,(function(t){return a("div",{key:t.id},[a("a-list-item",{staticClass:"menu-item"},[a("a-list-item-meta",[a("span",{staticClass:"inline-block font-bold title",attrs:{slot:"title"},slot:"title"},[a("a-icon",{staticClass:"cursor-pointer mover",attrs:{type:"bars"}}),e._v(" "+e._s(t.name)+" "),"_blank"===t.target?a("a-tooltip",{attrs:{title:"外部链接"}},[a("a-icon",{attrs:{type:"link"}})],1):e._e(),e._v(" "+e._s(t.formVisible?"(正在编辑)":"")+" ")],1),a("span",{staticClass:"inline-block",attrs:{slot:"description"},slot:"description"},[a("a",{staticClass:"ant-anchor-link-title",attrs:{href:t.url,target:"_blank"}},[e._v(" "+e._s(t.url)+" ")])])]),a("template",{slot:"actions"},[t.formVisible?a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleCloseCreateMenuForm(t)}}},[e._v("取消编辑")]):a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleOpenEditForm(t)}}},[e._v(" 编辑 ")])],1),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleDelete(t.id)}}},[e._v("删除")])],1),e.excludedTeams&&e.excludedTeams.length>0?a("template",{slot:"actions"},[a("a-dropdown",{attrs:{trigger:["click"]}},[a("a",{staticClass:"ant-dropdown-link",on:{click:function(e){return e.preventDefault()}}},[e._v(" 更多 "),a("a-icon",{attrs:{type:"down"}})],1),a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-sub-menu",{attrs:{title:"移动到分组"}},e._l(e.excludedTeams,(function(n,i){return a("a-menu-item",{key:i,on:{click:function(a){return e.handleMoveMenu(t,n)}}},[e._v(e._s(""===n?"未分组":n)+" ")])})),1)],1)],1)],1):e._e()],2),t.formVisible?a("MenuForm",{attrs:{menu:t},on:{cancel:function(a){return e.handleCloseCreateMenuForm(t)},succeed:function(a){return e.handleUpdateMenuSucceed(t)}}}):e._e(),a("div",{staticClass:"a-list-nested",staticStyle:{"margin-left":"44px"}},[a("MenuTreeNode",{attrs:{excludedTeams:e.excludedTeams,list:t.children},on:{reload:e.onReloadEmit}})],1)],1)})),0)],1)],1)},u=[],c=a(34616),m=(a(41479),a(77513)),d=a.n(m),h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("a-form-model",{ref:"menuForm",attrs:{model:e.menuModel,rules:e.form.rules,labelAlign:"left"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleCreateOrUpdateMenu.apply(null,arguments)}}},[a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 页面上所显示的名称",label:"名称",prop:"name"}},[a("a-input",{attrs:{autoFocus:""},model:{value:e.menuModel.name,callback:function(t){e.$set(e.menuModel,"name",t)},expression:"menuModel.name"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 菜单的地址",label:"地址",prop:"url"}},[a("a-input",{model:{value:e.menuModel.url,callback:function(t){e.$set(e.menuModel,"url",t)},expression:"menuModel.url"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{help:"* 请根据主题的支持情况选填",label:"图标",prop:"icon"}},[a("a-input",{model:{value:e.menuModel.icon,callback:function(t){e.$set(e.menuModel,"icon",t)},expression:"menuModel.icon"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{label:"打开方式",prop:"target"}},[a("a-radio-group",{attrs:{options:e.targets},model:{value:e.menuModel.target,callback:function(t){e.$set(e.menuModel,"target",t)},expression:"menuModel.target"}})],1)],1),a("a-col",{attrs:{lg:8,md:12,sm:12,xl:8,xs:12}},[a("a-form-model-item",{attrs:{colon:!1,label:" "}},[a("a-space",[a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateMenu}}),a("a-button",{on:{click:e.handleCancel}},[e._v("取消")])],1)],1)],1)],1)],1)],1)},f=[],p=a(62210),g=[{value:"_self",label:"当前窗口"},{value:"_blank",label:"新窗口"}],v={name:"MenuForm",model:{prop:"menu",event:"input"},props:{menu:{type:Object,default:function(){return{}}}},computed:{menuModel:{get:function(){return this.menu},set:function(e){this.$emit("input",e)}},isUpdateMode:function(){return!!this.menuModel.id}},data:function(){return{targets:g,form:{rules:{name:[{required:!0,message:"* 菜单名称不能为空",trigger:["change"]},{max:50,message:"* 菜单名称的字符长度不能超过 50",trigger:["change"]}],url:[{required:!0,message:"* 菜单地址不能为空",trigger:["change"]},{max:1023,message:"* 菜单地址的字符长度不能超过 1023",trigger:["change"]}],icon:[{max:50,message:"* 菜单图标的字符长度不能超过 50",trigger:["change"]}]},saving:!1,errored:!1}}},methods:{handleCreateOrUpdateMenu:function(){var e=this;e.$refs.menuForm.validate((function(t){t&&(e.form.saving=!0,e.isUpdateMode?p.Z.menu.update(e.menuModel.id,e.menuModel).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})):p.Z.menu.create(e.menuModel).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){e.form.saving=!1}),400)})))}))},handleSavedCallback:function(){var e=this;e.form.errored?e.form.errored=!1:(e.menuModel={target:"_self"},e.$emit("succeed"))},handleCancel:function(){this.$emit("cancel")}}},b=v,k=a(42177),y=(0,k.Z)(b,h,f,!1,null,null,null),x=y.exports,C=a(34953),M={name:"MenuTreeNode",components:{draggable:d(),MenuForm:x},props:{value:{required:!1,type:Array,default:null},list:{required:!1,type:Array,default:null},excludedTeams:{required:!1,type:Array,default:null}},data:function(){return{isDragging:!1}},computed:{dragOptions:function(){return{animation:300,group:"description",ghostClass:"ghost",chosenClass:"chosen",dragClass:"drag",emptyInsertThreshold:20}},realValue:function(){return this.value?this.value:this.list}},methods:{emitter:function(e){this.$emit("input",e)},handleDelete:function(e){var t=this;t.$confirm({title:"提示",content:"确定要删除当前菜单?",onOk:function(){p.Z.menu["delete"](e).finally((function(){t.onReloadEmit()}))}})},handleOpenEditForm:function(e){this.$set(e,"formVisible",!0)},handleUpdateMenuSucceed:function(e){this.handleCloseCreateMenuForm(e)},handleCloseCreateMenuForm:function(e){this.$set(e,"formVisible",!1)},handleMoveMenu:function(e,t){var a=this;return(0,r.Z)(regeneratorRuntime.mark((function n(){var i,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=(0,C.I8)(e),i.team=t,i.parentId=0,i.priority=0,r=function e(a){return a&&0!==a.length?a.reduce((function(a,n){var i=n.children.length>0?e(n.children):[];return n.team=t,[].concat((0,c.Z)(a),[n],(0,c.Z)(i))}),[]):[]},s=[i].concat((0,c.Z)(r(i.children))),a.$log.debug("menu list as flat list:",s),n.prev=7,n.next=10,p.Z.menu.updateInBatch(s);case 10:a.$emit("reload"),n.next=16;break;case 13:n.prev=13,n.t0=n["catch"](7),a.$log.error("Fail to update menu in batch",n.t0);case 16:case"end":return n.stop()}}),n,null,[[7,13]])})))()},onReloadEmit:function(){this.$emit("reload")}}},T=M,_=(0,k.Z)(T,o,u,!1,null,"bf844320",null),F=_.exports,S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-modal",{attrs:{bodyStyle:{padding:"0 24px 24px"},width:1024,title:"从系统预设链接添加菜单"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[a("template",{slot:"footer"},[a("a-button",{on:{click:e.handleCancel}},[e._v(" 取消")]),a("ReactiveButton",{attrs:{disabled:e.menus&&e.menus.length<=0,errored:e.saveErrored,loading:e.saving,erroredText:"添加失败",loadedText:"添加成功",text:"添加"},on:{callback:e.handleCreateBatchCallback,click:e.handleCreateBatch}})],1),a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{span:12}},[a("a-spin",{attrs:{spinning:e.loading}},[a("div",{staticClass:"custom-tab-wrapper"},[a("a-tabs",{attrs:{animated:{inkBar:!0,tabPane:!1},"default-active-key":"1"}},[a("a-tab-pane",{key:"1",attrs:{"force-render":"",tab:"分类目录"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.categories,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"2",attrs:{tab:"标签"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.tags,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"3",attrs:{tab:"独立页面"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.sheet.independents,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.title}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1),a("a-tab-pane",{key:"4",attrs:{tab:"自定义页面"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.sheet.customs.data,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.fullPath,title:t.title}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.fullPath)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:e.sheet.customs.pagination.page,defaultPageSize:e.sheet.customs.pagination.size,pageSizeOptions:["10","20","50","100"],total:e.sheet.customs.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:e.handleSheetPaginationChange,showSizeChange:e.handleSheetPaginationChange}})],1)],1),a("a-tab-pane",{key:"5",attrs:{tab:"其他"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.otherInternalLinks,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.url,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(a){return e.handleInsertPre(t.name,t.url)}}},[a("a-icon",{attrs:{type:"plus-circle"}})],1)],1)],2)})),1)],1)],1)],1)])],1),a("a-col",{attrs:{span:12}},[a("div",{staticClass:"custom-tab-wrapper"},[a("a-tabs",{attrs:{"default-active-key":"1"}},[a("a-tab-pane",{key:"1",attrs:{"force-render":"",tab:"备选"}},[a("a-list",{attrs:{"item-layout":"horizontal"}},e._l(e.menus,(function(t,n){return a("a-list-item",{key:n},[a("a-list-item-meta",{attrs:{description:t.url,title:t.name}}),a("template",{slot:"actions"},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(t){return e.handleRemovePre(n)}}},[a("a-icon",{attrs:{type:"close-circle"}})],1)],1)],2)})),1)],1)],1)],1)])],1)],2)},w=[],I=(a(29888),a(45107),a(19003),a(55792),{name:"MenuInternalLinkSelector",props:{value:{type:Boolean,default:!1},team:{type:String,default:""}},data:function(){return{options:{},categories:[],tags:[],menus:[],sheet:{independents:[],customs:{data:[],pagination:{page:1,size:10,sort:null,total:1},queryParam:{page:0,size:10,sort:null}}},loading:!1,saving:!1,saveErrored:!1}},computed:{visible:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},otherInternalLinks:function(){var e=this.options,t=this.options.path_suffix?this.options.path_suffix:"";return[{name:"分类目录",url:"".concat(e.blog_url,"/").concat(e.categories_prefix).concat(t)},{name:"标签",url:"".concat(e.blog_url,"/").concat(e.tags_prefix).concat(t)},{name:"文章归档",url:"".concat(e.blog_url,"/").concat(e.archives_prefix).concat(t)},{name:"RSS",url:"".concat(e.blog_url,"/atom.xml")},{name:"网站地图",url:"".concat(e.blog_url,"/sitemap.xml")},{name:"网站地图",url:"".concat(e.blog_url,"/sitemap.html")}]}},watch:{visible:function(e){e&&(this.handleFetchAll(),this.handleListSheets())}},methods:{handleFetchAll:function(){var e=this;this.loading=!0,Promise.all([p.Z.option.listAsMapView(),p.Z.category.list({sort:[],more:!1}),p.Z.tag.list({more:!1}),p.Z.sheet.listIndependents()]).then((function(t){e.options=t[0].data,e.categories=t[1].data,e.tags=t[2].data,e.sheet.independents=t[3].data})).finally((function(){e.loading=!1}))},handleListSheets:function(){var e=this;this.sheet.customs.queryParam.page=this.sheet.customs.pagination.page-1,this.sheet.customs.queryParam.size=this.sheet.customs.pagination.size,this.sheet.customs.queryParam.sort=this.sheet.customs.pagination.sort,p.Z.sheet.list(this.sheet.customs.queryParam).then((function(t){e.sheet.customs.data=t.data.content,e.sheet.customs.pagination.total=t.data.total}))},handleSheetPaginationChange:function(e,t){this.sheet.customs.pagination.page=e,this.sheet.customs.pagination.size=t,this.handleListSheets()},handleInsertPre:function(e,t){this.menus.push({name:e,url:t,team:this.team})},handleRemovePre:function(e){this.menus.splice(e,1)},handleCancel:function(){this.menus=[],this.visible=!1,this.$emit("reload")},handleCreateBatch:function(){var e=this;this.saving=!0,p.Z.menu.createInBatch(this.menus).catch((function(){e.saveErrored=!1})).finally((function(){setTimeout((function(){e.saving=!1}),400)}))},handleCreateBatchCallback:function(){this.saveErrored?this.saveErrored=!1:this.handleCancel()}}}),L=I,B=(0,k.Z)(L,S,w,!1,null,null,null),$=B.exports,Z=a(98906),P={components:{PageView:l.B4,MenuTreeNode:F,MenuForm:x,MenuInternalLinkSelector:$},data:function(){return{list:{data:[],loading:!1},form:{visible:!1,model:{}},formBatch:{saving:!1,errored:!1},teams:{data:[],loading:!1,selected:null,form:{visible:!1,model:{team:null},rules:{team:[{required:!0,message:"分组名称不能为空",trigger:["change"]}]}},default:{saving:!1,errored:!1}},updateTeamForm:{team:void 0,visible:!1,saving:!1,saveErrored:!1},menuInternalLinkSelector:{visible:!1}}},computed:(0,s.Z)((0,s.Z)({},(0,Z.Se)(["options"])),{},{computedMenusMoved:function(){var e=(0,C.I8)(this.list.data);return this.handleMenuMoved(0,e)},computedMenusWithoutLevel:function(){return this.handleGetMenusWithoutLevel(this.computedMenusMoved,[])},computedMenuIds:function(){return this.computedMenusWithoutLevel.map((function(e){return e.id}))},selectedTeam:{get:function(){return[this.teams.selected]},set:function(e){this.teams.selected=e[0]}},menuListTitle:function(){return""===this.teams.selected?"未分组":this.teams.selected},excludedTeams:function(){var e=this;return this.teams.data.filter((function(t){return t!==e.teams.selected}))},defaultMenuTeam:function(){return this.options.default_menu_team?this.options.default_menu_team:""}}),created:function(){this.handleListTeams()},methods:(0,s.Z)((0,s.Z)({},(0,Z.nv)(["refreshOptionsCache"])),{},{handleListTeams:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.teams.loading=!0,p.Z.menu.listTeams().then((function(a){e.teams.data=a.data,e.teams.selected&&!t||(e.teams.selected=e.teams.data[0]),e.handleListMenus()})).finally((function(){e.teams.loading=!1}))},handleListMenus:function(){var e=this;this.list.data=[],this.list.loading=!0,p.Z.menu.listTreeViewByTeam(this.teams.selected).then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleMenuMoved:function(e,t){for(var a=0;a0&&this.handleMenuMoved(t[a].id,t[a].children);return t},handleGetMenusWithoutLevel:function(e,t){for(var a=0;a0&&this.handleGetMenusWithoutLevel(n,t)}return t},handleSelectedTeam:function(e){var t=e.key;this.teams.selected=t,this.handleCloseCreateMenuForm(),this.handleListMenus()},handleUpdateBatch:function(){var e=this;this.formBatch.saving=!0,p.Z.menu.updateInBatch(this.computedMenusWithoutLevel).catch((function(){e.formBatch.errored=!0})).finally((function(){setTimeout((function(){e.formBatch.saving=!1,e.handleListMenus()}),400)}))},handleDeleteBatch:function(){var e=this;e.$confirm({title:"提示",content:"确定要删除当前分组以及所有菜单?",onOk:function(){p.Z.menu.deleteInBatch(e.computedMenuIds).finally((function(){e.handleListTeams(!0)}))}})},handleTeamFormVisibleChange:function(e){e&&(this.teams.form.model.team=null)},handleCreateTeam:function(){var e=this;e.$refs.teamForm.validate((function(t){t&&(e.teams.data.includes(e.teams.form.model.team)||e.teams.data.push(e.teams.form.model.team),e.teams.selected=e.teams.form.model.team,e.teams.form.visible=!1,e.handleListMenus())}))},handleOpenCreateMenuForm:function(){this.form.visible=!0,this.form.model={team:this.teams.selected,target:"_self"}},handleCloseCreateMenuForm:function(){this.form.visible=!1,this.form.model={}},handleCreateMenuSucceed:function(){this.handleCloseCreateMenuForm(),this.handleListMenus()},handleSetDefaultTeam:function(){var e=this;this.teams.default.saving=!0,p.Z.option.saveMapView({default_menu_team:this.teams.selected}).catch((function(){e.teams.default.errored=!0})).finally((function(){setTimeout((function(){e.teams.default.saving=!1}),400)}))},handleSetDefaultTeamCallback:function(){this.teams.default.errored?this.teams.default.errored=!1:this.refreshOptionsCache()},handleOpenUpdateTeamForm:function(){var e=this;this.updateTeamForm.team=this.teams.selected,this.updateTeamForm.visible=!0,this.$nextTick((function(){e.$refs.teamInput.focus()}))},handleUpdateTeamInBatch:function(){var e=this;return(0,r.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.updateTeamForm.saving=!0,t.next=4,p.Z.menu.updateInBatch(e.computedMenusWithoutLevel.map((function(t){return(0,s.Z)((0,s.Z)({},t),{},{team:e.updateTeamForm.team})})));case 4:if(e.teams.selected!==e.defaultMenuTeam){t.next=9;break}return t.next=7,p.Z.option.saveMapView({default_menu_team:e.updateTeamForm.team});case 7:return t.next=9,e.refreshOptionsCache();case 9:e.teams.selected=e.updateTeamForm.team,t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](0),e.updateTeamForm.saveErrored=!0,e.$log.debug("Failed update menus team",t.t0);case 16:return t.prev=16,setTimeout((function(){e.updateTeamForm.saving=!1}),400),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[0,12,16,19]])})))()},handleUpdateTeamInBatchCallback:function(){this.updateTeamForm.saveErrored?this.updateTeamForm.saveErrored=!1:(this.handleListMenus(),this.handleListTeams(),this.updateTeamForm.visible=!1)}})},E=P,O=(0,k.Z)(E,n,i,!1,null,null,null),z=O.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/903.7ef39d60.js b/src/main/resources/admin/js/643.cbad5066.js similarity index 95% rename from src/main/resources/admin/js/903.7ef39d60.js rename to src/main/resources/admin/js/643.cbad5066.js index beffb5892..45e5863e7 100644 --- a/src/main/resources/admin/js/903.7ef39d60.js +++ b/src/main/resources/admin/js/643.cbad5066.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[903],{17903:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[n("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[n("a-card",{staticClass:"environment-info",attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[n("template",{slot:"title"},[t._v(" 环境信息 "),n("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:t.handleCopyEnvironments}},[n("a-icon",{attrs:{type:"copy"}})],1)],1),n("a-popover",{attrs:{slot:"extra",title:t.isLatest?"当前为最新版本":"有新版本",placement:"left"},slot:"extra"},[n("template",{slot:"content"},[n("p",[t._v(t._s(t.versionMessage))]),n("a-button",{attrs:{type:"dashed"},on:{click:t.handleShowVersionContent}},[t._v("查看详情")])],1),n("a-button",{attrs:{icon:t.isLatest?"check-circle":"exclamation-circle",loading:t.checking,shape:"circle",type:"dashed"}})],2),n("ul",{staticClass:"p-0 m-0 list-none"},[n("li",[t._v("版本:"+t._s(t.environments.version))]),n("li",[t._v("数据库:"+t._s(t.environments.database))]),n("li",[t._v("运行模式:"+t._s(t.environments.mode))]),n("li",[t._v("启用主题:"+t._s(t.activatedTheme.name))]),n("li",[t._v("启动时间:"+t._s(t._f("moment")(t.environments.startTime)))])]),n("a",{staticClass:"mr-3",attrs:{href:"https://halo.run",target:"_blank"}},[t._v("官网 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://docs.halo.run",target:"_blank"}},[t._v("文档 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://github.com/halo-dev",target:"_blank"}},[t._v("开源组织 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://bbs.halo.run",target:"_blank"}},[t._v("在线社区 "),n("a-icon",{attrs:{type:"link"}})],1)],2),n("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1,loading:t.contributorsLoading,title:"开发者"}},t._l(t.contributors,(function(e,a){return n("a",{key:a,attrs:{href:e.html_url,target:"_blank"}},[n("a-tooltip",{attrs:{title:e.login,placement:"top"}},[n("a-avatar",{style:{marginRight:"10px",marginBottom:"10px"},attrs:{alt:e.login,src:t._f("webpAvatarConvert")(e.avatar_url),size:"large"}})],1)],1)})),0)],1)],1),n("a-col",{attrs:{span:24}})],1),n("a-modal",{attrs:{title:t.versionContentModalTitle,visible:t.versionContentVisible,width:620,"ok-text":"查看更多"},on:{cancel:function(e){t.versionContentVisible=!1},ok:t.handleOpenVersionUrl}},[n("div",{domProps:{innerHTML:t._s(t.versionContent)}})])],1)},r=[],i=n(47458),s=(n(70315),n(41479),n(21082),n(31875),n(30535),n(85018),n(96339),n(17132)),o=n(10299),c=n.n(o),l=n(17745),u=n(27474),h=c().create({baseURL:"https://api.github.com",timeout:1e4,headers:{"Content-Type":"application/json",Accept:"application/vnd.github.v3+json"},withCredentials:!1}),p={components:{PageView:u.B4},data:function(){return{environments:{},contributors:[{login:"",id:0,node_id:"",avatar_url:"",gravatar_id:"",url:"",html_url:"",followers_url:"",following_url:"",gists_url:"",starred_url:"",subscriptions_url:"",organizations_url:"",repos_url:"",events_url:"",received_events_url:"",type:"",site_admin:!1,contributions:0}],contributorsLoading:!0,checking:!1,isLatest:!1,latestData:{},versionContentVisible:!1,activatedTheme:{}}},computed:{versionMessage:function(){return"当前版本:".concat(this.environments.version,",").concat(this.isLatest?"已经是最新版本。":"新版本:".concat(this.latestData.name,",你可以点击下方按钮查看详情。"))},versionContent:function(){return this.latestData&&this.latestData.body?l.TU.parse(this.latestData.body):"暂无内容"},versionContentModalTitle:function(){return"".concat(this.latestData.name," 更新内容")}},created:function(){this.getEnvironments(),this.handleGetActivatedTheme(),this.fetchContributors()},methods:{getEnvironments:function(){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.Z.getEnvironment();case 2:n=e.sent,a=n.data,t.environments=a,t.checkServerUpdate();case 6:case"end":return e.stop()}}),e)})))()},handleGetActivatedTheme:function(){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.Z.theme.getActivatedTheme();case 2:n=e.sent,a=n.data,t.activatedTheme=a;case 5:case"end":return e.stop()}}),e)})))()},handleCopyEnvironments:function(){var t=this,e="版本:".concat(this.environments.version,"\n数据库:").concat(this.environments.database,"\n运行模式:").concat(this.environments.mode,"\n启用主题:").concat(this.activatedTheme.name,"\nUser Agent:").concat(navigator.userAgent);this.$copyText(e).then((function(e){t.$log.debug("copy",e),t.$message.success("复制成功!")})).catch((function(e){t.$log.debug("copy.err",e),t.$message.error("复制失败!")}))},fetchContributors:function(){var t=this;t.contributorsLoading=!0,h.get("/repos/halo-dev/halo/contributors?per_page=100").then((function(e){t.contributors=e.data})).catch((function(e){t.$log.error("Fetch contributors error",e)})).finally((function(){t.contributorsLoading=!1}))},checkServerUpdate:function(){var t=this,e=this.$createElement,n=this;n.checking=!0,h.get("/repos/halo-dev/halo/releases/latest").then((function(a){var r=a.data;if(n.latestData=r,!r.draft&&!r.prerelease){var i=n.calculateIntValue(n.environments.version),s=n.calculateIntValue(r.name);if(i>=s)n.isLatest=!0;else{var o="新版本提醒",c="检测到 Halo 新版本:"+r.name+",点击下方按钮查看最新版本。";n.$notification.open({message:o,description:c,icon:e("a-icon",{attrs:{type:"smile"},style:"color: #108ee9"}),btn:function(e){return e("a-button",{props:{type:"primary",size:"small"},on:{click:function(){return t.handleShowVersionContent()}}},"去看看")}})}}})).catch((function(t){this.$log.error("Check update fail",t)})).finally((function(){t.checking=!1}))},handleShowVersionContent:function(){this.versionContentVisible=!0},handleOpenVersionUrl:function(){window.open(this.latestData.html_url,"_blank")},calculateIntValue:function(t){t=t.replace(/v/g,"");var e=t.split(".");if(null==e||3!==e.length)return-1;var n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);return isNaN(n)||isNaN(a)||isNaN(r)?-1:1e6*n+1e3*a+r}},filters:{webpAvatarConvert:function(t){return t.replace("avatars.githubusercontent.com","avatars-githubusercontent.webp.se")}}},d=p,v=n(42177),m=(0,v.Z)(d,a,r,!1,null,null,null),g=m.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[643],{58643:function(t,e,n){n.r(e),n.d(e,{default:function(){return g}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[n("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[n("a-card",{staticClass:"environment-info",attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[n("template",{slot:"title"},[t._v(" 环境信息 "),n("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:t.handleCopyEnvironments}},[n("a-icon",{attrs:{type:"copy"}})],1)],1),n("a-popover",{attrs:{slot:"extra",title:t.isLatest?"当前为最新版本":"有新版本",placement:"left"},slot:"extra"},[n("template",{slot:"content"},[n("p",[t._v(t._s(t.versionMessage))]),n("a-button",{attrs:{type:"dashed"},on:{click:t.handleShowVersionContent}},[t._v("查看详情")])],1),n("a-button",{attrs:{icon:t.isLatest?"check-circle":"exclamation-circle",loading:t.checking,shape:"circle",type:"dashed"}})],2),n("ul",{staticClass:"p-0 m-0 list-none"},[n("li",[t._v("版本:"+t._s(t.environments.version))]),n("li",[t._v("数据库:"+t._s(t.environments.database))]),n("li",[t._v("运行模式:"+t._s(t.environments.mode))]),n("li",[t._v("启用主题:"+t._s(t.activatedTheme.name))]),n("li",[t._v("启动时间:"+t._s(t._f("moment")(t.environments.startTime)))])]),n("a",{staticClass:"mr-3",attrs:{href:"https://halo.run",target:"_blank"}},[t._v("官网 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://docs.halo.run",target:"_blank"}},[t._v("文档 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://github.com/halo-dev",target:"_blank"}},[t._v("开源组织 "),n("a-icon",{attrs:{type:"link"}})],1),n("a",{staticClass:"mr-3",attrs:{href:"https://bbs.halo.run",target:"_blank"}},[t._v("在线社区 "),n("a-icon",{attrs:{type:"link"}})],1)],2),n("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1,loading:t.contributorsLoading,title:"开发者"}},t._l(t.contributors,(function(e,a){return n("a",{key:a,attrs:{href:e.html_url,target:"_blank"}},[n("a-tooltip",{attrs:{title:e.login,placement:"top"}},[n("a-avatar",{style:{marginRight:"10px",marginBottom:"10px"},attrs:{alt:e.login,src:t._f("webpAvatarConvert")(e.avatar_url),size:"large"}})],1)],1)})),0)],1)],1),n("a-col",{attrs:{span:24}})],1),n("a-modal",{attrs:{title:t.versionContentModalTitle,visible:t.versionContentVisible,width:620,"ok-text":"查看更多"},on:{cancel:function(e){t.versionContentVisible=!1},ok:t.handleOpenVersionUrl}},[n("div",{domProps:{innerHTML:t._s(t.versionContent)}})])],1)},r=[],i=n(29230),s=(n(70315),n(41479),n(21082),n(31875),n(30535),n(85018),n(96339),n(62210)),o=n(10299),c=n.n(o),l=n(17745),u=n(22401),h=c().create({baseURL:"https://api.github.com",timeout:1e4,headers:{"Content-Type":"application/json",Accept:"application/vnd.github.v3+json"},withCredentials:!1}),p={components:{PageView:u.B4},data:function(){return{environments:{},contributors:[{login:"",id:0,node_id:"",avatar_url:"",gravatar_id:"",url:"",html_url:"",followers_url:"",following_url:"",gists_url:"",starred_url:"",subscriptions_url:"",organizations_url:"",repos_url:"",events_url:"",received_events_url:"",type:"",site_admin:!1,contributions:0}],contributorsLoading:!0,checking:!1,isLatest:!1,latestData:{},versionContentVisible:!1,activatedTheme:{}}},computed:{versionMessage:function(){return"当前版本:".concat(this.environments.version,",").concat(this.isLatest?"已经是最新版本。":"新版本:".concat(this.latestData.name,",你可以点击下方按钮查看详情。"))},versionContent:function(){return this.latestData&&this.latestData.body?l.TU.parse(this.latestData.body):"暂无内容"},versionContentModalTitle:function(){return"".concat(this.latestData.name," 更新内容")}},created:function(){this.getEnvironments(),this.handleGetActivatedTheme(),this.fetchContributors()},methods:{getEnvironments:function(){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.Z.getEnvironment();case 2:n=e.sent,a=n.data,t.environments=a,t.checkServerUpdate();case 6:case"end":return e.stop()}}),e)})))()},handleGetActivatedTheme:function(){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.Z.theme.getActivatedTheme();case 2:n=e.sent,a=n.data,t.activatedTheme=a;case 5:case"end":return e.stop()}}),e)})))()},handleCopyEnvironments:function(){var t=this,e="版本:".concat(this.environments.version,"\n数据库:").concat(this.environments.database,"\n运行模式:").concat(this.environments.mode,"\n启用主题:").concat(this.activatedTheme.name,"\nUser Agent:").concat(navigator.userAgent);this.$copyText(e).then((function(e){t.$log.debug("copy",e),t.$message.success("复制成功!")})).catch((function(e){t.$log.debug("copy.err",e),t.$message.error("复制失败!")}))},fetchContributors:function(){var t=this;t.contributorsLoading=!0,h.get("/repos/halo-dev/halo/contributors?per_page=100").then((function(e){t.contributors=e.data})).catch((function(e){t.$log.error("Fetch contributors error",e)})).finally((function(){t.contributorsLoading=!1}))},checkServerUpdate:function(){var t=this,e=this.$createElement,n=this;n.checking=!0,h.get("/repos/halo-dev/halo/releases/latest").then((function(a){var r=a.data;if(n.latestData=r,!r.draft&&!r.prerelease){var i=n.calculateIntValue(n.environments.version),s=n.calculateIntValue(r.name);if(i>=s)n.isLatest=!0;else{var o="新版本提醒",c="检测到 Halo 新版本:"+r.name+",点击下方按钮查看最新版本。";n.$notification.open({message:o,description:c,icon:e("a-icon",{attrs:{type:"smile"},style:"color: #108ee9"}),btn:function(e){return e("a-button",{props:{type:"primary",size:"small"},on:{click:function(){return t.handleShowVersionContent()}}},"去看看")}})}}})).catch((function(t){this.$log.error("Check update fail",t)})).finally((function(){t.checking=!1}))},handleShowVersionContent:function(){this.versionContentVisible=!0},handleOpenVersionUrl:function(){window.open(this.latestData.html_url,"_blank")},calculateIntValue:function(t){t=t.replace(/v/g,"");var e=t.split(".");if(null==e||3!==e.length)return-1;var n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);return isNaN(n)||isNaN(a)||isNaN(r)?-1:1e6*n+1e3*a+r}},filters:{webpAvatarConvert:function(t){return t.replace("avatars.githubusercontent.com","avatars-githubusercontent.webp.se")}}},d=p,v=n(42177),m=(0,v.Z)(d,a,r,!1,null,null,null),g=m.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/644.7a8a08d0.js b/src/main/resources/admin/js/644.7a8a08d0.js deleted file mode 100644 index 2d54adb7d..000000000 --- a/src/main/resources/admin/js/644.7a8a08d0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[644],{72644:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container-wrapper animated fadeIn"},[e._m(0),s("div",{staticClass:"login-form"},[s("LoginForm",{on:{success:e.onLoginSucceed}}),e.resetPasswordButtonVisible?s("router-link",{staticClass:"tip",attrs:{to:{name:"ResetPassword"}}},[e._v(" 找回密码 ")]):e._e()],1)])},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"halo-logo"},[s("img",{attrs:{alt:"Halo Logo",src:"/images/logo.svg"}})])}],n=s(86475),i=s(98906),a=s(63618),u={components:{LoginForm:a.Z},data:function(){return{resetPasswordButtonVisible:!1}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterResetPasswordKeydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterResetPasswordKeydown)},methods:(0,n.Z)((0,n.Z)({},(0,i.nv)(["refreshUserCache","refreshOptionsCache"])),{},{onRegisterResetPasswordKeydown:function(e){72===e.keyCode&&(e.altKey||e.metaKey)&&e.shiftKey&&(e.preventDefault(),this.resetPasswordButtonVisible=!this.resetPasswordButtonVisible)},onLoginSucceed:function(){this.refreshUserCache(),this.refreshOptionsCache(),this.$route.query.redirect?this.$router.push(this.$route.query.redirect):this.$router.push({name:"Dashboard"})}})},c=u,d=s(42177),l=(0,d.Z)(c,o,r,!1,null,null,null),h=l.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/649.430134bc.js b/src/main/resources/admin/js/649.430134bc.js new file mode 100644 index 000000000..72a4e1bb4 --- /dev/null +++ b/src/main/resources/admin/js/649.430134bc.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[649],{96324:function(t,e,a){a.d(e,{Z:function(){return m}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-modal",{attrs:{destroyOnClose:"",title:"评论回复"},on:{close:t.onClose},scopedSlots:t._u([{key:"footer",fn:function(){return[a("ReactiveButton",{attrs:{errored:t.submitErrored,loading:t.submitting,erroredText:"回复失败",loadedText:"回复成功",text:"回复",type:"primary"},on:{callback:t.handleSubmitCallback,click:t.handleSubmit}})]},proxy:!0}]),model:{value:t.modalVisible,callback:function(e){t.modalVisible=e},expression:"modalVisible"}},[a("a-form-model",{ref:"replyCommentForm",attrs:{model:t.model,rules:t.rules,layout:"vertical"}},[a("a-form-model-item",{attrs:{prop:"content"}},[a("a-input",{ref:"contentInput",attrs:{autoSize:{minRows:8},type:"textarea"},model:{value:t.model.content,callback:function(e){t.$set(t.model,"content",e)},expression:"model.content"}})],1)],1)],1)},s=[],r=a(29230),o=(a(70315),a(12566),a(62210)),i={name:"CommentReplyModal",props:{visible:{type:Boolean,default:!0},comment:{type:Object,default:null},targetId:{type:Number,default:0},target:{type:String,required:!0,validator:function(t){return-1!==["post","sheet","journal"].indexOf(t)}}},data:function(){return{model:{},submitting:!1,submitErrored:!1,rules:{content:[{required:!0,message:"* 内容不能为空",trigger:["change"]}]}}},computed:{modalVisible:{get:function(){return this.visible},set:function(t){this.$emit("update:visible",t)}}},watch:{modalVisible:function(t){var e=this;t&&this.$nextTick((function(){e.$refs.contentInput.focus()}))}},methods:{handleSubmit:function(){var t=this;t.$refs.replyCommentForm.validate(function(){var e=(0,r.Z)(regeneratorRuntime.mark((function e(a){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a){e.next=15;break}return e.prev=1,t.submitting=!0,t.model.postId=t.targetId,t.comment&&(t.model.parentId=t.comment.id),e.next=7,o.Z.comment.create("".concat(t.target,"s"),t.model);case 7:e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](1),t.submitErrored=!0;case 12:return e.prev=12,setTimeout((function(){t.submitting=!1}),400),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,9,12,15]])})));return function(t){return e.apply(this,arguments)}}())},handleSubmitCallback:function(){this.submitErrored?this.submitErrored=!1:(this.model={},this.modalVisible=!1,this.$emit("succeed"))},onClose:function(){this.model={},this.modalVisible=!1}}},l=i,u=a(42177),c=(0,u.Z)(l,n,s,!1,null,null,null),m=c.exports},44649:function(t,e,a){a.r(e),a.d(e,{default:function(){return _}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("div",{staticClass:"card-container"},[a("a-tabs",{attrs:{type:"card"},model:{value:t.activeKey,callback:function(e){t.activeKey=e},expression:"activeKey"}},t._l(t.panes,(function(e){return a("a-tab-pane",{key:e.key,attrs:{tab:e.title}},[a("comment-tab",{attrs:{target:e.key,defaultStatus:t.defaultStatus}})],1)})),1)],1)])},s=[],r=a(22401),o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"comment-tab-wrapper"},[a("a-card",{attrs:{bodyStyle:{padding:0},bordered:!1}},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline"}},[a("a-row",{attrs:{gutter:48}},[a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"关键词:"}},[a("a-input",{on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery()}},model:{value:t.list.params.keyword,callback:function(e){t.$set(t.list.params,"keyword",e)},expression:"list.params.keyword"}})],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"评论状态:"}},[a("a-select",{attrs:{allowClear:"",placeholder:"请选择评论状态"},on:{change:function(e){return t.handleQuery()}},model:{value:t.list.params.status,callback:function(e){t.$set(t.list.params,"status",e)},expression:"list.params.status"}},t._l(Object.keys(t.commentStatuses),(function(e){return a("a-select-option",{key:e,attrs:{value:e}},[t._v(" "+t._s(t.commentStatuses[e].text)+" ")])})),1)],1)],1),a("a-col",{attrs:{md:12,sm:24}},[a("span",{staticClass:"table-page-search-submitButtons"},[a("a-space",[a("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleQuery()}}},[t._v("查询")]),a("a-button",{on:{click:function(e){return t.handleResetParam()}}},[t._v("重置")])],1)],1)])],1)],1)],1),a("div",{staticClass:"table-operator"},[a("a-dropdown",{directives:[{name:"show",rawName:"v-show",value:null!=t.list.params.status&&""!==t.list.params.status&&!t.isMobile(),expression:"list.params.status != null && list.params.status !== '' && !isMobile()"}],scopedSlots:t._u([{key:"overlay",fn:function(){return[a("a-menu",[t.list.params.status===t.commentStatuses.AUDITING.value?a("a-menu-item",{key:"1",on:{click:function(e){return t.handleChangeStatusInBatch(t.commentStatuses.PUBLISHED.value)}}},[t._v(" 通过 ")]):t._e(),[t.commentStatuses.PUBLISHED.value,t.commentStatuses.AUDITING.value].includes(t.list.params.status)?a("a-menu-item",{key:"2",on:{click:function(e){return t.handleChangeStatusInBatch(t.commentStatuses.RECYCLE.value)}}},[t._v(" 移到回收站 ")]):t._e(),t.list.params.status===t.commentStatuses.RECYCLE.value?a("a-menu-item",{key:"3",on:{click:t.handleDeleteInBatch}},[t._v(" 永久删除 ")]):t._e()],1)]},proxy:!0}])},[a("a-button",[t._v(" 批量操作 "),a("a-icon",{attrs:{type:"down"}})],1)],1)],1),a("div",{staticClass:"mt-4"},[t.isMobile()?a("a-list",{attrs:{dataSource:t.list.data,loading:t.list.loading,pagination:!1,itemLayout:"vertical",size:"large"},scopedSlots:t._u([{key:"renderItem",fn:function(e,n){return[a("a-list-item",{key:n,scopedSlots:t._u([{key:"actions",fn:function(){return[a("a-dropdown",{attrs:{trigger:["click"],placement:"topLeft"},scopedSlots:t._u([{key:"overlay",fn:function(){return[a("a-menu",[e.status===t.commentStatuses.AUDITING.value?a("a-menu-item",{on:{click:function(a){return t.handleChangeStatus(e.id,t.commentStatuses.PUBLISHED.value)}}},[t._v(" 通过 ")]):t._e(),e.status===t.commentStatuses.AUDITING.value?a("a-menu-item",{on:{click:function(a){return t.handlePublishAndReply(e)}}},[t._v(" 通过并回复 ")]):e.status===t.commentStatuses.PUBLISHED.value?a("a-menu-item",{on:{click:function(a){return t.handleOpenReplyModal(e)}}},[t._v(" 回复 ")]):e.status===t.commentStatuses.RECYCLE.value?a("a-menu-item",[a("a-popconfirm",{attrs:{title:"你确定要还原该评论?",cancelText:"取消",okText:"确定"},on:{confirm:function(a){return t.handleChangeStatus(e.id,t.commentStatuses.PUBLISHED.value)}}},[t._v(" 还原 ")])],1):t._e(),[t.commentStatuses.PUBLISHED.value,t.commentStatuses.AUDITING.value].includes(e.status)?a("a-menu-item",[a("a-popconfirm",{attrs:{title:"你确定要将该评论移到回收站?",cancelText:"取消",okText:"确定"},on:{confirm:function(a){return t.handleChangeStatus(e.id,t.commentStatuses.RECYCLE.value)}}},[t._v(" 回收站 ")])],1):e.status===t.commentStatuses.RECYCLE.value?a("a-menu-item",[a("a-popconfirm",{attrs:{title:"你确定要永久删除该评论?",cancelText:"取消",okText:"确定"},on:{confirm:function(a){return t.handleDelete(e.id)}}},[t._v(" 删除 ")])],1):t._e()],1)]},proxy:!0}],null,!0)},[a("span",[a("a-icon",{attrs:{type:"bars"}})],1)])]},proxy:!0},{key:"extra",fn:function(){return[a("a-badge",{attrs:{status:t.commentStatuses[e.status].status,text:t._f("statusText")(e.status)}})]},proxy:!0}],null,!0)},[a("a-list-item-meta",{scopedSlots:t._u([{key:"description",fn:function(){return[t._v(" 发表在 "),"posts"===t.targetName?a("a",{attrs:{href:e.post.fullPath,target:"_blank"}},[t._v(" 《"+t._s(e.post.title)+"》 ")]):t._e(),"sheets"===t.targetName?a("a",{attrs:{href:e.sheet.fullPath,target:"_blank"}},[t._v(" 《"+t._s(e.sheet.title)+"》 ")]):t._e(),"journals"===t.targetName?a("a",{attrs:{href:"javascript:void(0);"}},[t._v(" 《"+t._s(t._f("moment")(e.journal.createTime))+"》 ")]):t._e()]},proxy:!0},{key:"avatar",fn:function(){return[a("a-avatar",{attrs:{src:e.avatar,size:"large"}})]},proxy:!0},{key:"title",fn:function(){return[a("div",{staticClass:"truncate"},[e.isAdmin?a("a-icon",{staticClass:"mr-2",attrs:{type:"user"}}):t._e(),e.authorUrl?a("a",{staticClass:"mr-1",attrs:{href:e.authorUrl,target:"_blank"}},[t._v(t._s(e.author))]):a("span",{staticClass:"mr-1"},[t._v(t._s(e.author))]),a("small",{staticStyle:{color:"rgba(0, 0, 0, 0.45)"}},[t._v(" "+t._s(t._f("timeAgo")(e.createTime))+" ")])],1)]},proxy:!0}],null,!0)}),a("div",{staticClass:"comment-content-wrapper",domProps:{innerHTML:t._s(t.$options.filters.markdownRender(e.content))}})],1)]}}],null,!1,1276610109)}):a("a-table",{attrs:{columns:t.columns,dataSource:t.list.data,loading:t.list.loading,pagination:!1,rowKey:function(t){return t.id},rowSelection:{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectionChange,getCheckboxProps:t.getCheckboxProps},scrollToFirstRowOnChange:""},scopedSlots:t._u([{key:"author",fn:function(e,n){return[n.isAdmin?a("a-icon",{staticClass:"mr-2",attrs:{type:"user"}}):t._e(),n.authorUrl?a("a",{attrs:{href:n.authorUrl,target:"_blank"}},[t._v(t._s(e))]):a("span",[t._v(t._s(e))])]}},{key:"content",fn:function(e){return[a("div",{staticClass:"comment-content-wrapper",domProps:{innerHTML:t._s(t.$options.filters.markdownRender(e))}})]}},{key:"status",fn:function(e){return[a("a-badge",{attrs:{status:t.commentStatuses[e].status,text:t._f("statusText")(e)}})]}},"posts"===t.targetName?{key:"post",fn:function(e){return[a("a",{attrs:{href:e.fullPath,target:"_blank"}},[t._v(" "+t._s(e.title)+" ")])]}}:null,"sheets"===t.targetName?{key:"sheet",fn:function(e){return[a("a",{attrs:{href:e.fullPath,target:"_blank"}},[t._v(" "+t._s(e.title)+" ")])]}}:null,"journals"===t.targetName?{key:"journal",fn:function(e){return[a("p",{staticClass:"comment-content-wrapper",domProps:{innerHTML:t._s(e.content)}})]}}:null,{key:"createTime",fn:function(e){return[a("a-tooltip",{attrs:{placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" "+t._s(t._f("moment")(e))+" ")]},proxy:!0}],null,!0)},[t._v(" "+t._s(t._f("timeAgo")(e))+" ")])]}},{key:"action",fn:function(e,n){return[n.status===t.commentStatuses.AUDITING.value?a("a-dropdown",{attrs:{trigger:["click"]},scopedSlots:t._u([{key:"overlay",fn:function(){return[a("a-menu",[a("a-menu-item",{key:"1",on:{click:function(e){return t.handleChangeStatus(n.id,t.commentStatuses.PUBLISHED.value)}}},[t._v(" 通过 ")]),a("a-menu-item",{key:"2",on:{click:function(e){return t.handlePublishAndReply(n)}}},[t._v(" 通过并回复")])],1)]},proxy:!0}],null,!0)},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("通过")])],1):n.status===t.commentStatuses.PUBLISHED.value?a("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(e){return t.handleOpenReplyModal(n)}}},[t._v(" 回复 ")]):n.status===t.commentStatuses.RECYCLE.value?a("a-popconfirm",{attrs:{title:"你确定要还原该评论?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleChangeStatus(n.id,t.commentStatuses.PUBLISHED.value)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("还原")])],1):t._e(),a("a-divider",{attrs:{type:"vertical"}}),[t.commentStatuses.PUBLISHED.value,t.commentStatuses.AUDITING.value].includes(n.status)?a("a-popconfirm",{attrs:{title:"你确定要将该评论移到回收站?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleChangeStatus(n.id,t.commentStatuses.RECYCLE.value)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("回收站")])],1):n.status===t.commentStatuses.RECYCLE.value?a("a-popconfirm",{attrs:{title:"你确定要永久删除该评论?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleDelete(n.id)}}},[a("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("删除")])],1):t._e()]}}],null,!0)}),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1)],1)]),a("CommentReplyModal",{attrs:{comment:t.selectedComment,target:t.target,"target-id":t.targetId,visible:t.replyModalVisible},on:{"update:visible":function(e){t.replyModalVisible=e},succeed:t.onReplyModalClose}})],1)},i=[],l=a(29230),u=(a(70315),a(53961),a(41479),a(96324)),c=a(64647),m=a(62210),d=a(34069),p=[{title:"昵称",dataIndex:"author",width:"150px",ellipsis:!0,scopedSlots:{customRender:"author"}},{title:"内容",dataIndex:"content",scopedSlots:{customRender:"content"}},{title:"状态",dataIndex:"status",width:"100px",scopedSlots:{customRender:"status"}},{title:"评论文章",dataIndex:"post",width:"200px",ellipsis:!0,scopedSlots:{customRender:"post"}},{title:"日期",dataIndex:"createTime",width:"170px",scopedSlots:{customRender:"createTime"}},{title:"操作",dataIndex:"action",width:"180px",scopedSlots:{customRender:"action"}}],h=[{title:"昵称",dataIndex:"author",width:"150px",ellipsis:!0,scopedSlots:{customRender:"author"}},{title:"内容",dataIndex:"content",scopedSlots:{customRender:"content"}},{title:"状态",dataIndex:"status",width:"100px",scopedSlots:{customRender:"status"}},{title:"评论页面",dataIndex:"sheet",width:"200px",ellipsis:!0,scopedSlots:{customRender:"sheet"}},{title:"日期",dataIndex:"createTime",width:"170px",scopedSlots:{customRender:"createTime"}},{title:"操作",dataIndex:"action",width:"180px",scopedSlots:{customRender:"action"}}],f=[{title:"昵称",dataIndex:"author",width:"150px",ellipsis:!0,scopedSlots:{customRender:"author"}},{title:"内容",dataIndex:"content",scopedSlots:{customRender:"content"}},{title:"状态",dataIndex:"status",width:"100px",scopedSlots:{customRender:"status"}},{title:"评论日志",dataIndex:"journal",width:"400px",ellipsis:!0,scopedSlots:{customRender:"journal"}},{title:"日期",dataIndex:"createTime",width:"170px",scopedSlots:{customRender:"createTime"}},{title:"操作",dataIndex:"action",width:"180px",scopedSlots:{customRender:"action"}}],v={name:"CommentTab",components:{CommentReplyModal:u.Z},mixins:[c.jB,c.KT],props:{target:{type:String,required:!1,default:"post",validator:function(t){return-1!==["post","sheet","journal"].indexOf(t)}},defaultStatus:{type:String,default:void 0}},data:function(){return{commentStatuses:d.v$,list:{data:[],loading:!1,total:0,hasPrevious:!1,hasNext:!1,params:{page:0,size:10,keyword:null,status:void 0}},selectedRowKeys:[],selectedRows:[],selectedComment:{},replyModalVisible:!1}},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},columns:function(){return"posts"===this.targetName?p:"sheets"===this.targetName?h:"journals"===this.targetName?f:{}},targetName:function(){return"".concat(this.target,"s")},targetId:function(){return 0===Object.keys(this.selectedComment).length?0:"posts"===this.targetName?this.selectedComment.post.id:"sheets"===this.targetName?this.selectedComment.sheet.id:"journals"===this.targetName?this.selectedComment.journal.id:0}},watch:{defaultStatus:function(t){var e=this;this.list.params.status=t,this.$nextTick((function(){e.handleListComments()}))}},mounted:function(){var t=this;this.list.params.status=this.defaultStatus,this.$nextTick((function(){t.handleListComments()}))},methods:{handleListComments:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,m.Z.comment.list(t.targetName,t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,t.list.hasPrevious=a.data.hasPrevious,t.list.hasNext=a.data.hasNext,e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](0),t.$log.error(e.t0);case 14:return e.prev=14,t.list.loading=!1,e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[0,11,14,17]])})))()},handleQuery:function(){this.handleClearRowKeys(),this.handlePageChange(1)},handleChangeStatus:function(t,e){var a=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,m.Z.comment.updateStatusById(a.targetName,t,e);case 3:a.$message.success("操作成功!"),n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),a.$log.error("Failed to change comment status",n.t0);case 9:return n.prev=9,n.next=12,a.handleListComments();case 12:return n.finish(9);case 13:case"end":return n.stop()}}),n,null,[[0,6,9,13]])})))()},handleChangeStatusInBatch:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(e.selectedRowKeys.length){a.next=3;break}return e.$message.info("请至少选择一项!"),a.abrupt("return");case 3:return a.prev=3,e.$log.debug("commentIds: ".concat(e.selectedRowKeys,", status: ").concat(t)),a.next=7,m.Z.comment.updateStatusInBatch(e.targetName,e.selectedRowKeys,t);case 7:e.selectedRowKeys=[],a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](3),e.$log.error("Failed to change comment status in batch",a.t0);case 13:return a.prev=13,a.next=16,e.handleListComments();case 16:return a.finish(13);case 17:case"end":return a.stop()}}),a,null,[[3,10,13,17]])})))()},handleDelete:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,m.Z.comment["delete"](e.targetName,t);case 3:e.$message.success("删除成功!"),a.next=9;break;case 6:a.prev=6,a.t0=a["catch"](0),e.$log.error("Failed to delete comment",a.t0);case 9:return a.prev=9,a.next=12,e.handleListComments();case 12:return a.finish(9);case 13:case"end":return a.stop()}}),a,null,[[0,6,9,13]])})))()},handleDeleteInBatch:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.selectedRowKeys.length){e.next=3;break}return t.$message.info("请至少选择一项!"),e.abrupt("return");case 3:return e.prev=3,t.$log.debug("delete: ".concat(t.selectedRowKeys)),e.next=7,m.Z.comment.deleteInBatch(t.targetName,t.selectedRowKeys);case 7:t.selectedRowKeys=[],e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](3),t.$log.error("Failed to delete comments in batch",e.t0);case 13:return e.prev=13,e.next=16,t.handleListComments();case 16:return e.finish(13);case 17:case"end":return e.stop()}}),e,null,[[3,10,13,17]])})))()},handlePublishAndReply:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.handleChangeStatus(t.id,e.commentStatuses.PUBLISHED.value);case 2:e.handleOpenReplyModal(t);case 3:case"end":return a.stop()}}),a)})))()},handleOpenReplyModal:function(t){this.selectedComment=t,this.replyModalVisible=!0},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListComments()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListComments()},handleResetParam:function(){this.list.params.keyword=null,this.list.params.status=void 0,this.handleClearRowKeys(),this.handlePageChange(1)},handleClearRowKeys:function(){this.selectedRowKeys=[]},onReplyModalClose:function(){this.selectedComment={},this.replyModalVisible=!1,this.handleListComments()},onSelectionChange:function(t){this.selectedRowKeys=t,this.$log.debug("SelectedRowKeys: ".concat(t))},getCheckboxProps:function(t){return{props:{disabled:null==this.list.params.status||""===this.list.params.status,name:t.author}}}},filters:{statusText:function(t){return t?d.v$[t].text:""}}},g=v,y=a(42177),x=(0,y.Z)(g,o,i,!1,null,null,null),S=x.exports,k={components:{PageView:r.B4,CommentTab:S},data:function(){var t=[{title:"文章",key:"post"},{title:"页面",key:"sheet"},{title:"日志",key:"journal"}];return{panes:t,activeKey:t[0].key,defaultStatus:void 0}},beforeRouteEnter:function(t,e,a){var n=t.query.activeKey,s=t.query.defaultStatus;a((function(t){n&&(t.activeKey=n),s&&(t.defaultStatus=s)}))},watch:{activeKey:function(t){var e=this.$router.history.current.path;this.$router.push({path:e,query:{activeKey:t}}).catch((function(t){return t}))}}},b=k,C=(0,y.Z)(b,n,s,!1,null,null,null),_=C.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/650.5d1bd6d1.js b/src/main/resources/admin/js/650.5d1bd6d1.js deleted file mode 100644 index 387387932..000000000 --- a/src/main/resources/admin/js/650.5d1bd6d1.js +++ /dev/null @@ -1 +0,0 @@ -(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[650],{53303:function(t,e,a){var n=a(15820),o=Math.floor,i=function(t,e){var a=t.length,l=o(a/2);return a<8?r(t,e):s(t,i(n(t,0,l),e),i(n(t,l),e),e)},r=function(t,e){var a,n,o=t.length,i=1;while(i0)t[n]=t[--n];n!==i++&&(t[n]=a)}return t},s=function(t,e,a,n){var o=e.length,i=a.length,r=0,s=0;while(r3)){if(f)return!0;if(h)return h<603;var t,e,a,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0;n<47;n++)v.push({k:e+n,v:a})}for(v.sort((function(t,e){return e.v-t.v})),n=0;nl(a)?1:-1}};n({target:"Array",proto:!0,forced:T},{sort:function(t){void 0!==t&&i(t);var e=r(this);if(x)return void 0===t?y(e):y(e,t);var a,n,o=[],l=s(e);for(n=0;ne=i)),e}const d=l.QQ.define({create(){return B.empty},update(t,e){let i=e.state.facet(u),n=e.annotation(h);if(n){let s=e.docChanged?l.jT.single(f(e.changes)):void 0,r=b.fromTransaction(e,s),o=n.side,h=0==o?t.undone:t.done;return h=r?x(h,h.length,i.minDepth,r):T(h,e.startState.selection),new B(0==o?n.rest:h,0==o?h:n.rest)}let s=e.annotation(a);if("full"!=s&&"before"!=s||(t=t.isolate()),!1===e.annotation(l.YW.addToHistory))return e.changes.empty?t:t.addMapping(e.changes.desc);let r=b.fromTransaction(e),o=e.annotation(l.YW.time),c=e.annotation(l.YW.userEvent);return r?t=t.addChanges(r,o,c,i.newGroupDelay,i.minDepth):e.selection&&(t=t.addSelection(e.startState.selection,o,c,i.newGroupDelay)),"full"!=s&&"after"!=s||(t=t.isolate()),t},toJSON(t){return{done:t.done.map((t=>t.toJSON())),undone:t.undone.map((t=>t.toJSON()))}},fromJSON(t){return new B(t.done.map(b.fromJSON),t.undone.map(b.fromJSON))}});function p(t={}){return[d,u.of(t),o.tk.domEventHandlers({beforeinput(t,e){let i="historyUndo"==t.inputType?g:"historyRedo"==t.inputType?v:null;return!!i&&(t.preventDefault(),i(e))}})]}function m(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let s=i.field(d,!1);if(!s)return!1;let r=s.pop(t,i,e);return!!r&&(n(r),!0)}}const g=m(0,!1),v=m(1,!1),w=m(0,!0),y=m(1,!0);class b{constructor(t,e,i,n,s){this.changes=t,this.effects=e,this.mapped=i,this.startSelection=n,this.selectionsAfter=s}setSelAfter(t){return new b(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,e,i;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(e=this.mapped)||void 0===e?void 0:e.toJSON(),startSelection:null===(i=this.startSelection)||void 0===i?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map((t=>t.toJSON()))}}static fromJSON(t){return new b(t.changes&&l.as.fromJSON(t.changes),[],t.mapped&&l.n0.fromJSON(t.mapped),t.startSelection&&l.jT.fromJSON(t.startSelection),t.selectionsAfter.map(l.jT.fromJSON))}static fromTransaction(t,e){let i=C;for(let n of t.startState.facet(c)){let e=n(t);e.length&&(i=i.concat(e))}return!i.length&&t.changes.empty?null:new b(t.changes.invert(t.startState.doc),i,void 0,e||t.startState.selection,C)}static selection(t){return new b(void 0,C,void 0,void 0,t)}}function x(t,e,i,n){let s=e+1>i+20?e-i-1:0,r=t.slice(s,e);return r.push(n),r}function k(t,e){let i=[],n=!1;return t.iterChangedRanges(((t,e)=>i.push(t,e))),e.iterChangedRanges(((t,e,s,r)=>{for(let o=0;o=t&&s<=e&&(n=!0)}})),n}function S(t,e){return t.ranges.length==e.ranges.length&&0===t.ranges.filter(((t,i)=>t.empty!=e.ranges[i].empty)).length}function A(t,e){return t.length?e.length?t.concat(e):t:e}const C=[],M=200;function T(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-M));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),x(t,t.length-1,1e9,i.setSelAfter(n)))}return[b.selection([e])]}function D(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function O(t,e){if(!t.length)return t;let i=t.length,n=C;while(i){let s=E(t[i-1],e,n);if(s.changes&&!s.changes.empty||s.effects.length){let e=t.slice(0,i);return e[i-1]=s,e}e=s.mapped,i--,n=s.selectionsAfter}return n.length?[b.selection(n)]:C}function E(t,e,i){let n=A(t.selectionsAfter.length?t.selectionsAfter.map((t=>t.map(e))):C,i);if(!t.changes)return b.selection(n);let s=t.changes.map(e),r=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(r):r;return new b(s,l.Py.mapEffects(t.effects,e),o,t.startSelection.map(r),n)}const R=/^(input\.type|delete)($|\.)/;class B{constructor(t,e,i=0,n){this.done=t,this.undone=e,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new B(this.done,this.undone):this}addChanges(t,e,i,n,s){let r=this.done,o=r[r.length-1];return r=o&&o.changes&&!o.changes.empty&&t.changes&&(!i||R.test(i))&&(!o.selectionsAfter.length&&e-this.prevTime0&&e-this.prevTimeI.Xs.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},F=l.r$.define();function z(t){return[W(),F.of(Object.assign(Object.assign({},H),t))]}const j=o.tk.baseTheme({".cm-gutters":{display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#999",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"}}),q=l.r$.define({combine:t=>t.some((t=>t))});function W(t){let e=[$,j];return t&&!1===t.fixed&&e.push(q.of(!0)),e}const $=o.lg.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(F).map((e=>new G(t,e)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(q),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,n=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(n<.8*(i.to-i.from))}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(q)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=I.Xs.iter(this.view.state.facet(V),this.view.viewport.from),n=[],s=this.gutters.map((t=>new U(t,this.view.viewport,-this.view.documentPadding.top)));for(let r of this.view.viewportLineBlocks){let t;if(Array.isArray(r.type)){for(let e of r.type)if(e.type==o.kH.Text){t=e;break}}else t=r.type==o.kH.Text?r:void 0;if(t){n.length&&(n=[]),K(i,n,r.from);for(let e of s)e.line(this.view,t,n)}}for(let r of s)r.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(F),i=t.state.facet(F),n=t.docChanged||t.heightChanged||t.viewportChanged||!I.Xs.eq(t.startState.facet(V),t.state.facet(V),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let s of this.gutters)s.update(t)&&(n=!0);else{n=!0;let s=[];for(let n of i){let i=e.indexOf(n);i<0?s.push(new G(this.view,n)):(this.gutters[i].update(t),s.push(this.gutters[i]))}for(let t of this.gutters)t.dom.remove(),s.indexOf(t)<0&&t.destroy();for(let t of s)this.dom.appendChild(t.dom);this.gutters=s}return n}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:o.BF.scrollMargins.from((t=>0!=t.gutters.length&&t.fixed?t.view.textDirection==o.Nm.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}:null))});function _(t){return Array.isArray(t)?t:[t]}function K(t,e,i){while(t.value&&t.from<=i)t.from==i&&e.push(t.value),t.next()}class U{constructor(t,e,i){this.gutter=t,this.height=i,this.localMarkers=[],this.i=0,this.cursor=I.Xs.iter(t.markers,e.from)}line(t,e,i){this.localMarkers.length&&(this.localMarkers=[]),K(this.cursor,this.localMarkers,e.from);let n=i.length?this.localMarkers.concat(i):this.localMarkers,s=this.gutter.config.lineMarker(t,e,n);s&&n.unshift(s);let r=this.gutter;if(0==n.length&&!r.config.renderEmptyElements)return;let o=e.top-this.height;if(this.i==r.elements.length){let i=new J(t,e.height,o,n);r.elements.push(i),r.dom.appendChild(i.dom)}else r.elements[this.i].update(t,e.height,o,n);this.height=e.bottom,this.i++}finish(){let t=this.gutter;while(t.elements.length>this.i){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class G{constructor(t,e){this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in e.domEventHandlers)this.dom.addEventListener(i,(n=>{let s=t.lineBlockAtHeight(n.clientY-t.documentTop);e.domEventHandlers[i](t,s,n)&&n.preventDefault()}));this.markers=_(e.markers(t)),e.initialSpacer&&(this.spacer=new J(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=_(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let e=this.config.updateSpacer(this.spacer.markers[0],t);e!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[e])}let i=t.view.viewport;return!I.Xs.eq(this.markers,e,i.from,i.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class J{constructor(t,e,i,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.update(t,e,i,n)}update(t,e,i,n){this.height!=e&&(this.dom.style.height=(this.height=e)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),X(this.markers,n)||this.setMarkers(t,n)}setMarkers(t,e){let i="cm-gutterElement",n=this.dom.firstChild;for(let s=0,r=0;;){let o=r,l=st(e,i,n)||s(e,i,n):s}return i}})}});class Z extends N{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function tt(t,e){return t.state.facet(Y).formatNumber(e,t.state)}const et=F.compute([Y],(t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Q)},lineMarker(t,e,i){return i.some((t=>t.toDOM))?null:new Z(tt(t,t.state.doc.lineAt(e.from).number))},lineMarkerChange:t=>t.startState.facet(Y)!=t.state.facet(Y),initialSpacer(t){return new Z(tt(t,nt(t.state.doc.lines)))},updateSpacer(t,e){let i=tt(e.view,nt(e.view.state.doc.lines));return i==t.number?t:new Z(i)},domEventHandlers:t.facet(Y).domEventHandlers})));function it(t={}){return[Y.of(t),W(),et]}function nt(t){let e=9;while(e{let e=[],i=-1;for(let n of t.selection.ranges)if(n.empty){let s=t.doc.lineAt(n.head).from;s>i&&(i=s,e.push(st.range(s)))}return I.Xs.of(e)}));function ot(){return rt}function lt(t,e){let i=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);return i>=n?void 0:{from:i,to:n}}const ht=l.Py.define({map:lt}),at=l.Py.define({map:lt});function ct(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some((t=>t.from<=i&&t.to>=i))||e.push(t.lineBlockAt(i));return e}const ut=l.QQ.define({create(){return o.p.none},update(t,e){t=t.map(e.changes);for(let i of e.effects)i.is(ht)&&!dt(t,i.value.from,i.value.to)?t=t.update({add:[At.range(i.value.from,i.value.to)]}):i.is(at)&&(t=t.update({filter:(t,e)=>i.value.from!=t||i.value.to!=e,filterFrom:i.value.from,filterTo:i.value.to}));if(e.selection){let i=!1,{head:n}=e.selection.main;t.between(n,n,((t,e)=>{tn&&(i=!0)})),i&&(t=t.update({filterFrom:n,filterTo:n,filter:(t,e)=>e<=n||t>=n}))}return t},provide:t=>o.tk.decorations.from(t)});function ft(t,e,i){var n;let s=null;return null===(n=t.field(ut,!1))||void 0===n||n.between(e,i,((t,e)=>{(!s||s.from>t)&&(s={from:t,to:e})})),s}function dt(t,e,i){let n=!1;return t.between(e,e,((t,s)=>{t==e&&s==i&&(n=!0)})),n}function pt(t,e){return t.field(ut,!1)?e:e.concat(l.Py.appendConfig.of(St()))}const mt=t=>{for(let e of ct(t)){let i=(0,L.Fw)(t.state,e.from,e.to);if(i)return t.dispatch({effects:pt(t.state,[ht.of(i),vt(t,i)])}),!0}return!1},gt=t=>{if(!t.state.field(ut,!1))return!1;let e=[];for(let i of ct(t)){let n=ft(t.state,i.from,i.to);n&&e.push(at.of(n),vt(t,n,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function vt(t,e,i=!0){let n=t.state.doc.lineAt(e.from).number,s=t.state.doc.lineAt(e.to).number;return o.tk.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${n} ${t.state.phrase("to")} ${s}.`)}const wt=t=>{let{state:e}=t,i=[];for(let n=0;n{let e=t.state.field(ut,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,((t,e)=>{i.push(at.of({from:t,to:e}))})),t.dispatch({effects:i}),!0},bt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:mt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:gt},{key:"Ctrl-Alt-[",run:wt},{key:"Ctrl-Alt-]",run:yt}],xt={placeholderDOM:null,placeholderText:"…"},kt=l.r$.define({combine(t){return(0,l.BO)(t,xt)}});function St(t){let e=[ut,Dt];return t&&e.push(kt.of(t)),e}const At=o.p.replace({widget:new class extends o.l9{ignoreEvents(){return!1}toDOM(t){let{state:e}=t,i=e.facet(kt),n=e=>{let i=t.lineBlockAt(t.posAtDOM(e.target)),n=ft(t.state,i.from,i.to);n&&t.dispatch({effects:at.of(n)}),e.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(t,n);let s=document.createElement("span");return s.textContent=i.placeholderText,s.setAttribute("aria-label",e.phrase("folded code")),s.title=e.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=n,s}}}),Ct={openText:"⌄",closedText:"›",markerDOM:null};class Mt extends N{constructor(t,e){super(),this.config=t,this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");return e.textContent=this.open?this.config.openText:this.config.closedText,e.title=t.state.phrase(this.open?"Fold line":"Unfold line"),e}}function Tt(t={}){let e=Object.assign(Object.assign({},Ct),t),i=new Mt(e,!0),n=new Mt(e,!1),s=o.lg.fromClass(class{constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)}update(t){(t.docChanged||t.viewportChanged||t.startState.facet(L.dK)!=t.state.facet(L.dK)||t.startState.field(ut,!1)!=t.state.field(ut,!1))&&(this.markers=this.buildMarkers(t.view))}buildMarkers(t){let e=new I.f_;for(let s of t.viewportLineBlocks){let r=ft(t.state,s.from,s.to)?n:(0,L.Fw)(t.state,s.from,s.to)?i:null;r&&e.add(s.from,s.from,r)}return e.finish()}});return[s,z({class:"cm-foldGutter",markers(t){var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.markers)||I.Xs.empty},initialSpacer(){return new Mt(e,!1)},domEventHandlers:{click:(t,e)=>{let i=ft(t.state,e.from,e.to);if(i)return t.dispatch({effects:at.of(i)}),!0;let n=(0,L.Fw)(t.state,e.from,e.to);return!!n&&(t.dispatch({effects:ht.of(n)}),!0)}}}),St()]}const Dt=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});var Ot=i(76089),Et=i(17918);const Rt=o.tk.baseTheme({".cm-matchingBracket":{backgroundColor:"#328c8252"},".cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Bt=1e4,Pt="()[]{}",Lt=l.r$.define({combine(t){return(0,l.BO)(t,{afterCursor:!0,brackets:Pt,maxScanDistance:Bt})}}),It=o.p.mark({class:"cm-matchingBracket"}),Nt=o.p.mark({class:"cm-nonmatchingBracket"}),Vt=l.QQ.define({create(){return o.p.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],n=e.state.facet(Lt);for(let s of e.state.selection.ranges){if(!s.empty)continue;let t=jt(e.state,s.head,-1,n)||s.head>0&&jt(e.state,s.head-1,1,n)||n.afterCursor&&(jt(e.state,s.head,1,n)||s.heado.tk.decorations.from(t)}),Ht=[Vt,Rt];function Ft(t={}){return[Lt.of(t),Ht]}function zt(t,e,i){let n=t.prop(e<0?Et.md.openedBy:Et.md.closedBy);if(n)return n;if(1==t.name.length){let n=i.indexOf(t.name);if(n>-1&&n%2==(e<0?1:0))return[i[n+e]]}return null}function jt(t,e,i,n={}){let s=n.maxScanDistance||Bt,r=n.brackets||Pt,o=(0,L.qz)(t),l=o.resolveInner(e,i);for(let h=l;h;h=h.parent){let n=zt(h.type,i,r);if(n&&h.from=n.to){if(0==h&&s.indexOf(a.type.name)>-1&&a.from0)return null;let a={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),u=0;for(let f=0;!c.next().done&&f<=r;){let t=c.value;i<0&&(f+=t.length);let r=e+f*i;for(let e=i>0?0:t.length-1,l=i>0?t.length:-1;e!=l;e+=i){let l=o.indexOf(t[e]);if(!(l<0||n.resolve(r+e,1).type!=s))if(l%2==0==i>0)u++;else{if(1==u)return{start:a,end:{from:r+e,to:r+e+1},matched:l>>1==h>>1};u--}}i>0&&(f+=t.length)}return c.done?{start:a,matched:!1}:null}function $t(t,e){return l.jT.create(t.ranges.map(e),t.mainIndex)}function _t(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function Kt({state:t,dispatch:e},i){let n=$t(t.selection,i);return!n.eq(t.selection)&&(e(_t(t,n)),!0)}function Ut(t,e){return l.jT.cursor(e?t.to:t.from)}function Gt(t,e){return Kt(t,(i=>i.empty?t.moveByChar(i,e):Ut(i,e)))}const Jt=t=>Gt(t,t.textDirection!=o.Nm.LTR),Xt=t=>Gt(t,t.textDirection==o.Nm.LTR);function Qt(t,e){return Kt(t,(i=>i.empty?t.moveByGroup(i,e):Ut(i,e)))}const Yt=t=>Qt(t,t.textDirection!=o.Nm.LTR),Zt=t=>Qt(t,t.textDirection==o.Nm.LTR);function te(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function ee(t,e,i){let n=(0,L.qz)(t).resolveInner(e.head),s=i?Et.md.closedBy:Et.md.openedBy;for(let l=e.head;;){let e=i?n.childAfter(l):n.childBefore(l);if(!e)break;te(t,e,s)?n=e:l=i?e.to:e.from}let r,o,h=n.type.prop(s);return o=h&&(r=i?jt(t,n.from,1):jt(t,n.to,-1))&&r.matched?i?r.end.to:r.end.from:i?n.to:n.from,l.jT.cursor(o,i?-1:1)}const ie=t=>Kt(t,(e=>ee(t.state,e,t.textDirection!=o.Nm.LTR))),ne=t=>Kt(t,(e=>ee(t.state,e,t.textDirection==o.Nm.LTR)));function se(t,e){return Kt(t,(i=>{if(!i.empty)return Ut(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)}))}const re=t=>se(t,!1),oe=t=>se(t,!0);function le(t,e){let{state:i}=t,n=$t(i.selection,(i=>i.empty?t.moveVertically(i,e,t.dom.clientHeight):Ut(i,e)));if(n.eq(i.selection))return!1;let s=t.coordsAtPos(i.selection.main.head),r=t.scrollDOM.getBoundingClientRect();return t.dispatch(_t(i,n),{effects:s&&s.top>r.top&&s.bottomle(t,!1),ae=t=>le(t,!0);function ce(t,e,i){let n=t.lineBlockAt(e.head),s=t.moveToLineBoundary(e,i);if(s.head==e.head&&s.head!=(i?n.to:n.from)&&(s=t.moveToLineBoundary(e,i,!1)),!i&&s.head==n.from&&n.length){let i=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;i&&e.head!=n.from+i&&(s=l.jT.cursor(n.from+i))}return s}const ue=t=>Kt(t,(e=>ce(t,e,!0))),fe=t=>Kt(t,(e=>ce(t,e,!1))),de=t=>Kt(t,(e=>l.jT.cursor(t.lineBlockAt(e.head).from,1))),pe=t=>Kt(t,(e=>l.jT.cursor(t.lineBlockAt(e.head).to,-1)));function me(t,e,i){let n=!1,s=$t(t.selection,(e=>{let s=jt(t,e.head,-1)||jt(t,e.head,1)||e.head>0&&jt(t,e.head-1,1)||e.headme(t,e,!1);function ve(t,e){let i=$t(t.state.selection,(t=>{let i=e(t);return l.jT.range(t.anchor,i.head,i.goalColumn)}));return!i.eq(t.state.selection)&&(t.dispatch(_t(t.state,i)),!0)}function we(t,e){return ve(t,(i=>t.moveByChar(i,e)))}const ye=t=>we(t,t.textDirection!=o.Nm.LTR),be=t=>we(t,t.textDirection==o.Nm.LTR);function xe(t,e){return ve(t,(i=>t.moveByGroup(i,e)))}const ke=t=>xe(t,t.textDirection!=o.Nm.LTR),Se=t=>xe(t,t.textDirection==o.Nm.LTR);const Ae=t=>ve(t,(e=>ee(t.state,e,t.textDirection!=o.Nm.LTR))),Ce=t=>ve(t,(e=>ee(t.state,e,t.textDirection==o.Nm.LTR)));function Me(t,e){return ve(t,(i=>t.moveVertically(i,e)))}const Te=t=>Me(t,!1),De=t=>Me(t,!0);function Oe(t,e){return ve(t,(i=>t.moveVertically(i,e,t.dom.clientHeight)))}const Ee=t=>Oe(t,!1),Re=t=>Oe(t,!0),Be=t=>ve(t,(e=>ce(t,e,!0))),Pe=t=>ve(t,(e=>ce(t,e,!1))),Le=t=>ve(t,(e=>l.jT.cursor(t.lineBlockAt(e.head).from))),Ie=t=>ve(t,(e=>l.jT.cursor(t.lineBlockAt(e.head).to))),Ne=({state:t,dispatch:e})=>(e(_t(t,{anchor:0})),!0),Ve=({state:t,dispatch:e})=>(e(_t(t,{anchor:t.doc.length})),!0),He=({state:t,dispatch:e})=>(e(_t(t,{anchor:t.selection.main.anchor,head:0})),!0),Fe=({state:t,dispatch:e})=>(e(_t(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),ze=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),je=({state:t,dispatch:e})=>{let i=ii(t).map((({from:e,to:i})=>l.jT.range(e,Math.min(i+1,t.doc.length))));return e(t.update({selection:l.jT.create(i),userEvent:"select"})),!0},qe=({state:t,dispatch:e})=>{let i=$t(t.selection,(e=>{var i;let n=(0,L.qz)(t).resolveInner(e.head,1);while(!(n.from=e.to||n.to>e.to&&n.from<=e.from)&&(null===(i=n.parent)||void 0===i?void 0:i.parent))n=n.parent;return l.jT.range(n.to,n.from)}));return e(_t(t,i)),!0},We=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=l.jT.create([i.main]):i.main.empty||(n=l.jT.create([l.jT.cursor(i.main.head)])),!!n&&(e(_t(t,n)),!0)};function $e({state:t,dispatch:e},i){if(t.readOnly)return!1;let n="delete.selection",s=t.changeByRange((t=>{let{from:e,to:s}=t;if(e==s){let t=i(e);te&&(n="delete.forward"),e=Math.min(e,t),s=Math.max(s,t)}return e==s?{range:t}:{changes:{from:e,to:s},range:l.jT.cursor(e)}}));return!s.changes.empty&&(e(t.update(s,{scrollIntoView:!0,userEvent:n})),!0)}function _e(t,e,i){if(t instanceof o.tk)for(let n of t.pluginField(o.BF.atomicRanges))n.between(e,e,((t,n)=>{te&&(e=i?n:t)}));return e}const Ke=(t,e)=>$e(t,(i=>{let n,s,{state:r}=t,o=r.doc.lineAt(i);if(!e&&i>o.from&&iKe(t,!1),Ge=t=>Ke(t,!0),Je=(t,e)=>$e(t,(i=>{let n=i,{state:s}=t,r=s.doc.lineAt(n),o=s.charCategorizer(n);for(let t=null;;){if(n==(e?r.to:r.from)){n==i&&r.number!=(e?s.doc.lines:1)&&(n+=e?1:-1);break}let l=(0,Ot.cp)(r.text,n-r.from,e)+r.from,h=r.text.slice(Math.min(n,l)-r.from,Math.max(n,l)-r.from),a=o(h);if(null!=t&&a!=t)break;" "==h&&n==i||(t=a),n=l}return _e(t,n,e)})),Xe=t=>Je(t,!1),Qe=t=>Je(t,!0),Ye=t=>$e(t,(e=>{let i=t.lineBlockAt(e).to;return _e(t,e$e(t,(e=>{let i=t.lineBlockAt(e).from;return _e(t,e>i?i:Math.max(0,e-1),!1)})),ti=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange((t=>({changes:{from:t.from,to:t.to,insert:Ot.xv.of(["",""])},range:l.jT.cursor(t.from)})));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},ei=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange((e=>{if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};let i=e.from,n=t.doc.lineAt(i),s=i==n.from?i-1:(0,Ot.cp)(n.text,i-n.from,!1)+n.from,r=i==n.to?i+1:(0,Ot.cp)(n.text,i-n.from,!0)+n.from;return{changes:{from:s,to:r,insert:t.doc.slice(i,r).append(t.doc.slice(s,i))},range:l.jT.cursor(r)}}));return!i.changes.empty&&(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function ii(t){let e=[],i=-1;for(let n of t.selection.ranges){let s=t.doc.lineAt(n.from),r=t.doc.lineAt(n.to);if(n.empty||n.to!=r.from||(r=t.doc.lineAt(n.to-1)),i>=s.number){let t=e[e.length-1];t.to=r.to,t.ranges.push(n)}else e.push({from:s.from,to:r.to,ranges:[n]});i=r.number+1}return e}function ni(t,e,i){if(t.readOnly)return!1;let n=[],s=[];for(let r of ii(t)){if(i?r.to==t.doc.length:0==r.from)continue;let e=t.doc.lineAt(i?r.to+1:r.from-1),o=e.length+1;if(i){n.push({from:r.to,to:e.to},{from:r.from,insert:e.text+t.lineBreak});for(let e of r.ranges)s.push(l.jT.range(Math.min(t.doc.length,e.anchor+o),Math.min(t.doc.length,e.head+o)))}else{n.push({from:e.from,to:r.from},{from:r.to,insert:t.lineBreak+e.text});for(let t of r.ranges)s.push(l.jT.range(t.anchor-o,t.head-o))}}return!!n.length&&(e(t.update({changes:n,scrollIntoView:!0,selection:l.jT.create(s,t.selection.mainIndex),userEvent:"move.line"})),!0)}const si=({state:t,dispatch:e})=>ni(t,e,!1),ri=({state:t,dispatch:e})=>ni(t,e,!0);function oi(t,e,i){if(t.readOnly)return!1;let n=[];for(let s of ii(t))i?n.push({from:s.from,insert:t.doc.slice(s.from,s.to)+t.lineBreak}):n.push({from:s.to,insert:t.lineBreak+t.doc.slice(s.from,s.to)});return e(t.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const li=({state:t,dispatch:e})=>oi(t,e,!1),hi=({state:t,dispatch:e})=>oi(t,e,!0),ai=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(ii(e).map((({from:t,to:i})=>(t>0?t--:it.moveVertically(e,!0))).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function ci(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i,n=(0,L.qz)(t).resolveInner(e),s=n.childBefore(e),r=n.childAfter(e);return s&&r&&s.to<=e&&r.from>=e&&(i=s.type.prop(Et.md.closedBy))&&i.indexOf(r.name)>-1&&t.doc.lineAt(s.to).from==t.doc.lineAt(r.from).from?{from:s.to,to:r.from}:null}const ui=di(!1),fi=di(!0);function di(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange((i=>{let{from:n,to:s}=i,r=e.doc.lineAt(n),o=!t&&n==s&&ci(e,n);t&&(n=s=(s<=r.to?r:e.doc.lineAt(s)).to);let h=new L.Gn(e,{simulateBreak:n,simulateDoubleBreak:!!o}),a=(0,L.K0)(h,n);null==a&&(a=/^\s*/.exec(e.doc.lineAt(n).text)[0].length);while(sr.from&&n{let s=[];for(let o=n.from;o<=n.to;){let r=t.doc.lineAt(o);r.number>i&&(n.empty||n.to>r.from)&&(e(r,s,n),i=r.number),o=r.to+1}let r=t.changes(s);return{changes:s,range:l.jT.range(r.mapPos(n.anchor,1),r.mapPos(n.head,1))}}))}const mi=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new L.Gn(t,{overrideIndentation:t=>{let e=i[t];return null==e?-1:e}}),s=pi(t,((e,s,r)=>{let o=(0,L.K0)(n,e.from);if(null==o)return;/\S/.test(e.text)||(o=0);let l=/^\s*/.exec(e.text)[0],h=(0,L.SS)(t,o);(l!=h||r.from!t.readOnly&&(e(t.update(pi(t,((e,i)=>{i.push({from:e.from,insert:t.facet(L.c)})})),{userEvent:"input.indent"})),!0),vi=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(pi(t,((e,i)=>{let n=/^\s*/.exec(e.text)[0];if(!n)return;let s=(0,Ot.IS)(n,t.tabSize),r=0,o=(0,L.SS)(t,Math.max(0,s-(0,L.y1)(t)));while(r({mac:t.key,run:t.run,shift:t.shift})))),bi=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:ie,shift:Ae},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:ne,shift:Ce},{key:"Alt-ArrowUp",run:si},{key:"Shift-Alt-ArrowUp",run:li},{key:"Alt-ArrowDown",run:ri},{key:"Shift-Alt-ArrowDown",run:hi},{key:"Escape",run:We},{key:"Mod-Enter",run:fi},{key:"Alt-l",mac:"Ctrl-l",run:je},{key:"Mod-i",run:qe,preventDefault:!0},{key:"Mod-[",run:vi},{key:"Mod-]",run:gi},{key:"Mod-Alt-\\",run:mi},{key:"Shift-Mod-k",run:ai},{key:"Shift-Mod-\\",run:ge}].concat(yi),xi={key:"Tab",run:gi,shift:vi},ki={brackets:["(","[","{","'",'"'],before:")]}'\":;>"},Si=l.Py.define({map(t,e){let i=e.mapPos(t,-1,l.gc.TrackAfter);return null==i?void 0:i}}),Ai=l.Py.define({map(t,e){return e.mapPos(t)}}),Ci=new class extends I.uU{};Ci.startSide=1,Ci.endSide=-1;const Mi=l.QQ.define({create(){return I.Xs.empty},update(t,e){if(e.selection){let i=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;i!=e.changes.mapPos(n,-1)&&(t=I.Xs.empty)}t=t.map(e.changes);for(let i of e.effects)i.is(Si)?t=t.update({add:[Ci.range(i.value,i.value+1)]}):i.is(Ai)&&(t=t.update({filter:t=>t!=i.value}));return t}});function Ti(){return[o.tk.inputHandler.of(Ri),Mi]}const Di="()[]{}<>";function Oi(t){for(let e=0;e2||2==n.length&&1==(0,Ot.nZ)((0,Ot.gm)(n,0))||e!=s.from||i!=s.to)return!1;let r=Li(t.state,n);return!!r&&(t.dispatch(r),!0)}const Bi=({state:t,dispatch:e})=>{let i=Ei(t,t.selection.main.head),n=i.brackets||ki.brackets,s=null,r=t.changeByRange((e=>{if(e.empty){let i=Vi(t.doc,e.head);for(let s of n)if(s==i&&Ni(t.doc,e.head)==Oi((0,Ot.gm)(s,0)))return{changes:{from:e.head-s.length,to:e.head+s.length},range:l.jT.cursor(e.head-s.length),userEvent:"delete.backward"}}return{range:s=e}}));return s||e(t.update(r,{scrollIntoView:!0})),!s},Pi=[{key:"Backspace",run:Bi}];function Li(t,e){let i=Ei(t,t.selection.main.head),n=i.brackets||ki.brackets;for(let s of n){let r=Oi((0,Ot.gm)(s,0));if(e==s)return r==s?zi(t,s,n.indexOf(s+s+s)>-1):Hi(t,s,r,i.before||ki.before);if(e==r&&Ii(t,t.selection.main.from))return Fi(t,s,r)}return null}function Ii(t,e){let i=!1;return t.field(Mi).between(0,t.doc.length,(t=>{t==e&&(i=!0)})),i}function Ni(t,e){let i=t.sliceString(e,e+2);return i.slice(0,(0,Ot.nZ)((0,Ot.gm)(i,0)))}function Vi(t,e){let i=t.sliceString(e-2,e);return(0,Ot.nZ)((0,Ot.gm)(i,0))==i.length?i:i.slice(1)}function Hi(t,e,i,n){let s=null,r=t.changeByRange((r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:i,from:r.to}],effects:Si.of(r.to+e.length),range:l.jT.range(r.anchor+e.length,r.head+e.length)};let o=Ni(t.doc,r.head);return!o||/\s/.test(o)||n.indexOf(o)>-1?{changes:{insert:e+i,from:r.head},effects:Si.of(r.head+e.length),range:l.jT.cursor(r.head+e.length)}:{range:s=r}}));return s?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function Fi(t,e,i){let n=null,s=t.selection.ranges.map((e=>e.empty&&Ni(t.doc,e.head)==i?l.jT.cursor(e.head+i.length):n=e));return n?null:t.update({selection:l.jT.create(s,t.selection.mainIndex),scrollIntoView:!0,effects:t.selection.ranges.map((({from:t})=>Ai.of(t)))})}function zi(t,e,i){let n=null,s=t.changeByRange((s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:Si.of(s.to+e.length),range:l.jT.range(s.anchor+e.length,s.head+e.length)};let r=s.head,o=Ni(t.doc,r);if(o==e){if(ji(t,r))return{changes:{insert:e+e,from:r},effects:Si.of(r+e.length),range:l.jT.cursor(r+e.length)};if(Ii(t,r)){let n=i&&t.sliceDoc(r,r+3*e.length)==e+e+e;return{range:l.jT.cursor(r+e.length*(n?3:1)),effects:Ai.of(r)}}}else{if(i&&t.sliceDoc(r-2*e.length,r)==e+e&&ji(t,r-2*e.length))return{changes:{insert:e+e+e+e,from:r},effects:Si.of(r+e.length),range:l.jT.cursor(r+e.length)};if(t.charCategorizer(r)(o)!=l.D0.Word){let i=t.sliceDoc(r-1,r);if(i!=e&&t.charCategorizer(r)(i)!=l.D0.Word)return{changes:{insert:e+e,from:r},effects:Si.of(r+e.length),range:l.jT.cursor(r+e.length)}}}return{range:n=s}}));return n?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function ji(t,e){let i=(0,L.qz)(t).resolveInner(e+1);return i.parent&&i.from==e}const qi=l.r$.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Wi(t,e){let i=t.plugin($i),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const $i=o.lg.fromClass(class{constructor(t){this.input=t.state.facet(Gi),this.specs=this.input.filter((t=>t)),this.panels=this.specs.map((e=>e(t)));let e=t.state.facet(qi);this.top=new _i(t,!0,e.topContainer),this.bottom=new _i(t,!1,e.bottomContainer),this.top.sync(this.panels.filter((t=>t.top))),this.bottom.sync(this.panels.filter((t=>!t.top)));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(qi);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new _i(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new _i(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Gi);if(i!=this.input){let e=i.filter((t=>t)),n=[],s=[],r=[],o=[];for(let i of e){let e,l=this.specs.indexOf(i);l<0?(e=i(t.view),o.push(e)):(e=this.panels[l],e.update&&e.update(t)),n.push(e),(e.top?s:r).push(e)}this.specs=e,this.panels=n,this.top.sync(s),this.bottom.sync(r);for(let t of o)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:o.BF.scrollMargins.from((t=>({top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()})))});class _i{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&t.indexOf(e)<0&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let t=this.dom.firstChild;for(let e of this.panels)if(e.dom.parentNode==this.dom){while(t!=e.dom)t=Ki(t);t=t.nextSibling}else this.dom.insertBefore(e.dom,t);while(t)t=Ki(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function Ki(t){let e=t.nextSibling;return t.remove(),e}const Ui=o.tk.baseTheme({".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"}}),Gi=l.r$.define({enables:[$i,Ui]});function Ji(){var t=arguments[0];"string"==typeof t&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&"object"==typeof i&&null==i.nodeType&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n];"string"==typeof s?t.setAttribute(n,s):null!=s&&(t[n]=s)}e++}for(;et.normalize("NFKD"):t=>t;class Yi{constructor(t,e,i=0,n=t.length,s){this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(i,n),this.bufferStart=i,this.normalize=s?t=>s(Qi(t)):Qi,this.query=this.normalize(e)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,Ot.gm)(this.buffer,this.bufferPos)}next(){while(this.matches.length)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let e=(0,Ot.bg)(t),i=this.bufferStart+this.bufferPos;this.bufferPos+=(0,Ot.nZ)(t);let n=this.normalize(e);for(let s=0,r=i;;s++){let t=n.charCodeAt(s),o=this.match(t,r);if(o)return this.value=o,this;if(s==n.length-1)break;r==i&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let e=this.matchPos<=this.to&&this.re.exec(this.curLine);if(e){let i=this.curLineStart+e.index,n=i+e[0].length;if(this.matchPos=n+(i==n?1:0),i==this.curLine.length&&this.nextLine(),ithis.value.to)return this.value={from:i,to:n,match:e},this;t=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=i||n.to<=e){let n=new sn(e,t.sliceString(e,i));return nn.set(t,n),n}if(n.from==e&&n.to==i)return n;let{text:s,from:r}=n;return r>e&&(s=t.sliceString(e,r)+s,r=e),n.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,e=this.re.exec(this.flat.text);if(e&&!e[0]&&e.index==t&&(this.re.lastIndex=t+1,e=this.re.exec(this.flat.text)),e&&this.flat.tothis.flat.text.length-10&&(e=null),e){let t=this.flat.from+e.index,i=t+e[0].length;return this.value={from:t,to:i,match:e},this.matchPos=i+(t==i?1:0),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=sn.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function on(t){try{return new RegExp(t,tn),!0}catch(e){return!1}}function ln(t){let e=Ji("input",{class:"cm-textfield",name:"line"}),i=Ji("form",{class:"cm-gotoLine",onkeydown:e=>{27==e.keyCode?(e.preventDefault(),t.dispatch({effects:hn.of(!1)}),t.focus()):13==e.keyCode&&(e.preventDefault(),n())},onsubmit:t=>{t.preventDefault(),n()}},Ji("label",t.state.phrase("Go to line"),": ",e)," ",Ji("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function n(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!i)return;let{state:n}=t,s=n.doc.lineAt(n.selection.main.head),[,r,o,h,a]=i,c=h?+h.slice(1):0,u=o?+o:s.number;if(o&&a){let t=u/100;r&&(t=t*("-"==r?-1:1)+s.number/n.doc.lines),u=Math.round(n.doc.lines*t)}else o&&r&&(u=u*("-"==r?-1:1)+s.number);let f=n.doc.line(Math.max(1,Math.min(n.doc.lines,u)));t.dispatch({effects:hn.of(!1),selection:l.jT.cursor(f.from+Math.max(0,Math.min(c,f.length))),scrollIntoView:!0}),t.focus()}return{dom:i,pos:-10}}"undefined"!=typeof Symbol&&(en.prototype[Symbol.iterator]=rn.prototype[Symbol.iterator]=function(){return this});const hn=l.Py.define(),an=l.QQ.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(hn)&&(t=i.value);return t},provide:t=>Gi.from(t,(t=>t?ln:null))}),cn=t=>{let e=Wi(t,ln);if(!e){let i=[hn.of(!0)];null==t.state.field(an,!1)&&i.push(l.Py.appendConfig.of([an,un])),t.dispatch({effects:i}),e=Wi(t,ln)}return e&&e.dom.querySelector("input").focus(),!0},un=o.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),fn={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100},dn=l.r$.define({combine(t){return(0,l.BO)(t,fn,{highlightWordAroundCursor:(t,e)=>t||e,minSelectionLength:Math.min,maxMatches:Math.min})}});function pn(t){let e=[wn,vn];return t&&e.push(dn.of(t)),e}const mn=o.p.mark({class:"cm-selectionMatch"}),gn=o.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"}),vn=o.lg.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(dn),{state:i}=t,n=i.selection;if(n.ranges.length>1)return o.p.none;let s,r=n.main,h=null;if(r.empty){if(!e.highlightWordAroundCursor)return o.p.none;let t=i.wordAt(r.head);if(!t)return o.p.none;h=i.charCategorizer(r.head),s=i.sliceDoc(t.from,t.to)}else{let t=r.to-r.from;if(t200)return o.p.none;if(s=i.sliceDoc(r.from,r.to).trim(),!s)return o.p.none}let a=[];for(let c of t.visibleRanges){let t=new Yi(i.doc,s,c.from,c.to);while(!t.next().done){let{from:n,to:s}=t.value;if((!h||(0==n||h(i.sliceDoc(n-1,n))!=l.D0.Word)&&(s==i.doc.length||h(i.sliceDoc(s,s+1))!=l.D0.Word))&&(h&&n<=r.from&&s>=r.to?a.push(gn.range(n,s)):(n>=r.to||s<=r.from)&&a.push(mn.range(n,s)),a.length>e.maxMatches))return o.p.none}}return o.p.set(a)}},{decorations:t=>t.decorations}),wn=o.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),yn=({state:t,dispatch:e})=>{let{selection:i}=t,n=l.jT.create(i.ranges.map((e=>t.wordAt(e.head)||l.jT.cursor(e.head))),i.mainIndex);return!n.eq(i)&&(e(t.update({selection:n})),!0)};function bn(t,e){let{main:i,ranges:n}=t.selection,s=t.wordAt(i.head),r=s&&s.from==i.from&&s.to==i.to;for(let o=!1,l=new Yi(t.doc,e,n[n.length-1].to);;){if(l.next(),!l.done){if(o&&n.some((t=>t.from==l.value.from)))continue;if(r){let e=t.wordAt(l.value.from);if(!e||e.from!=l.value.from||e.to!=l.value.to)continue}return l.value}if(o)return null;l=new Yi(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}}const xn=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some((t=>t.from===t.to)))return yn({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some((e=>t.sliceDoc(e.from,e.to)!=n)))return!1;let s=bn(t,n);return!!s&&(e(t.update({selection:t.selection.addRange(l.jT.range(s.from,s.to),!1),scrollIntoView:!0})),!0)},kn=l.r$.define({combine(t){var e;return{top:t.reduce(((t,e)=>null!==t&&void 0!==t?t:e.top),void 0)||!1,caseSensitive:t.reduce(((t,e)=>null!==t&&void 0!==t?t:e.caseSensitive||e.matchCase),void 0)||!1,createPanel:(null===(e=t.find((t=>t.createPanel)))||void 0===e?void 0:e.createPanel)||(t=>new Kn(t))}}});class Sn{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||on(this.search))}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp}create(){return this.regexp?new Mn(this):new Cn(this)}}class An{constructor(t){this.spec=t}}class Cn extends An{constructor(t){super(t),this.unquoted=t.search.replace(/\\([nrt\\])/g,((t,e)=>"n"==e?"\n":"r"==e?"\r":"t"==e?"\t":"\\"))}cursor(t,e=0,i=t.length){return new Yi(t,this.unquoted,e,i,this.spec.caseSensitive?void 0:t=>t.toLowerCase())}nextMatch(t,e,i){let n=this.cursor(t,i).nextOverlapping();return n.done&&(n=this.cursor(t,0,e).nextOverlapping()),n.done?null:n.value}prevMatchInRange(t,e,i){for(let n=i;;){let i=Math.max(e,n-1e4-this.unquoted.length),s=this.cursor(t,i,n),r=null;while(!s.nextOverlapping().done)r=s.value;if(r)return r;if(i==e)return null;n-=1e4}}prevMatch(t,e,i){return this.prevMatchInRange(t,0,e)||this.prevMatchInRange(t,i,t.length)}getReplacement(t){return this.spec.replace}matchAll(t,e){let i=this.cursor(t),n=[];while(!i.next().done){if(n.length>=e)return null;n.push(i.value)}return n}highlight(t,e,i,n){let s=this.cursor(t,Math.max(0,e-this.unquoted.length),Math.min(i+this.unquoted.length,t.length));while(!s.next().done)n(s.value.from,s.value.to)}}class Mn extends An{cursor(t,e=0,i=t.length){return new en(t,this.spec.search,this.spec.caseSensitive?void 0:{ignoreCase:!0},e,i)}nextMatch(t,e,i){let n=this.cursor(t,i).next();return n.done&&(n=this.cursor(t,0,e).next()),n.done?null:n.value}prevMatchInRange(t,e,i){for(let n=1;;n++){let s=Math.max(e,i-1e4*n),r=this.cursor(t,s,i),o=null;while(!r.next().done)o=r.value;if(o&&(s==e||o.from>s+10))return o;if(s==e)return null}}prevMatch(t,e,i){return this.prevMatchInRange(t,0,e)||this.prevMatchInRange(t,i,t.length)}getReplacement(t){return this.spec.replace.replace(/\$([$&\d+])/g,((e,i)=>"$"==i?"$":"&"==i?t.match[0]:"0"!=i&&+i=e)return null;n.push(i.value)}return n}highlight(t,e,i,n){let s=this.cursor(t,Math.max(0,e-250),Math.min(i+250,t.length));while(!s.next().done)n(s.value.from,s.value.to)}}const Tn=l.Py.define(),Dn=l.Py.define(),On=l.QQ.define({create(t){return new En(qn(t).create(),jn)},update(t,e){for(let i of e.effects)i.is(Tn)?t=new En(i.value.create(),t.panel):i.is(Dn)&&(t=new En(t.query,i.value?jn:null));return t},provide:t=>Gi.from(t,(t=>t.panel))});class En{constructor(t,e){this.query=t,this.panel=e}}const Rn=o.p.mark({class:"cm-searchMatch"}),Bn=o.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Pn=o.lg.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(On))}update(t){let e=t.state.field(On);(e!=t.startState.field(On)||t.docChanged||t.selectionSet)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return o.p.none;let{view:i}=this,n=new I.f_;for(let s=0,r=i.visibleRanges,o=r.length;sr[s+1].from-500)l=r[++s].to;t.highlight(i.state.doc,e,l,((t,e)=>{let s=i.state.selection.ranges.some((i=>i.from==t&&i.to==e));n.add(t,e,s?Bn:Rn)}))}return n.finish()}},{decorations:t=>t.decorations});function Ln(t){return e=>{let i=e.state.field(On,!1);return i&&i.query.spec.valid?t(e,i):Wn(e)}}const In=Ln(((t,{query:e})=>{let{from:i,to:n}=t.state.selection.main,s=e.nextMatch(t.state.doc,i,n);return!(!s||s.from==i&&s.to==n)&&(t.dispatch({selection:{anchor:s.from,head:s.to},scrollIntoView:!0,effects:Xn(t,s),userEvent:"select.search"}),!0)})),Nn=Ln(((t,{query:e})=>{let{state:i}=t,{from:n,to:s}=i.selection.main,r=e.prevMatch(i.doc,n,s);return!!r&&(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:Xn(t,r),userEvent:"select.search"}),!0)})),Vn=Ln(((t,{query:e})=>{let i=e.matchAll(t.state.doc,1e3);return!(!i||!i.length)&&(t.dispatch({selection:l.jT.create(i.map((t=>l.jT.range(t.from,t.to)))),userEvent:"select.search.matches"}),!0)})),Hn=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:s}=i.main,r=[],o=0;for(let h=new Yi(t.doc,t.sliceDoc(n,s));!h.next().done;){if(r.length>1e3)return!1;h.value.from==n&&(o=r.length),r.push(l.jT.range(h.value.from,h.value.to))}return e(t.update({selection:l.jT.create(r,o),userEvent:"select.search.matches"})),!0},Fn=Ln(((t,{query:e})=>{let{state:i}=t,{from:n,to:s}=i.selection.main;if(i.readOnly)return!1;let r=e.nextMatch(i.doc,n,n);if(!r)return!1;let o,l,h=[];if(r.from==n&&r.to==s&&(l=i.toText(e.getReplacement(r)),h.push({from:r.from,to:r.to,insert:l}),r=e.nextMatch(i.doc,r.from,r.to)),r){let t=0==h.length||h[0].from>=r.to?0:r.to-r.from-l.length;o={anchor:r.from-t,head:r.to-t}}return t.dispatch({changes:h,selection:o,scrollIntoView:!!o,effects:r?Xn(t,r):void 0,userEvent:"input.replace"}),!0})),zn=Ln(((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state.doc,1e9).map((t=>{let{from:i,to:n}=t;return{from:i,to:n,insert:e.getReplacement(t)}}));return!!i.length&&(t.dispatch({changes:i,userEvent:"input.replace.all"}),!0)}));function jn(t){return t.state.facet(kn).createPanel(t)}function qn(t,e){var i;let n=t.selection.main,s=n.empty||n.to>n.from+100?"":t.sliceDoc(n.from,n.to),r=null!==(i=null===e||void 0===e?void 0:e.caseSensitive)&&void 0!==i?i:t.facet(kn).caseSensitive;return e&&!s?e:new Sn({search:s.replace(/\n/g,"\\n"),caseSensitive:r})}const Wn=t=>{let e=t.state.field(On,!1);if(e&&e.panel){let i=Wi(t,jn);if(!i)return!1;let n=i.dom.querySelector("[name=search]");if(n!=t.root.activeElement){let i=qn(t.state,e.query.spec);i.valid&&t.dispatch({effects:Tn.of(i)}),n.focus(),n.select()}}else t.dispatch({effects:[Dn.of(!0),e?Tn.of(qn(t.state,e.query.spec)):l.Py.appendConfig.of(Yn)]});return!0},$n=t=>{let e=t.state.field(On,!1);if(!e||!e.panel)return!1;let i=Wi(t,jn);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Dn.of(!1)}),!0},_n=[{key:"Mod-f",run:Wn,scope:"editor search-panel"},{key:"F3",run:In,shift:Nn,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:In,shift:Nn,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:$n,scope:"editor search-panel"},{key:"Mod-Shift-l",run:Hn},{key:"Alt-g",run:cn},{key:"Mod-d",run:xn,preventDefault:!0}];class Kn{constructor(t){this.view=t;let e=this.query=t.state.field(On).query.spec;function i(t,e,i){return Ji("button",{class:"cm-button",name:t,onclick:e,type:"button"},i)}this.commit=this.commit.bind(this),this.searchField=Ji("input",{value:e.search,placeholder:Un(t,"Find"),"aria-label":Un(t,"Find"),class:"cm-textfield",name:"search",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Ji("input",{value:e.replace,placeholder:Un(t,"Replace"),"aria-label":Un(t,"Replace"),class:"cm-textfield",name:"replace",onchange:this.commit,onkeyup:this.commit}),this.caseField=Ji("input",{type:"checkbox",name:"case",checked:e.caseSensitive,onchange:this.commit}),this.reField=Ji("input",{type:"checkbox",name:"re",checked:e.regexp,onchange:this.commit}),this.dom=Ji("div",{onkeydown:t=>this.keydown(t),class:"cm-search"},[this.searchField,i("next",(()=>In(t)),[Un(t,"next")]),i("prev",(()=>Nn(t)),[Un(t,"previous")]),i("select",(()=>Vn(t)),[Un(t,"all")]),Ji("label",null,[this.caseField,Un(t,"match case")]),Ji("label",null,[this.reField,Un(t,"regexp")]),...t.state.readOnly?[]:[Ji("br"),this.replaceField,i("replace",(()=>Fn(t)),[Un(t,"replace")]),i("replaceAll",(()=>zn(t)),[Un(t,"replace all")]),Ji("button",{name:"close",onclick:()=>$n(t),"aria-label":Un(t,"close"),type:"button"},["×"])]])}commit(){let t=new Sn({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:Tn.of(t)}))}keydown(t){(0,o.$1)(this.view,t,"search-panel")?t.preventDefault():13==t.keyCode&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?Nn:In)(this.view)):13==t.keyCode&&t.target==this.replaceField&&(t.preventDefault(),Fn(this.view))}update(t){for(let e of t.transactions)for(let t of e.effects)t.is(Tn)&&!t.value.eq(this.query)&&this.setQuery(t.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(kn).top}}function Un(t,e){return t.state.phrase(e)}const Gn=30,Jn=/[\s\.,:;?!]/;function Xn(t,{from:e,to:i}){let n=t.state.doc.lineAt(e).from,s=t.state.doc.lineAt(i).to,r=Math.max(n,e-Gn),l=Math.min(s,i+Gn),h=t.state.sliceDoc(r,l);if(r!=n)for(let o=0;oh.length-Gn;o--)if(!Jn.test(h[o-1])&&Jn.test(h[o])){h=h.slice(0,o);break}return o.tk.announce.of(`${t.state.phrase("current match")}. ${h} ${t.state.phrase("on line")} ${t.state.doc.lineAt(e).number}`)}const Qn=o.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Yn=[On,l.Wl.lowest(Pn),Qn];var Zn=i(26115);const ts=t=>{let e=rs(t.state);return e.line?is(t):!!e.block&&ns(t)};function es(t,e){return({state:i,dispatch:n})=>{let s=t(e,i.selection.ranges,i);return!!s&&(n(i.update(s)),!0)}}const is=es(as,0),ns=es(hs,0),ss=[{key:"Mod-/",run:ts},{key:"Alt-A",run:ns}];function rs(t,e=t.selection.main.head){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}const os=50;function ls(t,{open:e,close:i},n,s){let r,o,l=t.sliceDoc(n-os,n),h=t.sliceDoc(s,s+os),a=/\s*$/.exec(l)[0].length,c=/^\s*/.exec(h)[0].length,u=l.length-a;if(l.slice(u-e.length,u)==e&&h.slice(c,c+i.length)==i)return{open:{pos:n-a,margin:a&&1},close:{pos:s+c,margin:c&&1}};s-n<=2*os?r=o=t.sliceDoc(n,s):(r=t.sliceDoc(n,n+os),o=t.sliceDoc(s-os,s));let f=/^\s*/.exec(r)[0].length,d=/\s*$/.exec(o)[0].length,p=o.length-d-i.length;return r.slice(f,f+e.length)==e&&o.slice(p,p+i.length)==i?{open:{pos:n+f+e.length,margin:/\s/.test(r.charAt(f+e.length))?1:0},close:{pos:s-d-i.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null}function hs(t,e,i){let n=e.map((t=>rs(i,t.from).block));if(!n.every((t=>t)))return null;let s=e.map(((t,e)=>ls(i,n[e],t.from,t.to)));if(2!=t&&!s.every((t=>t))){let t=0;return i.changeByRange((e=>{let{open:i,close:r}=n[t++];if(s[t])return{range:e};let o=i.length+1;return{changes:[{from:e.from,insert:i+" "},{from:e.to,insert:" "+r}],range:l.jT.range(e.anchor+o,e.head+o)}}))}if(1!=t&&s.some((t=>t))){let t=[];for(let e,i=0;is&&(r==o||o>t.from)){s=t.from;let r=rs(i,l).line;if(!r)continue;let o=/^\s*/.exec(t.text)[0].length,h=o==t.length,a=t.text.slice(o,o+r.length)==r?o:-1;ot.comment<0&&(!t.empty||t.single)))){let t=[];for(let{line:i,token:s,indent:r,empty:o,single:l}of n)!l&&o||t.push({from:i.from+r,insert:s+" "});let e=i.changes(t);return{changes:e,selection:i.selection.map(e,1)}}if(1!=t&&n.some((t=>t.comment>=0))){let t=[];for(let{line:e,comment:i,token:s}of n)if(i>=0){let n=e.from+i,r=n+s.length;" "==e.text[r-e.from]&&r++,t.push({from:n,to:r})}return{changes:t}}return null}const cs=2e3;function us(t,e,i){let n=Math.min(e.line,i.line),s=Math.max(e.line,i.line),r=[];if(e.off>cs||i.off>cs||e.col<0||i.col<0){let o=Math.min(e.off,i.off),h=Math.max(e.off,i.off);for(let e=n;e<=s;e++){let i=t.doc.line(e);i.length<=h&&r.push(l.jT.range(i.from+o,i.to+h))}}else{let o=Math.min(e.col,i.col),h=Math.max(e.col,i.col);for(let e=n;e<=s;e++){let i=t.doc.line(e),n=(0,Ot.Gz)(i.text,o,t.tabSize,!0);if(n>-1){let e=(0,Ot.Gz)(i.text,h,t.tabSize);r.push(l.jT.range(i.from+n,i.from+e))}}}return r}function fs(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}function ds(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.state.doc.lineAt(i),s=i-n.from,r=s>cs?-1:s==n.length?fs(t,e.clientX):(0,Ot.IS)(n.text,t.state.tabSize,i-n.from);return{line:n.number,col:r,off:s}}function ps(t,e){let i=ds(t,e),n=t.state.selection;return i?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(i.line).from),s=t.state.doc.lineAt(e);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},n=n.map(t.changes)}},get(e,s,r){let o=ds(t,e);if(!o)return n;let h=us(t.state,i,o);return h.length?r?l.jT.create(h.concat(n.ranges)):l.jT.create(h):n}}:null}function ms(t){let e=(null===t||void 0===t?void 0:t.eventFilter)||(t=>t.altKey&&0==t.button);return o.tk.mouseSelectionStyle.of(((t,i)=>e(i)?ps(t,i):null))}var gs=i(97428),vs=i(2903);class ws{constructor(t,e,i){this.from=t,this.to=e,this.diagnostic=i}}class ys{constructor(t,e,i){this.diagnostics=t,this.panel=e,this.selected=i}static init(t,e,i){let n=o.p.set(t.map((t=>t.from==t.to||t.from==t.to-1&&i.doc.lineAt(t.from).to==t.from?o.p.widget({widget:new Is(t),diagnostic:t}).range(t.from):o.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+t.severity},diagnostic:t}).range(t.from,t.to))),!0);return new ys(n,e,bs(n))}}function bs(t,e=null,i=0){let n=null;return t.between(i,1e9,((t,i,{spec:s})=>{if(!e||s.diagnostic==e)return n=new ws(t,i,s.diagnostic),!1})),n}function xs(t,e){return t.field(Cs,!1)?e:e.concat(l.Py.appendConfig.of([Cs,o.tk.decorations.compute([Cs],(t=>{let{selected:e,panel:i}=t.field(Cs);return e&&i&&e.from!=e.to?o.p.set([Ms.range(e.from,e.to)]):o.p.none})),(0,vs.bF)(Ts),zs]))}const ks=l.Py.define(),Ss=l.Py.define(),As=l.Py.define(),Cs=l.QQ.define({create(){return new ys(o.p.none,null,null)},update(t,e){if(e.docChanged){let i=t.diagnostics.map(e.changes),n=null;if(t.selected){let s=e.changes.mapPos(t.selected.from,1);n=bs(i,t.selected.diagnostic,s)||bs(i,null,s)}t=new ys(i,t.panel,n)}for(let i of e.effects)i.is(ks)?t=ys.init(i.value,t.panel,e.state):i.is(Ss)?t=new ys(t.diagnostics,i.value?Vs.open:null,t.selected):i.is(As)&&(t=new ys(t.diagnostics,t.panel,i.value));return t},provide:t=>[Gi.from(t,(t=>t.panel)),o.tk.decorations.from(t,(t=>t.diagnostics))]});const Ms=o.p.mark({class:"cm-lintRange cm-lintRange-active"});function Ts(t,e,i){let{diagnostics:n}=t.state.field(Cs),s=[],r=2e8,o=0;return n.between(e-(i<0?1:0),e+(i>0?1:0),((t,n,{spec:l})=>{e>=t&&e<=n&&(t==n||(e>t||i>0)&&(eLs(t,e,!1))))}const Os=t=>{let e=t.state.field(Cs,!1);e&&e.panel||t.dispatch({effects:xs(t.state,[Ss.of(!0)])});let i=Wi(t,Vs.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},Es=t=>{let e=t.state.field(Cs,!1);return!(!e||!e.panel)&&(t.dispatch({effects:Ss.of(!1)}),!0)},Rs=t=>{let e=t.state.field(Cs,!1);if(!e)return!1;let i=t.state.selection.main,n=e.diagnostics.iter(i.to+1);return!(!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==i.from&&n.to==i.to))&&(t.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},Bs=[{key:"Mod-Shift-m",run:Os},{key:"F8",run:Rs}];function Ps(t){let e=[];if(t)t:for(let{name:i}of t){for(let t=0;tt.toLowerCase()==n.toLowerCase()))){e.push(n);continue t}}e.push("")}return e}function Ls(t,e,i){var n;let s=i?Ps(e.actions):[];return Ji("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Ji("span",{class:"cm-diagnosticText"},e.message),null===(n=e.actions)||void 0===n?void 0:n.map(((i,n)=>{let r=n=>{n.preventDefault();let s=bs(t.state.field(Cs).diagnostics,e);s&&i.apply(t,s.from,s.to)},{name:o}=i,l=s[n]?o.indexOf(s[n]):-1,h=l<0?o:[o.slice(0,l),Ji("u",o.slice(l,l+1)),o.slice(l+1)];return Ji("button",{type:"button",class:"cm-diagnosticAction",onclick:r,onmousedown:r,"aria-label":` Action: ${o}${l<0?"":` (access key "${s[n]})"`}.`},h)})),e.source&&Ji("div",{class:"cm-diagnosticSource"},e.source))}class Is extends o.l9{constructor(t){super(),this.diagnostic=t}eq(t){return t.diagnostic==this.diagnostic}toDOM(){return Ji("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Ns{constructor(t,e){this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Ls(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Vs{constructor(t){this.view=t,this.items=[];let e=e=>{if(27==e.keyCode)Es(this.view),this.view.focus();else if(38==e.keyCode||33==e.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==e.keyCode||34==e.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==e.keyCode)this.moveSelection(0);else if(35==e.keyCode)this.moveSelection(this.items.length-1);else if(13==e.keyCode)this.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:i}=this.items[this.selectedIndex],n=Ps(i.actions);for(let s=0;s{for(let e=0;eEs(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(Cs).selected;if(!t)return-1;for(let e=0;e{let l,h=-1;for(let e=i;ei&&(this.items.splice(i,h-i),n=!0)),e&&l.diagnostic==e.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),s=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),i++}));while(i({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:t,panel:e})=>{t.tope.bottom&&(this.list.scrollTop+=t.bottom-e.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let t=this.list.firstChild;function e(){let e=t;t=e.nextSibling,e.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){while(t!=i.dom)e();t=i.dom.nextSibling}else this.list.insertBefore(i.dom,t);while(t)e()}moveSelection(t){if(this.selectedIndex<0)return;let e=this.view.state.field(Cs),i=bs(e.diagnostics,this.items[t].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:As.of(i)})}static open(t){return new Vs(t)}}function Hs(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function Fs(t){return Hs(``,'width="6" height="3"')}const zs=o.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Fs("#d11")},".cm-lintRange-warning":{backgroundImage:Fs("orange")},".cm-lintRange-info":{backgroundImage:Fs("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});const js=[it(),ot(),(0,o.AE)(),p(),Tt(),(0,o.Uw)(),(0,o.qr)(),l.yy.allowMultipleSelections.of(!0),(0,L.nY)(),gs.R_.fallback,Ft(),Ti(),(0,Zn.ys)(),ms(),(0,o.ZO)(),pn(),o.$f.of([...Pi,...bi,..._n,...P,...bt,...ss,...Zn.B1,...Bs])];var qs={name:"Codemirror",model:{prop:"value",event:"update:value"},props:{value:{type:String,default:""},extensions:{type:Array,default:function(){return[]}},height:{type:String,default:"500px"}},data:function(){return{codemirrorState:null,codemirrorView:null}},mounted:function(){this.handleInitCodemirror()},beforeDestroy:function(){this.codemirrorView&&this.codemirrorView.destroy()},methods:{handleInitCodemirror:function(){var t=this;this.codemirrorView&&this.codemirrorView.destroy();var e=this.$refs.codemirrorRef,i=o.tk.updateListener.of((function(e){if(e.docChanged){var i=e.state.doc;t.$emit("update:value",i.toString())}})),n=o.tk.theme({"&":{height:this.height}});this.codemirrorState=l.yy.create({doc:this.value,extensions:[js,i,o.$f.of([xi]),n].concat((0,r.Z)(this.extensions))}),this.codemirrorView=new o.tk({state:this.codemirrorState,parent:e})}}},Ws=qs,$s=i(42177),_s=(0,$s.Z)(Ws,n,s,!1,null,null,null),Ks=_s.exports},26115:function(t,e,i){i.d(e,{ys:function(){return At},Mb:function(){return u},B1:function(){return Ct},eC:function(){return f},Gn:function(){return kt}});var n=i(46941),s=i(76089),r=i(58583),o=i(2903),l=i(40405);class h{constructor(t,e,i){this.state=t,this.pos=e,this.explicit=i,this.abortListeners=[]}tokenBefore(t){let e=(0,l.qz)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos),i=Math.max(e.from,this.pos-250),n=e.text.slice(i-e.from,this.pos-e.from),s=n.search(m(t,!1));return s<0?null:{from:i+s,to:this.pos,text:n.slice(s)}}get aborted(){return null==this.abortListeners}addEventListener(t,e){"abort"==t&&this.abortListeners&&this.abortListeners.push(e)}}function a(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function c(t){let e=Object.create(null),i=Object.create(null);for(let{label:s}of t){e[s[0]]=!0;for(let t=1;t"string"==typeof t?{label:t}:t)),[i,n]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:c(e);return t=>{let s=t.matchBefore(n);return s||t.explicit?{from:s?s.from:t.pos,options:e,span:i}:null}}function f(t,e){return i=>{for(let e=(0,l.qz)(i.state).resolveInner(i.pos,-1);e;e=e.parent)if(t.indexOf(e.name)>-1)return null;return e(i)}}class d{constructor(t,e,i){this.completion=t,this.source=e,this.match=i}}function p(t){return t.selection.main.head}function m(t,e){var i;let{source:n}=t,s=e&&"^"!=n[0],r="$"!=n[n.length-1];return s||r?new RegExp(`${s?"^":""}(?:${n})${r?"$":""}`,null!==(i=t.flags)&&void 0!==i?i:t.ignoreCase?"i":""):t}const g=n.q6.define();function v(t,e){let i=e.completion.apply||e.completion.label,n=e.source;"string"==typeof i?t.dispatch({changes:{from:n.from,to:n.to,insert:i},selection:{anchor:n.from+i.length},userEvent:"input.complete",annotations:g.of(e.completion)}):i(t,e.completion,n.from,n.to)}const w=new WeakMap;function y(t){if(!Array.isArray(t))return t;let e=w.get(t);return e||w.set(t,e=u(t)),e}class b{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let e=0;e=48&&n<=57||n>=97&&n<=122?2:n>=65&&n<=90?1:0:(a=(0,s.bg)(n))!=a.toLowerCase()?1:a!=a.toUpperCase()?2:0;(!w||1==y&&g||0==b&&0!=y)&&(e[u]==n||i[u]==n&&(f=!0)?o[u++]=w:o.length&&(v=!1)),b=y,w+=(0,s.nZ)(n)}return u==h&&0==o[0]&&v?this.result((f?-200:0)-100,o,t):d==h&&0==p?[-200-t.length,0,m]:l>-1?[-700-t.length,l,l+this.pattern.length]:d==h?[-900-t.length,p,m]:u==h?this.result((f?-200:0)-100-700+(v?0:-1100),o,t):2==e.length?null:this.result((n[0]?-700:0)-200-1100,n,t)}result(t,e,i){let n=[t-i.length],r=1;for(let o of e){let t=o+(this.astral?(0,s.nZ)((0,s.gm)(i,o)):1);r>1&&n[r-1]==o?n[r-1]=t:(n[r++]=o,n[r++]=t)}return n}}const x=n.r$.define({combine(t){return(0,n.BO)(t,{activateOnTyping:!0,override:null,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[]},{defaultKeymap:(t,e)=>t&&e,icons:(t,e)=>t&&e,optionClass:(t,e)=>i=>k(t(i),e(i)),addToOptions:(t,e)=>t.concat(e)})}});function k(t,e){return t?e?t+" "+e:t:e}function S(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(t){let e=document.createElement("div");return e.classList.add("cm-completionIcon"),t.type&&e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t))),e.setAttribute("aria-hidden","true"),e},position:20}),e.push({render(t,e,i){let n=document.createElement("span");n.className="cm-completionLabel";let{label:s}=t,r=0;for(let o=1;or&&n.appendChild(document.createTextNode(s.slice(r,t)));let l=n.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(s.slice(t,e))),l.className="cm-completionMatchedText",r=e}return rt.position-e.position)).map((t=>t.render))}function A(t,e){let i=document.createElement("div");i.className="cm-tooltip cm-completionInfo";let{info:n}=t.completion;if("string"==typeof n)i.textContent=n;else{let s=n(t.completion);s.then?s.then((t=>i.appendChild(t)),(t=>(0,r.OO)(e.state,t,"completion info"))):i.appendChild(s)}return i}function C(t,e,i){if(t<=i)return{from:0,to:t};if(e<=t>>1){let t=Math.floor(e/i);return{from:t*i,to:(t+1)*i}}let n=Math.floor((t-e)/i);return{from:t-(n+1)*i,to:t-n*i}}class M{constructor(t,e){this.view=t,this.stateField=e,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:t=>this.positionInfo(t),key:this};let i=t.state.field(e),{options:n,selected:s}=i.open,r=t.state.facet(x);this.optionContent=S(r),this.optionClass=r.optionClass,this.range=C(n.length,s,r.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",(e=>{for(let i,s=e.target;s&&s!=this.dom;s=s.parentNode)if("LI"==s.nodeName&&(i=/-(\d+)$/.exec(s.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)}))}mount(){this.updateSel()}update(t){t.state.field(this.stateField)!=t.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if((e.selected=this.range.to)&&(this.range=C(e.options.length,e.selected,this.view.state.facet(x).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e.options,t.id,this.range)),this.list.addEventListener("scroll",(()=>{this.info&&this.view.requestMeasure(this.placeInfo)}))),this.updateSelectedOption(e.selected)){this.info&&(this.info.remove(),this.info=null);let t=e.options[e.selected];t.completion.info&&(this.info=this.dom.appendChild(A(t,this.view)),this.view.requestMeasure(this.placeInfo))}}updateSelectedOption(t){let e=null;for(let i=this.list.firstChild,n=this.range.from;i;i=i.nextSibling,n++)n==t?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),e=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return e&&D(this.list,e),e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),n=t.getBoundingClientRect();if(n.top>Math.min(innerHeight,e.bottom)-10||n.bottomnew M(e,t)}function D(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect();n.topi.bottom&&(t.scrollTop+=n.bottom-i.bottom)}const O=300;function E(t){return 100*(t.boost||0)+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function R(t,e){let i=[],n=0;for(let o of t)if(o.hasResult())if(!1===o.result.filter)for(let t of o.result.options)i.push(new d(t,o,[1e9-n++]));else{let t,n=new b(e.sliceDoc(o.from,o.to));for(let e of o.result.options)(t=n.match(e.label))&&(null!=e.boost&&(t[0]+=e.boost),i.push(new d(e,o,t)))}i.sort(H);let s=[],r=null;for(let o of i.sort(H)){if(s.length==O)break;r&&r.label==o.completion.label&&r.detail==o.completion.detail&&r.type==o.completion.type&&r.apply==o.completion.apply?E(o.completion)>E(r)&&(s[s.length-1]=o):s.push(o),r=o.completion}return s}class B{constructor(t,e,i,n,s){this.options=t,this.attrs=e,this.tooltip=i,this.timestamp=n,this.selected=s}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new B(this.options,N(e,t),this.tooltip,this.timestamp,t)}static build(t,e,i,n,s){let r=R(t,e);if(!r.length)return null;let o=0;if(n&&n.selected){let t=n.options[n.selected].completion;for(let e=0;ee.hasResult()?Math.min(t,e.from):t),1e8),create:T(K),above:s.aboveCursor},n?n.timestamp:Date.now(),o)}map(t){return new B(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class P{constructor(t,e,i){this.active=t,this.id=e,this.open=i}static start(){return new P(V,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:e}=t,i=e.facet(x),n=i.override||e.languageDataAt("autocomplete",p(e)).map(y),s=n.map((e=>{let n=this.active.find((t=>t.source==e))||new z(e,this.active.some((t=>0!=t.state))?1:0);return n.update(t,i)}));s.length==this.active.length&&s.every(((t,e)=>t==this.active[e]))&&(s=this.active);let r=t.selection||s.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!L(s,this.active)?B.build(s,e,this.id,this.open,i):this.open&&t.docChanged?this.open.map(t.changes):this.open;!r&&s.every((t=>1!=t.state))&&s.some((t=>t.hasResult()))&&(s=s.map((t=>t.hasResult()?new z(t.source,0):t)));for(let o of t.effects)o.is(_)&&(r=r&&r.setSelected(o.value,this.id));return s==this.active&&r==this.open?this:new P(s,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:I}}function L(t,e){if(t==e)return!0;for(let i=0,n=0;;){while(i-1?rs)return new z(this.source,"input"==e&&i.activateOnTyping?1:0);let o=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos);return this.span&&(n==s||this.span.test(t.state.sliceDoc(n,s)))?new j(this.source,o,this.result,n,s,this.span):new z(this.source,1,o)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new z(this.source,0):this.map(t.changes)}map(t){return t.empty?this:new j(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1),this.span)}}const q=n.Py.define(),W=n.Py.define(),$=n.Py.define({map(t,e){return t.map((t=>t.map(e)))}}),_=n.Py.define(),K=n.QQ.define({create(){return P.start()},update(t,e){return t.update(e)},provide:t=>[o.hJ.from(t,(t=>t.tooltip)),r.tk.contentAttributes.from(t,(t=>t.attrs))]}),U=75;function G(t,e="option"){return i=>{let n=i.state.field(K,!1);if(!n||!n.open||Date.now()-n.open.timestamp=h&&(l="page"==e?h-1:0),i.dispatch({effects:_.of(l)}),!0}}const J=t=>{let e=t.state.field(K,!1);return!(t.state.readOnly||!e||!e.open||Date.now()-e.open.timestamp{let e=t.state.field(K,!1);return!!e&&(t.dispatch({effects:q.of(!0)}),!0)},Q=t=>{let e=t.state.field(K,!1);return!(!e||!e.active.some((t=>0!=t.state)))&&(t.dispatch({effects:W.of(null)}),!0)};class Y{constructor(t,e){this.active=t,this.context=e,this.time=Date.now(),this.updates=[],this.done=void 0}}const Z=50,tt=50,et=1e3,it=r.lg.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of t.state.field(K).active)1==e.state&&this.startQuery(e)}update(t){let e=t.state.field(K);if(!t.selectionSet&&!t.docChanged&&t.startState.field(K)==e)return;let i=t.transactions.some((t=>(t.selection||t.docChanged)&&!F(t)));for(let s=0;stt&&e.time-Date.now()>et){for(let t of e.context.abortListeners)try{t()}catch(n){(0,r.OO)(this.view.state,n)}e.context.abortListeners=null,this.running.splice(s--,1)}else e.updates.push(...t.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some((t=>1==t.state&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),Z):-1,0!=this.composing)for(let s of t.transactions)"input"==F(s)?this.composing=2:2==this.composing&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:t}=this.view,e=t.field(K);for(let i of e.active)1!=i.state||this.running.some((t=>t.active.source==i.source))||this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=p(e),n=new h(e,i,t.explicitPos==i),s=new Y(t,n);this.running.push(s),Promise.resolve(t.source(n)).then((t=>{s.context.aborted||(s.done=t||null,this.scheduleAccept())}),(t=>{this.view.dispatch({effects:W.of(null)}),(0,r.OO)(this.view.state,t)}))}scheduleAccept(){this.running.every((t=>void 0!==t.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),Z))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(x);for(let n=0;nt.source==s.active.source));if(r&&1==r.state)if(null==s.done){let t=new z(s.active.source,0);for(let e of s.updates)t=t.update(e,i);1!=t.state&&e.push(t)}else this.startQuery(r)}e.length&&this.view.dispatch({effects:$.of(e)})}},{eventHandlers:{compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:q.of(!1)})),20),this.composing=0}}}),nt=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"300px"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class st{constructor(t,e,i,n){this.field=t,this.line=e,this.from=i,this.to=n}}class rt{constructor(t,e,i){this.field=t,this.from=e,this.to=i}map(t){return new rt(this.field,t.mapPos(this.from,-1),t.mapPos(this.to,1))}}class ot{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate(t,e){let i=[],n=[e],s=t.doc.lineAt(e),r=/^\s*/.exec(s.text)[0];for(let h of this.lines){if(i.length){let i=r,s=/^\t*/.exec(h)[0].length;for(let e=0;enew rt(t.field,n[t.line]+t.from,n[t.line]+t.to)));return{text:i,ranges:o}}static parse(t){let e,i=[],n=[],s=[];for(let r of t.split(/\r\n?|\n/)){while(e=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(r)){let t=e[1]?+e[1]:null,o=e[2]||e[3]||"",l=-1;for(let e=0;e=l&&t.field++}s.push(new st(l,n.length,e.index,e.index+o.length)),r=r.slice(0,e.index)+o+r.slice(e.index+e[0].length)}n.push(r)}return new ot(n,s)}}let lt=r.p.widget({widget:new class extends r.l9{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),ht=r.p.mark({class:"cm-snippetField"});class at{constructor(t,e){this.ranges=t,this.active=e,this.deco=r.p.set(t.map((t=>(t.from==t.to?lt:ht).range(t.from,t.to))))}map(t){return new at(this.ranges.map((e=>e.map(t))),this.active)}selectionInsideField(t){return t.ranges.every((t=>this.ranges.some((e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))))}}const ct=n.Py.define({map(t,e){return t&&t.map(e)}}),ut=n.Py.define(),ft=n.QQ.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(ct))return i.value;if(i.is(ut)&&t)return new at(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>r.tk.decorations.from(t,(t=>t?t.deco:r.p.none))});function dt(t,e){return n.jT.create(t.filter((t=>t.field==e)).map((t=>n.jT.range(t.from,t.to))))}function pt(t){let e=ot.parse(t);return(t,i,r,o)=>{let{text:l,ranges:h}=e.instantiate(t.state,r),a={changes:{from:r,to:o,insert:s.xv.of(l)}};if(h.length&&(a.selection=dt(h,0)),h.length>1){let e=new at(h,0),i=a.effects=[ct.of(e)];void 0===t.state.field(ft,!1)&&i.push(n.Py.appendConfig.of([ft,xt,St,nt]))}t.dispatch(t.state.update(a))}}function mt(t){return({state:e,dispatch:i})=>{let n=e.field(ft,!1);if(!n||t<0&&0==n.active)return!1;let s=n.active+t,r=t>0&&!n.ranges.some((e=>e.field==s+t));return i(e.update({selection:dt(n.ranges,s),effects:ct.of(r?null:new at(n.ranges,s))})),!0}}const gt=({state:t,dispatch:e})=>{let i=t.field(ft,!1);return!!i&&(e(t.update({effects:ct.of(null)})),!0)},vt=mt(1),wt=mt(-1),yt=[{key:"Tab",run:vt,shift:wt},{key:"Escape",run:gt}],bt=n.r$.define({combine(t){return t.length?t[0]:yt}}),xt=n.Wl.highest(r.$f.compute([bt],(t=>t.facet(bt))));function kt(t,e){return Object.assign(Object.assign({},e),{apply:pt(t)})}const St=r.tk.domEventHandlers({mousedown(t,e){let i,n=e.state.field(ft,!1);if(!n||null==(i=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;let s=n.ranges.find((t=>t.from<=i&&t.to>=i));return!(!s||s.field==n.active)&&(e.dispatch({selection:dt(n.ranges,s.field),effects:ct.of(n.ranges.some((t=>t.field>s.field))?new at(n.ranges,s.field):null)}),!0)}});function At(t={}){return[K,x.of(t),it,Mt,nt]}const Ct=[{key:"Ctrl-Space",run:X},{key:"Escape",run:Q},{key:"ArrowDown",run:G(!0)},{key:"ArrowUp",run:G(!1)},{key:"PageDown",run:G(!0,"page")},{key:"PageUp",run:G(!1,"page")},{key:"Enter",run:J}],Mt=n.Wl.highest(r.$f.computeN([x],(t=>t.facet(x).defaultKeymap?[Ct]:[])))},97428:function(t,e,i){i.d(e,{R_:function(){return $},Gv:function(){return m},pJ:function(){return W}});var n=i(17918),s=i(70876),r=i(58583),o=i(46941),l=i(40405),h=i(96651);let a=0;class c{constructor(t,e,i){this.set=t,this.base=e,this.modified=i,this.id=a++}static define(t){if(null===t||void 0===t?void 0:t.base)throw new Error("Can not derive from a modified tag");let e=new c([],null,[]);if(e.set.push(e),t)for(let i of t.set)e.set.push(i);return e}static defineModifier(){let t=new f;return e=>e.modified.indexOf(t)>-1?e:f.get(e.base||e,e.modified.concat(t).sort(((t,e)=>t.id-e.id)))}}let u=0;class f{constructor(){this.instances=[],this.id=u++}static get(t,e){if(!e.length)return t;let i=e[0].instances.find((i=>i.base==t&&d(e,i.modified)));if(i)return i;let n=[],s=new c(n,t,e);for(let o of e)o.instances.push(s);let r=p(e);for(let o of t.set)for(let t of r)n.push(f.get(o,t));return s}}function d(t,e){return t.length==e.length&&t.every(((t,i)=>t==e[i]))}function p(t){let e=[t];for(let i=0;i0&&e+3==t.length){s=1;break}let n=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(r);if(!n)throw new RangeError("Invalid path: "+t);if(i.push("*"==n[0]?null:'"'==n[0][0]?JSON.parse(n[0]):n[0]),e+=n[0].length,e==t.length)break;let o=t[e++];if(e==t.length&&"!"==o){s=0;break}if("/"!=o)throw new RangeError("Invalid path: "+t);r=t.slice(e)}let o=i.length-1,l=i[o];if(!l)throw new RangeError("Invalid path: "+t);let h=new b(n,s,o>0?i.slice(0,o):null);e[l]=h.sort(e[l])}}return g.add(e)}const g=new n.md,v=o.r$.define({combine(t){return t.length?x.combinedMatch(t):null}}),w=o.r$.define({combine(t){return t.length?t[0].match:null}});function y(t){return t.facet(v)||t.facet(w)}class b{constructor(t,e,i,n){this.tags=t,this.mode=e,this.context=i,this.next=n}sort(t){return!t||t.deptht.scope))?void 0:Object.create(null);return(i,n)=>{let s=e&&e[i.id];if(void 0!==s)return s;let r=null;for(let e of t){let t=e.match(i,n);t&&(r=r?r+" "+t:t)}return e&&(e[i.id]=r),r}}static define(t,e){return new x(t,e||{})}static get(t,e,i){let s=y(t);return s&&s(e,i||n.Jq.none)}}class k{constructor(t){this.markCache=Object.create(null),this.tree=(0,l.qz)(t.state),this.decorations=this.buildDeco(t,y(t.state))}update(t){let e=(0,l.qz)(t.state),i=y(t.state),n=i!=t.startState.facet(v);e.length{i.add(t,e,this.markCache[n]||(this.markCache[n]=r.p.mark({class:n})))}));return i.finish()}}const S=o.Wl.high(r.lg.fromClass(k,{decorations:t=>t.decorations})),A=[""];class C{constructor(t,e,i){this.at=t,this.style=e,this.span=i,this.class=""}startSpan(t,e){e!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=e)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,e,i,s,r,o){let{type:l,from:h,to:a}=t;if(h>=i||a<=e)return;A[r]=l.name,l.isTop&&(o=l);let c=s,u=l.prop(g),f=!1;while(u){if(!u.context||T(u.context,A,r)){for(let t of u.tags){let e=this.style(t,o);e&&(c&&(c+=" "),c+=e,1==u.mode?s+=(s?" ":"")+e:0==u.mode&&(f=!0))}break}u=u.next}if(this.startSpan(t.from,c),f)return;let d=t.tree&&t.tree.prop(n.md.mounted);if(d&&d.overlay){let n=t.node.enter(d.overlay[0].from+h,1),l=t.firstChild();for(let u=0,f=h;;u++){let p=u=m||!t.nextSibling())break;if(!p||m>i)break;f=p.to+h,f>e&&(this.highlightRange(n.cursor,Math.max(e,p.from+h),Math.min(i,f),s,r,d.tree.type),this.startSpan(f,c))}l&&t.parent()}else if(t.firstChild()){do{if(!(t.to<=e)){if(t.from>=i)break;this.highlightRange(t,e,i,s,r+1,o),this.startSpan(Math.min(i,t.to),c)}}while(t.nextSibling());t.parent()}}}function M(t,e,i,n,s){let r=new C(e,n,s);r.highlightRange(t.cursor(),e,i,"",0,t.type),r.flush(i)}function T(t,e,i){if(t.length>i-1)return!1;for(let n=i-1,s=t.length-1;s>=0;s--,n--){let i=t[s];if(i&&i!=e[n])return!1}return!0}const D=c.define,O=D(),E=D(),R=D(E),B=D(E),P=D(),L=D(P),I=D(P),N=D(),V=D(N),H=D(),F=D(),z=D(),j=D(z),q=D(),W={comment:O,lineComment:D(O),blockComment:D(O),docComment:D(O),name:E,variableName:D(E),typeName:R,tagName:D(R),propertyName:B,attributeName:D(B),className:D(E),labelName:D(E),namespace:D(E),macroName:D(E),literal:P,string:L,docString:D(L),character:D(L),attributeValue:D(L),number:I,integer:D(I),float:D(I),bool:D(P),regexp:D(P),escape:D(P),color:D(P),url:D(P),keyword:H,self:D(H),null:D(H),atom:D(H),unit:D(H),modifier:D(H),operatorKeyword:D(H),controlKeyword:D(H),definitionKeyword:D(H),moduleKeyword:D(H),operator:F,derefOperator:D(F),arithmeticOperator:D(F),logicOperator:D(F),bitwiseOperator:D(F),compareOperator:D(F),updateOperator:D(F),definitionOperator:D(F),typeOperator:D(F),controlOperator:D(F),punctuation:z,separator:D(z),bracket:j,angleBracket:D(j),squareBracket:D(j),paren:D(j),brace:D(j),content:N,heading:V,heading1:D(V),heading2:D(V),heading3:D(V),heading4:D(V),heading5:D(V),heading6:D(V),contentSeparator:D(N),list:D(N),quote:D(N),emphasis:D(N),strong:D(N),link:D(N),monospace:D(N),strikethrough:D(N),inserted:D(),deleted:D(),changed:D(),invalid:D(),meta:q,documentMeta:D(q),annotation:D(q),processingInstruction:D(q),definition:c.defineModifier(),constant:c.defineModifier(),function:c.defineModifier(),standard:c.defineModifier(),local:c.defineModifier(),special:c.defineModifier()},$=x.define([{tag:W.link,textDecoration:"underline"},{tag:W.heading,textDecoration:"underline",fontWeight:"bold"},{tag:W.emphasis,fontStyle:"italic"},{tag:W.strong,fontWeight:"bold"},{tag:W.strikethrough,textDecoration:"line-through"},{tag:W.keyword,color:"#708"},{tag:[W.atom,W.bool,W.url,W.contentSeparator,W.labelName],color:"#219"},{tag:[W.literal,W.inserted],color:"#164"},{tag:[W.string,W.deleted],color:"#a11"},{tag:[W.regexp,W.escape,W.special(W.string)],color:"#e40"},{tag:W.definition(W.variableName),color:"#00f"},{tag:W.local(W.variableName),color:"#30a"},{tag:[W.typeName,W.namespace],color:"#085"},{tag:W.className,color:"#167"},{tag:[W.special(W.variableName),W.macroName],color:"#256"},{tag:W.definition(W.propertyName),color:"#00c"},{tag:W.comment,color:"#940"},{tag:W.meta,color:"#7a757a"},{tag:W.invalid,color:"#f00"}]);W.link,W.heading,W.emphasis,W.strong,W.keyword,W.atom,W.bool,W.url,W.labelName,W.inserted,W.deleted,W.literal,W.string,W.number,W.regexp,W.escape,W.string,W.variableName,W.variableName,W.variableName,W.variableName,W.propertyName,W.typeName,W.namespace,W.className,W.macroName,W.propertyName,W.operator,W.comment,W.meta,W.invalid,W.punctuation},40405:function(t,e,i){i.d(e,{Gn:function(){return T},qp:function(){return u},ri:function(){return x},tC:function(){return z},vw:function(){return V},ze:function(){return F},Dv:function(){return _},x0:function(){return $},Fw:function(){return U},y1:function(){return A},K0:function(){return M},uj:function(){return D},nY:function(){return q},SS:function(){return C},c:function(){return S},dK:function(){return b},qz:function(){return f}});var n=i(17918),s=i(46941),r=i(58583),o=i(76089);const l=new n.md;function h(t){return s.r$.define({combine:t?e=>e.concat(t):void 0})}class a{constructor(t,e,i,n=[]){this.data=t,this.topNode=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return f(this)}}),this.parser=e,this.extension=[b.of(this),s.yy.languageData.of(((t,e,i)=>t.facet(c(t,e,i))))].concat(n)}isActiveAt(t,e,i=-1){return c(t,e,i)==this.data}findRegions(t){let e=t.facet(b);if((null===e||void 0===e?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let i=[],s=(t,e)=>{if(t.prop(l)==this.data)return void i.push({from:e,to:e+t.length});let r=t.prop(n.md.mounted);if(r){if(r.tree.prop(l)==this.data){if(r.overlay)for(let t of r.overlay)i.push({from:t.from+e,to:t.to+e});else i.push({from:e,to:e+t.length});return}if(r.overlay){let t=i.length;if(s(r.tree,r.overlay[0].from+e),i.length>t)return}}for(let i=0;it.isTop?e:void 0))]}))}configure(t){return new u(this.data,this.parser.configure(t))}get allowsNesting(){return this.parser.wrappers.length>0}}function f(t){let e=t.field(a.state,!1);return e?e.tree:n.mp.empty}class d{constructor(t,e=t.length){this.doc=t,this.length=e,this.cursorPos=0,this.string="",this.cursor=t.iter()}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,e){let i=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-i,e-i)}}let p=null;class m{constructor(t,e,i=[],n,s,r,o,l){this.parser=t,this.state=e,this.fragments=i,this.tree=n,this.treeLen=s,this.viewport=r,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}startParse(){return this.parser.startParse(new d(this.state.doc),this.fragments)}work(t,e){return null!=e&&e>=this.state.doc.length&&(e=void 0),this.tree!=n.mp.empty&&this.isDone(null!==e&&void 0!==e?e:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var i;let s=Date.now()+t;for(this.parse||(this.parse=this.startParse()),null!=e&&(null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&es)return!1}}))}takeTree(){let t,e;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext((()=>{while(!(e=this.parse.advance()));})),this.treeLen=t,this.tree=e,this.fragments=this.withoutTempSkipped(n.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let e=p;p=this;try{return t()}finally{p=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=g(t,e.from,e.to);return t}changes(t,e){let{fragments:i,tree:s,treeLen:r,viewport:o,skipped:l}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges(((t,i,n,s)=>e.push({fromA:t,toA:i,fromB:n,toB:s}))),i=n.i9.applyChanges(i,e),s=n.mp.empty,r=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length){l=[];for(let e of this.skipped){let i=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);it.from&&(this.fragments=g(this.fragments,e,n),this.skipped.splice(i--,1))}return!(this.skipped.length>=e)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends n._b{createParse(e,i,s){let r=s[0].from,o=s[s.length-1].to,l={parsedPos:r,advance(){let e=p;if(e){for(let t of s)e.tempSkipped.push(t);t&&(e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t)}return this.parsedPos=o,new n.mp(n.Jq.none,[],[],o-r)},stoppedAt:null,stopAt(){}};return l}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&0==e[0].from&&e[0].to>=t}static get(){return p}}function g(t,e,i){return n.i9.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class v{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged)return this;let e=this.context.changes(t.changes,t.state),i=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);return e.work(20,i)||e.takeTree(),new v(e)}static init(t){let e=Math.min(3e3,t.doc.length),i=new m(t.facet(b).parser,t,[],n.mp.empty,0,{from:0,to:e},[],null);return i.work(20,e)||i.takeTree(),new v(i)}}a.state=s.QQ.define({create:v.init,update(t,e){for(let i of e.effects)if(i.is(a.setState))return i.value;return e.startState.facet(b)!=e.state.facet(b)?v.init(e.state):t.apply(e)}});let w=t=>{let e=setTimeout((()=>t()),500);return()=>clearTimeout(e)};"undefined"!=typeof requestIdleCallback&&(w=t=>{let e=-1,i=setTimeout((()=>{e=requestIdleCallback(t,{timeout:400})}),100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const y=r.lg.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(a.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),t.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(a.state);e.tree==e.context.tree&&e.context.isDone(t.doc.length)||(this.working=w(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEndn+1e3,l=s.context.work(r,n+(o?0:1e5));this.chunkBudget-=Date.now()-e,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:a.setState.of(new v(s.context))})),this.chunkBudget>0&&(!l||o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then((()=>this.scheduleWork())).catch((t=>(0,r.OO)(this.view.state,t))).then((()=>this.workScheduled--)),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return this.working||this.workScheduled>0}},{eventHandlers:{focus(){this.scheduleWork()}}}),b=s.r$.define({combine(t){return t.length?t[0]:null},enables:[a.state,y]});class x{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}const k=s.r$.define(),S=s.r$.define({combine:t=>{if(!t.length)return" ";if(!/^(?: +|\t+)$/.test(t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return t[0]}});function A(t){let e=t.facet(S);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function C(t,e){let i="",n=t.tabSize;if(9==t.facet(S).charCodeAt(0))while(e>=n)i+="\t",e-=n;for(let s=0;s=i.from&&n<=i.to?(e<0?n-1&&(s+=r-this.countColumn(i,i.search(/\S|$/))),s}countColumn(t,e=t.length){return(0,o.IS)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:i,from:n}=this.lineAt(t,e),s=this.options.overrideIndentation;if(s){let t=s(n);if(t>-1)return t}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const D=new n.md;function O(t,e,i){return B(e.resolveInner(i).enterUnfinishedNodesBefore(i),i,t)}function E(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function R(t){let e=t.type.prop(D);if(e)return e;let i,s=t.firstChild;if(s&&(i=s.type.prop(n.md.closedBy))){let e=t.lastChild,n=e&&i.indexOf(e.name)>-1;return t=>H(t,!0,1,void 0,n&&!E(t)?e.from:void 0)}return null==t.parent?P:null}function B(t,e,i){for(;t;t=t.parent){let n=R(t);if(n)return n(new L(i,e,t))}return null}function P(){return 0}class L extends T{constructor(t,e,i){super(t.state,t.options),this.base=t,this.pos=e,this.node=i}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let t=this.state.doc.lineAt(this.node.from);for(;;){let e=this.node.resolve(t.from);while(e.parent&&e.parent.from==e.from)e=e.parent;if(I(e,this.node))break;t=this.state.doc.lineAt(e.from)}return this.lineIndent(t.from)}continue(){let t=this.node.parent;return t?B(t,this.pos,this.base):0}}function I(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function N(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let s=t.options.simulateBreak,r=t.state.doc.lineAt(i.from),o=null==s||s<=r.from?r.to:Math.min(r.to,s);for(let l=i.to;;){let t=e.childAfter(l);if(!t||t==n)return null;if(!t.type.isSkipped)return t.fromH(n,e,i,t)}function H(t,e,i,n,s){let r=t.textAfter,o=r.match(/^\s*/)[0].length,l=n&&r.slice(o,o+n.length)==n||s==t.pos+o,h=e?N(t):null;return h?l?t.column(h.from):t.column(h.to):t.baseIndent+(l?0:t.unit*i)}const F=t=>t.baseIndent;function z({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const j=200;function q(){return s.yy.transactionFilter.of((t=>{if(!t.docChanged||!t.isUserEvent("input.type"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let i=t.newDoc,{head:n}=t.newSelection.main,s=i.lineAt(n);if(n>s.from+j)return t;let r=i.sliceString(s.from,n);if(!e.some((t=>t.test(r))))return t;let{state:o}=t,l=-1,h=[];for(let{head:a}of o.selection.ranges){let t=o.doc.lineAt(a);if(t.from==l)continue;l=t.from;let e=M(o,t.from);if(null==e)continue;let i=/^\s*/.exec(t.text)[0],n=C(o,e);i!=n&&h.push({from:t.from,to:t.from+i.length,insert:n})}return h.length?[t,{changes:h,sequential:!0}]:t}))}const W=s.r$.define(),$=new n.md;function _(t){let e=t.firstChild,i=t.lastChild;return e&&e.toi)continue;if(r&&o.from=e&&s.to>i&&(r=s)}}return r}function U(t,e,i){for(let n of t.facet(W)){let s=n(t,e,i);if(s)return s}return K(t,e,i)}},96651:function(t,e,i){i.d(e,{Xs:function(){return h},f_:function(){return c},uU:function(){return s}});var n=i(46941);class s{eq(t){return this==t}range(t,e=t){return new r(t,e,this)}}s.prototype.startSide=s.prototype.endSide=0,s.prototype.point=!1,s.prototype.mapMode=n.gc.TrackDel;class r{constructor(t,e,i){this.from=t,this.to=e,this.value=i}}function o(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class l{constructor(t,e,i,n){this.from=t,this.to=e,this.value=i,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(t,e,i,n=0){let s=i?this.to:this.from;for(let r=n,o=s.length;;){if(r==o)return r;let n=r+o>>1,l=s[n]-t||(i?this.value[n].endSide:this.value[n].startSide)-e;if(n==r)return l>=0?r:o;l>=0?o=n:r=n+1}}between(t,e,i,n){for(let s=this.findIndex(e,-1e9,!0),r=this.findIndex(i,1e9,!1,s);sa||h==a&&c.startSide>0&&c.endSide<=0)continue;(a-h||c.endSide-c.startSide)<0||(r<0&&(r=h),c.point&&(o=Math.max(o,a-h)),i.push(c),n.push(h-r),s.push(a-r))}return{mapped:i.length?new l(n,s,i,o):null,pos:r}}}class h{constructor(t,e,i=h.empty,n){this.chunkPos=t,this.chunk=e,this.nextLayer=i,this.maxPoint=n}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:i=!1,filterFrom:n=0,filterTo:s=this.length}=t,l=t.filter;if(0==e.length&&!l)return this;if(i&&e.slice().sort(o),this.isEmpty)return e.length?h.of(e):this;let a=new f(this,null,-1).goto(0),u=0,d=[],p=new c;while(a.value||u=0){let t=e[u++];p.addInner(t.from,t.to,t.value)||d.push(t)}else 1==a.rangeIndex&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&t<=s+r.length&&!1===r.between(s,t-s,e-s,i))return}this.nextLayer.between(t,e,i)}}iter(t=0){return d.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return d.from(t).goto(e)}static compare(t,e,i,n,s=-1){let r=t.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s)),o=e.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s)),l=u(r,o,i),h=new m(r,l,s),a=new m(o,l,s);i.iterGaps(((t,e,i)=>g(h,t,a,e,i,n))),i.empty&&0==i.length&&g(h,0,a,0,0,n)}static eq(t,e,i=0,n){null==n&&(n=1e9);let s=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0)),r=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0));if(s.length!=r.length)return!1;if(!s.length)return!0;let o=u(s,r),l=new m(s,o,0).goto(i),h=new m(r,o,0).goto(i);for(;;){if(l.to!=h.to||!v(l.active,h.active)||l.point&&(!h.point||!l.point.eq(h.point)))return!1;if(l.to>n)return!0;l.next(),h.next()}}static spans(t,e,i,n,s=-1){var r;let o=new m(t,null,s,null===(r=n.filterPoint)||void 0===r?void 0:r.bind(n)).goto(e),l=e,h=o.openStart;for(;;){let t=Math.min(o.to,i);if(o.point?(n.point(l,t,o.point,o.activeForPoint(o.to),h),h=o.openEnd(t)+(o.to>t?1:0)):t>l&&(n.span(l,t,o.active,h),h=o.openEnd(t)),o.to>i)break;l=o.to,o.next()}return h}static of(t,e=!1){let i=new c;for(let n of t instanceof r?[t]:e?a(t):t)i.add(n.from,n.to,n.value);return i.finish()}}function a(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(o);e=n}return t}h.empty=new h([],[],null,-1),h.empty.nextLayer=h.empty;class c{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(t){this.chunks.push(new l(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}add(t,e,i){this.addInner(t,e,i)||(this.nextLayer||(this.nextLayer=new c)).add(t,e,i)}addInner(t,e,i){let n=t-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(t-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(n<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(e-this.chunkStart),this.last=i,this.lastFrom=t,this.lastTo=e,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,e-t)),!0)}addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint),this.chunks.push(e),this.chunkPos.push(t);let i=e.value.length-1;return this.last=e.value[i],this.lastFrom=e.from[i]+t,this.lastTo=e.to[i]+t,!0}finish(){return this.finishInner(h.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return t;let e=new h(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,e}}function u(t,e,i){let n=new Map;for(let r of t)for(let t=0;t=this.minPoint)break}}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)while(this.chunkIndex=i&&n.push(new f(r,e,i,s));return 1==n.length?n[0]:new d(n)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let i of this.heap)i.goto(t,e);for(let i=this.heap.length>>1;i>=0;i--)p(this.heap,i);return this.next(),this}forward(t,e){for(let i of this.heap)i.forward(t,e);for(let i=this.heap.length>>1;i>=0;i--)p(this.heap,i);(this.to-t||this.value.endSide-e)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),p(this.heap,0)}}}function p(t,e){for(let i=t[e];;){let n=1+(e<<1);if(n>=t.length)break;let s=t[n];if(n+1=0&&(s=t[n+1],n++),i.compare(s)<0)break;t[n]=i,t[e]=s,e=n}}class m{constructor(t,e,i,n=(()=>!0)){this.minPoint=i,this.filterPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=d.from(t,e,i)}goto(t,e=-1e9){return this.cursor.goto(t,e),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=e,this.openStart=-1,this.next(),this}forward(t,e){while(this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e)<0)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){w(this.active,t),w(this.activeTo,t),w(this.activeRank,t),this.minActive=b(this.active,this.activeTo)}addActive(t){let e=0,{value:i,to:n,rank:s}=this.cursor;while(e-1&&(this.activeTo[s]-this.cursor.from||this.active[s].endSide-this.cursor.startSide)<0){if(this.activeTo[s]>t){this.to=this.activeTo[s],this.endSide=this.active[s].endSide;break}this.removeActive(s),i&&w(i,s)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let s=this.cursor.value;if(s.point)if(e&&this.cursor.to==this.to&&this.cursor.fromt&&this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(i),this.cursor.next()}}}if(i){let e=0;while(e=0;i--){if(this.activeRank[i]t||this.activeTo[i]==t&&this.active[i].endSide>=this.point.endSide)&&e.push(this.active[i])}return e.reverse()}openEnd(t){let e=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>t;i--)e++;return e}}function g(t,e,i,n,s,r){t.goto(e),i.goto(n);let o=n+s,l=n,h=n-e;for(;;){let e=t.to+h-i.to||t.endSide-i.endSide,n=e<0?t.to+h:i.to,s=Math.min(n,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&v(t.activeForPoint(t.to+h),i.activeForPoint(i.to))||r.comparePoint(l,s,t.point,i.point):s>l&&!v(t.active,i.active)&&r.compareRange(l,s,t.active,i.active),n>o)break;l=n,e<=0&&t.next(),e>=0&&i.next()}}function v(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function b(t,e){let i=-1,n=1e9;for(let s=0;st)return s+(t-n);s+=l}else{if(i!=r.Simple&&a>=t&&(i==r.TrackDel&&nt||i==r.TrackBefore&&nt))return null;if(a>t||a==t&&e<0&&!l)return t==n||e<0?s:s+h;s+=h}n=a}if(t>n)throw new RangeError(`Position ${t} is out of range for changeset of length ${n}`);return s}touchesRange(t,e=t){for(let i=0,n=0;i=0&&n<=e&&o>=t)return!(ne)||"cover";n=o}return!1}toString(){let t="";for(let e=0;e=0?":"+n:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some((t=>"number"!=typeof t)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new o(t)}}class l extends o{constructor(t,e){super(t),this.inserted=e}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return c(this,((e,i,n,s,r)=>t=t.replace(n,n+(i-e),r)),!1),t}mapDesc(t,e=!1){return u(this,t,e,!0)}invert(t){let e=this.sections.slice(),i=[];for(let s=0,r=0;s=0){e[s]=l,e[s+1]=o;let h=s>>1;while(i.length0&&a(i,e,s.text),s.forward(t),o+=t}let c=t[r++];while(o>1].toJSON()))}return t}static of(t,e,i){let r=[],o=[],c=0,u=null;function f(t=!1){if(!t&&!r.length)return;cu||l<0||u>e)throw new RangeError(`Invalid change range ${l} to ${u} (in doc of length ${e})`);let p=d?"string"==typeof d?n.xv.of(d.split(i||s)):d:n.xv.empty,m=p.length;if(l==u&&0==m)return;lc&&h(r,l-c,-1),h(r,u-l,m),a(o,r,p),c=u}}return d(t),f(!u),u}static empty(t){return new l(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],i=[];for(let s=0;se&&"string"!=typeof t)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==r.length)e.push(r[0],0);else{while(i.length=0&&i<=0&&i==t[s+1]?t[s]+=e:0==e&&0==t[s]?t[s+1]+=i:n?(t[s]+=e,t[s+1]+=i):t.push(e,i)}function a(t,e,i){if(0==i.length)return;let s=e.length-2>>1;if(s>1])),i||l==t.sections.length||t.sections[l+1]<0)break;h=t.sections[l++],a=t.sections[l++]}e(r,c,o,u,f),r=c,o=u}}}function u(t,e,i,n=!1){let s=[],r=n?[]:null,c=new d(t),u=new d(e);for(let f=0,d=0;;)if(-1==c.ins)f+=c.len,c.next();else if(-1==u.ins&&d=0&&(c.done||dd&&!c.done&&f+c.len=0)){if(c.done&&u.done)return r?new l(s,r):new o(s);throw new Error("Mismatched change set lengths")}{let t=0,e=f+c.len;for(;;)if(u.ins>=0&&d>f&&d+u.lent||c.ins>=0&&c.len>t)&&(u||n.length>e),r.forward2(t),c.forward(t)}}else h(n,0,c.ins,u),s&&a(s,n,c.text),c.next()}}class d{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return e>=t.length?n.xv.empty:t[e]}textBit(t){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length&&!t?n.xv.empty:e[i].slice(this.off,null==t?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class p{constructor(t,e,i){this.from=t,this.to=e,this.flags=i}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let t=3&this.flags;return 3==t?null:t}get goalColumn(){let t=this.flags>>5;return 33554431==t?void 0:t}map(t,e=-1){let i=t.mapPos(this.from,e),n=t.mapPos(this.to,e);return i==this.from&&n==this.to?this:new p(i,n,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return m.range(t,e);let i=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return m.range(this.anchor,i)}eq(t){return this.anchor==t.anchor&&this.head==t.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid JSON representation for SelectionRange");return m.range(t.anchor,t.head)}}class m{constructor(t,e=0){this.ranges=t,this.mainIndex=e}map(t,e=-1){return t.empty?this:m.create(this.ranges.map((i=>i.map(t,e))),this.mainIndex)}eq(t){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let e=0;et.toJSON())),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new m(t.ranges.map((t=>p.fromJSON(t))),t.main)}static single(t,e=t){return new m([m.range(t,e)],0)}static create(t,e=0){if(0==t.length)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;nt.from-e.from)),e=t.indexOf(i);for(let n=1;ni.head?m.range(o,r):m.range(r,o))}}return new m(t,e)}function v(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let w=0;class y{constructor(t,e,i,n,s){this.combine=t,this.compareInput=e,this.compare=i,this.isStatic=n,this.extensions=s,this.id=w++,this.default=t([])}static define(t={}){return new y(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(t.combine?(t,e)=>t===e:b),!!t.static,t.enables)}of(t){return new x([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new x(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new x(t,this,2,e)}from(t,e){return e||(e=t=>t),this.compute([t],(i=>e(i.field(t))))}}function b(t,e){return t==e||t.length==e.length&&t.every(((t,i)=>t===e[i]))}class x{constructor(t,e,i,n){this.dependencies=t,this.facet=e,this.type=i,this.value=n,this.id=w++}dynamicSlot(t){var e;let i=this.value,n=this.facet.compareInput,s=t[this.id]>>1,r=2==this.type,o=!1,l=!1,h=[];for(let a of this.dependencies)"doc"==a?o=!0:"selection"==a?l=!0:0==(1&(null!==(e=t[a.id])&&void 0!==e?e:1))&&h.push(t[a.id]);return(t,e)=>{let a=t.values[s];if(a===L)return t.values[s]=i(t),1;if(e){let c=o&&e.docChanged||l&&(e.docChanged||e.selection)||h.some((e=>(1&I(t,e))>0));if(c){let e=i(t);if(r?!k(e,a,n):!n(e,a))return t.values[s]=e,1}}return 0}}}function k(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[e.id])),s=i.map((t=>t.type)),r=n.filter((t=>!(1&t))),o=t[e.id]>>1;return(t,i)=>{let l=t.values[o],h=l===L||!i;for(let e of r)1&I(t,e)&&(h=!0);if(!h)return 0;let a=[];for(let e=0;et===e),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(A).find((t=>t.field==this));return((null===e||void 0===e?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return(t,i)=>{let n=t.values[e];if(n===L)return t.values[e]=this.create(t),1;if(i){let s=this.updateF(n,i);if(!this.compareF(n,s))return t.values[e]=s,1}return 0}}init(t){return[this,A.of({field:this,create:t})]}get extension(){return this}}const M={lowest:4,low:3,default:2,high:1,highest:0};function T(t){return e=>new O(e,t)}const D={lowest:T(M.lowest),low:T(M.low),default:T(M.default),high:T(M.high),highest:T(M.highest),fallback:T(M.lowest),extend:T(M.high),override:T(M.highest)};class O{constructor(t,e){this.inner=t,this.prec=e}}class E{of(t){return new R(this,t)}reconfigure(t){return E.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class R{constructor(t,e){this.compartment=t,this.inner=e}}class B{constructor(t,e,i,n,s){this.base=t,this.compartments=e,this.dynamicSlots=i,this.address=n,this.staticValues=s,this.statusTemplate=[];while(this.statusTemplate.length>1]}static resolve(t,e,i){let n=[],s=Object.create(null),r=new Map;for(let u of P(t,e,r))u instanceof C?n.push(u):(s[u.facet.id]||(s[u.facet.id]=[])).push(u);let o=Object.create(null),l=[],h=[],a=[];for(let u of n)o[u.id]=h.length<<1,h.push((t=>u.slot(t))),a.push([]);for(let u in s){let t=s[u],e=t[0].facet;if(t.every((t=>0==t.type))){o[e.id]=l.length<<1|1;let n=e.combine(t.map((t=>t.value))),s=i?i.config.address[e.id]:null;if(null!=s){let t=N(i,s);e.compare(n,t)&&(n=t)}l.push(n)}else{for(let e of t)0==e.type?(o[e.id]=l.length<<1|1,l.push(e.value)):(o[e.id]=h.length<<1,h.push((t=>e.dynamicSlot(t))),a.push(e.dependencies.filter((t=>"string"!=typeof t)).map((t=>t.id))));o[e.id]=h.length<<1,h.push((i=>S(i,e,t))),a.push(t.filter((t=>0!=t.type)).map((t=>t.id)))}}let c=h.map((t=>L));if(i){let t=(e,n)=>{if(n>7)return!1;let s=o[e];if(!(1&s))return a[s>>1].every((e=>t(e,n+1)));let r=i.config.address[e];return null!=r&&N(i,r)==l[s>>1]};for(let e in o){let n=o[e],s=i.config.address[e];null!=s&&0==(1&n)&&t(+e,0)&&(c[n>>1]=N(i,s))}}return{configuration:new B(t,r,h.map((t=>t(o))),o,l),values:c}}}function P(t,e,i){let n=[[],[],[],[],[]],s=new Map;function r(t,o){let l=s.get(t);if(null!=l){if(l>=o)return;let e=n[l].indexOf(t);e>-1&&n[l].splice(e,1),t instanceof R&&i.delete(t.compartment)}if(s.set(t,o),Array.isArray(t))for(let e of t)r(e,o);else if(t instanceof R){if(i.has(t.compartment))throw new RangeError("Duplicate use of compartment in extensions");let n=e.get(t.compartment)||t.inner;i.set(t.compartment,n),r(n,o)}else if(t instanceof O)r(t.inner,t.prec);else if(t instanceof C)n[o].push(t),t.provides&&r(t.provides,o);else if(t instanceof x)n[o].push(t),t.facet.extensions&&r(t.facet.extensions,o);else{let e=t.extension;if(!e)throw new Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(e,o)}}return r(t,M.default),n.reduce(((t,e)=>t.concat(e)))}const L={};function I(t,e){if(1&e)return 2;let i=e>>1,n=t.status[i];if(4==n)throw new Error("Cyclic dependency between fields and/or facets");if(2&n)return n;t.status[i]=4;let s=t.config.dynamicSlots[i](t,t.applying);return t.status[i]=2|s}function N(t,e){return 1&e?t.config.staticValues[e>>1]:t.values[e>>1]}const V=y.define(),H=y.define({combine:t=>t.some((t=>t)),static:!0}),F=y.define({combine:t=>t.length?t[0]:void 0,static:!0}),z=y.define(),j=y.define(),q=y.define(),W=y.define({combine:t=>!!t.length&&t[0]});class ${constructor(t,e){this.type=t,this.value=e}static define(){return new _}}class _{of(t){return new $(this,t)}}class K{constructor(t){this.map=t}of(t){return new U(this,t)}}class U{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.type.map(this.value,t);return void 0===e?void 0:e==this.value?this:new U(this.type,e)}is(t){return this.type==t}static define(t={}){return new K(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let i=[];for(let n of t){let t=n.map(e);t&&i.push(t)}return i}}U.reconfigure=U.define(),U.appendConfig=U.define();class G{constructor(t,e,i,n,s,r){this.startState=t,this.changes=e,this.selection=i,this.effects=n,this.annotations=s,this.scrollIntoView=r,this._doc=null,this._state=null,i&&v(i,e.newLength),s.some((t=>t.type==G.time))||(this.annotations=s.concat(G.time.of(Date.now())))}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(G.userEvent);return!(!e||!(e==t||e.length>t.length&&e.slice(0,t.length)==t&&"."==e[t.length]))}}function J(t,e){let i=[];for(let n=0,s=0;;){let r,o;if(n=t[n]))r=t[n++],o=t[n++];else{if(!(s=0;s--){let i=n[s](t);t=i instanceof G?i:Array.isArray(i)&&1==i.length&&i[0]instanceof G?i[0]:Y(e,it(i),!1)}return t}function tt(t){let e=t.startState,i=e.facet(q),n=t;for(let s=i.length-1;s>=0;s--){let r=i[s](t);r&&Object.keys(r).length&&(n=X(t,Q(e,r,t.changes.newLength),!0))}return n==t?t:new G(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}G.time=$.define(),G.userEvent=$.define(),G.addToHistory=$.define(),G.remote=$.define();const et=[];function it(t){return null==t?et:Array.isArray(t)?t:[t]}var nt=function(t){return t[t["Word"]=0]="Word",t[t["Space"]=1]="Space",t[t["Other"]=2]="Other",t}(nt||(nt={}));const st=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let rt;try{rt=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(ct){}function ot(t){if(rt)return rt.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||st.test(i)))return!0}return!1}function lt(t){return e=>{if(!/\S/.test(e))return nt.Space;if(ot(e))return nt.Word;for(let i=0;i-1)return nt.Word;return nt.Other}}class ht{constructor(t,e,i,n,s=null){this.config=t,this.doc=e,this.selection=i,this.values=n,this.applying=null,this.status=t.statusTemplate.slice(),this.applying=s,s&&(s._state=this);for(let r=0;rs.set(e,t))),i=null),s.set(r.value.compartment,r.value.extension)):r.is(U.reconfigure)?(i=null,n=r.value):r.is(U.appendConfig)&&(i=null,n=it(n).concat(r.value));if(i)e=t.startState.values.slice();else{let t=B.resolve(n,s,this);i=t.configuration;let r=new ht(i,this.doc,this.selection,t.values,null);e=r.values}new ht(i,t.newDoc,t.newSelection,e,t)}replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:t},range:m.cursor(e.from+t.length)})))}changeByRange(t){let e=this.selection,i=t(e.ranges[0]),n=this.changes(i.changes),s=[i.range],r=it(i.effects);for(let o=1;oe.spec.fromJSON(r,t))))}return ht.create({doc:t.doc,selection:m.fromJSON(t.selection),extensions:e.extensions?n.concat([e.extensions]):n})}static create(t={}){let{configuration:e,values:i}=B.resolve(t.extensions||[],new Map),r=t.doc instanceof n.xv?t.doc:n.xv.of((t.doc||"").split(e.staticFacet(ht.lineSeparator)||s)),o=t.selection?t.selection instanceof m?t.selection:m.single(t.selection.anchor,t.selection.head):m.single(0);return v(o,r.length),e.staticFacet(H)||(o=o.asSingle()),new ht(e,r,o,i)}get tabSize(){return this.facet(ht.tabSize)}get lineBreak(){return this.facet(ht.lineSeparator)||"\n"}get readOnly(){return this.facet(W)}phrase(t){for(let e of this.facet(ht.phrases))if(Object.prototype.hasOwnProperty.call(e,t))return e[t];return t}languageDataAt(t,e,i=-1){let n=[];for(let s of this.facet(V))for(let r of s(this,e,i))Object.prototype.hasOwnProperty.call(r,t)&&n.push(r[t]);return n}charCategorizer(t){return lt(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:e,from:i,length:s}=this.doc.lineAt(t),r=this.charCategorizer(t),o=t-i,l=t-i;while(o>0){let t=(0,n.cp)(e,o,!1);if(r(e.slice(t,o))!=nt.Word)break;o=t}while(lt.length?t[0]:4}),ht.lineSeparator=F,ht.readOnly=W,ht.phrases=y.define(),ht.languageData=V,ht.changeFilter=z,ht.transactionFilter=j,ht.transactionExtender=q,E.reconfigure=U.define()},76089:function(t,e,i){i.d(e,{xv:function(){return v},gm:function(){return f},nZ:function(){return p},IS:function(){return m},cp:function(){return l},Gz:function(){return g},bg:function(){return d}});let n="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((t=>t?parseInt(t,36):1));for(let T=1;Tt)return n[e-1]<=t;return!1}function r(t){return t>=127462&&t<=127487}const o=8205;function l(t,e,i=!0,n=!0){return(i?h:a)(t,e,n)}function h(t,e,i){if(e==t.length)return e;e&&c(t.charCodeAt(e))&&u(t.charCodeAt(e-1))&&e--;let n=f(t,e);e+=p(n);while(e=0&&r(f(t,n)))i++,n-=2;if(i%2==0)break;e+=2}}}return e}function a(t,e,i){while(e>0){let n=h(t,e-2,i);if(n=56320&&t<57344}function u(t){return t>=55296&&t<56320}function f(t,e){let i=t.charCodeAt(e);if(!u(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return c(n)?n-56320+(i-55296<<10)+65536:i}function d(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function p(t){return t<65536?1:2}function m(t,e,i=t.length){let n=0;for(let s=0;s=e)return s;if(s==t.length)break;r+=9==t.charCodeAt(s)?i-r%i:1,s=l(t,s)}return!0===n?-1:t.length}class v{constructor(){}lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,i){let n=[];return this.decompose(0,t,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(e,this.length,n,1),y.from(n,this.length-(e-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){let i=[];return this.decompose(t,e,i,0),y.from(i,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),n=new S(this),s=new S(t);for(let r=e,o=e;;){if(n.next(r),s.next(r),r=0,n.lineBreak!=s.lineBreak||n.done!=s.done||n.value!=s.value)return!1;if(o+=n.value.length,n.done||o>=i)return!0}}iter(t=1){return new S(this,t)}iterRange(t,e=this.length){return new A(this,t,e)}iterLines(t,e){let i;if(null==t)i=this.iter();else{null==e&&(e=this.lines+1);let n=this.line(t).from;i=this.iterRange(n,Math.max(n,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new C(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}static of(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new w(t):y.from(w.split(t,[])):v.empty}}class w extends v{constructor(t,e=b(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,i,n){for(let s=0;;s++){let r=this.text[s],o=n+r.length;if((e?i:o)>=t)return new M(n,o,i,r);n=o+1,i++}}decompose(t,e,i,n){let s=t<=0&&e>=this.length?this:new w(k(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(1&n){let t=i.pop(),e=x(s.text,t.text.slice(),0,s.length);if(e.length<=32)i.push(new w(e,t.length+s.length));else{let t=e.length>>1;i.push(new w(e.slice(0,t)),new w(e.slice(t)))}}else i.push(s)}replace(t,e,i){if(!(i instanceof w))return super.replace(t,e,i);let n=x(this.text,x(i.text,k(this.text,0,t)),e),s=this.length+i.length-(e-t);return n.length<=32?new w(n,s):y.from(w.split(n,[]),s)}sliceString(t,e=this.length,i="\n"){let n="";for(let s=0,r=0;s<=e&&rt&&r&&(n+=i),ts&&(n+=o.slice(Math.max(0,t-s),e-s)),s=l+1}return n}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let i=[],n=-1;for(let s of t)i.push(s),n+=s.length+1,32==i.length&&(e.push(new w(i,n)),i=[],n=-1);return n>-1&&e.push(new w(i,n)),e}}class y extends v{constructor(t,e){super(),this.children=t,this.length=e,this.lines=0;for(let i of t)this.lines+=i.lines}lineInner(t,e,i,n){for(let s=0;;s++){let r=this.children[s],o=n+r.length,l=i+r.lines-1;if((e?l:o)>=t)return r.lineInner(t,e,i,n);n=o+1,i=l+1}}decompose(t,e,i,n){for(let s=0,r=0;r<=e&&s=r){let s=n&((r<=t?1:0)|(l>=e?2:0));r>=t&&l<=e&&!s?i.push(o):o.decompose(t-r,e-r,i,s)}r=l+1}}replace(t,e,i){if(i.lines=s&&e<=o){let l=r.replace(t-s,e-s,i),h=this.lines-r.lines+l.lines;if(l.lines>4&&l.lines>h>>6){let s=this.children.slice();return s[n]=l,new y(s,this.length-(e-t)+i.length)}return super.replace(s,o,l)}s=o+1}return super.replace(t,e,i)}sliceString(t,e=this.length,i="\n"){let n="";for(let s=0,r=0;st&&s&&(n+=i),tr&&(n+=o.sliceString(t-r,e-r,i)),r=l+1}return n}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof y))return 0;let i=0,[n,s,r,o]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;n+=e,s+=e){if(n==r||s==o)return i;let l=this.children[n],h=t.children[s];if(l!=h)return i+l.scanIdentical(h,e);i+=l.length+1}}static from(t,e=t.reduce(((t,e)=>t+e.length+1),-1)){let i=0;for(let f of t)i+=f.lines;if(i<32){let i=[];for(let e of t)e.flatten(i);return new w(i,e)}let n=Math.max(32,i>>5),s=n<<1,r=n>>1,o=[],l=0,h=-1,a=[];function c(t){let e;if(t.lines>s&&t instanceof y)for(let i of t.children)c(i);else t.lines>r&&(l>r||!l)?(u(),o.push(t)):t instanceof w&&l&&(e=a[a.length-1])instanceof w&&t.lines+e.lines<=32?(l+=t.lines,h+=t.length+1,a[a.length-1]=new w(e.text.concat(t.text),e.length+1+t.length)):(l+t.lines>n&&u(),l+=t.lines,h+=t.length+1,a.push(t))}function u(){0!=l&&(o.push(1==a.length?a[0]:y.from(a,h)),h=-1,l=a.length=0)}for(let f of t)c(f);return u(),1==o.length?o[0]:new y(o,e)}}function b(t){let e=-1;for(let i of t)e+=i.length+1;return e}function x(t,e,i=0,n=1e9){for(let s=0,r=0,o=!0;r=i&&(h>n&&(l=l.slice(0,n-s)),s0?1:(t instanceof w?t.text.length:t.children.length)<<1]}nextInner(t,e){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],s=this.offsets[i],r=s>>1,o=n instanceof w?n.text.length:n.children.length;if(r==(e>0?o:0)){if(0==i)return this.done=!0,this.value="",this;e>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&s)==(e>0?0:1)){if(this.offsets[i]+=e,0==t)return this.lineBreak=!0,this.value="\n",this;t--}else if(n instanceof w){let s=n.text[r+(e<0?-1:0)];if(this.offsets[i]+=e,s.length>Math.max(0,t))return this.value=0==t?s:e>0?s.slice(t):s.slice(0,s.length-t),this;t-=s.length}else{let s=n.children[r+(e<0?-1:0)];t>s.length?(t-=s.length,this.offsets[i]+=e):(e<0&&this.offsets[i]--,this.nodes.push(s),this.offsets.push(e>0?1:(s instanceof w?s.text.length:s.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class A{constructor(t,e,i){this.value="",this.done=!1,this.cursor=new S(t,e>i?-1:1),this.pos=e>i?t.length:0,this.from=Math.min(e,i),this.to=Math.max(e,i)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let i=e<0?this.pos-this.from:this.to-this.pos;t>i&&(t=i),i-=t;let{value:n}=this.cursor.next(t);return this.pos+=(n.length+t)*e,this.value=n.length<=i?n:e<0?n.slice(n.length-i):n.slice(0,i),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class C{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:e,lineBreak:i,value:n}=this.inner.next(t);return e?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(v.prototype[Symbol.iterator]=function(){return this.iter()},S.prototype[Symbol.iterator]=A.prototype[Symbol.iterator]=C.prototype[Symbol.iterator]=function(){return this});class M{constructor(t,e,i,n){this.from=t,this.to=e,this.number=i,this.text=n}get length(){return this.to-this.from}}},2903:function(t,e,i){i.d(e,{gB:function(){return x},bF:function(){return b},hJ:function(){return d}});var n=i(58583),s=i(46941);const r="undefined"!=typeof navigator&&!/Edge\/(\d+)/.exec(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor)&&(/Mobile\/\w+/.test(navigator.userAgent)||navigator.maxTouchPoints>2),o="-10000px";class l{constructor(t,e,i){this.facet=e,this.createTooltipView=i,this.input=t.state.facet(e),this.tooltips=this.input.filter((t=>t)),this.tooltipViews=this.tooltips.map(i)}update(t){let e=t.state.facet(this.facet),i=e.filter((t=>t));if(e===this.input){for(let e of this.tooltipViews)e.update&&e.update(t);return!1}let n=[];for(let s=0;s{var e,i,n;return{position:r?"absolute":(null===(e=t.find((t=>t.position)))||void 0===e?void 0:e.position)||"fixed",parent:(null===(i=t.find((t=>t.parent)))||void 0===i?void 0:i.parent)||null,tooltipSpace:(null===(n=t.find((t=>t.tooltipSpace)))||void 0===n?void 0:n.tooltipSpace)||h}}}),c=n.lg.fromClass(class{constructor(t){var e;this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let i=t.state.facet(a);this.position=i.position,this.parent=i.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new l(t,d,(t=>this.createTooltip(t))),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),null===(e=t.dom.ownerDocument.defaultView)||void 0===e||e.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{this.measureTimeout=-1,this.maybeMeasure()}),50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(a);if(n.position!=this.position){this.position=n.position;for(let t of this.manager.tooltipViews)t.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let t of this.manager.tooltipViews)this.container.appendChild(t.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector("cm-tooltip > cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=o,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;null===(t=this.view.dom.ownerDocument.defaultView)||void 0===t||t.removeEventListener("resize",this.measureSoon);for(let{dom:i}of this.manager.tooltipViews)i.remove();null===(e=this.intersectionObserver)||void 0===e||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((t=>this.view.coordsAtPos(t.pos))),size:this.manager.tooltipViews.map((({dom:t})=>t.getBoundingClientRect())),space:this.view.state.facet(a).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:i}=t,s=[];for(let r=0;r=Math.min(e.bottom,i.bottom)||c.right<=Math.max(e.left,i.left)||c.left>=Math.min(e.right,i.right)){a.style.top=o;continue}let d=l.arrow?h.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=u.right-u.left,g=u.bottom-u.top,v=h.offset||f,w=this.view.textDirection==n.Nm.LTR,y=u.width>i.right-i.left?w?i.left:i.right-u.width:w?Math.min(c.left-(d?14:0)+v.x,i.right-m):Math.max(i.left,c.left-m+(d?14:0)-v.x),b=!!l.above;!l.strictSide&&(b?c.top-(u.bottom-u.top)-v.yi.bottom)&&b==i.bottom-c.bottom>c.top-i.top&&(b=!b);let x=b?c.top-g-p-v.y:c.bottom+p+v.y,k=y+m;if(!0!==h.overlap)for(let t of s)t.lefty&&t.topx&&(x=b?t.top-g-2-p:t.bottom+p+2);"absolute"==this.position?(a.style.top=x-t.parent.top+"px",a.style.left=y-t.parent.left+"px"):(a.style.top=x+"px",a.style.left=y+"px"),d&&(d.style.left=c.left+(w?v.x:-v.x)-(y+14-7)+"px"),!0!==h.overlap&&s.push({left:y,top:x,right:k,bottom:x+g}),a.classList.toggle("cm-tooltip-above",b),a.classList.toggle("cm-tooltip-below",!b),h.positioned&&h.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=o}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),u=n.tk.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),f={x:0,y:0},d=s.r$.define({enables:[c,u]}),p=s.r$.define();class m{constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new l(t,p,(t=>this.createHostedView(t)))}static create(t){return new m(t)}createHostedView(t){let e=t.create(this.view);return e.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(e.dom),this.mounted&&e.mount&&e.mount(this.view),e}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned()}update(t){this.manager.update(t)}}const g=d.compute([p],(t=>{let e=t.facet(p).filter((t=>t));return 0===e.length?null:{pos:Math.min(...e.map((t=>t.pos))),end:Math.max(...e.filter((t=>null!=t.end)).map((t=>t.end))),create:m.create,above:e[0].above,arrow:e.some((t=>t.arrow))}}));class v{constructor(t,e,i,n,s){this.view=t,this.source=e,this.field=i,this.setHover=n,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;ts.bottom||e.xs.right+this.view.defaultCharacterWidth)return;let r=this.view.bidiSpans(this.view.state.doc.lineAt(i)).find((t=>t.from<=i&&t.to>=i)),o=r&&r.dir==n.Nm.RTL?-1:1,l=this.source(this.view,i,e.x{this.pending==t&&(this.pending=null,e&&this.view.dispatch({effects:this.setHover.of(e)}))}),(t=>(0,n.OO)(this.view.state,t,"hover tooltip")))}else l&&this.view.dispatch({effects:this.setHover.of(l)})}mousemove(t){var e;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!w(this.lastMove.target)||this.pending){let{pos:n}=i||this.pending,s=null!==(e=null===i||void 0===i?void 0:i.end)&&void 0!==e?e:n;(n==s?this.view.posAtCoords(this.lastMove)==n:y(this.view,n,s,t.clientX,t.clientY,6))||(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function w(t){for(let e=t;e;e=e.parentNode)if(1==e.nodeType&&e.classList.contains("cm-tooltip"))return!0;return!1}function y(t,e,i,n,s,r){let o=document.createRange(),l=t.domAtPos(e),h=t.domAtPos(i);o.setEnd(h.node,h.offset),o.setStart(l.node,l.offset);let a=o.getClientRects();o.detach();for(let c=0;cp.from(t)}),o=e.hoverTime||600;return[r,n.lg.define((e=>new v(e,t,r,i,o))),g]}function x(t,e){let i=t.plugin(c);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const k=s.Py.define()},58583:function(t,e,i){i.d(e,{kH:function(){return yt},p:function(){return bt},Nm:function(){return se},tk:function(){return wn},BF:function(){return Kt},lg:function(){return Jt},l9:function(){return wt},Uw:function(){return jn},qr:function(){return ts},ZO:function(){return vs},AE:function(){return cs},$f:function(){return Rn},OO:function(){return Wt},$1:function(){return Ln}});for(var n=i(46941),s=i(76089),r=i(70876),o=i(96651),l={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",229:"q"},h={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},a="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),c="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),u="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),f="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),d="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),p=a&&(f||+a[1]<57)||u&&f,m=0;m<10;m++)l[48+m]=l[96+m]=String(m);for(m=1;m<=24;m++)l[m+111]="F"+m;for(m=65;m<=90;m++)l[m]=String.fromCharCode(m+32),h[m]=String.fromCharCode(m);for(var g in l)h.hasOwnProperty(g)||(h[g]=l[g]);function v(t){var e=p&&(t.ctrlKey||t.altKey||t.metaKey)||(c||d)&&t.shiftKey&&t.key&&1==t.key.length,i=!e&&t.key||(t.shiftKey?h:l)[t.keyCode]||t.key||"Unidentified";return"Esc"==i&&(i="Escape"),"Del"==i&&(i="Delete"),"Left"==i&&(i="ArrowLeft"),"Up"==i&&(i="ArrowUp"),"Right"==i&&(i="ArrowRight"),"Down"==i&&(i="ArrowDown"),i}function w(t){let e;return e=11==t.nodeType?t.getSelection?t:t.ownerDocument:t,e.getSelection()}function y(t,e){return!!e&&t.contains(1!=e.nodeType?e.parentNode:e)}function b(){let t=document.activeElement;while(t&&t.shadowRoot)t=t.shadowRoot.activeElement;return t}function x(t,e){if(!e.anchorNode)return!1;try{return y(t,e.anchorNode)}catch(i){return!1}}function k(t){return 3==t.nodeType?I(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function S(t,e,i,n){return!!i&&(C(t,e,i,n,-1)||C(t,e,i,n,1))}function A(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function C(t,e,i,n,s){for(;;){if(t==i&&e==n)return!0;if(e==(s<0?0:M(t))){if("DIV"==t.nodeName)return!1;let i=t.parentNode;if(!i||1!=i.nodeType)return!1;e=A(t)+(s<0?0:1),t=i}else{if(1!=t.nodeType)return!1;if(t=t.childNodes[e+(s<0?-1:0)],1==t.nodeType&&"false"==t.contentEditable)return!1;e=s<0?M(t):0}}}function M(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}const T={left:0,right:0,top:0,bottom:0};function D(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function O(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function E(t,e,i,n,s,r,o,l){let h=t.ownerDocument,a=h.defaultView;for(let c=t;c;)if(1==c.nodeType){let t,u=c==h.body;if(u)t=O(a);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.parentNode;continue}let e=c.getBoundingClientRect();t={left:e.left,right:e.left+c.clientWidth,top:e.top,bottom:e.top+c.clientHeight}}let f=0,d=0;if("nearest"==s)e.top0&&e.bottom>t.bottom+d&&(d=e.bottom-t.bottom+d+o)):e.bottom>t.bottom&&(d=e.bottom-t.bottom+o,i<0&&e.top-d0&&e.right>t.right+f&&(f=e.right-t.right+f+r)):e.right>t.right&&(f=e.right-t.right+r,i<0&&e.lefte)return i.domBoundsAround(t,e,h);if(c>=t&&-1==n&&(n=l,s=h),h>e&&i.dom.parentNode==this.dom){r=l,o=a;break}a=c,h=c+i.breakAfter}return{from:s,to:o<0?i+this.length:o,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:r=0?this.children[r].dom:null}}markDirty(t=!1){this.dirty|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let e=this.parent;e;e=e.parent){if(t&&(e.dirty|=2),1&e.dirty)return;e.dirty|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.dirty&&this.markParentsDirty(!0))}setDOM(t){this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this}get rootView(){for(let t=this;;){let e=t.parent;if(!e)return t;t=e}}replaceChildren(t,e,i=z){this.markDirty();for(let n=t;nthis.pos||t==this.pos&&(e>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function $(t,e,i,n,s,r,o,l,h){let{children:a}=t,c=a.length?a[e]:null,u=r.length?r[r.length-1]:null,f=u?u.breakAfter:o;if(!(e==n&&c&&!o&&!f&&r.length<2&&c.merge(i,s,r.length?u:null,0==i,l,h))){if(n0&&(!o&&r.length&&c.merge(i,c.length,r[0],!1,l,0)?c.breakAfter=r.shift().breakAfter:(i2);var nt={mac:it||/Mac/.test(K.platform),windows:/Win/.test(K.platform),linux:/Linux|X11/.test(K.platform),ie:Q,ie_version:J?U.documentMode||6:X?+X[1]:G?+G[1]:0,gecko:Y,gecko_version:Y?+(/Firefox\/(\d+)/.exec(K.userAgent)||[0,0])[1]:0,chrome:!!Z,chrome_version:Z?+Z[1]:0,ios:it,android:/Android\b/.test(K.userAgent),webkit:tt,safari:et,webkit_version:tt?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=U.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};const st=256;class rt extends j{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){3==t.nodeType&&this.createDOM(t)}merge(t,e,i){return(!i||i instanceof rt&&!(this.length-(e-t)+i.length>st))&&(this.text=this.text.slice(0,t)+(i?i.text:"")+this.text.slice(e),this.markDirty(),!0)}split(t){let e=new rt(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),e}localPosFromDOM(t,e){return t==this.dom?e:e?this.text.length:0}domAtPos(t){return new F(this.dom,t)}domBoundsAround(t,e,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,e){return lt(this.dom,t,e)}}class ot extends j{constructor(t,e=[],i=0){super(),this.mark=t,this.children=e,this.length=i;for(let n of e)n.setParent(this)}setAttrs(t){if(H(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let e in this.mark.attrs)t.setAttribute(e,this.mark.attrs[e]);return t}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.dirty|=6)}sync(t){this.dom?4&this.dirty&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t)}merge(t,e,i,n,s,r){return(!i||!(!(i instanceof ot&&i.mark.eq(this.mark))||t&&s<=0||et&&e.push(i=t&&(n=s),i=r,s++}let r=this.length-t;return this.length=t,n>-1&&(this.children.length=n,this.markDirty()),new ot(this.mark,e,r)}domAtPos(t){return ft(this.dom,this.children,t)}coordsAt(t,e){return pt(this,t,e)}}function lt(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let s=e,r=e,o=0;0==e&&i<0||e==n&&i>=0?nt.chrome||nt.gecko||(e?(s--,o=1):(r++,o=-1)):i<0?s--:r++;let l=I(t,s,r).getClientRects();if(!l.length)return T;let h=l[(o?o<0:i>=0)?0:l.length-1];return nt.safari&&!o&&0==h.width&&(h=Array.prototype.find.call(l,(t=>t.width))||h),o?D(h,o<0):h||null}class ht extends j{constructor(t,e,i){super(),this.widget=t,this.length=e,this.side=i}static create(t,e,i){return new(t.customView||ht)(t,e,i)}split(t){let e=ht.create(this.widget,this.length-t,this.side);return this.length-=t,e}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(t,e,i,n,s,r){return!(i&&(!(i instanceof ht&&this.widget.compare(i.widget))||t>0&&s<=0||e0?i.length-1:0;;s+=t>0?-1:1)if(n=i[s],t>0?0==s:s==i.length-1||n.top0||t==this.length&&e<=0?n:D(n,0==t)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class at extends ht{domAtPos(t){return new F(this.widget.text,t)}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(t,e){return e?3==t.nodeType?Math.min(e,this.length):this.length:0}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(t,e){return lt(this.widget.text,t,e)}get isEditable(){return!0}}const ct=nt.android?"​​":"​";class ut extends j{constructor(t){super(),this.side=t}get length(){return 0}merge(){return!1}become(t){return t instanceof ut&&t.side==this.side}split(){return new ut(this.side)}sync(){this.dom?this.dirty&&this.dom.nodeValue!=ct&&(this.dom.nodeValue=ct):this.setDOM(document.createTextNode(ct))}getSide(){return this.side}domAtPos(t){return F.before(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){let e=k(this.dom);return e[e.length-1]||null}get overrideDOMText(){return s.xv.of([this.dom.nodeValue.replace(/\u200b/g,"")])}}function ft(t,e,i){let n=0;for(let s=0;ns&&i0;n--){let i=e[n-1].dom;if(i.parentNode==t)return F.after(i)}return new F(t,0)}function dt(t,e,i){let n,{children:s}=t;i>0&&e instanceof ot&&s.length&&(n=s[s.length-1])instanceof ot&&n.mark.eq(e.mark)?dt(n,e.children[0],i-1):(s.push(e),e.setParent(t)),t.length+=e.length}function pt(t,e,i){for(let r=0,o=0;o0?l>=e:l>e)&&(e0)){let t=0;if(l==r){if(s.getSide()<=0)continue;t=i=-s.getSide()}let n=s.coordsAt(e-r,i);return t&&n?D(n,i<0):n}r=l}let n=t.dom.lastChild;if(!n)return t.dom.getBoundingClientRect();let s=k(n);return s[s.length-1]||null}function mt(t,e){for(let i in t)"class"==i&&e.class?e.class+=" "+t.class:"style"==i&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}function gt(t,e){if(t==e)return!0;if(!t||!e)return!1;let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let s of i)if(-1==n.indexOf(s)||t[s]!==e[s])return!1;return!0}function vt(t,e,i){if(e)for(let n in e)i&&n in i||t.removeAttribute(n);if(i)for(let n in i)e&&e[n]==i[n]||t.setAttribute(n,i[n])}rt.prototype.children=ht.prototype.children=ut.prototype.children=z;class wt{eq(t){return!1}updateDOM(t){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}ignoreEvent(t){return!0}get customView(){return null}destroy(t){}}var yt=function(t){return t[t["Text"]=0]="Text",t[t["WidgetBefore"]=1]="WidgetBefore",t[t["WidgetAfter"]=2]="WidgetAfter",t[t["WidgetRange"]=3]="WidgetRange",t}(yt||(yt={}));class bt extends o.uU{constructor(t,e,i,n){super(),this.startSide=t,this.endSide=e,this.widget=i,this.spec=n}get heightRelevant(){return!1}static mark(t){return new xt(t)}static widget(t){let e=t.side||0,i=!!t.block;return e+=i?e>0?3e8:-4e8:e>0?1e8:-1e8,new St(t,e,e,i,t.widget||null,!1)}static replace(t){let e=!!t.block,{start:i,end:n}=At(t,e),s=e?i?-3e8:-1:4e8,r=e?n?2e8:1:-5e8;return new St(t,s,r,e,t.widget||null,!0)}static line(t){return new kt(t)}static set(t,e=!1){return o.Xs.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}bt.none=o.Xs.empty;class xt extends bt{constructor(t){let{start:e,end:i}=At(t);super(e?-1:4e8,i?1:-5e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){return this==t||t instanceof xt&&this.tagName==t.tagName&&this.class==t.class&>(this.attrs,t.attrs)}range(t,e=t){if(t>=e)throw new RangeError("Mark decorations may not be empty");return super.range(t,e)}}xt.prototype.point=!1;class kt extends bt{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof kt&>(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}kt.prototype.mapMode=n.gc.TrackBefore,kt.prototype.point=!0;class St extends bt{constructor(t,e,i,s,r,o){super(e,i,r,t),this.block=s,this.isReplace=o,this.mapMode=s?e<=0?n.gc.TrackBefore:n.gc.TrackAfter:n.gc.TrackDel}get type(){return this.startSide=5}eq(t){return t instanceof St&&Ct(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function At(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return null==i&&(i=t.inclusive),null==n&&(n=t.inclusive),{start:null!==i&&void 0!==i?i:e,end:null!==n&&void 0!==n?n:e}}function Ct(t,e){return t==e||!!(t&&e&&t.compare(e))}function Mt(t,e,i,n=0){let s=i.length-1;s>=0&&i[s]+n>=t?i[s]=Math.max(i[s],e):i.push(t,e)}St.prototype.point=!0;class Tt extends j{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,i,n,s,r){if(i){if(!(i instanceof Tt))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),_(this,t,e,i?i.children:[],s,r),!0}split(t){let e=new Tt;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i:i,off:n}=this.childPos(t);n&&(e.append(this.children[i].split(n),0),this.children[i].merge(n,this.children[i].length,null,!1,0,0),i++);for(let s=i;s0&&0==this.children[i-1].length)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=t,e}transferDOM(t){this.dom&&(t.setDOM(this.dom),t.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){gt(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,e){dt(this,t,e)}addLineDeco(t){let e=t.spec.attributes,i=t.spec.class;e&&(this.attrs=mt(e,this.attrs||{})),i&&(this.attrs=mt({class:i},this.attrs||{}))}domAtPos(t){return ft(this.dom,this.children,t)}reuseDOM(t){"DIV"==t.nodeName&&(this.setDOM(t),this.dirty|=6)}sync(t){var e;this.dom?4&this.dirty&&(H(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(vt(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t);let i=this.dom.lastChild;while(i&&j.get(i)instanceof ot)i=i.lastChild;if(!i||"BR"!=i.nodeName&&0==(null===(e=j.get(i))||void 0===e?void 0:e.isEditable)&&(!nt.ios||!this.children.some((t=>t instanceof rt)))){let t=document.createElement("BR");t.cmIgnore=!0,this.dom.appendChild(t)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let t=0;for(let e of this.children){if(!(e instanceof rt))return null;let i=k(e.dom);if(1!=i.length)return null;t+=i[0].width}return{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length}}coordsAt(t,e){return pt(this,t,e)}become(t){return!1}get type(){return yt.Text}static find(t,e){for(let i=0,n=0;i=e){if(s instanceof Tt)return s;if(r>e)break}n=r+s.breakAfter}return null}}class Dt extends j{constructor(t,e,i){super(),this.widget=t,this.length=e,this.type=i,this.breakAfter=0}merge(t,e,i,n,s,r){return!(i&&(!(i instanceof Dt&&this.widget.compare(i.widget))||t>0&&s<=0||e0){if(this.textOff==this.text.length){let{value:e,lineBreak:i,done:n}=this.cursor.next(this.skip);if(this.skip=0,n)throw new Error("Ran out of text content when drawing inline views");if(i){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,t--;continue}this.text=e,this.textOff=0}let n=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(e.slice(0,i)),this.getLine().append(Et(new rt(this.text.slice(this.textOff,this.textOff+n)),e),i),this.atCursorPos=!0,this.textOff+=n,t-=n,i=0}}span(t,e,i,n){this.buildText(e-t,i,n),this.pos=e,this.openStart<0&&(this.openStart=n)}point(t,e,i,n,s){let r=e-t;if(i instanceof St)if(i.block){let{type:t}=i;t!=yt.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new Dt(i.widget||new Rt("div"),r,t))}else{let o=ht.create(i.widget||new Rt("span"),r,i.startSide),l=this.atCursorPos&&!o.isEditable&&s<=n.length&&(t0),h=!o.isEditable&&(t=this.disallowBlockEffectsBelow||!(i instanceof St))return!0;if(i.block)throw new RangeError("Block decorations may not be specified via plugins");return e<=this.doc.lineAt(this.pos).to}static build(t,e,i,n,s){let r=new Ot(t,e,i,s);return r.openEnd=o.Xs.spans(n,e,i,r),r.openStart<0&&(r.openStart=r.openEnd),r.finish(r.openEnd),r}}function Et(t,e){for(let i of e)t=new ot(i,[t],t.length);return t}class Rt extends wt{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}}const Bt=[],Pt=n.r$.define(),Lt=n.r$.define(),It=n.r$.define(),Nt=n.r$.define(),Vt=n.r$.define(),Ht=n.r$.define(),Ft=n.Py.define({map:(t,e)=>t.map(e)}),zt=n.Py.define({map:(t,e)=>t.map(e)});class jt{constructor(t,e="nearest",i="nearest",n=5,s=5){this.range=t,this.y=e,this.x=i,this.yMargin=n,this.xMargin=s}map(t){return t.empty?this:new jt(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}const qt=n.Py.define({map:(t,e)=>t.map(e)});function Wt(t,e,i){let n=t.facet(Nt);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const $t=n.r$.define({combine:t=>!t.length||t[0]});class _t{constructor(t,e){this.field=t,this.get=e}}class Kt{from(t){return new _t(this,t)}static define(){return new Kt}}Kt.decorations=Kt.define(),Kt.atomicRanges=Kt.define(),Kt.scrollMargins=Kt.define();let Ut=0;const Gt=n.r$.define();class Jt{constructor(t,e,i){this.id=t,this.create=e,this.fields=i,this.extension=Gt.of(this)}static define(t,e){let{eventHandlers:i,provide:n,decorations:s}=e||{},r=[];if(n)for(let o of Array.isArray(n)?n:[n])r.push(o);return i&&r.push(Xt.from((t=>({plugin:t,handlers:i})))),s&&r.push(Kt.decorations.from(s)),new Jt(Ut++,t,r)}static fromClass(t,e){return Jt.define((e=>new t(e)),e)}}const Xt=Kt.define();class Qt{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}takeField(t,e){if(this.spec)for(let{field:i,get:n}of this.spec.fields)i==t&&e.push(n(this.value))}update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(e){if(Wt(t.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(i){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(e){Wt(t.state,e,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy)try{this.value.destroy()}catch(i){Wt(t.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Yt=n.r$.define(),Zt=n.r$.define(),te=n.r$.define(),ee=n.r$.define();class ie{constructor(t,e,i,n){this.fromA=t,this.toA=e,this.fromB=i,this.toB=n}join(t){return new ie(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;e>0;e--){let n=t[e-1];if(!(n.fromA>i.toA)){if(n.toAa)break;s+=2}if(!l)return i;new ie(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),r=l.toA,o=l.toB}}}class ne{constructor(t,e,i=Bt){this.view=t,this.state=e,this.transactions=i,this.flags=0,this.startState=t.state,this.changes=n.as.empty(this.startState.doc.length);for(let n of i)this.changes=this.changes.compose(n.changes);let s=[];this.changes.iterChangedRanges(((t,e,i,n)=>s.push(new ie(t,e,i,n)))),this.changedRanges=s;let r=t.hasFocus;r!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=r,this.flags|=1)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((t=>t.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}var se=function(t){return t[t["LTR"]=0]="LTR",t[t["RTL"]=1]="RTL",t}(se||(se={}));const re=se.LTR,oe=se.RTL;function le(t){let e=[];for(let i=0;i=e){if(o.level==i)return r;(s<0||(0!=n?n<0?o.frome:t[s].level>o.level))&&(s=r)}}if(s<0)throw new RangeError("Index out of range");return s}}const me=[];function ge(t,e){let i=t.length,n=e==re?1:2,s=e==re?2:1;if(!t||1==n&&!de.test(t))return ve(i);for(let o=0,l=n,h=n;o=0;t-=3)if(ue[t+1]==-l){let e=ue[t+2],i=2&e?n:4&e?1&e?s:n:0;i&&(me[a]=me[ue[t]]=i),c=t;break}}else{if(189==ue.length)break;ue[c++]=a,ue[c++]=o,ue[c++]=u}else if(2==(h=me[a])||1==h){let t=h==n;u=t?0:1;for(let e=c-3;e>=0;e-=3){let i=ue[e+2];if(2&i)break;if(t)ue[e+2]|=2;else{if(4&i)break;ue[e+2]|=4}}}for(let o=0;ot;){let e=i,n=2!=me[--i];while(i>t&&n==(2!=me[i-1]))i--;r.push(new pe(i,e,n?2:1))}else r.push(new pe(t,o,0))}else for(let o=0;o0&&e.length&&(e.every((({fromA:t,toA:e})=>ethis.minWidthTo))?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=bt.none:(t.transactions.length||this.dirty)&&(this.compositionDeco=Te(this.view,t.changes)),(nt.ie||nt.chrome)&&!this.compositionDeco.size&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,n=this.updateDeco(),s=Be(i,n,t.changes);return e=ie.extendWithRanges(e,s),(0!=this.dirty||0!=e.length)&&(this.updateInner(e,t.startState.doc.length),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,e){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,e);let{observer:i}=this.view;i.ignore((()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.minWidth=this.minWidth?this.minWidth+"px":"";let t=nt.chrome||nt.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(t),this.dirty=0,t&&(t.written||i.selectionRange.focusNode!=t.node)&&(this.forceSelection=!0),this.dom.style.height=""}));let n=[];if(this.view.viewport.from||this.view.viewport.to=0?t[n]:null;if(!e)break;let{fromA:s,toA:r,fromB:o,toB:l}=e,{content:h,breakAtStart:a,openStart:c,openEnd:u}=Ot.build(this.view.state.doc,o,l,this.decorations,this.pluginDecorationLength),{i:f,off:d}=i.findPos(r,1),{i:p,off:m}=i.findPos(s,-1);$(this,p,m,f,d,h,a,c,u)}}updateSelection(t=!1,e=!1){if(t&&this.view.observer.readSelectionRange(),!e&&!this.mayControlSelection()||nt.ios&&this.view.inputState.rapidCompositionStart)return;let i=this.forceSelection;this.forceSelection=!1;let n=this.view.state.selection.main,s=this.domAtPos(n.anchor),r=n.empty?s:this.domAtPos(n.head);if(nt.gecko&&n.empty&&Ae(s)){let t=document.createTextNode("");this.view.observer.ignore((()=>s.node.insertBefore(t,s.node.childNodes[s.offset]||null))),s=r=new F(t,0),i=!0}let o=this.view.observer.selectionRange;!i&&o.focusNode&&S(s.node,s.offset,o.anchorNode,o.anchorOffset)&&S(r.node,r.offset,o.focusNode,o.focusOffset)||(this.view.observer.ignore((()=>{nt.android&&nt.chrome&&this.dom.contains(o.focusNode)&&Pe(o.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let t=w(this.root);if(n.empty){if(nt.gecko){let t=Ee(s.node,s.offset);if(t&&3!=t){let e=Oe(s.node,s.offset,1==t?1:-1);e&&(s=new F(e,1==t?0:e.nodeValue.length))}}t.collapse(s.node,s.offset),null!=n.bidiLevel&&null!=o.cursorBidiLevel&&(o.cursorBidiLevel=n.bidiLevel)}else if(t.extend)t.collapse(s.node,s.offset),t.extend(r.node,r.offset);else{let e=document.createRange();n.anchor>n.head&&([s,r]=[r,s]),e.setEnd(r.node,r.offset),e.setStart(s.node,s.offset),t.removeAllRanges(),t.addRange(e)}})),this.view.observer.setSelectionRange(s,r)),this.impreciseAnchor=s.precise?null:new F(o.anchorNode,o.anchorOffset),this.impreciseHead=r.precise?null:new F(o.focusNode,o.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let t=this.view.state.selection.main,e=w(this.root);if(!t.empty||!t.assoc||!e.modify)return;let i=Tt.find(this,t.head);if(!i)return;let n=i.posAtStart;if(t.head==n||t.head==n+i.length)return;let s=this.coordsAt(t.head,-1),r=this.coordsAt(t.head,1);if(!s||!r||s.bottom>r.top)return;let o=this.domAtPos(t.head+t.assoc);e.collapse(o.node,o.offset),e.modify("move",t.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){return this.view.state.facet($t)?this.root.activeElement==this.dom:x(this.dom,this.view.observer.selectionRange)}nearest(t){for(let e=t;e;){let t=j.get(e);if(t&&t.rootView==this)return t;e=e.parentNode}return null}posFromDOM(t,e){let i=this.nearest(t);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(t,e)+i.posAtStart}domAtPos(t){let{i:e,off:i}=this.childCursor().findPos(t,-1);for(;er||t==r&&s.type!=yt.WidgetBefore&&s.type!=yt.WidgetAfter&&(!n||2==e||this.children[n-1].breakAfter||this.children[n-1].type==yt.WidgetBefore&&e>-2))return s.coordsAt(t-r,e);i=r}}measureVisibleLineHeights(){let t=[],{from:e,to:i}=this.view.viewState.viewport,n=this.view.contentDOM.clientWidth,s=n>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,r=-1;for(let o=0,l=0;li)break;if(o>=e){let e=h.dom.getBoundingClientRect();if(t.push(e.height),s){let t=h.dom.lastChild,i=t?k(t):[];if(i.length){let t=i[i.length-1],s=this.view.textDirection==se.LTR?t.right-e.left:e.right-t.left;s>r&&(r=s,this.minWidth=n,this.minWidthFrom=o,this.minWidthTo=a)}}}o=a+h.breakAfter}return t}measureTextSize(){for(let n of this.children)if(n instanceof Tt){let t=n.measureTextSize();if(t)return t}let t,e,i=document.createElement("div");return i.className="cm-line",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(i);let n=k(i.firstChild)[0];t=i.getBoundingClientRect().height,e=n?n.width/27:7,i.remove()})),{lineHeight:t,charWidth:e}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new W(this.children,t,e)}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,n=0;;n++){let s=n==e.viewports.length?null:e.viewports[n],r=s?s.from-1:this.length;if(r>i){let n=e.lineBlockAt(r).bottom-e.lineBlockAt(i).top;t.push(bt.replace({widget:new Ce(n),block:!0,inclusive:!0}).range(i,r))}if(!s)break;i=s.to+1}return bt.set(t)}updateDeco(){let t=this.view.pluginField(Kt.decorations);return this.pluginDecorationLength=t.length,this.decorations=[...t,...this.view.state.facet(te),this.compositionDeco,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(t){let e,{range:i}=t,n=this.coordsAt(i.head,i.empty?i.assoc:i.head>i.anchor?-1:1);if(!n)return;!i.empty&&(e=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,e.left),top:Math.min(n.top,e.top),right:Math.max(n.right,e.right),bottom:Math.max(n.bottom,e.bottom)});let s=0,r=0,o=0,l=0;for(let a of this.view.pluginField(Kt.scrollMargins))if(a){let{left:t,right:e,top:i,bottom:n}=a;null!=t&&(s=Math.max(s,t)),null!=e&&(r=Math.max(r,e)),null!=i&&(o=Math.max(o,i)),null!=n&&(l=Math.max(l,n))}let h={left:n.left-s,top:n.top-o,right:n.right+r,bottom:n.bottom+l};E(this.view.scrollDOM,h,i.head0&&i<=0)t=t.childNodes[e-1],e=M(t);else{if(!(1==t.nodeType&&e=0))return null;t=t.childNodes[e],e=0}}}function Ee(t,e){return 1!=t.nodeType?0:(e&&"false"==t.childNodes[e-1].contentEditable?1:0)|(e0){let t=(0,s.cp)(o.text,h,!1);if(r(o.text.slice(t,h))!=c)break;h=t}while(at?e.left-t:Math.max(0,t-e.right)}function Ne(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function Ve(t,e){return t.tope.top+1}function He(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function ze(t,e,i){let n,s,r,o,l,h,a,c;for(let d=t.firstChild;d;d=d.nextSibling){let t=k(d);for(let u=0;um||o==m&&r>p)&&(n=d,s=f,r=p,o=m),0==p?i>f.bottom&&(!a||a.bottomf.top)&&(h=d,c=f):a&&Ve(a,f)?a=Fe(a,f.bottom):c&&Ve(c,f)&&(c=He(c,f.top))}}if(a&&a.bottom>=i?(n=l,s=a):c&&c.top<=i&&(n=h,s=c),!n)return{node:t,offset:0};let u=Math.max(s.left,Math.min(s.right,e));if(3==n.nodeType)return je(n,u,i);if(!r&&"true"==n.contentEditable)return ze(n,u,i);let f=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(s.left+s.right)/2?1:0);return{node:t,offset:f}}function je(t,e,i){let n=t.nodeValue.length,s=-1,r=1e9,o=0;for(let l=0;li?a.top-i:i-a.bottom)-1;if(a.left-1<=e&&a.right+1>=e&&c=(a.left+a.right)/2,n=i;if(nt.chrome||nt.gecko){let e=I(t,l).getBoundingClientRect();e.left==a.right&&(n=!i)}if(c<=0)return{node:t,offset:l+(n?1:0)};s=l+(n?1:0),r=c}}}return{node:t,offset:s>-1?s:o>0?t.nodeValue.length:0}}function qe(t,{x:e,y:i},n,s=-1){var r;let o,l=t.contentDOM.getBoundingClientRect(),h=l.top+t.viewState.paddingTop,{docHeight:a}=t.viewState,c=i-h;if(c<0)return 0;if(c>a)return t.state.doc.length;for(let v=t.defaultLineHeight/2,w=!1;;){if(o=t.elementAtHeight(c),o.type==yt.Text)break;for(;;){if(c=s>0?o.bottom+v:o.top-v,c>=0&&c<=a)break;if(w)return n?null:0;w=!0,s=-s}}i=h+c;let u=o.from;if(ut.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:We(t,l,o,e,i);let f=t.dom.ownerDocument,d=t.root.elementFromPoint?t.root:f,p=d.elementFromPoint(e,i);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(l.left+1,Math.min(l.right-1,e)),p=d.elementFromPoint(e,i),p&&!t.contentDOM.contains(p)&&(p=null));let m,g=-1;if(p&&0!=(null===(r=t.docView.nearest(p))||void 0===r?void 0:r.isEditable))if(f.caretPositionFromPoint){let t=f.caretPositionFromPoint(e,i);t&&({offsetNode:m,offset:g}=t)}else if(f.caretRangeFromPoint){let t=f.caretRangeFromPoint(e,i);t&&(({startContainer:m,startOffset:g}=t),nt.safari&&$e(m,g,e)&&(m=void 0))}if(!m||!t.docView.dom.contains(m)){let n=Tt.find(t.docView,u);if(!n)return c>o.top+o.height/2?o.to:o.from;({node:m,offset:g}=ze(n.dom,e,i))}return t.docView.posFromDOM(m,g)}function We(t,e,i,n,r){let o=Math.round((n-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>1.5*t.defaultLineHeight){let e=Math.floor((r-i.top)/t.defaultLineHeight);o+=e*t.viewState.heightOracle.lineLength}let l=t.state.sliceDoc(i.from,i.to);return i.from+(0,s.Gz)(l,o,t.state.tabSize)}function $e(t,e,i){let n;if(3!=t.nodeType||e!=(n=t.nodeValue.length))return!1;for(let s=t.nextSibling;s;s=s.nextSibling)if(1!=s.nodeType||"BR"!=s.nodeName)return!1;return I(t,n-1,n).getBoundingClientRect().left>i}function _e(t,e,i,s){let r=t.state.doc.lineAt(e.head),o=s&&t.lineWrapping?t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head):null;if(o){let e=t.dom.getBoundingClientRect(),s=t.posAtCoords({x:i==(t.textDirection==se.LTR)?e.right-1:e.left+1,y:(o.top+o.bottom)/2});if(null!=s)return n.jT.cursor(s,i?-1:1)}let l=Tt.find(t.docView,e.head),h=l?i?l.posAtEnd:l.posAtStart:i?r.to:r.from;return n.jT.cursor(h,i?-1:1)}function Ke(t,e,i,s){let r=t.state.doc.lineAt(e.head),o=t.bidiSpans(r);for(let l=e,h=null;;){let e=ye(r,o,t.textDirection,l,i),a=we;if(!e){if(r.number==(i?t.state.doc.lines:1))return l;a="\n",r=t.state.doc.line(r.number+(i?1:-1)),o=t.bidiSpans(r),e=n.jT.cursor(i?r.from:r.to)}if(h){if(!h(a))return l}else{if(!s)return e;h=s(a)}l=e}}function Ue(t,e,i){let s=t.state.charCategorizer(e),r=s(i);return t=>{let e=s(t);return r==n.D0.Space&&(r=e),r==e}}function Ge(t,e,i,s){let r=e.head,o=i?1:-1;if(r==(i?t.state.doc.length:0))return n.jT.cursor(r,e.assoc);let l,h=e.goalColumn,a=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(r),u=t.documentTop;if(c)null==h&&(h=c.left-a.left),l=o<0?c.top:c.bottom;else{let e=t.viewState.lineBlockAt(r-u);null==h&&(h=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-e.from))),l=(o<0?e.top:e.bottom)+u}let f=a.left+h,d=null!==s&&void 0!==s?s:t.defaultLineHeight>>1;for(let p=0;;p+=10){let i=l+(d+p)*o,s=qe(t,{x:f,y:i},!1,o);if(ia.bottom||(o<0?sr))return n.jT.cursor(s,e.assoc,void 0,h)}}function Je(t,e,i){let s=t.pluginField(Kt.atomicRanges);for(;;){let t=!1;for(let r of s)r.between(i.from-1,i.from+1,((s,r,o)=>{i.from>s&&i.fromi.from?n.jT.cursor(s,1):n.jT.cursor(r,-1),t=!0)}));if(!t)return i}}class Xe{constructor(t){this.lastKeyCode=0,this.lastKeyTime=0,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.rapidCompositionStart=!1,this.mouseSelection=null;for(let e in si){let i=si[e];t.contentDOM.addEventListener(e,(n=>{"keydown"==e&&this.keydown(t,n)||ni(t,n)&&!this.ignoreDuringComposition(n)&&(this.mustFlushObserver(n)&&t.observer.forceFlush(),this.runCustomHandlers(e,t,n)?n.preventDefault():i(t,n))})),this.registeredEvents.push(e)}this.notifiedFocused=t.hasFocus,this.ensureHandlers(t),nt.safari&&t.contentDOM.addEventListener("input",(()=>null))}setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}ensureHandlers(t){let e=this.customHandlers=t.pluginField(Xt);for(let i of e)for(let e in i.handlers)this.registeredEvents.indexOf(e)<0&&"scroll"!=e&&(this.registeredEvents.push(e),t.contentDOM.addEventListener(e,(i=>{ni(t,i)&&this.runCustomHandlers(e,t,i)&&i.preventDefault()})))}runCustomHandlers(t,e,i){for(let s of this.customHandlers){let r=s.handlers[t];if(r)try{if(r.call(s.plugin,i,e)||i.defaultPrevented)return!0}catch(n){Wt(e.state,n)}}return!1}runScrollHandlers(t,e){for(let n of this.customHandlers){let s=n.handlers.scroll;if(s)try{s.call(n.plugin,e,t)}catch(i){Wt(t.state,i)}}}keydown(t,e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),this.screenKeyEvent(t,e))return!0;if(nt.android&&nt.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return t.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return!(!nt.ios||!(i=Qe.find((t=>t.keyCode==e.keyCode)))||e.ctrlKey||e.altKey||e.metaKey||e.synthetic)&&(this.pendingIOSKey=i,setTimeout((()=>this.flushIOSKey(t)),250),!0)}flushIOSKey(t){let e=this.pendingIOSKey;return!!e&&(this.pendingIOSKey=void 0,N(t.contentDOM,e.key,e.keyCode))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(this.composing>0||!!(nt.safari&&Date.now()-this.compositionEndedAt<500)&&(this.compositionEndedAt=0,!0))}screenKeyEvent(t,e){let i=9==e.keyCode&&Date.now()this.select(this.lastEvent)),20)}}function ti(t,e){let i=t.state.facet(Pt);return i.length?i[0](e):nt.mac?e.metaKey:e.ctrlKey}function ei(t,e){let i=t.state.facet(Lt);return i.length?i[0](e):nt.mac?!e.altKey:!e.ctrlKey}function ii(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=w(t.root);if(0==n.rangeCount)return!0;let s=n.getRangeAt(0).getClientRects();for(let r=0;r=e.clientX&&t.top<=e.clientY&&t.bottom>=e.clientY)return!0}return!1}function ni(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i,n=e.target;n!=t.contentDOM;n=n.parentNode)if(!n||11==n.nodeType||(i=j.get(n))&&i.ignoreEvent(e))return!1;return!0}const si=Object.create(null),ri=nt.ie&&nt.ie_version<15||nt.ios&&nt.webkit_version<604;function oi(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((()=>{t.focus(),i.remove(),li(t,i.value)}),50)}function li(t,e){let i,{state:s}=t,r=1,o=s.toText(e),l=o.lines==s.selection.ranges.length,h=null!=Si&&s.selection.ranges.every((t=>t.empty))&&Si==o.toString();if(h){let t=-1;i=s.changeByRange((i=>{let h=s.doc.lineAt(i.from);if(h.from==t)return{range:i};t=h.from;let a=s.toText((l?o.line(r++).text:e)+s.lineBreak);return{changes:{from:h.from,insert:a},range:n.jT.cursor(i.from+a.length)}}))}else i=l?s.changeByRange((t=>{let e=o.line(r++);return{changes:{from:t.from,to:t.to,insert:e.text},range:n.jT.cursor(t.from+e.length)}})):s.replaceSelection(o);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}si.keydown=(t,e)=>{t.inputState.setSelectionOrigin("select")};let hi=0;function ai(t,e,i,s){if(1==s)return n.jT.cursor(e,i);if(2==s)return Le(t.state,e,i);{let i=Tt.find(t.docView,e),s=t.state.doc.lineAt(i?i.posAtEnd:e),r=i?i.posAtStart:s.from,o=i?i.posAtEnd:s.to;return o{hi=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},si.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},si.mousedown=(t,e)=>{if(t.observer.flush(),hi>Date.now()-2e3&&1==wi(e))return;let i=null;for(let n of t.state.facet(It))if(i=n(t,e),i)break;if(i||0!=e.button||(i=yi(t,e)),i){let n=t.root.activeElement!=t.contentDOM;n&&t.observer.ignore((()=>L(t.contentDOM))),t.inputState.startMouseSelection(new Ze(t,e,i,n))}};let ci=(t,e)=>t>=e.top&&t<=e.bottom,ui=(t,e,i)=>ci(e,i)&&t>=i.left&&t<=i.right;function fi(t,e,i,n){let s=Tt.find(t.docView,e);if(!s)return 1;let r=e-s.posAtStart;if(0==r)return 1;if(r==s.length)return-1;let o=s.coordsAt(r,-1);if(o&&ui(i,n,o))return-1;let l=s.coordsAt(r,1);return l&&ui(i,n,l)?1:o&&ci(n,o)?-1:1}function di(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:fi(t,i,e.clientX,e.clientY)}}const pi=nt.ie&&nt.ie_version<=11;let mi=null,gi=0,vi=0;function wi(t){if(!pi)return t.detail;let e=mi,i=vi;return mi=t,vi=Date.now(),gi=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(gi+1)%3:1}function yi(t,e){let i=di(t,e),s=wi(e),r=t.state.selection,o=i,l=e;return{update(t){t.docChanged&&(i&&(i.pos=t.changes.mapPos(i.pos)),r=r.map(t.changes),l=null)},get(e,h,a){let c;if(l&&e.clientX==l.clientX&&e.clientY==l.clientY?c=o:(c=o=di(t,e),l=e),!c||!i)return r;let u=ai(t,c.pos,c.bias,s);if(i.pos!=c.pos&&!h){let e=ai(t,i.pos,i.bias,s),r=Math.min(e.from,u.from),o=Math.max(e.to,u.to);u=r{n.remove(),t.focus()}),50)}function ki(t){let e=[],i=[],n=!1;for(let s of t.selection.ranges)s.empty||(e.push(t.sliceDoc(s.from,s.to)),i.push(s));if(!e.length){let s=-1;for(let{from:n}of t.selection.ranges){let r=t.doc.lineAt(n);r.number>s&&(e.push(r.text),i.push({from:r.from,to:Math.min(t.doc.length,r.to+1)})),s=r.number}n=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:n}}si.dragstart=(t,e)=>{let{selection:{main:i}}=t.state,{mouseSelection:n}=t.inputState;n&&(n.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")},si.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let i=e.dataTransfer.files;if(i&&i.length){e.preventDefault();let n=Array(i.length),s=0,r=()=>{++s==i.length&&bi(t,e,n.filter((t=>null!=t)).join(t.state.lineBreak),!1)};for(let t=0;t{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(n[t]=e.result),r()},e.readAsText(i[t])}}else bi(t,e,e.dataTransfer.getData("Text"),!0)},si.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let i=ri?null:e.clipboardData;i?(li(t,i.getData("text/plain")),e.preventDefault()):oi(t)};let Si=null;function Ai(t,e){if(t.docView.compositionDeco.size){t.inputState.rapidCompositionStart=e;try{t.update([])}finally{t.inputState.rapidCompositionStart=!1}}}si.copy=si.cut=(t,e)=>{let{text:i,ranges:n,linewise:s}=ki(t.state);if(!i&&!s)return;Si=s?i:null;let r=ri?null:e.clipboardData;r?(e.preventDefault(),r.clearData(),r.setData("text/plain",i)):xi(t,i),"cut"!=e.type||t.state.readOnly||t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})},si.focus=si.blur=t=>{setTimeout((()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])}),10)},si.beforeprint=t=>{t.viewState.printing=!0,t.requestMeasure(),setTimeout((()=>{t.viewState.printing=!1,t.requestMeasure()}),2e3)},si.compositionstart=si.compositionupdate=t=>{null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.compositionDeco.size&&(t.observer.flush(),Ai(t,!0)))},si.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,setTimeout((()=>{t.inputState.composing<0&&Ai(t,!1)}),50)},si.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},si.beforeinput=(t,e)=>{var i;let n;if(nt.chrome&&nt.android&&(n=Qe.find((t=>t.inputType==e.inputType)))&&(t.observer.delayAndroidKey(n.key,n.keyCode),"Backspace"==n.key||"Delete"==n.key)){let e=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout((()=>{var i;((null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0)>e+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())}),100)}};const Ci=["pre-wrap","normal","pre-line","break-spaces"];class Mi{constructor(){this.doc=s.xv.empty,this.lineWrapping=!1,this.direction=se.LTR,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(t){if(!this.lineWrapping)return this.lineHeight;let e=1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5)));return e*this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForStyle(t,e){return Ci.indexOf(t)>-1!=this.lineWrapping||this.direction!=e}mustRefreshForHeights(t){let e=!1;for(let i=0;i-1,l=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=o||this.direction!=e;if(this.lineWrapping=o,this.direction=e,this.lineHeight=i,this.charWidth=n,this.lineLength=s,l){this.heightSamples={};for(let t=0;te.moveY(t))):this.type):this}}var Oi=function(t){return t[t["ByPos"]=0]="ByPos",t[t["ByHeight"]=1]="ByHeight",t[t["ByPosNoHeight"]=2]="ByPosNoHeight",t}(Oi||(Oi={}));const Ei=.001;class Ri{constructor(t,e,i=2){this.length=t,this.height=e,this.flags=i}get outdated(){return(2&this.flags)>0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t,e){this.height!=e&&(Math.abs(this.height-e)>Ei&&(t.heightChanged=!0),this.height=e)}replace(t,e,i){return Ri.of(i)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,i,n){let s=this;for(let r=n.length-1;r>=0;r--){let{fromA:o,toA:l,fromB:h,toB:a}=n[r],c=s.lineAt(o,Oi.ByPosNoHeight,e,0,0),u=c.to>=l?c:s.lineAt(l,Oi.ByPosNoHeight,e,0,0);a+=u.to-l,l=u.to;while(r>0&&c.from<=n[r-1].toA)o=n[r-1].fromA,h=n[r-1].fromB,r--,o2*s){let s=t[e-1];s.break?t.splice(--e,1,s.left,null,s.right):t.splice(--e,1,s.left,s.right),i+=1+s.break,n-=s.size}else{if(!(s>2*n))break;{let e=t[i];e.break?t.splice(i,1,e.left,null,e.right):t.splice(i,1,e.left,e.right),i+=2+e.break,s-=e.size}}else if(n0){let t=i[i.length-1];t instanceof Li?i[i.length-1]=new Li(t.length+n):i.push(null,new Li(n-1))}if(t>0){let e=i[0];e instanceof Li?i[0]=new Li(t+e.length):i.unshift(new Li(t-1),null)}return Ri.of(i)}decomposeLeft(t,e){e.push(new Li(t-1),null)}decomposeRight(t,e){e.push(null,new Li(this.length-t-1))}updateHeight(t,e=0,i=!1,n){let s=e+this.length;if(n&&n.from<=e+this.length&&n.more){let i=[],r=Math.max(e,n.from),o=-1,l=t.heightChanged;n.from>e&&i.push(new Li(n.from-e-1).updateHeight(t,e));while(r<=s&&n.more){let e=t.doc.lineAt(r).length;i.length&&i.push(null);let s=n.heights[n.index++];-1==o?o=s:Math.abs(s-o)>=Ei&&(o=-2);let l=new Pi(e,s);l.outdated=!1,i.push(l),r+=e+1}r<=s&&i.push(null,new Li(s-r).updateHeight(t,r));let h=Ri.of(i);return t.heightChanged=l||o<0||Math.abs(h.height-this.height)>=Ei||Math.abs(o-this.lines(t.doc,e).lineHeight)>=Ei,h}return(i||this.outdated)&&(this.setHeight(t,t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class Ii extends Ri{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,n){let s=i+this.left.height;return to))return h;let a=e==Oi.ByPosNoHeight?Oi.ByPosNoHeight:Oi.ByPos;return l?h.join(this.right.lineAt(o,a,i,r,o)):this.left.lineAt(o,a,i,n,s).join(h)}forEachLine(t,e,i,n,s,r){let o=n+this.left.height,l=s+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,e,i,o,l,r);else{let h=this.lineAt(l,Oi.ByPos,i,n,s);t=t&&h.from<=e&&r(h),e>h.to&&this.right.forEachLine(h.to+1,e,i,o,l,r)}}replace(t,e,i){let n=this.left.length+this.break;if(ethis.left.length)return this.balanced(this.left,this.right.replace(t-n,e-n,i));let s=[];t>0&&this.decomposeLeft(t,s);let r=s.length;for(let o of i)s.push(o);if(t>0&&Ni(s,r-1),e=i&&e.push(null)),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){let i=this.left.length,n=i+this.break;if(t>=n)return this.right.decomposeRight(t-n,e);t2*e.size||e.size>2*t.size?Ri.of(this.break?[t,null,e]:[t,e]):(this.left=t,this.right=e,this.height=t.height+e.height,this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,n){let{left:s,right:r}=this,o=e+s.length+this.break,l=null;return n&&n.from<=e+s.length&&n.more?l=s=s.updateHeight(t,e,i,n):s.updateHeight(t,e,i),n&&n.from<=o+r.length&&n.more?l=r=r.updateHeight(t,o,i,n):r.updateHeight(t,o,i),l?this.balanced(s,r):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Ni(t,e){let i,n;null==t[e]&&(i=t[e-1])instanceof Li&&(n=t[e+1])instanceof Li&&t.splice(e-1,3,new Li(i.length+1+n.length))}const Vi=5;class Hi{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Pi?i.length+=t-this.pos:(t>this.pos||!this.isCovered)&&this.nodes.push(new Pi(t-this.pos,-1)),this.writtenTo=t,e>t&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,i){if(t=Vi)&&this.addLineDeco(n,s)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTot&&this.nodes.push(new Pi(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,e){let i=new Li(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Pi)return t;let e=new Pi(0,-1);return this.nodes.push(e),e}addBlock(t){this.enterLine(),t.type!=yt.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,t.type!=yt.WidgetBefore&&(this.covering=t)}addLineDeco(t,e){let i=this.ensureLine();i.length+=e,i.collapsed+=e,i.widgetHeight=Math.max(i.widgetHeight,t),this.writtenTo=this.pos=this.pos+e}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof Pi||this.isCovered?(this.writtenTot.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=e.overflow){let e=t.getBoundingClientRect();n=Math.max(n,e.left),s=Math.min(s,e.right),r=Math.max(r,e.top),o=Math.min(o,e.bottom)}h="absolute"==e.position||"fixed"==e.position?t.offsetParent:t.parentNode}else{if(11!=h.nodeType)break;h=h.host}return{left:n-i.left,right:Math.max(n,s)-i.left,top:r-(i.top+e),bottom:Math.max(r,o)-(i.top+e)}}class qi{constructor(t,e,i){this.from=t,this.to=e,this.size=i}static same(t,e){if(t.length!=e.length)return!1;for(let i=0;it.draw(!1)))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let i=0;i<=1;i++){let n=i?e.head:e.anchor;if(!t.some((({from:t,to:e})=>n>=t&&n<=e))){let{from:e,to:i}=this.lineBlockAt(n);t.push(new _i(e,i))}}this.viewports=t.sort(((t,e)=>t.from-e.from)),this.scaler=this.heightMap.height<=7e6?Qi:new Yi(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,(t=>{this.viewportLines.push(1==this.scaler.scale?t:Zi(t,this.scaler))}))}update(t,e=null){let i=this.state;this.state=t.state;let s=this.state.facet(te),r=t.changedRanges,o=ie.extendWithRanges(r,Fi(t.startState.facet(te),s,t?t.changes:n.as.empty(this.state.doc.length))),l=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(s,i.doc,this.heightOracle.setDoc(this.state.doc),o),this.heightMap.height!=l&&(t.flags|=2);let h=o.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.headh.to)||!this.viewportIsAppropriate(h))&&(h=this.getViewport(0,e));let a=!t.changes.empty||2&t.flags||h.from!=this.viewport.from||h.to!=this.viewport.to;this.viewport=h,this.updateForViewport(),a&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(t){let e=t.contentDOM,i=window.getComputedStyle(e),n=this.heightOracle,s=i.whiteSpace,r="rtl"==i.direction?se.RTL:se.LTR,o=this.heightOracle.mustRefreshForStyle(s,r),l=o||this.mustMeasureContent||this.contentDOMHeight!=e.clientHeight,h=0,a=0;if(l){this.mustMeasureContent=!1,this.contentDOMHeight=e.clientHeight;let t=parseInt(i.paddingTop)||0,n=parseInt(i.paddingBottom)||0;this.paddingTop==t&&this.paddingBottom==n||(h|=8,this.paddingTop=t,this.paddingBottom=n)}let c=this.printing?{top:-1e8,bottom:1e8,left:-1e8,right:1e8}:ji(e,this.paddingTop),u=c.top-this.pixelViewport.top,f=c.bottom-this.pixelViewport.bottom;this.pixelViewport=c;let d=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(d!=this.inView&&(this.inView=d,d&&(l=!0)),!this.inView)return 0;let p=e.clientWidth;if(this.contentDOMWidth==p&&this.editorHeight==t.scrollDOM.clientHeight&&this.editorWidth==t.scrollDOM.clientWidth||(this.contentDOMWidth=p,this.editorHeight=t.scrollDOM.clientHeight,this.editorWidth=t.scrollDOM.clientWidth,h|=8),l){let e=t.docView.measureVisibleLineHeights();if(n.mustRefreshForHeights(e)&&(o=!0),o||n.lineWrapping&&Math.abs(p-this.contentDOMWidth)>n.charWidth){let{lineHeight:i,charWidth:l}=t.docView.measureTextSize();o=n.refresh(s,r,i,l,p/l,e),o&&(t.docView.minWidth=0,h|=8)}u>0&&f>0?a=Math.max(u,f):u<0&&f<0&&(a=Math.min(u,f)),n.heightChanged=!1,this.heightMap=this.heightMap.updateHeight(n,0,o,new Ti(this.viewport.from,e)),n.heightChanged&&(h|=2)}let m=!this.viewportIsAppropriate(this.viewport,a)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return m&&(this.viewport=this.getViewport(a,this.scrollTarget)),this.updateForViewport(),(2&h||m)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps)),h|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),h}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let i=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),n=this.heightMap,s=this.state.doc,{visibleTop:r,visibleBottom:o}=this,l=new _i(n.lineAt(r-1e3*i,Oi.ByHeight,s,0,0).from,n.lineAt(o+1e3*(1-i),Oi.ByHeight,s,0,0).to);if(e){let{head:t}=e.range,i=this.editorHeight;if(tl.to){let r,o=n.lineAt(t,Oi.ByPos,s,0,0);r="center"==e.y?(o.top+o.bottom)/2-i/2:"start"==e.y||"nearest"==e.y&&t=o+Math.max(10,Math.min(i,250)))&&n>r-2e3&&si.from&&o.push({from:i.from,to:n}),s=i.from&&l.from<=i.to&&Ji(o,l.from-10,l.from+10),!l.empty&&l.to>=i.from&&l.to<=i.to&&Ji(o,l.to-10,l.to+10);for(let{from:h,to:a}of o)a-h>1e3&&e.push(Xi(t,(t=>t.from>=i.from&&t.to<=i.to&&Math.abs(t.from-h)<1e3&&Math.abs(t.to-a)<1e3))||new qi(h,a,this.gapSize(i,h,a,r)))}return e}gapSize(t,e,i,n){let s=Gi(n,i)-Gi(n,e);return this.heightOracle.lineWrapping?t.height*s:n.total*this.heightOracle.charWidth*s}updateLineGaps(t){qi.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=bt.set(t.map((t=>t.draw(this.heightOracle.lineWrapping)))))}computeVisibleRanges(){let t=this.state.facet(te);this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let e=[];o.Xs.spans(t,this.viewport.from,this.viewport.to,{span(t,i){e.push({from:t,to:i})},point(){}},20);let i=e.length!=this.visibleRanges.length||this.visibleRanges.some(((t,i)=>t.from!=e[i].from||t.to!=e[i].to));return this.visibleRanges=e,i?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find((e=>e.from<=t&&e.to>=t))||Zi(this.heightMap.lineAt(t,Oi.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(t){return Zi(this.heightMap.lineAt(this.scaler.fromDOM(t),Oi.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(t){return Zi(this.heightMap.blockAt(this.scaler.fromDOM(t),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class _i{constructor(t,e){this.from=t,this.to=e}}function Ki(t,e,i){let n=[],s=t,r=0;return o.Xs.spans(i.facet(te),t,e,{span(){},point(t,e){t>s&&(n.push({from:s,to:t}),r+=t-s),s=e}},20),s=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let s=0;;s++){let{from:t,to:i}=e[s],r=i-t;if(n<=r)return t+n;n-=r}}function Gi(t,e){let i=0;for(let{from:n,to:s}of t.ranges){if(e<=s){i+=e-n;break}i+=s-n}return i/t.total}function Ji(t,e,i){for(let n=0;ne){let r=[];s.fromi&&r.push({from:i,to:s.to}),t.splice(n,1,...r),n+=r.length-1}}}function Xi(t,e){for(let i of t)if(e(i))return i}const Qi={toDOM(t){return t},fromDOM(t){return t},scale:1};class Yi{constructor(t,e,i){let n=0,s=0,r=0;this.viewports=i.map((({from:i,to:s})=>{let r=e.lineAt(i,Oi.ByPos,t,0,0).top,o=e.lineAt(s,Oi.ByPos,t,0,0).bottom;return n+=o-r,{from:i,to:s,top:r,bottom:o,domTop:0,domBottom:0}})),this.scale=(7e6-n)/(e.height-n);for(let o of this.viewports)o.domTop=r+(o.top-s)*this.scale,r=o.domBottom=o.domTop+(o.bottom-o.top),s=o.bottom}toDOM(t){for(let e=0,i=0,n=0;;e++){let s=eZi(t,e))):t.type)}const tn=n.r$.define({combine:t=>t.join(" ")}),en=n.r$.define({combine:t=>t.indexOf(!0)>-1}),nn=r.V.newName(),sn=r.V.newName(),rn=r.V.newName(),on={"&light":"."+sn,"&dark":"."+rn};function ln(t,e,i){return new r.V(e,{finish(e){return/&/.test(e)?e.replace(/&\w*/,(e=>{if("&"==e)return t;if(!i||!i[e])throw new RangeError(`Unsupported selector: ${e}`);return i[e]})):t+" "+e}})}const hn=ln("."+nn,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere"},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{visibility:"hidden"},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},on),an={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},cn=nt.ie&&nt.ie_version<=11;class un{constructor(t,e,i){this.view=t,this.onChange=e,this.onScrollChanged=i,this.active=!1,this.selectionRange=new R,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((e=>{for(let t of e)this.queue.push(t);(nt.ie&&nt.ie_version<=11||nt.ios&&t.composing)&&e.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),cn&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),"function"==typeof ResizeObserver&&(this.resize=new ResizeObserver((()=>{this.view.docView.lastUpdate{this.resizeTimeout=-1,this.view.requestMeasure()}),50))})),this.resize.observe(t.scrollDOM)),this.start(),this.onScroll=this.onScroll.bind(this),window.addEventListener("scroll",this.onScroll),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))}),{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange(),this.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some(((e,i)=>e!=t[i])))){this.gapIntersection.disconnect();for(let e of t)this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:e}=this,i=this.selectionRange;if(e.state.facet($t)?e.root.activeElement!=this.dom:!x(e.dom,i))return;let n=i.anchorNode&&e.docView.nearest(i.anchorNode);n&&n.ignoreEvent(t)||((nt.ie&&nt.ie_version<=11||nt.android&&nt.chrome)&&!e.state.selection.main.empty&&i.focusNode&&S(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1))}readSelectionRange(){let{root:t}=this.view,e=w(t),i=nt.safari&&11==t.nodeType&&b()==this.view.contentDOM&&dn(this.view)||e;return!this.selectionRange.eq(i)&&(this.selectionRange.setRange(i),this.selectionChanged=!0)}setSelectionRange(t,e){this.selectionRange.set(t.node,t.offset,e.node,e.offset),this.selectionChanged=!1}listenForScroll(){this.parentCheck=-1;let t=0,e=null;for(let i=this.dom;i;)if(1==i.nodeType)!e&&t{let t=this.delayedAndroidKey;this.delayedAndroidKey=null;let e=this.view.state;N(this.view.contentDOM,t.key,t.keyCode)?this.processRecords():this.flush(),this.view.state==e&&this.view.update([])})),this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e})}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=window.setTimeout((()=>{this.delayedFlush=-1,this.flush()}),20))}forceFlush(){this.delayedFlush>=0&&(window.clearTimeout(this.delayedFlush),this.delayedFlush=-1,this.flush())}processRecords(){let t=this.queue;for(let s of this.observer.takeRecords())t.push(s);t.length&&(this.queue=[]);let e=-1,i=-1,n=!1;for(let s of t){let t=this.readMutation(s);t&&(t.typeOver&&(n=!0),-1==e?({from:e,to:i}=t):(e=Math.min(t.from,e),i=Math.max(t.to,i)))}return{from:e,to:i,typeOver:n}}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return;t&&this.readSelectionRange();let{from:e,to:i,typeOver:n}=this.processRecords(),s=this.selectionChanged&&x(this.dom,this.selectionRange);if(e<0&&!s)return;this.selectionChanged=!1;let r=this.view.state;this.onChange(e,i,n),this.view.state==r&&this.view.update([])}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty("attributes"==t.type),"attributes"==t.type&&(e.dirty|=4),"childList"==t.type){let i=fn(e,t.previousSibling||t.target.previousSibling,-1),n=fn(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:n?e.posBefore(n):e.posAtEnd,typeOver:!1}}return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}destroy(){var t,e,i;this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(i=this.resize)||void 0===i||i.disconnect();for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);window.removeEventListener("scroll",this.onScroll),this.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout)}}function fn(t,e,i){while(e){let n=j.get(e);if(n&&n.parent==t)return n;let s=e.parentNode;e=s!=t.dom?s:i>0?e.nextSibling:e.previousSibling}return null}function dn(t){let e=null;function i(t){t.preventDefault(),t.stopImmediatePropagation(),e=t.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),document.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let n=e.startContainer,s=e.startOffset,r=e.endContainer,o=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return S(l.node,l.offset,r,o)&&([n,s,r,o]=[r,o,n,s]),{anchorNode:n,anchorOffset:s,focusNode:r,focusOffset:o}}function pn(t,e,i,s){let r,o,l=t.state.selection.main;if(e>-1){let n=t.docView.domBoundsAround(e,i,0);if(!n||t.state.readOnly)return;let{from:s,to:h}=n,a=t.docView.impreciseHead||t.docView.impreciseAnchor?[]:gn(t),c=new be(a,t);c.readRange(n.startDOM,n.endDOM),o=vn(a,s);let u=l.from,f=null;(8===t.inputState.lastKeyCode&&t.inputState.lastKeyTime>Date.now()-100||nt.android&&c.text.length=l.from&&r.to<=l.to&&(r.from!=l.from||r.to!=l.to)&&l.to-l.from-(r.to-r.from)<=4&&(r={from:l.from,to:l.to,insert:t.state.doc.slice(l.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,l.to))}),r){let e=t.state;if(nt.ios&&t.inputState.flushIOSKey(t))return;if(nt.android&&(r.from==l.from&&r.to==l.to&&1==r.insert.length&&2==r.insert.lines&&N(t.contentDOM,"Enter",13)||r.from==l.from-1&&r.to==l.to&&0==r.insert.length&&N(t.contentDOM,"Backspace",8)||r.from==l.from&&r.to==l.to+1&&0==r.insert.length&&N(t.contentDOM,"Delete",46)))return;let i,s=r.insert.toString();if(t.state.facet(Ht).some((e=>e(t,r.from,r.to,s))))return;if(t.inputState.composing>=0&&t.inputState.composing++,r.from>=l.from&&r.to<=l.to&&r.to-r.from>=(l.to-l.from)/3&&(!o||o.main.empty&&o.main.from==r.from+r.insert.length)&&t.inputState.composing<0){let n=l.fromr.to?e.sliceDoc(r.to,l.to):"";i=e.replaceSelection(t.state.toText(n+r.insert.sliceString(0,void 0,t.state.lineBreak)+s))}else{let s=e.changes(r),h=o&&!e.selection.main.eq(o.main)&&o.main.to<=s.newLength?o.main:void 0;if(e.selection.ranges.length>1&&t.inputState.composing>=0&&r.to<=l.to&&r.to>=l.to-10){let o=t.state.sliceDoc(r.from,r.to),a=Me(t)||t.state.doc.lineAt(l.head),c=l.to-r.to,u=l.to-l.from;i=e.changeByRange((i=>{if(i.from==l.from&&i.to==l.to)return{changes:s,range:h||i.map(s)};let f=i.to-c,d=f-o.length;if(i.to-i.from!=u||t.state.sliceDoc(d,f)!=o||a&&i.to>=a.from&&i.from<=a.to)return{range:i};let p=e.changes({from:d,to:f,insert:r.insert}),m=i.to-l.to;return{changes:p,range:h?n.jT.range(Math.max(0,h.anchor+m),Math.max(0,h.head+m)):i.map(p)}}))}else i={changes:s,selection:h&&e.selection.replaceRange(h)}}let h="input.type";t.composing&&(h+=".compose",t.inputState.compositionFirstChange&&(h+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(i,{scrollIntoView:!0,userEvent:h})}else if(o&&!o.main.eq(l)){let e=!1,i="select";t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(e=!0),i=t.inputState.lastSelectionOrigin),t.dispatch({selection:o,scrollIntoView:e,userEvent:i})}}function mn(t,e,i,n){let s=Math.min(t.length,e.length),r=0;while(r0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1))o--,l--;if("end"==n){let t=Math.max(0,r-Math.min(o,l));i-=o+t-r}if(o=o?r-i:0;r-=t,l=r+(l-o),o=r}else if(l=l?r-i:0;r-=t,o=r+(o-l),l=r}return{from:r,toA:o,toB:l}}function gn(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:s,focusOffset:r}=t.observer.selectionRange;return i&&(e.push(new ke(i,n)),s==i&&r==n||e.push(new ke(s,r))),e}function vn(t,e){if(0==t.length)return null;let i=t[0].pos,s=2==t.length?t[1].pos:i;return i>-1&&s>-1?n.jT.single(i+e,s+e):null}class wn{constructor(t={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=t.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this.root=t.root||V(t.parent)||document,this.viewState=new $i(t.state||n.yy.create()),this.plugins=this.state.facet(Gt).map((t=>new Qt(t)));for(let e of this.plugins)e.update(this);this.observer=new un(this,((t,e,i)=>{pn(this,t,e,i)}),(t=>{this.inputState.runScrollHandlers(this,t),this.observer.intersecting&&this.measure()})),this.inputState=new Xe(this),this.docView=new Se(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,kn(),this.requestMeasure(),t.parent&&t.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}dispatch(...t){this._dispatch(1==t.length&&t[0]instanceof n.YW?t[0]:this.state.update(...t))}update(t){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let e,i=!1,s=this.state;for(let n of t){if(n.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=n.state}if(this.destroyed)return void(this.viewState.state=s);if(s.facet(n.yy.phrases)!=this.state.facet(n.yy.phrases))return this.setState(s);e=new ne(this,s,t);let r=this.viewState.scrollTarget;try{this.updateState=2;for(let e of t){if(r&&(r=r.map(e.changes)),e.scrollIntoView){let{main:t}=e.state.selection;r=new jt(t.empty?t:n.jT.cursor(t.head,t.head>t.anchor?-1:1))}for(let t of e.effects)t.is(Ft)?r=new jt(t.value):t.is(zt)?r=new jt(t.value,"center"):t.is(qt)&&(r=t.value)}this.viewState.update(e,r),this.bidiCache=Cn.update(this.bidiCache,e.changes),e.empty||(this.updatePlugins(e),this.inputState.update(e)),i=this.docView.update(e),this.state.facet(ee)!=this.styleModules&&this.mountStyles(),this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(i,t.some((t=>t.isUserEvent("select.pointer"))))}finally{this.updateState=0}if((i||r||this.viewState.mustEnforceCursorAssoc)&&this.requestMeasure(),!e.empty)for(let n of this.state.facet(Vt))n(e)}setState(t){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=t);this.updateState=2;let e=this.hasFocus;try{for(let t of this.plugins)t.destroy(this);this.viewState=new $i(t),this.plugins=t.facet(Gt).map((t=>new Qt(t))),this.pluginMap.clear();for(let t of this.plugins)t.update(this);this.docView=new Se(this),this.inputState.ensureHandlers(this),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(Gt),i=t.state.facet(Gt);if(e!=i){let n=[];for(let s of i){let i=e.indexOf(s);if(i<0)n.push(new Qt(s));else{let e=this.plugins[i];e.mustUpdate=t,n.push(e)}}for(let e of this.plugins)e.mustUpdate!=t&&e.destroy(this);this.plugins=n,this.pluginMap.clear(),this.inputState.ensureHandlers(this)}else for(let n of this.plugins)n.mustUpdate=t;for(let n=0;n-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.flush();let e=null;try{for(let t=0;;t++){this.updateState=1;let n=this.viewport,s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(t>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let r=[];4&s||([this.measureRequests,r]=[r,this.measureRequests]);let o=r.map((t=>{try{return t.read(this)}catch(e){return Wt(this.state,e),An}})),l=new ne(this,this.state),h=!1,a=!1;l.flags|=s,e?e.flags|=s:e=l,this.updateState=2,l.empty||(this.updatePlugins(l),this.inputState.update(l),this.updateAttrs(),h=this.docView.update(l));for(let t=0;t{vt(this.contentDOM,this.contentAttrs,e),vt(this.dom,this.editorAttrs,t)})),this.editorAttrs=t,this.contentAttrs=e}showAnnouncements(t){let e=!0;for(let i of t)for(let t of i.effects)if(t.is(wn.announce)){e&&(this.announceDOM.textContent=""),e=!1;let i=this.announceDOM.appendChild(document.createElement("div"));i.textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(ee),r.V.mount(this.root,this.styleModules.concat(hn).reverse())}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=requestAnimationFrame((()=>this.measure()))),t){if(null!=t.key)for(let e=0;ee.spec==t))||null),e&&e.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}blockAtHeight(t,e){let i=bn(e,this);return this.elementAtHeight(t-i).moveY(i)}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}visualLineAtHeight(t,e){let i=bn(e,this);return this.lineBlockAtHeight(t-i).moveY(i)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}viewportLines(t,e){let i=bn(e,this);for(let n of this.viewportLineBlocks)t(n.moveY(i))}get viewportLineBlocks(){return this.viewState.viewportLines}visualLineAt(t,e=0){return this.lineBlockAt(t).moveY(e+this.viewState.paddingTop)}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,i){return Je(this,t,Ke(this,t,e,i))}moveByGroup(t,e){return Je(this,t,Ke(this,t,e,(e=>Ue(this,t.head,e))))}moveToLineBoundary(t,e,i=!0){return _e(this,t,e,i)}moveVertically(t,e,i){return Je(this,t,Ge(this,t,e,i))}scrollPosIntoView(t){this.dispatch({effects:Ft.of(n.jT.cursor(t))})}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){return this.readMeasured(),qe(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;let n=this.state.doc.lineAt(t),s=this.bidiSpans(n),r=s[pe.find(s,t-n.from,-1,e)];return D(i,r.dir==se.LTR==e>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.heightOracle.direction}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>yn)return ve(t.length);let e=this.textDirection;for(let n of this.bidiCache)if(n.from==t.from&&n.dir==e)return n.order;let i=ge(t.text,this.textDirection);return this.bidiCache.push(new Cn(t.from,t.to,e,i)),i}get hasFocus(){var t;return(document.hasFocus()||nt.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{L(this.contentDOM),this.docView.updateSelection()}))}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,e={}){return qt.of(new jt("number"==typeof t?n.jT.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}static domEventHandlers(t){return Jt.define((()=>({})),{eventHandlers:t})}static theme(t,e){let i=r.V.newName(),n=[tn.of(i),ee.of(ln(`.${i}`,t))];return e&&e.dark&&n.push(en.of(!0)),n}static baseTheme(t){return n.Wl.lowest(ee.of(ln("."+nn,t,on)))}}wn.scrollTo=Ft,wn.centerOn=zt,wn.styleModule=ee,wn.inputHandler=Ht,wn.exceptionSink=Nt,wn.updateListener=Vt,wn.editable=$t,wn.mouseSelectionStyle=It,wn.dragMovesSelection=Lt,wn.clickAddsSelectionRange=Pt,wn.decorations=te,wn.darkTheme=en,wn.contentAttributes=Zt,wn.editorAttributes=Yt,wn.lineWrapping=wn.contentAttributes.of({class:"cm-lineWrapping"}),wn.announce=n.Py.define();const yn=4096;function bn(t,e){return(null==t?e.contentDOM.getBoundingClientRect().top:t)+e.viewState.paddingTop}let xn=-1;function kn(){window.addEventListener("resize",(()=>{-1==xn&&(xn=setTimeout(Sn,50))}))}function Sn(){xn=-1;let t=document.querySelectorAll(".cm-content");for(let e=0;e=0;s--){let e=n[s],r="function"==typeof e?e(t):e;r&&mt(r,i)}return i}const Tn=nt.mac?"mac":nt.windows?"win":nt.linux?"linux":"key";function Dn(t,e){const i=t.split(/-(?!$)/);let n,s,r,o,l=i[i.length-1];"Space"==l&&(l=" ");for(let h=0;ht.concat(e)),[]))),i}function Ln(t,e,i){return Hn(Pn(t.state),e,t,i)}let In=null;const Nn=4e3;function Vn(t,e=Tn){let i=Object.create(null),n=Object.create(null),s=(t,e)=>{let i=n[t];if(null==i)n[t]=e;else if(i!=e)throw new Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},r=(t,n,r,o)=>{let l=i[t]||(i[t]=Object.create(null)),h=n.split(/ (?!$)/).map((t=>Dn(t,e)));for(let e=1;e{let n=In={view:e,prefix:i,scope:t};return setTimeout((()=>{In==n&&(In=null)}),Nn),!0}]})}let a=h.join(" ");s(a,!1);let c=l[a]||(l[a]={preventDefault:!1,commands:[]});c.commands.push(r),o&&(c.preventDefault=!0)};for(let o of t){let t=o[e]||o.key;if(t)for(let e of o.scope?o.scope.split(" "):["editor"])r(e,t,o.run,o.preventDefault),o.shift&&r(e,"Shift-"+t,o.shift,o.preventDefault)}return i}function Hn(t,e,i,n){let s=v(e),r=1==s.length&&" "!=s,o="",h=!1;In&&In.view==i&&In.scope==n&&(o=In.prefix+" ",(h=Ye.indexOf(e.keyCode)<0)&&(In=null));let a,c=t=>{if(t){for(let e of t.commands)if(e(i))return!0;t.preventDefault&&(h=!0)}return!1},u=t[n];if(u){if(c(u[o+On(s,e,!r)]))return!0;if(r&&(e.shiftKey||e.altKey||e.metaKey)&&(a=l[e.keyCode])&&a!=s){if(c(u[o+On(a,e,!0)]))return!0}else if(r&&e.shiftKey&&c(u[o+On(s,e,!0)]))return!0}return h}const Fn=!nt.ios,zn=n.r$.define({combine(t){return(0,n.BO)(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})}});function jn(t={}){return[zn.of(t),Wn,_n]}class qn{constructor(t,e,i,n,s){this.left=t,this.top=e,this.width=i,this.height=n,this.className=s}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width>=0&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}}const Wn=Jt.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet(zn).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet(zn)!=t.state.facet(zn);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some((t=>t.scrollIntoView))&&(this.cursorLayer.style.animationName="cm-blink"==this.cursorLayer.style.animationName?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet(zn),i=t.selection.ranges.map((t=>t.empty?[]:Jn(this.view,t))).reduce(((t,e)=>t.concat(e))),n=[];for(let s of t.selection.ranges){let i=s==t.selection.main;if(s.empty?!i||Fn:e.drawRangeCursor){let t=Xn(this.view,s,i);t&&n.push(t)}}return{rangePieces:i,cursors:n}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some(((t,e)=>!t.eq(this.rangePieces[e])))){this.selectionLayer.textContent="";for(let e of t)this.selectionLayer.appendChild(e.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some(((t,e)=>!t.eq(this.cursors[e])))){let t=this.cursorLayer.children;if(t.length!==e.length){this.cursorLayer.textContent="";for(const t of e)this.cursorLayer.appendChild(t.draw())}else e.forEach(((e,i)=>e.adjust(t[i])));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),$n={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Fn&&($n[".cm-line"].caretColor="transparent !important");const _n=n.Wl.highest(wn.theme($n));function Kn(t){let e=t.scrollDOM.getBoundingClientRect(),i=t.textDirection==se.LTR?e.left:e.right-t.scrollDOM.clientWidth;return{left:i-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Un(t,e,i){let s=n.jT.cursor(e);return{from:Math.max(i.from,t.moveToLineBoundary(s,!1,!0).from),to:Math.min(i.to,t.moveToLineBoundary(s,!0,!0).from),type:yt.Text}}function Gn(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type))for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==yt.Text))return n;return i}function Jn(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let i=Math.max(e.from,t.viewport.from),n=Math.min(e.to,t.viewport.to),s=t.textDirection==se.LTR,r=t.contentDOM,o=r.getBoundingClientRect(),l=Kn(t),h=window.getComputedStyle(r.firstChild),a=o.left+parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)),c=o.right-parseInt(h.paddingRight),u=Gn(t,i),f=Gn(t,n),d=u.type==yt.Text?u:null,p=f.type==yt.Text?f:null;if(t.lineWrapping&&(d&&(d=Un(t,i,d)),p&&(p=Un(t,n,p))),d&&p&&d.from==p.from)return g(v(e.from,e.to,d));{let i=d?v(e.from,null,d):w(u,!1),n=p?v(null,e.to,p):w(f,!0),s=[];return(d||u).to<(p||f).from-1?s.push(m(a,i.bottom,c,n.top)):i.bottomu&&s.from=r)break;l>n&&h(Math.max(t,n),null==e&&t<=u,Math.min(l,r),null==i&&l>=f,o.dir)}if(n=s.to+1,n>=r)break}return 0==l.length&&h(u,null==e,f,null==i,t.textDirection),{top:r,bottom:o,horizontal:l}}function w(t,e){let i=o.top+(e?t.top:t.bottom);return{top:i,bottom:i,horizontal:[]}}}function Xn(t,e,i){let n=t.coordsAtPos(e.head,e.assoc||1);if(!n)return null;let s=Kn(t);return new qn(n.left-s.left,n.top-s.top,-1,n.bottom-n.top,i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}const Qn=n.Py.define({map(t,e){return null==t?null:e.mapPos(t)}}),Yn=n.QQ.define({create(){return null},update(t,e){return null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce(((t,e)=>e.is(Qn)?e.value:t),t)}}),Zn=Jt.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(Yn);null==i?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Yn)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(Yn),e=null!=t&&this.view.coordsAtPos(t);if(!e)return null;let i=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-i.left+this.view.scrollDOM.scrollLeft,top:e.top-i.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Yn)!=t&&this.view.dispatch({effects:Qn.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contains(t.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function ts(){return[Yn,Zn]}function es(t,e,i,n,s){e.lastIndex=0;for(let r,o=t.iterRange(i,n),l=i;!o.next().done;l+=o.value.length)if(!o.lineBreak)while(r=e.exec(o.value))s(l+r.index,l+r.index+r[0].length,r)}function is(t,e){let i=t.visibleRanges;if(1==i.length&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let n=[];for(let{from:s,to:r}of i)s=Math.max(t.state.doc.lineAt(s).from,s-e),r=Math.min(t.state.doc.lineAt(r).to,r+e),n.length&&n[n.length-1].to>=s?n[n.length-1].to=r:n.push({from:s,to:r});return n}class ns{constructor(t){let{regexp:e,decoration:i,boundary:n,maxLength:s=1e3}=t;if(!e.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");this.regexp=e,this.getDeco="function"==typeof i?i:()=>i,this.boundary=n,this.maxLength=s}createDeco(t){let e=new o.f_;for(let{from:i,to:n}of is(t,this.maxLength))es(t.state.doc,this.regexp,i,n,((i,n,s)=>e.add(i,n,this.getDeco(s,t,i))));return e.finish()}updateDeco(t,e){let i=1e9,n=-1;return t.docChanged&&t.changes.iterChanges(((e,s,r,o)=>{o>t.view.viewport.from&&r1e3?this.createDeco(t.view):n>-1?this.updateRange(t.view,e.map(t.changes),i,n):e}updateRange(t,e,i,n){for(let s of t.visibleRanges){let r=Math.max(s.from,i),o=Math.min(s.to,n);if(o>r){let i=t.state.doc.lineAt(r),n=i.toi.from;r--)if(this.boundary.test(i.text[r-1-i.from])){l=r;break}for(;oc.push(this.getDeco(n,t,e).range(e,i))));e=e.update({filterFrom:l,filterTo:h,filter:(t,e)=>th,add:c})}}return e}}const ss=null!=/x/.unicode?"gu":"g",rs=new RegExp("[\0-\b\n--Ÿ­؜​‎‏\u2028\u2029‭‮\ufeff-]",ss),os={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let ls=null;function hs(){var t;if(null==ls&&"undefined"!=typeof document&&document.body){let e=document.body.style;ls=null!=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)}return ls||!1}const as=n.r$.define({combine(t){let e=(0,n.BO)(t,{render:null,specialChars:rs,addSpecialChars:null});return(e.replaceTabs=!hs())&&(e.specialChars=new RegExp("\t|"+e.specialChars.source,ss)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,ss)),e}});function cs(t={}){return[as.of(t),fs()]}let us=null;function fs(){return us||(us=Jt.fromClass(class{constructor(t){this.view=t,this.decorations=bt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(as)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new ns({regexp:t.specialChars,decoration:(e,i,n)=>{let{doc:r}=i.state,o=(0,s.gm)(e[0],0);if(9==o){let t=r.lineAt(n),e=i.state.tabSize,o=(0,s.IS)(t.text,e,n-t.from);return bt.replace({widget:new gs((e-o%e)*this.view.defaultCharacterWidth)})}return this.decorationCache[o]||(this.decorationCache[o]=bt.replace({widget:new ms(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(as);t.startState.facet(as)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const ds="•";function ps(t){return t>=32?ds:10==t?"␤":String.fromCharCode(9216+t)}class ms extends wt{constructor(t,e){super(),this.options=t,this.code=e}eq(t){return t.code==this.code}toDOM(t){let e=ps(this.code),i=t.state.phrase("Control character")+" "+(os[this.code]||"0x"+this.code.toString(16)),n=this.options.render&&this.options.render(this.code,i,e);if(n)return n;let s=document.createElement("span");return s.textContent=e,s.title=i,s.setAttribute("aria-label",i),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class gs extends wt{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="\t",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function vs(){return ys}const ws=bt.line({class:"cm-activeLine"}),ys=Jt.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let n of t.state.selection.ranges){if(!n.empty)return bt.none;let s=t.lineBlockAt(n.head);s.from>e&&(i.push(ws.range(s.from)),e=s.from)}return bt.set(i)}},{decorations:t=>t.decorations})},17918:function(t,e,i){i.d(e,{L3:function(){return n},md:function(){return o},Lj:function(){return c},Jq:function(){return a},_b:function(){return E},mp:function(){return d},i9:function(){return O},FE:function(){return B}});const n=1024;let s=0;class r{constructor(t,e){this.from=t,this.to=e}}class o{constructor(t={}){this.id=s++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof t&&(t=a.match(t)),e=>{let i=t(e);return void 0===i?null:[this,i]}}}o.closedBy=new o({deserialize:t=>t.split(" ")}),o.openedBy=new o({deserialize:t=>t.split(" ")}),o.group=new o({deserialize:t=>t.split(" ")}),o.contextHash=new o({perNode:!0}),o.lookAhead=new o({perNode:!0}),o.mounted=new o({perNode:!0});class l{constructor(t,e,i){this.tree=t,this.overlay=e,this.parser=i}}const h=Object.create(null);class a{constructor(t,e,i,n=0){this.name=t,this.props=e,this.id=i,this.flags=n}static define(t){let e=t.props&&t.props.length?Object.create(null):h,i=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),n=new a(t.name||"",e,t.id,i);if(t.props)for(let s of t.props)if(Array.isArray(s)||(s=s(n)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");e[s[0].id]=s[1]}return n}prop(t){return this.props[t.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(t){if("string"==typeof t){if(this.name==t)return!0;let e=this.prop(o.group);return!!e&&e.indexOf(t)>-1}return this.id==t}static match(t){let e=Object.create(null);for(let i in t)for(let n of i.split(" "))e[n]=t[i];return t=>{for(let i=t.prop(o.group),n=-1;n<(i?i.length:0);n++){let s=e[n<0?t.name:i[n]];if(s)return s}}}}a.none=new a("",Object.create(null),0,8);class c{constructor(t){this.types=t;for(let e=0;er.node;;){let t=!1;if(r.from<=s&&r.to>=n&&(r.type.isAnonymous||!1!==e(r.type,r.from,r.to,o))){if(r.firstChild())continue;r.type.isAnonymous||(t=!0)}for(;;){if(t&&i&&i(r.type,r.from,r.to,o),t=r.type.isAnonymous,r.nextSibling())break;if(!r.parent())return;t=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let e in this.props)t.push([+e,this.props[e]]);return t}balance(t={}){return this.children.length<=8?this:D(a.none,this.children,this.positions,0,this.children.length,0,this.length,((t,e,i)=>new d(this.type,t,e,i,this.propValues)),t.makeTree||((t,e,i)=>new d(a.none,t,e,i)))}static build(t){return C(t)}}d.empty=new d(a.none,[],[],0);class p{constructor(t,e){this.buffer=t,this.index=e}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(t,e,i){this.buffer=t,this.length=e,this.set=i}get type(){return a.none}toString(){let t=[];for(let e=0;e0))break;return o}slice(t,e,i,n){let s=this.buffer,r=new Uint16Array(e-t);for(let o=t,l=0;o=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function v(t,e){let i=t.childBefore(e);while(i){let e=i.lastChild;if(!e||e.to!=i.to)break;e.type.isError&&e.from==e.to?(t=i,i=e.prevSibling):i=e}return t}function w(t,e,i,n){var s;while(t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;t!=a;t+=e){let a=l[t],c=h[t]+r._from;if(g(n,i,c,c+a.length))if(a instanceof m){if(2&s)continue;let o=a.findChild(0,a.buffer.length,e,i-c,n);if(o>-1)return new k(new x(r,a,t,c),null,o)}else if(1&s||!a.type.isAnonymous||A(a)){let l;if(!(1&s)&&a.props&&(l=a.prop(o.mounted))&&!l.overlay)return new y(l.tree,c,t,r);let h=new y(a,c,t,r);return 1&s||!h.type.isAnonymous?h:h.nextChild(e<0?a.children.length-1:0,e,i,n)}}if(1&s||!r.type.isAnonymous)return null;if(t=r.index>=0?r.index+e:e<0?-1:r._parent.node.children.length,r=r._parent,!r)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this.node.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this.node.children.length-1,-1,t,-2)}enter(t,e,i=!0,n=!0){let s;if(i&&(s=this.node.prop(o.mounted))&&s.overlay){let i=t-this.from;for(let{from:t,to:n}of s.overlay)if((e>0?t<=i:t=i:n>i))return new y(s.tree,s.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,e,n?0:2)}nextSignificantParent(){let t=this;while(t.type.isAnonymous&&t._parent)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get cursor(){return new S(this)}get tree(){return this.node}toTree(){return this.node}resolve(t,e=0){return w(this,t,e,!1)}resolveInner(t,e=0){return w(this,t,e,!0)}enterUnfinishedNodesBefore(t){return v(this,t)}getChild(t,e=null,i=null){let n=b(this,t,e,i);return n.length?n[0]:null}getChildren(t,e=null,i=null){return b(this,t,e,i)}toString(){return this.node.toString()}}function b(t,e,i,n){let s=t.cursor,r=[];if(!s.firstChild())return r;if(null!=i)while(!s.type.is(i))if(!s.nextSibling())return r;for(;;){if(null!=n&&s.type.is(n))return r;if(s.type.is(e)&&r.push(s.node),!s.nextSibling())return null==n?r:[]}}class x{constructor(t,e,i,n){this.parent=t,this.buffer=e,this.index=i,this.start=n}}class k{constructor(t,e,i){this.context=t,this._parent=e,this.index=i,this.type=t.buffer.set.types[t.buffer.buffer[i]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(t,e,i){let{buffer:n}=this.context,s=n.findChild(this.index+4,n.buffer[this.index+3],t,e-this.context.start,i);return s<0?null:new k(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,e,i,n=!0){if(!n)return null;let{buffer:s}=this.context,r=s.findChild(this.index+4,s.buffer[this.index+3],e>0?1:-1,t-this.context.start,e);return r<0?null:new k(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,e=t.buffer[this.index+3];return e<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new k(this.context,this._parent,e):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,e=this._parent?this._parent.index+4:0;return this.index==e?this.externalSibling(-1):new k(this.context,this._parent,t.findChild(e,this.index,-1,0,4))}get cursor(){return new S(this)}get tree(){return null}toTree(){let t=[],e=[],{buffer:i}=this.context,n=this.index+4,s=i.buffer[this.index+3];if(s>n){let r=i.buffer[this.index+1],o=i.buffer[this.index+2];t.push(i.slice(n,s,r,o)),e.push(0)}return new d(this.type,t,e,this.to-this.from)}resolve(t,e=0){return w(this,t,e,!1)}resolveInner(t,e=0){return w(this,t,e,!0)}enterUnfinishedNodesBefore(t){return v(this,t)}toString(){return this.context.buffer.childString(this.index)}getChild(t,e=null,i=null){let n=b(this,t,e,i);return n.length?n[0]:null}getChildren(t,e=null,i=null){return b(this,t,e,i)}}class S{constructor(t,e=0){if(this.mode=e,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof y)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let e=t._parent;e;e=e._parent)this.stack.unshift(e.index);this.bufferNode=t,this.yieldBuf(t.index)}}get name(){return this.type.name}yieldNode(t){return!!t&&(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0)}yieldBuf(t,e){this.index=t;let{start:i,buffer:n}=this.buffer;return this.type=e||n.set.types[n.buffer[t]],this.from=i+n.buffer[t+1],this.to=i+n.buffer[t+2],!0}yield(t){return!!t&&(t instanceof y?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,e,i){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree.node.children.length-1:0,t,e,i,this.mode));let{buffer:n}=this.buffer,s=n.findChild(this.index+4,n.buffer[this.index+3],t,e-this.buffer.start,i);return!(s<0)&&(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,e,i=!0,n=!0){return this.buffer?!!n&&this.enterChild(1,t,e):this.yield(this._tree.enter(t,e,i&&!(1&this.mode),n))}parent(){if(!this.buffer)return this.yieldNode(1&this.mode?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=1&this.mode?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode));let{buffer:e}=this.buffer,i=this.stack.length-1;if(t<0){let t=i<0?0:this.stack[i]+4;if(this.index!=t)return this.yieldBuf(e.findChild(t,this.index,-1,0,4))}else{let t=e.buffer[this.index+3];if(t<(i<0?e.buffer.length:e.buffer[this.stack[i]+3]))return this.yieldBuf(t)}return i<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let e,i,{buffer:n}=this;if(n){if(t>0){if(this.index-1)for(let n=e+t,s=t<0?-1:i.node.children.length;n!=s;n+=t){let t=i.node.children[n];if(1&this.mode||t instanceof m||!t.type.isAnonymous||A(t))return!1}return!0}move(t,e){if(e&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,e=0){while(this.from==this.to||(e<1?this.from>=t:this.from>t)||(e>-1?this.to<=t:this.to=0;){for(let r=t;r;r=r._parent)if(r.index==n){if(n==this.index)return r;e=r,i=s+1;break t}n=this.stack[--s]}for(let n=i;nt instanceof m||!t.type.isAnonymous||A(t)))}function C(t){var e;let{buffer:i,nodeSet:s,maxBufferLength:r=n,reused:l=[],minRepeatType:h=s.types.length}=t,a=Array.isArray(i)?new p(i,i.length):i,c=s.types,u=0,f=0;function g(t,e,i,n,o){let{id:d,start:p,end:k,size:S}=a,A=f;while(S<0){if(a.next(),-1==S){let e=l[d];return i.push(e),void n.push(p-t)}if(-3==S)return void(u=d);if(-4==S)return void(f=d);throw new RangeError(`Unrecognized record size: ${S}`)}let C,M,T=c[d],O=p-t;if(k-p<=r&&(M=b(a.pos-e,o))){let e=new Uint16Array(M.size-M.skip),i=a.pos-M.size,n=e.length;while(a.pos>i)n=x(M.start,e,n);C=new m(e,k-M.start,s),O=M.start-t}else{let t=a.pos-S;a.next();let e=[],i=[],n=d>=h?d:-1,s=0,o=k;while(a.pos>t)n>=0&&a.id==n&&a.size>=0?(a.end<=o-r&&(w(e,i,p,s,a.end,o,n,A),s=e.length,o=a.end),a.next()):g(p,t,e,i,n);if(n>=0&&s>0&&s-1&&s>0){let t=v(T);C=D(T,e,i,0,e.length,0,k-p,t,t)}else C=y(T,e,i,k-p,A-k)}i.push(C),n.push(O)}function v(t){return(e,i,n)=>{let s,r,l=0,h=e.length-1;if(h>=0&&(s=e[h])instanceof d){if(!h&&s.type==t&&s.length==n)return s;(r=s.prop(o.lookAhead))&&(l=i[h]+s.length+r)}return y(t,e,i,n,l)}}function w(t,e,i,n,r,o,l,h){let a=[],c=[];while(t.length>n)a.push(t.pop()),c.push(e.pop()+i-r);t.push(y(s.types[l],a,c,o-r,h-o)),e.push(r-i)}function y(t,e,i,n,s=0,r){if(u){let t=[o.contextHash,u];r=r?[t].concat(r):[t]}if(s>25){let t=[o.lookAhead,s];r=r?[t].concat(r):[t]}return new d(t,e,i,n,r)}function b(t,e){let i=a.fork(),n=0,s=0,o=0,l=i.end-r,c={size:0,start:0,skip:0};t:for(let r=i.pos-t;i.pos>r;){let t=i.size;if(i.id==e&&t>=0){c.size=n,c.start=s,c.skip=o,o+=4,n+=4,i.next();continue}let a=i.pos-t;if(t<0||a=h?4:0,f=i.start;i.next();while(i.pos>a){if(i.size<0){if(-3!=i.size)break t;u+=4}else i.id>=h&&(u+=4);i.next()}s=f,n+=t,o+=u}return(e<0||n==t)&&(c.size=n,c.start=s,c.skip=o),c.size>4?c:void 0}function x(t,e,i){let{id:n,start:s,end:r,size:o}=a;if(a.next(),o>=0&&n4){let n=a.pos-(o-4);while(a.pos>n)i=x(t,e,i)}e[--i]=l,e[--i]=r-t,e[--i]=s-t,e[--i]=n}else-3==o?u=n:-4==o&&(f=n);return i}let k=[],S=[];while(a.pos>0)g(t.start||0,t.bufferStart||0,k,S,-1);let A=null!==(e=t.length)&&void 0!==e?e:k.length?S[0]+k[0].length:0;return new d(c[t.topID],k.reverse(),S.reverse(),A)}const M=new WeakMap;function T(t,e){if(!t.isAnonymous||e instanceof m||e.type!=t)return 1;let i=M.get(e);if(null==i){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof d)){i=1;break}i+=T(t,n)}M.set(e,i)}return i}function D(t,e,i,n,s,r,o,l,h){let a=0;for(let p=n;p=c)break;p+=i}if(l==n+1){if(p>c){let t=e[n];d(t.children,t.positions,0,t.children.length,i[n]+o);continue}u.push(e[n])}else{let s=i[l-1]+e[l-1].length-a;u.push(D(t,e,i,n,l,a,s,null,h))}f.push(a+o-r)}}return d(e,i,n,s,0),(l||h)(u,f,o)}class O{constructor(t,e,i,n,s=!1,r=!1){this.from=t,this.to=e,this.tree=i,this.offset=n,this.open=(s?1:0)|(r?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(t,e=[],i=!1){let n=[new O(0,t.length,t,0,!1,i)];for(let s of e)s.to>t.length&&n.push(s);return n}static applyChanges(t,e,i=128){if(!e.length)return t;let n=[],s=1,r=t.length?t[0]:null;for(let o=0,l=0,h=0;;o++){let a=o=i)while(r&&r.from=e.from||c<=e.to||h){let t=Math.max(e.from,l)-h,i=Math.min(e.to,c)-h;e=t>=i?null:new O(t,i,e.tree,e.offset+h,o>0,!!a)}if(e&&n.push(e),r.to>c)break;r=snew r(t.from,t.to))):[new r(0,0)]:[new r(0,t.length)],this.createParse(t,e||[],i)}parse(t,e,i){let n=this.startParse(t,e,i);for(;;){let t=n.advance();if(t)return t}}}class R{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,e){return this.string.slice(t,e)}}function B(t){return(e,i,n,s)=>new N(e,t,i,n,s)}class P{constructor(t,e,i,n,s){this.parser=t,this.parse=e,this.overlay=i,this.target=n,this.ranges=s}}class L{constructor(t,e,i,n,s,r,o){this.parser=t,this.predicate=e,this.mounts=i,this.index=n,this.start=s,this.target=r,this.prev=o,this.depth=0,this.ranges=[]}}const I=new o({perNode:!0});class N{constructor(t,e,i,n,s){this.nest=e,this.input=i,this.fragments=n,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let t=this.baseParse.advance();if(!t)return null;if(this.baseParse=null,this.baseTree=t,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let t=this.baseTree;return null!=this.stoppedAt&&(t=new d(t.type,t.children,t.positions,t.length,t.propValues.concat([[I,this.stoppedAt]]))),t}let t=this.inner[this.innerDone],e=t.parse.advance();if(e){this.innerDone++;let i=Object.assign(Object.create(null),t.target.props);i[o.mounted.id]=new l(e,t.overlay,t.parser),t.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let e=this.innerDone;et.frag.from<=n.from&&t.frag.to>=n.to&&t.mount.overlay));if(t)for(let i of t.mount.overlay){let s=i.from+t.pos,r=i.to+t.pos;s>=n.from&&r<=n.to&&e.ranges.push({from:s,to:r})}}h=!1}else if(i&&(o=V(i.ranges,n.from,n.to)))h=2!=o;else if(!n.type.isAnonymous&&n.fromnew r(t.from-n.from,t.to-n.from))):null,n.tree,t)),s.overlay?t.length&&(i={ranges:t,depth:0,prev:i}):h=!1}}else e&&(l=e.predicate(n))&&(!0===l&&(l=new r(n.from,n.to)),l.fromnew r(t.from-e.start,t.to-e.start))),e.target,t)),e=e.prev}i&&!--i.depth&&(i=i.prev)}}}}function V(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function H(t,e,i,n,s,r){if(e=e.to)break;let o=s.children[n],l=o.buffer;function h(t,i,n,s,a){let c=t;while(l[c+2]+r<=e.from)c=l[c+3];let u=[],f=[];H(o,t,c,u,f,s);let p=l[c+1],m=l[c+2],g=p+r==e.from&&m+r==e.to&&l[c]==e.type.id;return u.push(g?e.toTree():h(c+4,l[c+3],o.set.types[l[c]],p,m-p)),f.push(p-s),H(o,l[c+3],i,u,f,s),new d(n,u,f,a)}s.children[n]=h(0,l.length,a.none,0,o.length);for(let a=0;a<=i;a++)t.childAfter(e.from)}class z{constructor(t,e){this.offset=e,this.done=!1,this.cursor=t.fullCursor()}moveTo(t){let{cursor:e}=this,i=t-this.offset;while(!this.done&&e.from=t&&e.enter(i,1,!1,!1)||e.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let e=this.cursor.tree;;){if(e==t.tree)return!0;if(!(e.children.length&&0==e.positions[0]&&e.children[0]instanceof d))break;e=e.children[0]}return!1}}class j{constructor(t){var e;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let i=this.curFrag=t[0];this.curTo=null!==(e=i.tree.prop(I))&&void 0!==e?e:i.to,this.inner=new z(i.tree,-i.offset)}else this.curFrag=this.inner=null}hasNode(t){while(this.curFrag&&t.from>=this.curTo)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(t=e.tree.prop(I))&&void 0!==t?t:e.to,this.inner=new z(e.tree,-e.offset)}}findMounts(t,e){var i;let n=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let t=this.inner.cursor.node;t;t=t.parent){let s=null===(i=t.tree)||void 0===i?void 0:i.prop(o.mounted);if(s&&s.parser==e)for(let e=this.fragI;e=t.to)break;i.tree==this.curFrag.tree&&n.push({frag:i,pos:t.from-i.offset,mount:s})}}}return n}}function q(t,e){let i=null,n=e;for(let s=1,o=0;s=h)break;t.to<=l||(i||(n=i=e.slice()),t.fromh&&i.splice(o+1,0,new r(h,t.to))):t.to>h?i[o--]=new r(h,t.to):i.splice(o--,1))}}return n}function W(t,e,i,n){let s=0,o=0,l=!1,h=!1,a=-1e9,c=[];for(;;){let u=s==t.length?1e9:l?t[s].to:t[s].from,f=o==e.length?1e9:h?e[o].to:e[o].from;if(l!=h){let t=Math.max(a,i),e=Math.min(u,f,n);tnew r(t.from+n,t.to+n))),c=W(e,l,h,a);for(let e=0,n=h;;e++){let r=e==c.length,l=r?a:c[e].from;if(l>n&&i.push(new O(n,l,s.tree,-t,o.from>=n,o.to<=l)),r)break;n=c[e].to}}else i.push(new O(h,a,s.tree,-t,o.from>=t,o.to<=l))}return i}},70876:function(t,e,i){i.d(e,{V:function(){return l}});const n="ͼ",s="undefined"==typeof Symbol?"__"+n:Symbol.for(n),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class l{constructor(t,e){this.rules=[];let{finish:i}=e||{};function n(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}function s(t,e,r,o){let l=[],h=/^@(\w+)\b/.exec(t[0]),a=h&&"keyframes"==h[1];if(h&&null==e)return r.push(t[0]+";");for(let i in e){let o=e[i];if(/&/.test(i))s(i.split(/,\s*/).map((e=>t.map((t=>e.replace(/&/,t))))).reduce(((t,e)=>t.concat(e))),o,r);else if(o&&"object"==typeof o){if(!h)throw new RangeError("The value of a property ("+i+") should be a primitive value.");s(n(i),o,l,a)}else null!=o&&l.push(i.replace(/_.*/,"").replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))+": "+o+";")}(l.length||a)&&r.push((!i||h||o?t:t.map(i)).join(", ")+" {"+l.join(" ")+"}")}for(let r in t)s(n(r),t[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let t=o[s]||1;return o[s]=t+1,n+t.toString(36)}static mount(t,e){(t[r]||new a(t)).mount(Array.isArray(e)?e:[e])}}let h=null;class a{constructor(t){if(!t.head&&t.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(h)return t.adoptedStyleSheets=[h.sheet].concat(t.adoptedStyleSheets),t[r]=h;this.sheet=new CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat(t.adoptedStyleSheets),h=this}else{this.styleTag=(t.ownerDocument||t).createElement("style");let e=t.head||t;e.insertBefore(this.styleTag,e.firstChild)}this.modules=[],t[r]=this}mount(t){let e=this.sheet,i=0,n=0;for(let s=0;s-1&&(this.modules.splice(o,1),n--,o=-1),-1==o){if(this.modules.splice(n++,0,r),e)for(let t=0;t0&&void 0!==arguments[0]&&arguments[0];this.backuping=!0,d.Z.backup.backupMarkdown({needFrontMatter:t}).catch((function(){e.backupErrored=!0})).finally((function(){setTimeout((function(){e.backuping=!1}),400)}))},handleBackupedCallback:function(){this.backupErrored?this.backupErrored=!1:this.handleListBackups()},handleFileDeleteClick:function(e){var t=this;e.deleting=!0,d.Z.backup.deleteMarkdownBackup(e.filename).finally((function(){setTimeout((function(){e.deleting=!1}),400),t.handleListBackups()}))},handleDownloadMarkdownPackage:function(e){var t=this;d.Z.backup.getMarkdownBackup(e.filename).then((function(e){var t=document.createElement("a"),a=new window.URL(e.data.downloadLink);t.href=a,t.download=e.data.filename,document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(a)})).catch((function(){t.$message.error("下载失败!")}))},onClose:function(){this.$emit("close",!1)}}},D=_,B=(0,k.Z)(D,x,C,!1,null,null,null),M=B.exports,E=a(98906),L={components:{PageView:l.B4,BackupWorkDirDrawer:h,ExportDataDrawer:y,ExportMarkdownDrawer:M},data:function(){return{backupWorkDirDrawerVisible:!1,exportDataDrawerVisible:!1,exportMarkdownDrawerVisible:!1,markdownUpload:!1,uploadHandler:function(e,t){return d.Z.backup.importMarkdown(e,t)}}},computed:(0,n.Z)({},(0,E.Se)(["options"])),methods:{handleChange:function(e){var t=e.file.status;"uploading"!==t&&this.$log.debug(e.file,e.fileList),"done"===t?this.$message.success("".concat(e.file.name," 导入成功!")):"error"===t&&this.$message.error("".concat(e.file.name," 导入失败!"))},handleToDeveloperOptions:function(){this.$router.push({name:"DeveloperOptions"})},onUploadClose:function(){this.$refs.upload.handleClearFileList()}}},S=L,V=(0,k.Z)(S,i,o,!1,null,null,null),T=V.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[750],{62750:function(e,t,a){a.r(t),a.d(t,{default:function(){return T}});var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-view",[a("a-row",{attrs:{gutter:12}},[e.options.developer_mode?a("a-col",{staticClass:"pb-3",attrs:{lg:6,md:12,sm:24,xl:6,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("a-icon",{attrs:{type:"experiment"}}),e._v(" 开发者选项 ")],1),a("p",{staticStyle:{"min-height":"50px"}},[e._v("点击进入开发者选项页面")]),a("a-button",{staticClass:"float-right",attrs:{type:"primary"},on:{click:function(t){return e.handleToDeveloperOptions()}}},[e._v("进入")])],1)],1):e._e(),a("a-col",{staticClass:"mb-3",attrs:{lg:6,md:12,sm:24,xl:6,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("a-icon",{attrs:{type:"hdd"}}),e._v(" 博客备份 ")],1),a("p",{staticStyle:{"min-height":"50px"}},[e._v("支持备份全站数据和数据导出,支持下载到本地")]),a("a-dropdown",{staticClass:"float-right"},[a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",{key:"1",on:{click:function(t){e.backupWorkDirDrawerVisible=!0}}},[e._v(" 整站备份 ")]),a("a-menu-item",{key:"2",on:{click:function(t){e.exportDataDrawerVisible=!0}}},[e._v(" 数据导出 ")]),a("a-menu-item",{key:"3",on:{click:function(t){e.exportMarkdownDrawerVisible=!0}}},[e._v(" 导出文章为 Markdown 文档 ")])],1),a("a-button",{staticClass:"ml-2"},[e._v(" 备份 "),a("a-icon",{attrs:{type:"down"}})],1)],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:6,md:12,sm:24,xl:6,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{attrs:{slot:"title"},slot:"title"},[a("a-icon",{attrs:{type:"file-markdown"}}),e._v(" Markdown 文章导入 ")],1),a("p",{staticStyle:{"min-height":"50px"}},[e._v("支持 Hexo/Jekyll 文章导入并解析元数据")]),a("a-button",{staticClass:"float-right",attrs:{type:"primary"},on:{click:function(t){e.markdownUpload=!0}}},[e._v("导入")])],1)],1)],1),a("a-modal",{attrs:{afterClose:e.onUploadClose,footer:null,destroyOnClose:"",title:"Markdown 文章导入"},model:{value:e.markdownUpload,callback:function(t){e.markdownUpload=t},expression:"markdownUpload"}},[a("FilePondUpload",{ref:"upload",attrs:{uploadHandler:e.uploadHandler,label:"拖拽或点击选择 Markdown 文件到此处",name:"file"}})],1),a("BackupWorkDirDrawer",{model:{value:e.backupWorkDirDrawerVisible,callback:function(t){e.backupWorkDirDrawerVisible=t},expression:"backupWorkDirDrawerVisible"}}),a("ExportDataDrawer",{model:{value:e.exportDataDrawerVisible,callback:function(t){e.exportDataDrawerVisible=t},expression:"exportDataDrawerVisible"}}),a("ExportMarkdownDrawer",{model:{value:e.exportMarkdownDrawerVisible,callback:function(t){e.exportMarkdownDrawerVisible=t},expression:"exportMarkdownDrawerVisible"}})],1)},o=[],n=a(94524),l=(a(21082),a(22401)),r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-drawer",{attrs:{afterVisibleChange:e.handleAfterVisibleChanged,visible:e.visible,width:e.isMobile()?"100%":"480",closable:"",destroyOnClose:"",title:"整站备份"},on:{close:e.onClose}},[a("a-row",{attrs:{align:"middle",type:"flex"}},[a("a-col",{attrs:{span:24}},[a("a-alert",{attrs:{banner:"",closable:"",message:"注意:备份后生成的压缩文件存储在临时文件中,重启服务器会造成备份文件的丢失,所以请尽快下载。"}}),a("a-divider",[e._v("历史备份")]),a("a-list",{attrs:{dataSource:e.backups,loading:e.loading,itemLayout:"vertical",size:"small"},scopedSlots:e._u([{key:"renderItem",fn:function(t){return a("a-list-item",{},[a("a-button",{staticStyle:{color:"red"},attrs:{slot:"extra",loading:t.deleting,icon:"delete",type:"link"},on:{click:function(a){return e.handleBackupDeleteClick(t)}},slot:"extra"},[e._v("删除 ")]),a("a-list-item-meta",[a("a",{attrs:{slot:"title",href:"javascript:void(0)"},on:{click:function(a){return e.handleDownloadBackupPackage(t)}},slot:"title"},[a("a-icon",{staticStyle:{color:"#52c41a"},attrs:{type:"schedule"}}),e._v(" "+e._s(t.filename)+" ")],1),a("p",{attrs:{slot:"description"},slot:"description"},[e._v(e._s(e._f("timeAgo")(t.updateTime))+"/"+e._s(e._f("fileSizeFormat")(t.fileSize)))])])],1)}}])})],1)],1),a("a-divider",{staticClass:"divider-transparent"}),a("div",{staticClass:"bottom-control"},[a("a-space",[a("a-button",{attrs:{icon:"download",type:"primary"},on:{click:e.handleBackupClick}},[e._v("备份")]),a("a-button",{attrs:{loading:e.loading,icon:"reload",type:"dashed"},on:{click:e.handleListBackups}},[e._v("刷新")])],1)],1),a("a-modal",{attrs:{title:"备份选项"},model:{value:e.optionsModal.visible,callback:function(t){e.$set(e.optionsModal,"visible",t)},expression:"optionsModal.visible"}},[a("template",{slot:"footer"},[a("a-button",{on:{click:function(){return e.optionsModal.visible=!1}}},[e._v("取消")]),a("ReactiveButton",{attrs:{errored:e.backupErrored,loading:e.backuping,erroredText:"备份失败",loadedText:"备份成功",text:"确认",type:"primary"},on:{callback:e.handleBackupedCallback,click:e.handleBackupConfirmed}})],1),a("a-checkbox-group",{staticStyle:{width:"100%"},model:{value:e.optionsModal.selected,callback:function(t){e.$set(e.optionsModal,"selected",t)},expression:"optionsModal.selected"}},[a("a-row",e._l(e.optionsModal.options,(function(t){return a("a-col",{key:t,attrs:{span:8}},[a("a-checkbox",{attrs:{value:t}},[e._v(" "+e._s(t)+" ")])],1)})),1)],1)],2)],1)},s=[],c=(a(31875),a(29888),a(45107),a(42164),a(20838),a(64647)),d=a(62210),u={name:"BackupWorkDirDrawer",mixins:[c.jB,c.KT],data:function(){return{backuping:!1,loading:!1,backupErrored:!1,backups:[],optionsModal:{options:[],visible:!1,selected:[]}}},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,required:!1,default:!0}},methods:{handleAfterVisibleChanged:function(e){e&&this.handleListBackups()},handleListBackups:function(){var e=this;this.loading=!0,d.Z.backup.listWorkdirBackups().then((function(t){e.backups=t.data})).finally((function(){e.loading=!1}))},handleBackupClick:function(){var e=this;d.Z.backup.getWorkdirBackupOptions().then((function(t){e.optionsModal={visible:!0,options:t.data,selected:t.data}}))},handleBackupConfirmed:function(){var e=this;this.backuping=!0,d.Z.backup.backupWorkdir(this.optionsModal.selected).catch((function(){e.backupErrored=!0})).finally((function(){setTimeout((function(){e.backuping=!1}),400)}))},handleBackupedCallback:function(){this.backupErrored?this.backupErrored=!1:(this.optionsModal.visible=!1,this.handleListBackups())},handleBackupDeleteClick:function(e){var t=this;e.deleting=!0,d.Z.backup.deleteWorkdirBackup(e.filename).finally((function(){setTimeout((function(){e.deleting=!1}),400),t.handleListBackups()}))},handleDownloadBackupPackage:function(e){var t=this;d.Z.backup.getWorkdirBackup(e.filename).then((function(e){var t=document.createElement("a"),a=new window.URL(e.data.downloadLink);t.href=a,t.download=e.data.filename,document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(a)})).catch((function(e){t.$message.error(e.data.message)}))},onClose:function(){this.$emit("close",!1)}}},p=u,k=a(42177),f=(0,k.Z)(p,r,s,!1,null,null,null),h=f.exports,b=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-drawer",{attrs:{afterVisibleChange:e.handleAfterVisibleChanged,visible:e.visible,width:e.isMobile()?"100%":"480",closable:"",destroyOnClose:"",title:"数据导出"},on:{close:e.onClose}},[a("a-row",{attrs:{align:"middle",type:"flex"}},[a("a-col",{attrs:{span:24}},[a("a-alert",{attrs:{banner:"",closable:"",message:"注意:导出后的数据文件存储在临时文件中,重启服务器会造成备份文件的丢失,所以请尽快下载。"}}),a("a-divider",[e._v("历史文件")]),a("a-list",{attrs:{dataSource:e.files,loading:e.loading,itemLayout:"vertical",size:"small"},scopedSlots:e._u([{key:"renderItem",fn:function(t){return a("a-list-item",{},[a("a-button",{staticStyle:{color:"red"},attrs:{slot:"extra",loading:t.deleting,icon:"delete",type:"link"},on:{click:function(a){return e.handleFileDeleteClick(t)}},slot:"extra"},[e._v("删除 ")]),a("a-list-item-meta",[a("a",{attrs:{slot:"title",href:"javascript:void(0)"},on:{click:function(a){return e.handleDownloadBackupFile(t)}},slot:"title"},[a("a-icon",{staticStyle:{color:"#52c41a"},attrs:{type:"schedule"}}),e._v(" "+e._s(t.filename)+" ")],1),a("p",{attrs:{slot:"description"},slot:"description"},[e._v(e._s(e._f("timeAgo")(t.updateTime))+"/"+e._s(e._f("fileSizeFormat")(t.fileSize)))])])],1)}}])})],1)],1),a("a-divider",{staticClass:"divider-transparent"}),a("div",{staticClass:"bottom-control"},[a("a-space",[a("ReactiveButton",{attrs:{errored:e.backupErrored,loading:e.backuping,erroredText:"备份失败",icon:"download",loadedText:"备份成功",text:"备份",type:"primary"},on:{callback:e.handleBackupedCallback,click:e.handleExportClick}}),a("a-button",{attrs:{loading:e.loading,icon:"reload",type:"dashed"},on:{click:e.handleListBackups}},[e._v("刷新")])],1)],1)],1)},m=[],v={name:"ExportDataDrawer",mixins:[c.jB,c.KT],data:function(){return{backuping:!1,loading:!1,backupErrored:!1,files:[]}},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,required:!1,default:!0}},methods:{handleAfterVisibleChanged:function(e){e&&this.handleListBackups()},handleListBackups:function(){var e=this;this.loading=!0,d.Z.backup.listDataBackups().then((function(t){e.files=t.data})).finally((function(){e.loading=!1}))},handleExportClick:function(){var e=this;this.backuping=!0,d.Z.backup.backupData().catch((function(){e.backupErrored=!0})).finally((function(){setTimeout((function(){e.backuping=!1}),400)}))},handleBackupedCallback:function(){this.backupErrored?this.backupErrored=!1:this.handleListBackups()},handleFileDeleteClick:function(e){var t=this;e.deleting=!0,d.Z.backup.deleteDataBackup(e.filename).finally((function(){setTimeout((function(){e.deleting=!1}),400),t.handleListBackups()}))},handleDownloadBackupFile:function(e){var t=this;d.Z.backup.getDataBackup(e.filename).then((function(e){var t=document.createElement("a"),a=new window.URL(e.data.downloadLink);t.href=a,t.download=e.data.filename,document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(a)})).catch((function(){t.$message.error("下载失败!")}))},onClose:function(){this.$emit("close",!1)}}},g=v,w=(0,k.Z)(g,b,m,!1,null,null,null),y=w.exports,x=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-drawer",{attrs:{afterVisibleChange:e.handleAfterVisibleChanged,visible:e.visible,width:e.isMobile()?"100%":"480",closable:"",destroyOnClose:"",title:"导出文章为 Markdown 文档"},on:{close:e.onClose}},[a("a-row",{attrs:{align:"middle",type:"flex"}},[a("a-col",{attrs:{span:24}},[a("a-alert",{attrs:{banner:"",closable:"",message:"注意:导出后的数据文件存储在临时文件中,重启服务器会造成备份文件的丢失,所以请尽快下载。"}}),a("a-divider",[e._v("历史文件")]),a("a-list",{attrs:{dataSource:e.files,loading:e.loading,itemLayout:"vertical",size:"small"},scopedSlots:e._u([{key:"renderItem",fn:function(t){return a("a-list-item",{},[a("a-button",{staticStyle:{color:"red"},attrs:{slot:"extra",loading:t.deleting,icon:"delete",type:"link"},on:{click:function(a){return e.handleFileDeleteClick(t)}},slot:"extra"},[e._v("删除 ")]),a("a-list-item-meta",[a("a",{attrs:{slot:"title",href:"javascript:void(0)"},on:{click:function(a){return e.handleDownloadMarkdownPackage(t)}},slot:"title"},[a("a-icon",{staticStyle:{color:"#52c41a"},attrs:{type:"schedule"}}),e._v(" "+e._s(t.filename)+" ")],1),a("p",{attrs:{slot:"description"},slot:"description"},[e._v(e._s(e._f("timeAgo")(t.updateTime))+"/"+e._s(e._f("fileSizeFormat")(t.fileSize)))])])],1)}}])})],1)],1),a("a-divider",{staticClass:"divider-transparent"}),a("div",{staticClass:"bottom-control"},[a("a-space",[a("a-popconfirm",{attrs:{cancelText:"否",okText:"是",title:"是否同时为 Markdown 文档生成 Front Matter?"},on:{cancel:function(t){return e.handleExportClick(!1)},confirm:function(t){return e.handleExportClick(!0)}}},[a("ReactiveButton",{attrs:{errored:e.backupErrored,loading:e.backuping,erroredText:"备份失败",icon:"download",loadedText:"备份成功",text:"备份",type:"primary"},on:{callback:e.handleBackupedCallback}})],1),a("a-button",{attrs:{loading:e.loading,icon:"reload",type:"dashed"},on:{click:e.handleListBackups}},[e._v("刷新")])],1)],1)],1)},C=[],_={name:"ExportDataDrawer",mixins:[c.jB,c.KT],data:function(){return{backuping:!1,loading:!1,backupErrored:!1,files:[]}},model:{prop:"visible",event:"close"},props:{visible:{type:Boolean,required:!1,default:!0}},methods:{handleAfterVisibleChanged:function(e){e&&this.handleListBackups()},handleListBackups:function(){var e=this;this.loading=!0,d.Z.backup.listMarkdownBackups().then((function(t){e.files=t.data})).finally((function(){e.loading=!1}))},handleExportClick:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.backuping=!0,d.Z.backup.backupMarkdown({needFrontMatter:t}).catch((function(){e.backupErrored=!0})).finally((function(){setTimeout((function(){e.backuping=!1}),400)}))},handleBackupedCallback:function(){this.backupErrored?this.backupErrored=!1:this.handleListBackups()},handleFileDeleteClick:function(e){var t=this;e.deleting=!0,d.Z.backup.deleteMarkdownBackup(e.filename).finally((function(){setTimeout((function(){e.deleting=!1}),400),t.handleListBackups()}))},handleDownloadMarkdownPackage:function(e){var t=this;d.Z.backup.getMarkdownBackup(e.filename).then((function(e){var t=document.createElement("a"),a=new window.URL(e.data.downloadLink);t.href=a,t.download=e.data.filename,document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(a)})).catch((function(){t.$message.error("下载失败!")}))},onClose:function(){this.$emit("close",!1)}}},D=_,B=(0,k.Z)(D,x,C,!1,null,null,null),M=B.exports,E=a(98906),L={components:{PageView:l.B4,BackupWorkDirDrawer:h,ExportDataDrawer:y,ExportMarkdownDrawer:M},data:function(){return{backupWorkDirDrawerVisible:!1,exportDataDrawerVisible:!1,exportMarkdownDrawerVisible:!1,markdownUpload:!1,uploadHandler:function(e,t){return d.Z.backup.importMarkdown(e,t)}}},computed:(0,n.Z)({},(0,E.Se)(["options"])),methods:{handleChange:function(e){var t=e.file.status;"uploading"!==t&&this.$log.debug(e.file,e.fileList),"done"===t?this.$message.success("".concat(e.file.name," 导入成功!")):"error"===t&&this.$message.error("".concat(e.file.name," 导入失败!"))},handleToDeveloperOptions:function(){this.$router.push({name:"DeveloperOptions"})},onUploadClose:function(){this.$refs.upload.handleClearFileList()}}},S=L,V=(0,k.Z)(S,i,o,!1,null,null,null),T=V.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/783.5b9a23a1.js b/src/main/resources/admin/js/783.5b9a23a1.js new file mode 100644 index 000000000..7b454d6f8 --- /dev/null +++ b/src/main/resources/admin/js/783.5b9a23a1.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[783],{16783:function(O,e,a){a.r(e),a.d(e,{default:function(){return ca}});var t,Q,i=function(){var O=this,e=O.$createElement,a=O._self._c||e;return a("page-view",[a("a-row",{attrs:{gutter:12}},[a("a-col",{staticClass:"pb-3",attrs:{lg:6,md:6,sm:24,xl:6,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"}}},[a("template",{slot:"title"},[a("a-select",{staticClass:"w-full",attrs:{loading:O.themes.loading},on:{change:O.onSelectTheme},model:{value:O.themes.selectedId,callback:function(e){O.$set(O.themes,"selectedId",e)},expression:"themes.selectedId"}},O._l(O.themes.data,(function(e,t){return a("a-select-option",{key:t,attrs:{value:e.id}},[O._v(" "+O._s(e.name)+O._s(e.activated?"(当前启用)":"")+" ")])})),1)],1),a("a-spin",{attrs:{spinning:O.files.loading}},[O.files.data?a("theme-file",{attrs:{files:O.files.data},on:{listenToSelect:O.handleSelectFile}}):O._e()],1)],2)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:18,md:18,sm:24,xl:18,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"}}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",[a("Codemirror",{ref:"editor",attrs:{extensions:O.editor.extensions,height:"700px"},model:{value:O.files.content,callback:function(e){O.$set(O.files,"content",e)},expression:"files.content"}})],1),a("a-form-item",[a("ReactiveButton",{attrs:{disabled:!O.files.content,errored:O.files.saveErrored,loading:O.files.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存"},on:{callback:function(e){O.files.saveErrored=!1},click:O.handlerSaveContent}})],1)],1)],1)],1)],1)],1)},r=[],n=(a(31875),a(62888),a(2923),a(21082),a(62210)),o=(a(82395),{name:"ThemeFile",props:{files:{type:Array,required:!1,default:function(){return[]}}},methods:{handleSelectFile:function(O){this.$emit("listenToSelect",O)},renderNode:function(O,e){var a=this,t=this;return e.node&&e.node.length?O("a-tree-node",{props:{key:e.path,title:e.name,isLeaf:e.isFile}},e.node.map((function(e){return a.renderNode(O,e)}))):O("a-tree-node",{props:{key:e.path,title:e.name,isLeaf:e.isFile},nativeOn:{click:function(){t.handleSelectFile(e)}}})}},render:function(O){var e=this;return this.files.length?O("a-directory-tree",this.files.map((function(a){return e.renderNode(O,a)}))):O("p","没有文件")}}),l=o,$=a(42177),s=(0,$.Z)(l,t,Q,!1,null,null,null),p=s.exports,c=a(22401),u=a(60742),d=a(8192),P=a(17918);const f=53,W=1,m=54,T=2,X=55,S=3,g=4,y=5,b=6,R=7,Y=8,x=9,k=10,Z=56,h=11,v=12,V=57,_=18,w=27,q=30,j=33,G=35,z=0,U={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},L={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},E={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function J(O){return 45==O||46==O||58==O||O>=65&&O<=90||95==O||O>=97&&O<=122||O>=161}function C(O){return 9==O||10==O||13==O||32==O}let D=null,N=null,A=0;function I(O,e){let a=O.pos+e;if(A==a&&N==O)return D;let t=O.peek(e);while(C(t))t=O.peek(++e);let Q="";for(;;){if(!J(t))break;Q+=String.fromCharCode(t),t=O.peek(++e)}return N=O,A=a,D=Q||(t==B||t==M?void 0:null)}const F=60,H=62,K=47,B=63,M=33;function OO(O,e){this.name=O,this.parent=e,this.hash=e?e.hash:0;for(let a=0;a-1?new OO(I(t,1)||"",O):O},reduce(O,e){return e==_&&O?O.parent:O},reuse(O,e,a,t){let Q=e.type.id;return Q==g||Q==G?new OO(I(t,1)||"",O):O},hash(O){return O?O.hash:0},strict:!1}),tO=new d.Jq(((O,e)=>{if(O.next!=F)return void(O.next<0&&e.context&&O.acceptToken(Z));O.advance();let a=O.next==K;a&&O.advance();let t=I(O,0);if(void 0===t)return;if(!t)return O.acceptToken(a?h:g);let Q=e.context?e.context.name:null;if(a){if(t==Q)return O.acceptToken(Y);if(Q&&L[Q])return O.acceptToken(Z,-2);if(e.dialectEnabled(z))return O.acceptToken(x);for(let O=e.context;O;O=O.parent)if(O.name==t)return;O.acceptToken(k)}else{if("script"==t)return O.acceptToken(y);if("style"==t)return O.acceptToken(b);if("textarea"==t)return O.acceptToken(R);Q&&E[Q]&&E[Q][t]?O.acceptToken(Z,-1):O.acceptToken(g)}}),{contextual:!0}),QO=new d.Jq(((O,e)=>{let a=1;if(O.next==K){if(O.peek(1)!=H)return;a=2}else if(O.next!=H)return;e.context&&U[e.context.name]&&O.acceptToken(v,a)})),iO=new d.Jq((O=>{for(let e=0,a=0;;a++){if(O.next<0){a&&O.acceptToken(V);break}if(O.next=="--\x3e".charCodeAt(e)){if(e++,3==e){a>3&&O.acceptToken(V,-2);break}}else e=0;O.advance()}}));function rO(O,e,a){let t=2+O.length;return new d.Jq((Q=>{for(let i=0,r=0,n=0;;n++){if(Q.next<0){n&&Q.acceptToken(e);break}if(0==i&&Q.next==F||1==i&&Q.next==K||i>=2&&ir?Q.acceptToken(e,-r):Q.acceptToken(a,-(r-2));break}if((10==Q.next||13==Q.next)&&n){Q.acceptToken(e,1);break}i=r=0}else r++;Q.advance()}}))}const nO=rO("script",f,W),oO=rO("style",m,T),lO=rO("textarea",X,S),$O=d.WQ.deserialize({version:13,states:",fOVO!jOOO!TQ#tO'#CoO!YQ#tO'#CyO!_Q#tO'#C|O!dQ#tO'#DPO!iOXO'#CnO!tOYO'#CnO#PO[O'#CnO$YO!jO'#CnOOOW'#Cn'#CnO$aO$fO'#DSO$iQ#tO'#DUO$nQ#tO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVO!jOOO$sQ&jO,59ZO${Q&jO,59eO%TQ&jO,59hO%]Q&zO,59kOOOX'#D]'#D]O%hOXO'#CwO%sOXO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OQnX!YnX~OQ!WO!Y!UO~O!XjORqX!YqX~OR!YO!Y!UO~O!Y!UO~P#[Od![O~O!ZqO!d!^O~Oj!_O~Oj!`O~Og!aOfeXjeX[eX~OfwOj!cO~OfwOj!dO~OfwOj!eO~O[!gOfwOj!fO~Od!hO~Od!iO~Od!jO~Oj!kO~Oi!nO!_!lO!a!mO~Oj!oO~Oj!pO~Oj!qO~O_!rO`!rO!_!tO!`!rO~O_!uO`!uO!a!tO!b!uO~O_!rO`!rO!_!xO!`!rO~O_!uO`!uO!a!xO!b!uO~O`_a!cwz!c~",goto:"%i!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!vPP!y!|#P#V#Y#]#c#f#i#o#u!`P!`!`P#{$R$e$k$q$w$}%T%ZPPPPPPPP%aX]OW_nXTOW_nax`abcy{}!PR!n!aRfTR!UfXUOW_nRiUR!UiXVOW_nRlVR!UlXWOW_nQpWR!UnXXOW_nQ_ORv_Qy`Q{aQ}bQ!PcX!by{}!PQ!s!lR!w!sQ!v!mR!y!vQeTR!SeQhUR!VhQkVR!XkQnWR!ZnQrYR!]rS^O_TmWn",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag SelfCloseEndTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:aO,nodeProps:[[P.md.closedBy,-9,1,2,3,5,6,7,8,9,10,"EndTag",4,"EndTag SelfCloseEndTag",-4,19,29,32,35,"CloseTag"],[P.md.group,-9,11,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],[P.md.openedBy,12,"StartTag",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag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s'gsv(kwx(]x#V(k#V#WIU#W~(k!RI]V!``!bpOr(krs'gsv(kwx(]x#h(k#h#iIr#i~(k!RIyV!``!bpOr(krs'gsv(kwx(]x#m(k#m#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[nO,oO,lO,tO,QO,iO,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:446});function sO(O,e){let a=Object.create(null);for(let t of O.firstChild.getChildren("Attribute")){let O=t.getChild("AttributeName"),Q=t.getChild("AttributeValue")||t.getChild("UnquotedAttributeValue");O&&(a[e.read(O.from,O.to)]=Q?"AttributeValue"==Q.name?e.read(Q.from+1,Q.to-1):e.read(Q.from,Q.to):"")}return a}function pO(O,e,a){let t;for(let Q of a)if(!Q.attrs||Q.attrs(t||(t=sO(O.node.parent,e))))return{parser:Q.parser};return null}function cO(O){let e=[],a=[],t=[];for(let Q of O){let O="script"==Q.tag?e:"style"==Q.tag?a:"textarea"==Q.tag?t:null;if(!O)throw new RangeError("Only script, style, and textarea tags can host nested parsers");O.push(Q)}return(0,P.FE)(((O,Q)=>{let i=O.type.id;return i==w?pO(O,Q,e):i==q?pO(O,Q,a):i==j?pO(O,Q,t):null}))}const uO=93,dO=1,PO=94,fO=95,WO=2,mO=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],TO=58,XO=40,SO=95,gO=91,yO=45,bO=46,RO=35,YO=37;function xO(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function kO(O){return O>=48&&O<=57}const ZO=new d.Jq(((O,e)=>{for(let a=!1,t=0,Q=0;;Q++){let{next:i}=O;if(!(xO(i)||i==yO||i==SO||a&&kO(i))){a&&O.acceptToken(i==XO?PO:2==t&&e.canShift(WO)?WO:fO);break}!a&&(i!=yO||Q>0)&&(a=!0),t===Q&&i==yO&&t++,O.advance()}})),hO=new d.Jq((O=>{if(mO.includes(O.peek(-1))){let{next:e}=O;(xO(e)||e==SO||e==RO||e==bO||e==gO||e==TO||e==yO)&&O.acceptToken(uO)}})),vO=new d.Jq((O=>{if(!mO.includes(O.peek(-1))){let{next:e}=O;if(e==YO&&(O.advance(),O.acceptToken(dO)),xO(e)){do{O.advance()}while(xO(O.next));O.acceptToken(dO)}}})),VO={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,dir:32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},_O={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},wO={__proto__:null,not:128,only:128,from:158,to:160},qO=d.WQ.deserialize({version:13,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59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!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q_8ZQpVOy%Qz~%Q^8fUjSOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q_8}S#WPOy%Qz!Q%Q!Q![5Z![~%Q~9`RjSOy%Qz{9i{~%Q~9nSoWOy9iyz9zz{:o{~9i~9}ROz9zz{:W{~9z~:ZTOz9zz{:W{!P9z!P!Q:j!Q~9z~:oOR~~:tUoWOy9iyz9zz{:o{!P9i!P!Q;W!Q~9i~;_QR~oWOy%Qz~%Q^;jY#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[hO,vO,ZO,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:O=>VO[O]||-1},{term:56,get:O=>_O[O]||-1},{term:95,get:O=>wO[O]||-1}],tokenPrec:1078});var jO=a(40405),GO=a(97428);let zO=null;function UO(){if(!zO&&"object"==typeof document&&document.body){let O=[];for(let e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||O.push(e);zO=O.sort().map((O=>({type:"property",label:O})))}return zO||[]}const LO=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map((O=>({type:"class",label:O}))),EO=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((O=>({type:"keyword",label:O}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((O=>({type:"constant",label:O})))),JO=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((O=>({type:"type",label:O}))),CO=/^[\w-]*/,DO=O=>{let{state:e,pos:a}=O,t=(0,jO.qz)(e).resolveInner(a,-1);if("PropertyName"==t.name)return{from:t.from,options:UO(),span:CO};if("ValueName"==t.name)return{from:t.from,options:EO,span:CO};if("PseudoClassName"==t.name)return{from:t.from,options:LO,span:CO};if("TagName"==t.name){for(let{parent:O}=t;O;O=O.parent)if("Block"==O.name)return{from:t.from,options:UO(),span:CO};return{from:t.from,options:JO,span:CO}}if(!O.explicit)return null;let Q=t.resolve(a),i=Q.childBefore(a);return i&&":"==i.name&&"PseudoClassSelector"==Q.name?{from:a,options:LO,span:CO}:i&&":"==i.name&&"Declaration"==Q.name||"ArgList"==Q.name?{from:a,options:EO,span:CO}:"Block"==Q.name?{from:a,options:UO(),span:CO}:null},NO=jO.qp.define({parser:qO.configure({props:[jO.uj.add({Declaration:(0,jO.tC)()}),jO.x0.add({Block:jO.Dv}),(0,GO.Gv)({"import charset namespace keyframes":GO.pJ.definitionKeyword,"media supports":GO.pJ.controlKeyword,"from to selector":GO.pJ.keyword,NamespaceName:GO.pJ.namespace,KeyframeName:GO.pJ.labelName,TagName:GO.pJ.tagName,ClassName:GO.pJ.className,PseudoClassName:GO.pJ.constant(GO.pJ.className),IdName:GO.pJ.labelName,"FeatureName PropertyName":GO.pJ.propertyName,AttributeName:GO.pJ.attributeName,NumberLiteral:GO.pJ.number,KeywordQuery:GO.pJ.keyword,UnaryQueryOp:GO.pJ.operatorKeyword,"CallTag ValueName":GO.pJ.atom,VariableName:GO.pJ.variableName,Callee:GO.pJ.operatorKeyword,Unit:GO.pJ.unit,"UniversalSelector NestingSelector":GO.pJ.definitionOperator,AtKeyword:GO.pJ.keyword,MatchOp:GO.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":GO.pJ.logicOperator,BinOp:GO.pJ.arithmeticOperator,Important:GO.pJ.modifier,Comment:GO.pJ.blockComment,ParenthesizedContent:GO.pJ.special(GO.pJ.name),ColorLiteral:GO.pJ.color,StringLiteral:GO.pJ.string,":":GO.pJ.punctuation,"PseudoOp #":GO.pJ.derefOperator,"; ,":GO.pJ.separator,"( )":GO.pJ.paren,"[ ]":GO.pJ.squareBracket,"{ }":GO.pJ.brace})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}}),AO=NO.data.of({autocomplete:DO});function IO(){return new jO.ri(NO,AO)}const FO=275,HO=1,KO=2,BO=276,MO=277,Oe=278,ee=279,ae=3,te=281,Qe=282,ie=4,re=5,ne=1,oe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],le=125,$e=123,se=59,pe=47,ce=42,ue=43,de=45,Pe=36,fe=96,We=92,me=new d.IK({start:!1,shift(O,e){return e==ie||e==re||e==te?O:e==Qe},strict:!1}),Te=new d.Jq(((O,e)=>{let{next:a}=O;(a==le||-1==a||e.context)&&e.canShift(ee)&&O.acceptToken(ee)}),{contextual:!0,fallback:!0}),Xe=new d.Jq(((O,e)=>{let a,{next:t}=O;oe.indexOf(t)>-1||(t!=pe||(a=O.peek(1))!=pe&&a!=ce)&&t!=le&&t!=se&&-1!=t&&!e.context&&e.canShift(FO)&&O.acceptToken(FO)}),{contextual:!0}),Se=new d.Jq(((O,e)=>{let{next:a}=O;if((a==ue||a==de)&&(O.advance(),a==O.next)){O.advance();let a=!e.context&&e.canShift(HO);O.acceptToken(a?HO:KO)}}),{contextual:!0}),ge=new d.Jq((O=>{for(let e=!1,a=0;;a++){let{next:t}=O;if(t<0){a&&O.acceptToken(BO);break}if(t==fe){a?O.acceptToken(BO):O.acceptToken(Oe,1);break}if(t==$e&&e){1==a?O.acceptToken(MO,1):O.acceptToken(BO,-1);break}if(10==t&&a){O.advance(),O.acceptToken(BO);break}t==We&&O.advance(),e=t==Pe,O.advance()}}));function ye(O,e){return"extends"==O&&e.dialectEnabled(ne)?ae:-1}const be={__proto__:null,export:16,as:21,from:25,default:30,async:35,function:36,this:46,true:54,false:54,void:60,typeof:64,null:78,super:80,new:114,await:131,yield:133,delete:134,class:144,extends:146,public:189,private:189,protected:189,readonly:191,instanceof:212,in:214,const:216,import:248,keyof:299,unique:303,infer:309,is:343,abstract:363,implements:365,type:367,let:370,var:372,interface:379,enum:383,namespace:389,module:391,declare:395,global:399,for:420,of:429,while:432,with:436,do:440,if:444,else:446,switch:450,case:456,try:462,catch:464,finally:466,return:470,throw:474,break:478,continue:482,debugger:486},Re={__proto__:null,async:101,get:103,set:105,public:153,private:153,protected:153,static:155,abstract:157,override:159,readonly:165,new:347},Ye={__proto__:null,"<":121},xe=d.WQ.deserialize({version:13,states:"$1WO`QYOOO'QQ!LdO'#CgO'XOSO'#DSO)dQYO'#DXO)tQYO'#DdO){QYO'#DnO-xQYO'#DtOOQO'#EX'#EXO.]QWO'#EWO.bQWO'#EWOOQ!LS'#Eb'#EbO0aQ!LdO'#IqO2wQ!LdO'#IrO3eQWO'#EvO3jQpO'#F]OOQ!LS'#FO'#FOO3rO!bO'#FOO4QQWO'#FdO5_QWO'#FcOOQ!LS'#Ir'#IrOOQ!LQ'#Iq'#IqOOQQ'#J['#J[O5dQWO'#HjO5iQ!LYO'#HkOOQQ'#Ic'#IcOOQQ'#Hl'#HlQ`QYOOO){QYO'#DfO5qQWO'#GWO5vQ#tO'#ClO6UQWO'#EVO6aQWO'#EcO6fQ#tO'#E}O7QQWO'#GWO7VQWO'#G[O7bQWO'#G[O7pQWO'#G_O7pQWO'#G`O7pQWO'#GbO5qQWO'#GeO8aQWO'#GhO9oQWO'#CcO:PQWO'#GuO:XQWO'#G{O:XQWO'#G}O`QYO'#HPO:XQWO'#HRO:XQWO'#HUO:^QWO'#H[O:cQ!LZO'#H`O){QYO'#HbO:nQ!LZO'#HdO:yQ!LZO'#HfO5iQ!LYO'#HhO){QYO'#IsOOOS'#Hn'#HnO;UOSO,59nOOQ!LS,59n,59nO=gQbO'#CgO=qQYO'#HoO>OQWO'#ItO?}QbO'#ItO'dQYO'#ItO@UQWO,59sO@lQ&jO'#D^OAeQWO'#EXOArQWO'#JPOA}QWO'#JOOB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Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`,T!CO_$QW'U+{#vS'W%k'dpOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[Xe,Se,ge,0,1,2,3,4,5,6,7,8,Te],topRules:{Script:[0,6]},dialects:{jsx:11282,ts:11284},dynamicPrecedences:{145:1,172:1},specialized:[{term:284,get:(O,e)=>ye(O,e)<<1},{term:284,get:O=>be[O]||-1},{term:296,get:O=>Re[O]||-1},{term:59,get:O=>Ye[O]||-1}],tokenPrec:11305});var ke=a(26115);const Ze=[(0,ke.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,ke.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,ke.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,ke.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"block",type:"keyword"}),(0,ke.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,ke.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,ke.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],he=jO.qp.define({parser:xe.configure({props:[jO.uj.add({IfStatement:(0,jO.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,jO.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:jO.ze,SwitchBody:O=>{let e=O.textAfter,a=/^\s*\}/.test(e),t=/^\s*(case|default)\b/.test(e);return O.baseIndent+(a?0:t?1:2)*O.unit},Block:(0,jO.vw)({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"TemplateString BlockComment":()=>-1,"Statement Property":(0,jO.tC)({except:/^{/}),JSXElement(O){let e=/^\s*<\//.test(O.textAfter);return O.lineIndent(O.node.from)+(e?0:O.unit)},JSXEscape(O){let e=/\s*\}/.test(O.textAfter);return O.lineIndent(O.node.from)+(e?0:O.unit)},"JSXOpenTag JSXSelfClosingTag"(O){return O.column(O.node.from)+O.unit}}),jO.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":jO.Dv,BlockComment(O){return{from:O.from+2,to:O.to-2}}}),(0,GO.Gv)({"get set async static":GO.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":GO.pJ.controlKeyword,"in of await yield void typeof delete instanceof":GO.pJ.operatorKeyword,"let var const function class extends":GO.pJ.definitionKeyword,"import export from":GO.pJ.moduleKeyword,"with debugger as new":GO.pJ.keyword,TemplateString:GO.pJ.special(GO.pJ.string),Super:GO.pJ.atom,BooleanLiteral:GO.pJ.bool,this:GO.pJ.self,null:GO.pJ["null"],Star:GO.pJ.modifier,VariableName:GO.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":GO.pJ["function"](GO.pJ.variableName),VariableDefinition:GO.pJ.definition(GO.pJ.variableName),Label:GO.pJ.labelName,PropertyName:GO.pJ.propertyName,PrivatePropertyName:GO.pJ.special(GO.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":GO.pJ["function"](GO.pJ.propertyName),"FunctionDeclaration/VariableDefinition":GO.pJ["function"](GO.pJ.definition(GO.pJ.variableName)),"ClassDeclaration/VariableDefinition":GO.pJ.definition(GO.pJ.className),PropertyDefinition:GO.pJ.definition(GO.pJ.propertyName),PrivatePropertyDefinition:GO.pJ.definition(GO.pJ.special(GO.pJ.propertyName)),UpdateOp:GO.pJ.updateOperator,LineComment:GO.pJ.lineComment,BlockComment:GO.pJ.blockComment,Number:GO.pJ.number,String:GO.pJ.string,ArithOp:GO.pJ.arithmeticOperator,LogicOp:GO.pJ.logicOperator,BitOp:GO.pJ.bitwiseOperator,CompareOp:GO.pJ.compareOperator,RegExp:GO.pJ.regexp,Equals:GO.pJ.definitionOperator,"Arrow : Spread":GO.pJ.punctuation,"( )":GO.pJ.paren,"[ ]":GO.pJ.squareBracket,"{ }":GO.pJ.brace,".":GO.pJ.derefOperator,", ;":GO.pJ.separator,TypeName:GO.pJ.typeName,TypeDefinition:GO.pJ.definition(GO.pJ.typeName),"type enum interface implements namespace module declare":GO.pJ.definitionKeyword,"abstract global Privacy readonly override":GO.pJ.modifier,"is keyof unique infer":GO.pJ.operatorKeyword,JSXAttributeValue:GO.pJ.attributeValue,JSXText:GO.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":GO.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":GO.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":GO.pJ.attributeName})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),ve=he.configure({dialect:"ts"}),Ve=he.configure({dialect:"jsx"}),_e=he.configure({dialect:"jsx ts"});function we(O={}){let e=O.jsx?O.typescript?_e:Ve:O.typescript?ve:he;return new jO.ri(e,he.data.of({autocomplete:(0,ke.eC)(["LineComment","BlockComment","String"],(0,ke.Mb)(Ze))}))}var qe=a(58583),je=a(46941);const Ge=["_blank","_self","_top","_parent"],ze=["ascii","utf-8","utf-16","latin1","latin1"],Ue=["get","post","put","delete"],Le=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Ee=["true","false"],Je={},Ce={a:{attrs:{href:null,ping:null,type:null,media:null,target:Ge,hreflang:null}},abbr:Je,acronym:Je,address:Je,applet:Je,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Je,aside:Je,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Je,base:{attrs:{href:null,target:Ge}},basefont:Je,bdi:Je,bdo:Je,big:Je,blockquote:{attrs:{cite:null}},body:Je,br:Je,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Le,formmethod:Ue,formnovalidate:["novalidate"],formtarget:Ge,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Je,center:Je,cite:Je,code:Je,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Je,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Je,dir:Je,div:Je,dl:Je,dt:Je,em:Je,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Je,figure:Je,font:Je,footer:Je,form:{attrs:{action:null,name:null,"accept-charset":ze,autocomplete:["on","off"],enctype:Le,method:Ue,novalidate:["novalidate"],target:Ge}},frame:Je,frameset:Je,h1:Je,h2:Je,h3:Je,h4:Je,h5:Je,h6:Je,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Je,hgroup:Je,hr:Je,html:{attrs:{manifest:null}},i:Je,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Le,formmethod:Ue,formnovalidate:["novalidate"],formtarget:Ge,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Je,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Je,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Je,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ze,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Je,noframes:Je,noscript:Je,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Je,param:{attrs:{name:null,value:null}},pre:Je,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Je,rt:Je,ruby:Je,s:Je,samp:Je,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ze}},section:Je,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},small:Je,source:{attrs:{src:null,type:null,media:null}},span:Je,strike:Je,strong:Je,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Je,summary:Je,sup:Je,table:Je,tbody:Je,td:{attrs:{colspan:null,rowspan:null,headers:null}},textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Je,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Je,time:{attrs:{datetime:null}},title:Je,tr:Je,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:Je,u:Je,ul:{children:["li","script","template","ul","ol"]},var:Je,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Je},De={accesskey:null,class:null,contenteditable:Ee,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Ee,autocorrect:Ee,autocapitalize:Ee,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Ee,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Ee,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Ee,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Ee,"aria-hidden":Ee,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Ee,"aria-multiselectable":Ee,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Ee,"aria-relevant":null,"aria-required":Ee,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Ne=Object.keys(Ce),Ae=Object.keys(De);function Ie(O,e,a=O.length){if(!e)return"";let t=e.firstChild,Q=t&&t.getChild("TagName");return Q?O.sliceString(Q.from,Math.min(Q.to,a)):""}function Fe(O,e=!1){for(let a=O.parent;a;a=a.parent)if("Element"==a.name){if(!e)return a;e=!1}return null}function He(O,e){let a=Ce[Ie(O,Fe(e,!0))];return(null===a||void 0===a?void 0:a.children)||Ne}function Ke(O,e){let a=[];for(let t=e;t=Fe(t);){let Q=Ie(O,t);if(Q&&"CloseTag"==t.lastChild.name)break;Q&&a.indexOf(Q)<0&&("EndTag"==e.name||e.from>=t.firstChild.to)&&a.push(Q)}return a}const Be=/^[:\-\.\w\u00b7-\uffff]+$/;function Me(O,e,a,t){let Q=/\s*>/.test(O.sliceDoc(t,t+5))?"":">";return{from:a,to:t,options:He(O.doc,e).map((O=>({label:O,type:"type"}))).concat(Ke(O.doc,e).map(((O,e)=>({label:"/"+O,apply:"/"+O+Q,type:"type",boost:99-e})))),span:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Oa(O,e,a,t){let Q=/\s*>/.test(O.sliceDoc(t,t+5))?"":">";return{from:a,to:t,options:Ke(O.doc,e).map(((O,e)=>({label:O,apply:O+Q,type:"type",boost:99-e}))),span:Be}}function ea(O,e,a){let t=[],Q=0;for(let i of He(O.doc,e))t.push({label:"<"+i,type:"type"});for(let i of Ke(O.doc,e))t.push({label:"",type:"type",boost:99-Q++});return{from:a,to:a,options:t,span:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function aa(O,e,a,t){let Q=Fe(e),i=Q?Ce[Ie(O.doc,Q)]:null,r=i&&i.attrs?Object.keys(i.attrs).concat(Ae):Ae;return{from:a,to:t,options:r.map((O=>({label:O,type:"property"}))),span:Be}}function ta(O,e,a,t){var Q;let i,r=null===(Q=e.parent)||void 0===Q?void 0:Q.getChild("AttributeName"),n=[];if(r){let Q=O.sliceDoc(r.from,r.to),o=De[Q];if(!o){let a=Fe(e),t=a?Ce[Ie(O.doc,a)]:null;o=(null===t||void 0===t?void 0:t.attrs)&&t.attrs[Q]}if(o){let e=O.sliceDoc(a,t).toLowerCase(),Q='"',r='"';/^['"]/.test(e)?(i='"'==e[0]?/^[^"]*$/:/^[^']*$/,Q="",r=O.sliceDoc(t,t+1)==e[0]?"":e[0],e=e.slice(1),a++):i=/^[^\s<>='"]*$/;for(let O of o)n.push({label:O,apply:Q+O+r,type:"constant"})}}return{from:a,to:t,options:n,span:i}}function Qa(O){let{state:e,pos:a}=O,t=(0,jO.qz)(e).resolveInner(a),Q=t.resolve(a,-1);for(let i,r=a;t==Q&&(i=Q.childBefore(r));){let O=i.lastChild;if(!O||!O.type.isError||O.from{if(O.composing||O.state.readOnly||e!=a||">"!=t&&"/"!=t||!ia.isActiveAt(O.state,e,-1))return!1;let{state:Q}=O,i=Q.changeByRange((O=>{var e,a,i;let r,{head:n}=O,o=(0,jO.qz)(Q).resolveInner(n,-1);if("TagName"!=o.name&&"StartTag"!=o.name||(o=o.parent),">"==t&&"OpenTag"==o.name){if("CloseTag"!=(null===(a=null===(e=o.parent)||void 0===e?void 0:e.lastChild)||void 0===a?void 0:a.name)&&(r=Ie(Q.doc,o.parent,n)))return{range:je.jT.cursor(n+1),changes:{from:n,insert:`>`}}}else if("/"==t&&"OpenTag"==o.name){let O=o.parent,e=null===O||void 0===O?void 0:O.parent;if(O.from==n-1&&"CloseTag"!=(null===(i=e.lastChild)||void 0===i?void 0:i.name)&&(r=Ie(Q.doc,e,n))){let O=`/${r}>`;return{range:je.jT.cursor(n+O.length),changes:{from:n,insert:O}}}}return{range:O}}));return!i.changes.empty&&(O.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)}));var la={ftl:na(),css:IO(),js:we()},$a={components:{Codemirror:u.Z,ThemeFile:p,PageView:c.B4},data:function(){return{themes:{data:[],loading:!1,selectedId:null},files:{data:[],loading:!1,selected:{},content:"",saving:!1,saveErrored:!1},editor:{languageExtensionsMap:la,extensions:[]}}},created:function(){this.handleListThemes()},methods:{handleListThemes:function(){var O=this;this.themes.loading=!0,n.Z.theme.list().then((function(e){O.themes.data=e.data;var a=O.themes.data.find((function(O){return O.activated}));a&&(O.themes.selectedId=a.id,O.onSelectTheme(a.id))})).finally((function(){O.themes.loading=!1}))},onSelectTheme:function(O){var e=this;this.files.data=[],this.files.loading=!0,n.Z.theme.listFiles(O).then((function(O){e.files.data=O.data,e.files.content="",e.files.selected={}})).finally((function(){e.files.loading=!1}))},handleSelectFile:function(O){var e=this,a=this;if(!O.editable)return this.$message.info("该文件不支持修改!"),this.files.content="",this.files.selected={},void this.handleInitEditor();["settings.yaml","settings.yml","theme.yaml","theme.yml"].includes(O.name)&&this.$confirm({title:"警告:请谨慎修改该配置文件",content:"修改之后可能会产生不可预料的问题!",onCancel:function(){a.files.content="",a.files.selected={},a.handleInitEditor()}}),n.Z.theme.getTemplateContent(this.themes.selectedId,O.path).then((function(a){e.files.content=a.data,e.files.selected=O,e.handleInitEditor()}))},handlerSaveContent:function(){var O=this;this.files.saving=!0,n.Z.theme.updateTemplateContent(this.themes.selectedId,{path:this.files.selected.path,content:this.files.content}).catch((function(){O.files.saveErrored=!0})).finally((function(){setTimeout((function(){O.files.saving=!1}),400)}))},handleInitEditor:function(){var O=this;this.$nextTick((function(){var e=O.files.selected.name;if(e){var a=e.substring(e.lastIndexOf(".")+1);O.editor.extensions=[O.editor.languageExtensionsMap[a]]}O.$refs.editor.handleInitCodemirror()}))}}},sa=$a,pa=(0,$.Z)(sa,i,r,!1,null,null,null),ca=pa.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/694.9cb0453f.js b/src/main/resources/admin/js/816.a05417e8.js similarity index 97% rename from src/main/resources/admin/js/694.9cb0453f.js rename to src/main/resources/admin/js/816.a05417e8.js index 362e8df79..941dde960 100644 --- a/src/main/resources/admin/js/694.9cb0453f.js +++ b/src/main/resources/admin/js/816.a05417e8.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[694],{23694:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-view",[a("a-row",{attrs:{gutter:12}},[a("a-col",{staticClass:"pb-3",attrs:{lg:10,md:10,sm:24,xl:10,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:e.title}},[a("a-form-model",{ref:"tagForm",attrs:{model:e.form.model,rules:e.form.rules,layout:"horizontal"}},[a("a-form-model-item",{attrs:{help:"* 页面上所显示的名称",label:"名称:",prop:"name"}},[a("a-input",{model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),a("a-form-model-item",{attrs:{help:"* 一般为单个标签页面的标识,最好为英文",label:"别名:",prop:"slug"}},[a("a-input",{model:{value:e.form.model.slug,callback:function(t){e.$set(e.form.model,"slug",t)},expression:"form.model.slug"}})],1),a("a-form-model-item",{attrs:{label:"颜色:",prop:"color"}},[a("a-input",{scopedSlots:e._u([{key:"addonAfter",fn:function(){return[a("verte",{staticStyle:{cursor:"pointer"},attrs:{model:"hex",picker:"square"},model:{value:e.form.model.color,callback:function(t){e.$set(e.form.model,"color",t)},expression:"form.model.color"}})]},proxy:!0}]),model:{value:e.form.model.color,callback:function(t){e.$set(e.form.model,"color",t)},expression:"form.model.color"}})],1),a("a-form-model-item",{attrs:{help:"* 在标签页面可展示,需要主题支持",label:"封面图:",prop:"thumbnail"}},[a("AttachmentInput",{attrs:{title:"选择封面图"},model:{value:e.form.model.thumbnail,callback:function(t){e.$set(e.form.model,"thumbnail",t)},expression:"form.model.thumbnail"}})],1),a("a-form-model-item",[e.isUpdateMode?a("a-button-group",[a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"更新失败",loadedText:"更新成功",text:"更新",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateTag}}),a("a-button",{attrs:{type:"dashed"},on:{click:function(t){e.form.model={}}}},[e._v("返回添加")])],1):a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateTag}}),e.isUpdateMode?a("a-popconfirm",{attrs:{title:"你确定要删除【"+e.form.model.name+"】标签?",cancelText:"取消",okText:"确定"},on:{confirm:function(t){return e.handleDeleteTag(e.form.model.id)}}},[a("a-button",{staticClass:"float-right",attrs:{type:"danger"}},[e._v("删除")])],1):e._e()],1)],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:14,md:14,sm:24,xl:14,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:"所有标签"}},[a("a-spin",{attrs:{spinning:e.list.loading}},[0===e.list.data.length?a("a-empty"):e._l(e.list.data,(function(t){return a("a-tooltip",{key:t.id,attrs:{placement:"topLeft"}},[a("template",{slot:"title"},[a("span",[e._v(e._s(t.postCount)+" 篇文章")])]),a("post-tag",{staticStyle:{"margin-bottom":"8px",cursor:"pointer"},attrs:{tag:t},nativeOn:{click:function(a){return e.handleEdit(t)}}})],2)}))],2)],1)],1)],1)],1)},r=[],l=(a(31875),a(27474)),n=a(17132),i=a(82676),d=a(43154),m={components:{PageView:l.B4,Verte:d.Z},data:function(){return{list:{data:[],loading:!1},form:{model:{color:"#cfd3d7"},saving:!1,errored:!1,rules:{name:[{required:!0,message:"* 标签名称不能为空",trigger:["change"]},{max:255,message:"* 标签名称的字符长度不能超过 255",trigger:["change"]}],slug:[{max:255,message:"* 标签别名的字符长度不能超过 255",trigger:["change"]}],thumbnail:[{max:1023,message:"* 封面图链接的字符长度不能超过 1023",trigger:["change"]}],color:[{max:7,pattern:i.aX,message:"仅支持 hex 颜色值"}]}}}},computed:{title:function(){return this.isUpdateMode?"修改标签":"添加标签"},isUpdateMode:function(){return!!this.form.model.id}},created:function(){this.handleListTags()},methods:{handleEdit:function(e){this.form.model=e,this.$refs.tagForm.clearValidate()},handleListTags:function(){var e=this;this.list.loading=!0,n.Z.tag.list({more:!0}).then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleDeleteTag:function(e){var t=this;n.Z.tag["delete"](e).finally((function(){t.form.model={color:"#cfd3d7"},t.handleListTags()}))},handleCreateOrUpdateTag:function(){var e=this,t=this;t.$refs.tagForm.validate((function(a){a&&(e.form.saving=!0,t.isUpdateMode?n.Z.tag.update(t.form.model.id,t.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})):n.Z.tag.create(t.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})))}))},handleSavedCallback:function(){var e=this;e.form.errored?e.form.errored=!1:(e.form.model={color:"#cfd3d7"},e.handleListTags())}}},s=m,c=a(42177),f=(0,c.Z)(s,o,r,!1,null,null,null),u=f.exports}}]); \ No newline at end of file +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[816],{58816:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-view",[a("a-row",{attrs:{gutter:12}},[a("a-col",{staticClass:"pb-3",attrs:{lg:10,md:10,sm:24,xl:10,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:e.title}},[a("a-form-model",{ref:"tagForm",attrs:{model:e.form.model,rules:e.form.rules,layout:"horizontal"}},[a("a-form-model-item",{attrs:{help:"* 页面上所显示的名称",label:"名称:",prop:"name"}},[a("a-input",{model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),a("a-form-model-item",{attrs:{help:"* 一般为单个标签页面的标识,最好为英文",label:"别名:",prop:"slug"}},[a("a-input",{model:{value:e.form.model.slug,callback:function(t){e.$set(e.form.model,"slug",t)},expression:"form.model.slug"}})],1),a("a-form-model-item",{attrs:{label:"颜色:",prop:"color"}},[a("a-input",{scopedSlots:e._u([{key:"addonAfter",fn:function(){return[a("verte",{staticStyle:{cursor:"pointer"},attrs:{model:"hex",picker:"square"},model:{value:e.form.model.color,callback:function(t){e.$set(e.form.model,"color",t)},expression:"form.model.color"}})]},proxy:!0}]),model:{value:e.form.model.color,callback:function(t){e.$set(e.form.model,"color",t)},expression:"form.model.color"}})],1),a("a-form-model-item",{attrs:{help:"* 在标签页面可展示,需要主题支持",label:"封面图:",prop:"thumbnail"}},[a("AttachmentInput",{attrs:{title:"选择封面图"},model:{value:e.form.model.thumbnail,callback:function(t){e.$set(e.form.model,"thumbnail",t)},expression:"form.model.thumbnail"}})],1),a("a-form-model-item",[e.isUpdateMode?a("a-button-group",[a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"更新失败",loadedText:"更新成功",text:"更新",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateTag}}),a("a-button",{attrs:{type:"dashed"},on:{click:function(t){e.form.model={}}}},[e._v("返回添加")])],1):a("ReactiveButton",{attrs:{errored:e.form.errored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:e.handleSavedCallback,click:e.handleCreateOrUpdateTag}}),e.isUpdateMode?a("a-popconfirm",{attrs:{title:"你确定要删除【"+e.form.model.name+"】标签?",cancelText:"取消",okText:"确定"},on:{confirm:function(t){return e.handleDeleteTag(e.form.model.id)}}},[a("a-button",{staticClass:"float-right",attrs:{type:"danger"}},[e._v("删除")])],1):e._e()],1)],1)],1)],1),a("a-col",{staticClass:"pb-3",attrs:{lg:14,md:14,sm:24,xl:14,xs:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},title:"所有标签"}},[a("a-spin",{attrs:{spinning:e.list.loading}},[0===e.list.data.length?a("a-empty"):e._l(e.list.data,(function(t){return a("a-tooltip",{key:t.id,attrs:{placement:"topLeft"}},[a("template",{slot:"title"},[a("span",[e._v(e._s(t.postCount)+" 篇文章")])]),a("post-tag",{staticStyle:{"margin-bottom":"8px",cursor:"pointer"},attrs:{tag:t},nativeOn:{click:function(a){return e.handleEdit(t)}}})],2)}))],2)],1)],1)],1)],1)},r=[],l=(a(31875),a(22401)),n=a(62210),i=a(98994),d=a(43154),m={components:{PageView:l.B4,Verte:d.Z},data:function(){return{list:{data:[],loading:!1},form:{model:{color:"#cfd3d7"},saving:!1,errored:!1,rules:{name:[{required:!0,message:"* 标签名称不能为空",trigger:["change"]},{max:255,message:"* 标签名称的字符长度不能超过 255",trigger:["change"]}],slug:[{max:255,message:"* 标签别名的字符长度不能超过 255",trigger:["change"]}],thumbnail:[{max:1023,message:"* 封面图链接的字符长度不能超过 1023",trigger:["change"]}],color:[{max:7,pattern:i.aX,message:"仅支持 hex 颜色值"}]}}}},computed:{title:function(){return this.isUpdateMode?"修改标签":"添加标签"},isUpdateMode:function(){return!!this.form.model.id}},created:function(){this.handleListTags()},methods:{handleEdit:function(e){this.form.model=e,this.$refs.tagForm.clearValidate()},handleListTags:function(){var e=this;this.list.loading=!0,n.Z.tag.list({more:!0}).then((function(t){e.list.data=t.data})).finally((function(){e.list.loading=!1}))},handleDeleteTag:function(e){var t=this;n.Z.tag["delete"](e).finally((function(){t.form.model={color:"#cfd3d7"},t.handleListTags()}))},handleCreateOrUpdateTag:function(){var e=this,t=this;t.$refs.tagForm.validate((function(a){a&&(e.form.saving=!0,t.isUpdateMode?n.Z.tag.update(t.form.model.id,t.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})):n.Z.tag.create(t.form.model).catch((function(){e.form.errored=!0})).finally((function(){setTimeout((function(){t.form.saving=!1}),400)})))}))},handleSavedCallback:function(){var e=this;e.form.errored?e.form.errored=!1:(e.form.model={color:"#cfd3d7"},e.handleListTags())}}},s=m,c=a(42177),f=(0,c.Z)(s,o,r,!1,null,null,null),u=f.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/787.71a62ef4.js b/src/main/resources/admin/js/820.92207c66.js similarity index 61% rename from src/main/resources/admin/js/787.71a62ef4.js rename to src/main/resources/admin/js/820.92207c66.js index 1618769f0..5009a2516 100644 --- a/src/main/resources/admin/js/787.71a62ef4.js +++ b/src/main/resources/admin/js/820.92207c66.js @@ -1 +1 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[787],{20787:function(t,e,n){n.r(e),n.d(e,{default:function(){return I}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[n("div",{staticClass:"card-container"},[n("a-tabs",{attrs:{type:"card"},model:{value:t.activeKey,callback:function(e){t.activeKey=e},expression:"activeKey"}},t._l(t.panes,(function(e){return n("a-tab-pane",{key:e.key},[n("span",{attrs:{slot:"tab"},slot:"tab"},[n("a-icon",{attrs:{type:e.icon}}),t._v(t._s(e.title)+" ")],1),n(e.component,{tag:"component"})],1)})),1)],1)])],1)],1)},s=[],i=n(27474),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.isMobile()?n("a-list",{attrs:{dataSource:t.independentSheets,loading:t.loading,pagination:!1,itemLayout:"vertical",size:"large"},scopedSlots:t._u([{key:"renderItem",fn:function(e,a){return n("a-list-item",{key:a},[n("template",{slot:"actions"},[n("span",[n("router-link",{attrs:{to:{name:e.routeName}}},[n("a-icon",{attrs:{type:"edit"}})],1)],1)]),n("template",{slot:"extra"},[e.available?n("span",[t._v("可用")]):n("span",[t._v("不可用 "),n("a-tooltip",{attrs:{slot:"action",title:"当前主题没有对应模板"},slot:"action"},[n("a-icon",{attrs:{type:"info-circle-o"}})],1)],1)]),n("a-list-item-meta",[n("span",{staticStyle:{"max-width":"300px",display:"block","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"},attrs:{slot:"title"},slot:"title"},[e.available?n("a",{attrs:{href:e.fullPath,target:"_blank"}},[t._v(t._s(e.title))]):n("a",{attrs:{href:e.fullPath,disabled:"",target:"_blank"}},[t._v(t._s(e.title))])])])],2)}}],null,!1,490164655)}):n("a-table",{attrs:{columns:t.independentColumns,dataSource:t.independentSheets,loading:t.loading,pagination:!1,rowKey:function(t){return t.id}},scopedSlots:t._u([{key:"available",fn:function(e){return[e?n("span",[t._v("可用")]):n("span",[t._v(" 不可用 "),n("a-tooltip",{attrs:{slot:"action",title:"当前主题没有对应模板"},slot:"action"},[n("a-icon",{attrs:{type:"info-circle-o"}})],1)],1)]}},{key:"action",fn:function(e,a){return n("span",{},[n("router-link",{attrs:{to:{name:a.routeName}}},[n("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("管理")])],1),n("a-divider",{attrs:{type:"vertical"}}),a.available?n("a",{attrs:{href:a.fullPath,target:"_blank"}},[t._v("访问")]):n("a",{attrs:{href:a.fullPath,disabled:"",target:"_blank"}},[t._v("访问")])],1)}}])})],1)},o=[],l=n(47458),c=(n(70315),n(91411)),u=n(17132),d=[{title:"页面名称",dataIndex:"title"},{title:"访问地址",dataIndex:"fullPath"},{title:"状态",dataIndex:"available",scopedSlots:{customRender:"available"}},{title:"操作",dataIndex:"action",width:"150px",scopedSlots:{customRender:"action"}}],h={name:"IndependentSheetList",mixins:[c.jB,c.KT],data:function(){return{independentColumns:d,independentSheets:[],loading:!1}},created:function(){this.handleListIndependentSheets()},methods:{handleListIndependentSheets:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.Z.sheet.listIndependents();case 3:n=e.sent,a=n.data,t.independentSheets=a,e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),t.$log.error(e.t0);case 11:return e.prev=11,t.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()}}},p=h,f=n(42177),m=(0,f.Z)(p,r,o,!1,null,null,null),g=m.exports,v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.isMobile()?n("a-list",{attrs:{dataSource:t.list.data,loading:t.list.loading,pagination:!1,itemLayout:"vertical",size:"large"},scopedSlots:t._u([{key:"renderItem",fn:function(e,a){return[n("a-list-item",{key:a,scopedSlots:t._u([{key:"actions",fn:function(){return[n("span",[n("a-icon",{attrs:{type:"eye"}}),t._v(" "+t._s(e.visits)+" ")],1),n("span",{on:{click:function(n){return t.handleOpenSheetComments(e)}}},[n("a-icon",{attrs:{type:"message"}}),t._v(" "+t._s(e.commentCount)+" ")],1),n("a-dropdown",{attrs:{trigger:["click"],placement:"topLeft"},scopedSlots:t._u([{key:"overlay",fn:function(){return[n("a-menu",["PUBLISHED"===e.status||"DRAFT"===e.status?n("a-menu-item",{on:{click:function(n){return t.handleEditClick(e)}}},[t._v(" 编辑 ")]):"RECYCLE"===e.status?n("a-menu-item",[n("a-popconfirm",{attrs:{title:"你确定要发布【"+e.title+"】页面?",cancelText:"取消",okText:"确定"},on:{confirm:function(n){return t.handleChangeStatus(e.id,"PUBLISHED")}}},[t._v(" 还原 ")])],1):t._e(),"PUBLISHED"===e.status||"DRAFT"===e.status?n("a-menu-item",[n("a-popconfirm",{attrs:{title:"你确定要删除【"+e.title+"】页面?",cancelText:"取消",okText:"确定"},on:{confirm:function(n){return t.handleChangeStatus(e.id,"RECYCLE")}}},[t._v(" 删除 ")])],1):"RECYCLE"===e.status?n("a-menu-item",[n("a-popconfirm",{attrs:{title:"你确定要永久删除【"+e.title+"】页面?",cancelText:"取消",okText:"确定"},on:{confirm:function(n){return t.handleDelete(e.id)}}},[t._v(" 永久删除 ")])],1):t._e(),n("a-menu-item",{on:{click:function(n){return t.handleOpenSheetSettings(e)}}},[t._v("设置")])],1)]},proxy:!0}],null,!0)},[n("span",[n("a-icon",{attrs:{type:"bars"}})],1)])]},proxy:!0},{key:"extra",fn:function(){return[n("a-badge",{attrs:{status:t.sheetStatuses[e.status].status,text:t._f("statusText")(e.status)}})]},proxy:!0}],null,!0)},[n("a-list-item-meta",{scopedSlots:t._u([{key:"description",fn:function(){return[t._v(" "+t._s(t._f("moment")(e.createTime))+" ")]},proxy:!0},{key:"title",fn:function(){return[n("div",{staticStyle:{"max-width":"300px",display:"block","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis"}},[e.inProgress?n("a-tooltip",{attrs:{placement:"top",title:"当前有内容已保存,但还未发布。"}},[n("a-icon",{staticClass:"cursor-pointer",staticStyle:{"margin-right":"3px"},attrs:{theme:"twoTone",twoToneColor:"#52c41a",type:"info-circle"},on:{click:function(n){return t.handleEditClick(e)}}})],1):t._e(),"PUBLISHED"===e.status?n("a-tooltip",{attrs:{title:"点击访问【"+e.title+"】",placement:"top"}},[n("a",{staticClass:"no-underline",attrs:{href:e.fullPath,target:"_blank"}},[t._v(" "+t._s(e.title)+" ")])]):"DRAFT"===e.status?n("a-tooltip",{attrs:{title:"点击预览【"+e.title+"】",placement:"top"}},[n("a",{staticClass:"no-underline",attrs:{href:"javascript:void(0);"},on:{click:function(n){return t.handlePreview(e.id)}}},[t._v(" "+t._s(e.title)+" ")])]):n("a-button",{staticClass:"!p-0",attrs:{disabled:"",type:"link"}},[t._v(" "+t._s(e.title)+" ")])],1)]},proxy:!0}],null,!0)}),e.summary?n("div",{staticClass:"block"},[n("span",[t._v(" "+t._s(e.summary)+"... ")])]):t._e()],1)]}}],null,!1,709425344)}):n("a-table",{attrs:{columns:t.customColumns,dataSource:t.list.data,loading:t.list.loading,pagination:!1,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"sheetTitle",fn:function(e,a){return[a.inProgress?n("a-tooltip",{attrs:{placement:"top",title:"当前有内容已保存,但还未发布。"}},[n("a-icon",{staticClass:"cursor-pointer",staticStyle:{"margin-right":"3px"},attrs:{theme:"twoTone",twoToneColor:"#52c41a",type:"info-circle"},on:{click:function(e){return t.handleEditClick(a)}}})],1):t._e(),"PUBLISHED"===a.status?n("a-tooltip",{attrs:{title:"点击访问【"+e+"】",placement:"top"}},[n("a",{staticClass:"no-underline",attrs:{href:a.fullPath,target:"_blank"}},[t._v(" "+t._s(e)+" ")])]):"DRAFT"===a.status?n("a-tooltip",{attrs:{title:"点击预览【"+e+"】",placement:"top"}},[n("a",{staticClass:"no-underline",attrs:{href:"javascript:void(0);"},on:{click:function(e){return t.handlePreview(a.id)}}},[t._v(" "+t._s(e)+" ")])]):n("a-button",{staticClass:"!p-0",attrs:{disabled:"",type:"link"}},[t._v(" "+t._s(e)+" ")])]}},{key:"status",fn:function(e){return[n("a-badge",{attrs:{status:t.sheetStatuses[e].status,text:t._f("statusText")(e)}})]}},{key:"commentCount",fn:function(e,a){return[n("a-badge",{staticClass:"cursor-pointer",attrs:{count:a.commentCount,numberStyle:{backgroundColor:"#f38181"},overflowCount:999,showZero:!0},on:{click:function(e){return t.handleOpenSheetComments(a)}}})]}},{key:"visits",fn:function(t){return[n("a-badge",{attrs:{count:t,numberStyle:{backgroundColor:"#00e0ff"},overflowCount:9999,showZero:!0}})]}},{key:"createTime",fn:function(e){return[n("a-tooltip",{attrs:{placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" "+t._s(t._f("moment")(e))+" ")]},proxy:!0}],null,!0)},[t._v(" "+t._s(t._f("timeAgo")(e))+" ")])]}},{key:"action",fn:function(e,a){return["PUBLISHED"===a.status||"DRAFT"===a.status?n("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(e){return t.handleEditClick(a)}}},[t._v(" 编辑 ")]):"RECYCLE"===a.status?n("a-popconfirm",{attrs:{title:"你确定要发布【"+a.title+"】?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleChangeStatus(a.id,"PUBLISHED")}}},[n("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("还原")])],1):t._e(),n("a-divider",{attrs:{type:"vertical"}}),"PUBLISHED"===a.status||"DRAFT"===a.status?n("a-popconfirm",{attrs:{title:"你确定要删除【"+a.title+"】页面?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleChangeStatus(a.id,"RECYCLE")}}},[n("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("删除")])],1):"RECYCLE"===a.status?n("a-popconfirm",{attrs:{title:"你确定要永久删除【"+a.title+"】页面?",cancelText:"取消",okText:"确定"},on:{confirm:function(e){return t.handleDelete(a.id)}}},[n("a-button",{staticClass:"!p-0",attrs:{type:"link"}},[t._v("永久删除")])],1):t._e(),n("a-divider",{attrs:{type:"vertical"}}),n("a-button",{staticClass:"!p-0",attrs:{type:"link"},on:{click:function(e){return t.handleOpenSheetSettings(a)}}},[t._v("设置")])]}}])}),n("div",{staticClass:"page-wrapper"},[n("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1),n("SheetSettingModal",{attrs:{loading:t.sheetSettingLoading,savedCallback:t.onSheetSavedCallback,sheet:t.list.selected,visible:t.sheetSettingVisible},on:{"update:visible":function(e){t.sheetSettingVisible=e},onClose:function(e){t.list.selected={}}},scopedSlots:t._u([{key:"extraFooter",fn:function(){return[n("a-button",{attrs:{disabled:t.selectPreviousButtonDisabled},on:{click:t.handleSelectPrevious}},[t._v(" 上一篇")]),n("a-button",{attrs:{disabled:t.selectNextButtonDisabled},on:{click:t.handleSelectNext}},[t._v(" 下一篇")])]},proxy:!0}])}),n("TargetCommentListModal",{attrs:{"target-id":t.list.selected.id,title:"「"+t.list.selected.title+"」的评论",visible:t.sheetCommentVisible,target:"sheet"},on:{"update:visible":function(e){t.sheetCommentVisible=e},close:t.onSheetCommentsClose},scopedSlots:t._u([{key:"extraFooter",fn:function(){return[n("a-button",{attrs:{disabled:t.selectPreviousButtonDisabled},on:{click:t.handleSelectPrevious}},[t._v(" 上一篇")]),n("a-button",{attrs:{disabled:t.selectNextButtonDisabled},on:{click:t.handleSelectNext}},[t._v(" 下一篇")])]},proxy:!0}])})],1)},S=[],k=(n(15928),n(41479),n(3045)),x=n(13170),b=n(94671),_=[{title:"标题",dataIndex:"title",ellipsis:!0,scopedSlots:{customRender:"sheetTitle"}},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"}},{title:"评论量",dataIndex:"commentCount",scopedSlots:{customRender:"commentCount"}},{title:"访问量",dataIndex:"visits",scopedSlots:{customRender:"visits"}},{title:"发布时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"}},{title:"操作",width:"200px",scopedSlots:{customRender:"action"}}],C={name:"CustomSheetList",mixins:[c.jB,c.KT],components:{SheetSettingModal:k.Z,TargetCommentListModal:x.Z},data:function(){return{customColumns:_,sheetStatuses:b.Zi,list:{data:[],loading:!1,total:0,hasPrevious:!1,hasNext:!1,params:{page:0,size:10},selected:{}},sheetSettingVisible:!1,sheetSettingLoading:!1,sheetCommentVisible:!1}},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},selectPreviousButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.selected.id}));return 0===e&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var t=this,e=this.list.data.findIndex((function(e){return e.id===t.list.selected.id}));return e===this.list.data.length-1&&!this.list.hasNext}},created:function(){this.handleListSheets()},methods:{handleListSheets:function(){var t=arguments,e=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){var a,s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=!(t.length>0&&void 0!==t[0])||t[0],n.prev=1,a&&(e.list.loading=!0),n.next=5,u.Z.sheet.list(e.list.params);case 5:s=n.sent,i=s.data,e.list.data=i.content,e.list.total=i.total,e.list.hasPrevious=i.hasPrevious,e.list.hasNext=i.hasNext,n.next=16;break;case 13:n.prev=13,n.t0=n["catch"](1),e.$log.error(n.t0);case 16:return n.prev=16,e.list.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[1,13,16,19]])})))()},handleEditClick:function(t){this.$router.push({name:"SheetEdit",query:{sheetId:t.id}})},handleChangeStatus:function(t,e){var n=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,u.Z.sheet.updateStatusById(t,e);case 3:n.$message.success("操作成功!"),a.next=9;break;case 6:a.prev=6,a.t0=a["catch"](0),n.$log.error("Failed to change sheet status",a.t0);case 9:return a.prev=9,a.next=12,n.handleListSheets();case 12:return a.finish(9);case 13:case"end":return a.stop()}}),a,null,[[0,6,9,13]])})))()},handleDelete:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,u.Z.sheet["delete"](t);case 3:e.$message.success("删除成功!"),n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),e.$log.error("Failed to delete sheet",n.t0);case 9:return n.prev=9,n.next=12,e.handleListSheets();case 12:return n.finish(9);case 13:case"end":return n.stop()}}),n,null,[[0,6,9,13]])})))()},handleOpenSheetSettings:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){var a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,e.sheetSettingVisible=!0,e.sheetSettingLoading=!0,n.next=5,u.Z.sheet.get(t.id);case 5:a=n.sent,s=a.data,e.list.selected=s,n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](0),e.$log.error("Failed to open sheet settings",n.t0);case 13:return n.prev=13,e.sheetSettingLoading=!1,n.finish(13);case 16:case"end":return n.stop()}}),n,null,[[0,10,13,16]])})))()},handleOpenSheetComments:function(t){this.list.selected=t,this.sheetCommentVisible=!0},handlePreview:function(t){u.Z.sheet.getPreviewLinkById(t).then((function(t){window.open(t,"_blank")}))},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListSheets()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListSheets()},onSheetCommentsClose:function(){this.sheetCommentVisible=!1,this.list.selected={},this.handleListSheets(!1)},onSheetSavedCallback:function(){this.handleListSheets(!1)},handleSelectPrevious:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(n>0)){e.next=9;break}return t.sheetSettingLoading=!0,e.next=5,u.Z.sheet.get(t.list.data[n-1].id);case 5:return a=e.sent,t.list.selected=a.data,t.sheetSettingLoading=!1,e.abrupt("return");case 9:if(0!==n||!t.list.hasPrevious){e.next=19;break}return t.list.params.page--,e.next=13,t.handleListPosts();case 13:return t.sheetSettingLoading=!0,e.next=16,u.Z.sheet.get(t.list.data[t.list.data.length-1].id);case 16:s=e.sent,t.list.selected=s.data,t.sheetSettingLoading=!1;case 19:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(n0&&void 0!==t[0])||t[0],n.prev=1,a&&(e.list.loading=!0),n.next=5,u.Z.sheet.list(e.list.params);case 5:s=n.sent,i=s.data,e.list.data=i.content,e.list.total=i.total,e.list.hasPrevious=i.hasPrevious,e.list.hasNext=i.hasNext,n.next=16;break;case 13:n.prev=13,n.t0=n["catch"](1),e.$log.error(n.t0);case 16:return n.prev=16,e.list.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[1,13,16,19]])})))()},handleEditClick:function(t){this.$router.push({name:"SheetEdit",query:{sheetId:t.id}})},handleChangeStatus:function(t,e){var n=this;return(0,l.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,u.Z.sheet.updateStatusById(t,e);case 3:n.$message.success("操作成功!"),a.next=9;break;case 6:a.prev=6,a.t0=a["catch"](0),n.$log.error("Failed to change sheet status",a.t0);case 9:return a.prev=9,a.next=12,n.handleListSheets();case 12:return a.finish(9);case 13:case"end":return a.stop()}}),a,null,[[0,6,9,13]])})))()},handleDelete:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,u.Z.sheet["delete"](t);case 3:e.$message.success("删除成功!"),n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),e.$log.error("Failed to delete sheet",n.t0);case 9:return n.prev=9,n.next=12,e.handleListSheets();case 12:return n.finish(9);case 13:case"end":return n.stop()}}),n,null,[[0,6,9,13]])})))()},handleOpenSheetSettings:function(t){var e=this;return(0,l.Z)(regeneratorRuntime.mark((function n(){var a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,e.sheetSettingVisible=!0,e.sheetSettingLoading=!0,n.next=5,u.Z.sheet.get(t.id);case 5:a=n.sent,s=a.data,e.list.selected=s,n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](0),e.$log.error("Failed to open sheet settings",n.t0);case 13:return n.prev=13,e.sheetSettingLoading=!1,n.finish(13);case 16:case"end":return n.stop()}}),n,null,[[0,10,13,16]])})))()},handleOpenSheetComments:function(t){this.list.selected=t,this.sheetCommentVisible=!0},handlePreview:function(t){u.Z.sheet.getPreviewLinkById(t).then((function(t){window.open(t,"_blank")}))},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListSheets()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListSheets()},onSheetCommentsClose:function(){this.sheetCommentVisible=!1,this.list.selected={},this.handleListSheets(!1)},onSheetSavedCallback:function(){this.handleListSheets(!1)},handleSelectPrevious:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(n>0)){e.next=9;break}return t.sheetSettingLoading=!0,e.next=5,u.Z.sheet.get(t.list.data[n-1].id);case 5:return a=e.sent,t.list.selected=a.data,t.sheetSettingLoading=!1,e.abrupt("return");case 9:if(0!==n||!t.list.hasPrevious){e.next=19;break}return t.list.params.page--,e.next=13,t.handleListPosts();case 13:return t.sheetSettingLoading=!0,e.next=16,u.Z.sheet.get(t.list.data[t.list.data.length-1].id);case 16:s=e.sent,t.list.selected=s.data,t.sheetSettingLoading=!1;case 19:case"end":return e.stop()}}),e)})))()},handleSelectNext:function(){var t=this;return(0,l.Z)(regeneratorRuntime.mark((function e(){var n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.list.data.findIndex((function(e){return e.id===t.list.selected.id})),!(n0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListComments()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListComments()},handleResetParam:function(){this.list.params.keyword=null,this.list.params.status=null,this.handleClearRowKeys(),this.handlePageChange(1)},handleClearRowKeys:function(){this.selectedRowKeys=[]},onReplyModalClose:function(){this.selectedComment={},this.replyModalVisible=!1,this.handleListComments()},onSelectionChange:function(t){this.selectedRowKeys=t,this.$log.debug("SelectedRowKeys: ".concat(t))},getCheckboxProps:function(t){return{props:{disabled:null==this.list.params.status||""===this.list.params.status,name:t.author}}}},filters:{statusText:function(t){return t?d.v$[t].text:""}}},v=g,y=a(42177),x=(0,y.Z)(v,o,i,!1,null,null,null),b=x.exports,k={components:{PageView:r.B4,CommentTab:b}},S=k,C=(0,y.Z)(S,n,s,!1,null,null,null),_=C.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/86.a0464d05.js b/src/main/resources/admin/js/86.a0464d05.js new file mode 100644 index 000000000..d8a6e70da --- /dev/null +++ b/src/main/resources/admin/js/86.a0464d05.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[86],{74086:function(e,t,a){a.r(t),a.d(t,{default:function(){return S}});var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-view",[a("a-row",{attrs:{gutter:12,align:"middle",type:"flex"}},[a("a-col",{staticClass:"pb-3",attrs:{span:24}},[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline"}},[a("a-row",{attrs:{gutter:48}},[a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"关键词:"}},[a("a-input",{attrs:{allowClear:""},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.list.params.keyword,callback:function(t){e.$set(e.list.params,"keyword",t)},expression:"list.params.keyword"}})],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("a-form-item",{attrs:{label:"分组:"}},[a("a-select",{attrs:{allowClear:""},on:{change:function(t){return e.handleQuery()}},model:{value:e.list.params.team,callback:function(t){e.$set(e.list.params,"team",t)},expression:"list.params.team"}},e._l(e.computedTeams,(function(t,n){return a("a-select-option",{key:n,attrs:{value:t}},[e._v(" "+e._s(t)+" ")])})),1)],1)],1),a("a-col",{attrs:{md:6,sm:24}},[a("span",{staticClass:"table-page-search-submitButtons"},[a("a-space",[a("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleQuery()}}},[e._v("查询")]),a("a-button",{on:{click:function(t){return e.handleResetParam()}}},[e._v("重置")])],1)],1)])],1)],1)],1),a("div",{staticClass:"mb-0 table-operator"},[a("a-dropdown",{scopedSlots:e._u([{key:"overlay",fn:function(){return[a("a-menu",[a("a-menu-item",{key:"single",on:{click:function(t){return e.handleOpenForm({})}}},[e._v(" 添加")]),a("a-menu-item",{key:"batch",on:{click:function(t){e.attachmentSelectModal.visible=!0}}},[e._v(" 批量添加")])],1)]},proxy:!0}])},[a("a-button",{attrs:{icon:"plus",type:"primary"}},[e._v(" 添加 "),a("a-icon",{attrs:{type:"down"}})],1)],1),a("a-button",{directives:[{name:"show",rawName:"v-show",value:e.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"check-circle",type:"primary"},on:{click:e.handleSelectAll}},[e._v(" 全选 ")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:e.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"delete",type:"danger"},on:{click:e.handleDeletePhotoInBatch}},[e._v(" 删除 ")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:e.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"delete"},on:{click:e.handleOpenUpdateTeamForm}},[e._v(" 更改分组 ")]),a("a-button",{directives:[{name:"show",rawName:"v-show",value:e.list.selected.length,expression:"list.selected.length"}],attrs:{icon:"close"},on:{click:function(t){e.list.selected=[]}}},[e._v(" 取消")])],1)])],1),a("a-col",{attrs:{span:24}},[a("a-list",{staticClass:"photos-group",attrs:{dataSource:e.list.data,grid:{gutter:6,xs:2,sm:2,md:4,lg:6,xl:6,xxl:6},loading:e.list.loading},scopedSlots:e._u([{key:"renderItem",fn:function(t,n){return[a("a-list-item",{key:n,on:{click:function(a){return e.handleItemClick(t)},mouseenter:function(a){return e.$set(t,"hover",!0)},mouseleave:function(a){return e.$set(t,"hover",!1)}}},[a("div",{staticClass:"border border-solid",class:e.isItemSelect(t)?"border-blue-600":"border-slate-200"},[a("div",{staticClass:"photo-thumb photos-group-item"},[a("span",{staticClass:"photos-group-item-img",style:{backgroundImage:"url('"+encodeURI(t.thumbnail)+"')"},attrs:{loading:"lazy"}})]),a("a-card-meta",{staticClass:"p-2 cursor-pointer",scopedSlots:e._u([{key:"description",fn:function(){return[a("a-tooltip",{attrs:{title:t.name}},[a("div",{staticClass:"truncate"},[a("span",{staticClass:"mr-1"},[e._v(e._s(t.name))]),t.team?a("span",{staticClass:"text-gray-500 text-xs"},[e._v("#"+e._s(t.team))]):e._e()])])]},proxy:!0}],null,!0)}),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:!e.isItemSelect(t)&&t.hover,expression:"!isItemSelect(item) && item.hover"}],staticClass:"absolute top-1 right-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px",color:"rgb(37 99 235)"},attrs:{theme:"twoTone",type:"plus-circle"},on:{click:function(a){return a.stopPropagation(),e.handleSelect(t)}}}),a("a-icon",{directives:[{name:"show",rawName:"v-show",value:e.isItemSelect(t),expression:"isItemSelect(item)"}],staticClass:"absolute top-1 right-2 font-bold cursor-pointer transition-all",style:{fontSize:"18px",color:"rgb(37 99 235)"},attrs:{theme:"twoTone",type:"check-circle"}})],1)])]}}])})],1)],1),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{attrs:{current:e.pagination.page,defaultPageSize:e.pagination.size,pageSizeOptions:["18","36","54","72","90","108"],total:e.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:e.handlePageChange,showSizeChange:e.handlePageSizeChange}})],1),a("div",{staticStyle:{position:"fixed",bottom:"30px",right:"30px"}},[a("a-button",{attrs:{icon:"setting",shape:"circle",size:"large",type:"primary"},on:{click:function(t){e.optionFormVisible=!0}}})],1),a("a-modal",{attrs:{afterClose:function(){return e.optionFormVisible=!1},title:"页面设置"},scopedSlots:e._u([{key:"footer",fn:function(){return[a("a-button",{key:"submit",attrs:{type:"primary"},on:{click:function(t){return e.handleSaveOptions()}}},[e._v("保存")])]},proxy:!0}]),model:{value:e.optionFormVisible,callback:function(t){e.optionFormVisible=t},expression:"optionFormVisible"}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{help:"* 需要主题进行适配",label:"页面标题:"}},[a("a-input",{model:{value:e.options.photos_title,callback:function(t){e.$set(e.options,"photos_title",t)},expression:"options.photos_title"}})],1),a("a-form-item",{attrs:{label:"每页显示条数:"}},[a("a-input-number",{staticStyle:{width:"100%"},model:{value:e.options.photos_page_size,callback:function(t){e.$set(e.options,"photos_page_size",t)},expression:"options.photos_page_size"}})],1)],1)],1),a("a-modal",{attrs:{title:"更改分组"},scopedSlots:e._u([{key:"footer",fn:function(){return[a("ReactiveButton",{attrs:{errored:e.updateTeamForm.saveErrored,loading:e.updateTeamForm.saving,erroredText:"更改失败",loadedText:"更改成功",text:"确定"},on:{callback:e.handleUpdateTeamInBatchCallback,click:e.handleUpdateTeamInBatch}}),a("a-button",{on:{click:function(t){e.updateTeamForm.visible=!1}}},[e._v("关闭")])]},proxy:!0}]),model:{value:e.updateTeamForm.visible,callback:function(t){e.$set(e.updateTeamForm,"visible",t)},expression:"updateTeamForm.visible"}},[a("a-form",{attrs:{layout:"vertical"}},[a("a-form-item",{attrs:{label:"分组名称:"}},[a("a-auto-complete",{ref:"teamInput",staticStyle:{width:"100%"},attrs:{dataSource:e.computedTeams,allowClear:""},model:{value:e.updateTeamForm.team,callback:function(t){e.$set(e.updateTeamForm,"team",t)},expression:"updateTeamForm.team"}})],1)],1)],1),a("PhotoFormModal",{attrs:{photo:e.list.current,teams:e.computedTeams,visible:e.formVisible},on:{"update:visible":function(t){e.formVisible=t},succeed:e.onSaveSucceed},scopedSlots:e._u([{key:"extraFooter",fn:function(){return[a("a-button",{attrs:{disabled:e.selectPreviousButtonDisabled},on:{click:e.handleSelectPrevious}},[e._v("上一项")]),a("a-button",{attrs:{disabled:e.selectNextButtonDisabled},on:{click:e.handleSelectNext}},[e._v("下一项")])]},proxy:!0}])}),a("AttachmentSelectModal",{attrs:{visible:e.attachmentSelectModal.visible},on:{"update:visible":function(t){return e.$set(e.attachmentSelectModal,"visible",t)},confirm:e.handleAttachmentSelected}})],1)},r=[],o=a(34616),i=a(29230),s=a(94524),l=(a(70315),a(90195),a(31875),a(15928),a(41479),a(82395),a(21082),a(22401)),c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-modal",{attrs:{afterClose:e.onClosed,maskClosable:!1,width:680,destroyOnClose:""},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(" "+e._s(e.form.model.id?"修改":"添加")+"图片 "),e.loading?a("a-icon",{attrs:{type:"loading"}}):e._e()]},proxy:!0},{key:"footer",fn:function(){return[e._t("extraFooter"),a("ReactiveButton",{attrs:{errored:e.form.saveErrored,loading:e.form.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存"},on:{callback:e.handleSaveCallback,click:e.handleSave}}),a("a-button",{attrs:{disabled:e.loading},on:{click:function(t){e.modalVisible=!1}}},[e._v(" 关闭")])]},proxy:!0}],null,!0),model:{value:e.modalVisible,callback:function(t){e.modalVisible=t},expression:"modalVisible"}},[a("a-form-model",{ref:"photoForm",attrs:{"label-col":{span:4},model:e.form.model,rules:e.form.rules,"wrapper-col":{span:20},labelAlign:"left"}},[a("a-form-model-item",{attrs:{label:"图片地址:",prop:"url"}},[a("a-space",{attrs:{direction:"vertical"}},[a("img",{staticClass:"w-1/2 cursor-pointer",staticStyle:{"border-radius":"4px"},attrs:{src:e.form.model.url||"/images/placeholder.jpg"},on:{click:function(t){e.attachmentSelectModal.visible=!0}}}),a("a-input",{attrs:{"allow-clear":"",placeholder:"点击封面图选择图片,或者输入外部链接"},model:{value:e.form.model.url,callback:function(t){e.$set(e.form.model,"url",t)},expression:"form.model.url"}})],1)],1),a("a-form-model-item",{attrs:{label:"缩略图地址:",prop:"thumbnail"}},[a("a-input",{model:{value:e.form.model.thumbnail,callback:function(t){e.$set(e.form.model,"thumbnail",t)},expression:"form.model.thumbnail"}})],1),a("a-form-model-item",{attrs:{label:"图片名称:",prop:"name"}},[a("a-input",{model:{value:e.form.model.name,callback:function(t){e.$set(e.form.model,"name",t)},expression:"form.model.name"}})],1),a("a-form-model-item",{attrs:{label:"拍摄日期:",prop:"takeTime"}},[a("a-date-picker",{staticStyle:{width:"100%"},attrs:{defaultValue:e.takeTimeDefaultValue,format:"YYYY-MM-DD HH:mm:ss",showTime:""},on:{change:e.onTakeTimeChange,ok:e.onTakeTimeChange}})],1),a("a-form-model-item",{attrs:{label:"拍摄地点:",prop:"location"}},[a("a-input",{model:{value:e.form.model.location,callback:function(t){e.$set(e.form.model,"location",t)},expression:"form.model.location"}})],1),a("a-form-model-item",{attrs:{label:"分组:",prop:"team"}},[a("a-auto-complete",{staticStyle:{width:"100%"},attrs:{dataSource:e.teams,allowClear:""},model:{value:e.form.model.team,callback:function(t){e.$set(e.form.model,"team",t)},expression:"form.model.team"}})],1),a("a-form-model-item",{attrs:{label:"描述:",prop:"description"}},[a("a-input",{model:{value:e.form.model.description,callback:function(t){e.$set(e.form.model,"description",t)},expression:"form.model.description"}})],1)],1),a("AttachmentSelectModal",{attrs:{multiSelect:!1,visible:e.attachmentSelectModal.visible},on:{"update:visible":function(t){return e.$set(e.attachmentSelectModal,"visible",t)},confirm:e.handleAttachmentSelected}})],1)},u=[],m=a(69716),d=a(62210),h={name:"PhotoFormModal",props:{visible:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},photo:{type:Object,default:function(){}},teams:{type:Array,default:function(){return[]}}},data:function(){return{form:{model:{},rules:{url:[{required:!0,message:"* 图片地址不能为空",trigger:["change"]}],thumbnail:[{required:!0,message:"* 缩略图地址不能为空",trigger:["change"]}],name:[{required:!0,message:"* 图片名称不能为空",trigger:["change"]}]},saving:!1,saveErrored:!1},attachmentSelectModal:{visible:!1}}},computed:{modalVisible:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}},takeTimeDefaultValue:function(){if(this.form.model.takeTime){var e=new Date(this.form.model.takeTime);return(0,m._)(e,"YYYY-MM-DD HH:mm:ss")}return(0,m._)(new Date,"YYYY-MM-DD HH:mm:ss")}},watch:{modalVisible:function(e){e&&(this.form.model=Object.assign({},this.photo))},photo:{deep:!0,handler:function(e){this.form.model=Object.assign({},e)}}},methods:{onClosed:function(){},handleAttachmentSelected:function(e){var t=e.raw;if(t.length){var a=t[0],n=a.path,r=a.thumbPath,o=a.name;this.$set(this.form.model,"url",encodeURI(n)),this.$set(this.form.model,"thumbnail",encodeURI(r)),this.$set(this.form.model,"name",o)}this.attachmentSelectModal.visible=!1},onTakeTimeChange:function(e){this.form.model.takeTime=e.valueOf()},handleSave:function(){var e=this,t=this;t.$refs.photoForm.validate(function(){var a=(0,i.Z)(regeneratorRuntime.mark((function a(n){var r,o;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!n){a.next=22;break}if(t.form.saving=!0,a.prev=2,!t.form.model.id){a.next=8;break}return a.next=6,d.Z.photo.update(t.form.model.id,t.form.model);case 6:a.next=13;break;case 8:return a.next=10,d.Z.photo.create(t.form.model);case 10:r=a.sent,o=r.data,e.form.model=o;case 13:a.next=19;break;case 15:a.prev=15,a.t0=a["catch"](2),t.form.saveErrored=!0,e.$log.error("Failed to save this photo",a.t0);case 19:return a.prev=19,setTimeout((function(){t.form.saving=!1}),400),a.finish(19);case 22:case"end":return a.stop()}}),a,null,[[2,15,19,22]])})));return function(e){return a.apply(this,arguments)}}())},handleSaveCallback:function(){this.form.saveErrored?this.form.saveErrored=!1:this.$emit("succeed",this.form.model)}}},p=h,f=a(42177),v=(0,f.Z)(p,c,u,!1,null,null,null),b=v.exports,g=a(98906),k=a(64647),x={mixins:[k.jB,k.KT],components:{PageView:l.B4,PhotoFormModal:b},data:function(){return{list:{data:[],loading:!1,params:{page:0,size:18,sort:["createTime,desc","id,asc"],keyword:null,team:void 0},total:0,hasPrevious:!1,hasNext:!1,selected:[],current:{}},attachmentSelectModal:{visible:!1},updateTeamForm:{team:void 0,visible:!1,saving:!1,saveErrored:!1},formVisible:!1,teams:[],options:[],optionFormVisible:!1}},created:function(){this.handleListPhotos(),this.handleListPhotoTeams(),this.handleListOptions()},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}},computedTeams:function(){return this.teams.filter((function(e){return""!==e}))},isItemSelect:function(){return function(e){return this.list.selected.findIndex((function(t){return t.id===e.id}))>-1}},selectPreviousButtonDisabled:function(){var e=this,t=this.list.data.findIndex((function(t){return t.id===e.list.current.id}));return 0===t&&!this.list.hasPrevious},selectNextButtonDisabled:function(){var e=this,t=this.list.data.findIndex((function(t){return t.id===e.list.current.id}));return t===this.list.data.length-1&&!this.list.hasNext}},methods:(0,s.Z)((0,s.Z)({},(0,g.nv)(["refreshOptionsCache"])),{},{handleListPhotos:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.list.loading=!0,t.next=4,d.Z.photo.list(e.list.params);case 4:a=t.sent,e.list.data=a.data.content,e.list.total=a.data.total,e.list.hasPrevious=a.data.hasPrevious,e.list.hasNext=a.data.hasNext,t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](0),e.$log.error("Failed to get photos",t.t0);case 14:return t.prev=14,e.list.loading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})))()},handleListPhotoTeams:function(){var e=this;d.Z.photo.listTeams().then((function(t){e.teams=t.data}))},handlePageChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=e-1,this.handleListPhotos()},handlePageSizeChange:function(e,t){this.$log.debug("Current: ".concat(e,", PageSize: ").concat(t)),this.list.params.page=0,this.list.params.size=t,this.handleListPhotos()},handleQuery:function(){this.handlePageChange(1)},handleResetParam:function(){this.list.params.keyword=void 0,this.list.params.team=void 0,this.handlePageChange(1),this.handleListPhotoTeams()},handleItemClick:function(e){this.list.selected.length<=0?this.handleOpenForm(e):this.isItemSelect(e)?this.handleUnselect(e):this.handleSelect(e)},handleOpenForm:function(e){this.list.current=e,this.formVisible=!0},handleSelect:function(e){this.list.selected=[].concat((0,o.Z)(this.list.selected),[e])},handleUnselect:function(e){this.list.selected=this.list.selected.filter((function(t){return t.id!==e.id}))},handleSelectAll:function(){this.list.selected=this.list.data},handleAttachmentSelected:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function a(){var n,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=e.raw,n.length){a.next=3;break}return a.abrupt("return");case 3:return r=n.map((function(e){return{name:e.name,url:e.path,thumbnail:e.thumbPath}})),a.prev=4,a.next=7,d.Z.photo.createInBatch(r);case 7:t.$message.success("添加成功"),a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](4),t.$log.error("Failed to create photos in batch",a.t0);case 13:return a.prev=13,a.next=16,t.handleListPhotos();case 16:return t.handleListPhotoTeams(),a.finish(13);case 18:case"end":return a.stop()}}),a,null,[[4,10,13,18]])})))()},handleDeletePhotoInBatch:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(e.list.selected.length<=0)){t.next=3;break}return e.$message.warn("你还未选择任何图片,请至少选择一个!"),t.abrupt("return");case 3:a=e,e.$confirm({title:"确定要批量删除选中的图片吗?",content:"一旦删除不可恢复,请谨慎操作",onOk:function(){return(0,i.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t=a.list.selected.map((function(e){return e.id})),e.next=4,d.Z.photo.deleteInBatch(t);case 4:a.list.selected=[],a.$message.success("删除成功"),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),a.$log.error("Failed to delete selected photos",e.t0);case 11:return e.prev=11,e.next=14,a.handleListPhotos();case 14:return a.handleListPhotoTeams(),e.finish(11);case 16:case"end":return e.stop()}}),e,null,[[0,8,11,16]])})))()}});case 5:case"end":return t.stop()}}),t)})))()},handleUpdateTeamInBatch:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.list.selected.map((function(t){return(0,s.Z)((0,s.Z)({},t),{},{team:e.updateTeamForm.team})})),t.prev=1,e.updateTeamForm.saving=!0,t.next=5,d.Z.photo.updateInBatch(a);case 5:e.$message.success("更改成功"),t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](1),e.updateTeamForm.saveErrored=!0,e.$log.error("Failed to change team in batch",t.t0);case 12:return t.prev=12,setTimeout((function(){e.updateTeamForm.saving=!1}),400),t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,8,12,15]])})))()},handleUpdateTeamInBatchCallback:function(){this.updateTeamForm.saveErrored?this.updateTeamForm.saveErrored=!1:(this.updateTeamForm.visible=!1,this.updateTeamForm.team=void 0,this.list.selected=[],this.handleListPhotos())},handleOpenUpdateTeamForm:function(){var e=this;this.updateTeamForm.visible=!0,this.$nextTick((function(){e.$refs.teamInput.focus()}))},onSaveSucceed:function(e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.handleListPhotos();case 2:t.list.current=e,t.handleListPhotoTeams();case 4:case"end":return a.stop()}}),a)})))()},handleListOptions:function(){var e=this;d.Z.option.list().then((function(t){e.options=t.data}))},handleSaveOptions:function(){var e=this;d.Z.option.save(this.options).then((function(){e.$message.success("保存成功!"),e.optionFormVisible=!1})).finally((function(){e.handleListOptions(),e.refreshOptionsCache()}))},handleSelectPrevious:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.list.data.findIndex((function(t){return t.id===e.list.current.id})),!(a>0)){t.next=4;break}return e.list.current=e.list.data[a-1],t.abrupt("return");case 4:if(0!==a||!e.list.hasPrevious){t.next=9;break}return e.list.params.page--,t.next=8,e.handleListPhotos();case 8:e.list.current=e.list.data[e.list.data.length-1];case 9:case"end":return t.stop()}}),t)})))()},handleSelectNext:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.list.data.findIndex((function(t){return t.id===e.list.current.id})),!(a0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=e-1,this.handleGetComments()},handlePageSizeChange:function(e,t){this.list.params.page=0,this.list.params.size=t,this.handleGetComments()},onClose:function(){this.$emit("close")}}},g=h,v=(0,d.Z)(g,a,r,!1,null,null,null),b=v.exports}}]); \ No newline at end of file diff --git a/src/main/resources/admin/js/983.38442ff3.js b/src/main/resources/admin/js/940.f93bff7c.js similarity index 99% rename from src/main/resources/admin/js/983.38442ff3.js rename to src/main/resources/admin/js/940.f93bff7c.js index a9861d37a..abcd85ac7 100644 --- a/src/main/resources/admin/js/983.38442ff3.js +++ b/src/main/resources/admin/js/940.f93bff7c.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[983],{95983:function(t,e,n){n.d(e,{Z:function(){return Ywt}});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"h-full"},[n("halo-editor",{ref:"editor",attrs:{boxShadow:!1,subfield:t.subfield,toolbars:t.toolbars,uploadRequest:t.handleAttachmentUpload,autofocus:""},on:{change:t.handleChange,openImagePicker:function(e){t.attachmentSelectVisible=!0},save:t.handleSave},model:{value:t.originalContentData,callback:function(e){t.originalContentData=e},expression:"originalContentData"}}),n("AttachmentSelectModal",{attrs:{visible:t.attachmentSelectVisible},on:{"update:visible":function(e){t.attachmentSelectVisible=e},confirm:t.handleSelectAttachment}})],1)},i=[];n(31875),n(21082),n(93418);const a={F8:119,F9:120,F10:121,F11:122,F12:123,B:66,I:73,H:72,U:85,D:68,M:77,Q:81,O:79,L:76,S:83,Z:90,Y:89,C:67,T:84,R:82,DELETE:8,TAB:9,ENTER:13,ONE:97,TWO:98,THREE:99,FOUR:100,FIVE:101,SIX:102,_ONE:49,_TWO:50,_THREE:51,_FOUR:52,_FIVE:53,_SIX:54},o=t=>{t.shortCut&&t.$el.addEventListener("keydown",(function(e){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)if(!e.ctrlKey&&!e.metaKey||e.altKey||e.shiftKey){if((e.ctrlKey||e.metaKey)&&e.altKey&&!e.shiftKey)switch(e.keyCode){case a.S:e.preventDefault(),t.clickCommands("superscript");break;case a.U:e.preventDefault(),t.clickCommands("ul");break;case a.L:e.preventDefault(),t.clickCommands("imagelink");break;case a.C:e.preventDefault(),t.clickCommands("code");break;case a.T:e.preventDefault(),t.clickCommands("table");break}else if((e.ctrlKey||e.metaKey)&&e.shiftKey&&!e.altKey)switch(e.keyCode){case a.S:e.preventDefault(),t.clickCommands("subscript");break;case a.D:e.preventDefault(),t.clickCommands("strikethrough");break;case a.I:e.preventDefault(),t.openImagePicker();break}}else switch(e.keyCode){case a.B:e.preventDefault(),t.clickCommands("bold");break;case a.I:e.preventDefault(),t.clickCommands("italic");break;case a.H:e.preventDefault(),t.clickCommands("header",{level:1});break;case a.U:e.preventDefault(),t.clickCommands("underline");break;case a.Q:e.preventDefault(),t.clickCommands("quote");break;case a.O:e.preventDefault(),t.clickCommands("ol");break;case a.L:e.preventDefault(),t.insertLink("","");break;case a.ONE:case a._ONE:e.preventDefault(),t.clickCommands("header",{level:1});break;case a.TWO:case a._TWO:e.preventDefault(),t.clickCommands("header",{level:2});break;case a.THREE:case a._THREE:e.preventDefault(),t.clickCommands("header",{level:3});break;case a.FOUR:case a._FOUR:e.preventDefault(),t.clickCommands("header",{level:4});break;case a.FIVE:case a._FIVE:e.preventDefault(),t.clickCommands("header",{level:5});break;case a.SIX:case a._SIX:e.preventDefault(),t.clickCommands("header",{level:6});break}else switch(e.keyCode){case a.F8:t.toolbars.navigation&&(e.preventDefault(),t.toolbar_right_click("navigation"));break;case a.F9:t.toolbars.preview&&(e.preventDefault(),t.toolbar_right_click("preview"));break;case a.F10:t.toolbars.fullscreen&&(e.preventDefault(),t.toolbar_right_click("fullscreen"));break;case a.F11:t.toolbars.readmodel&&(e.preventDefault(),t.toolbar_right_click("read"));break;case a.F12:t.toolbars.subfield&&(e.preventDefault(),t.toolbar_right_click("subfield"));break;case a.ENTER:t.$refs.toolbar_left.s_img_link_open&&(e.preventDefault(),t.$refs.toolbar_left.handleAddLink());break}}))},s=t=>{let e;e=t.$refs.navigationContent,e.innerHTML=t.d_render;let n=e.children;if(n.length)for(let i=0;i{t.$el.addEventListener("fullscreenchange",(function(){t.$toolbar_right_read_change_status()}),!1),t.$el.addEventListener("mozfullscreenchange",(function(){t.$toolbar_right_read_change_status()}),!1),t.$el.addEventListener("webkitfullscreenchange",(function(){t.$toolbar_right_read_change_status()}),!1),t.$el.addEventListener("msfullscreenchange",(function(){t.$toolbar_right_read_change_status()}),!1)},c=t=>{t.$refs.vShowContent.addEventListener("click",(function(e){e=e||window.event;let n=e.srcElement?e.srcElement:e.target;"IMG"===n.tagName&&(null!=t.imageClick?t.imageClick(n):t.d_preview_imgsrc=n.src)}))};function u(t){t.s_html_code=!t.s_html_code,t.htmlcode&&t.htmlcode(t.s_html_code,t.d_value)}function h(t){let e=t.$refs.vReadModel;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}function f(t){t.s_preview_switch=!t.s_preview_switch,t.previewtoggle&&t.previewtoggle(t.s_preview_switch,t.d_value)}function d(t){t.s_fullScreen=!t.s_fullScreen,t.fullscreen&&t.fullscreen(t.s_fullScreen,t.d_value)}function p(t){t.s_subfield=!t.s_subfield,t.s_preview_switch=t.s_subfield,t.previewtoggle&&t.previewtoggle(t.s_preview_switch,t.d_value),t.subfieldtoggle&&t.subfieldtoggle(t.s_subfield,t.d_value)}function g(t){t.s_navigation=!t.s_navigation,t.s_navigation&&(t.s_preview_switch=!0),t.navigationtoggle&&t.navigationtoggle(t.s_navigation,t.d_value),t.s_navigation&&t.getNavigation(t,!1)}const m=(t,e)=>{var n={html:u,read:h,preview:f,fullscreen:d,navigation:g,subfield:p};n.hasOwnProperty(t)&&n[t](e)},y={toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,superscript:!0,subscript:!0,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!0,code:!0,table:!0,undo:!0,redo:!0,save:!0,navigation:!0,subfield:!0,fullscreen:!0,readmodel:!0,htmlcode:!0,preview:!0}};var v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,x=(t,e)=>{var n={};for(var r in t)b.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&v)for(var r of v(t))e.indexOf(r)<0&&_.call(t,r)&&(n[r]=t[r]);return n},w="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:{};function k(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}var C=1/0,E="[object Symbol]",S=/[&<>"'`]/g,T=RegExp(S.source),A={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},M="object"==typeof w&&w&&w.Object===Object&&w,N="object"==typeof self&&self&&self.Object===Object&&self,D=M||N||Function("return this")();function O(t){return function(e){return null==t?void 0:t[e]}}var L=O(A),B=Object.prototype,I=B.toString,R=D.Symbol,F=R?R.prototype:void 0,P=F?F.toString:void 0;function z(t){if("string"==typeof t)return t;if(j(t))return P?P.call(t):"";var e=t+"";return"0"==e&&1/t==-C?"-0":e}function q(t){return!!t&&"object"==typeof t}function j(t){return"symbol"==typeof t||q(t)&&I.call(t)==E}function H(t){return null==t?"":z(t)}function U(t){return t=H(t),t&&T.test(t)?t.replace(S,L):t}var $=U,W={};const Y="Á",V="á",G="Ă",X="ă",Z="∾",K="∿",Q="∾̳",J="Â",tt="â",et="´",nt="А",rt="а",it="Æ",at="æ",ot="⁡",st="𝔄",lt="𝔞",ct="À",ut="à",ht="ℵ",ft="ℵ",dt="Α",pt="α",gt="Ā",mt="ā",yt="⨿",vt="&",bt="&",_t="⩕",xt="⩓",wt="∧",kt="⩜",Ct="⩘",Et="⩚",St="∠",Tt="⦤",At="∠",Mt="⦨",Nt="⦩",Dt="⦪",Ot="⦫",Lt="⦬",Bt="⦭",It="⦮",Rt="⦯",Ft="∡",Pt="∟",zt="⊾",qt="⦝",jt="∢",Ht="Å",Ut="⍼",$t="Ą",Wt="ą",Yt="𝔸",Vt="𝕒",Gt="⩯",Xt="≈",Zt="⩰",Kt="≊",Qt="≋",Jt="'",te="⁡",ee="≈",ne="≊",re="Å",ie="å",ae="𝒜",oe="𝒶",se="≔",le="*",ce="≈",ue="≍",he="Ã",fe="ã",de="Ä",pe="ä",ge="∳",me="⨑",ye="≌",ve="϶",be="‵",_e="∽",xe="⋍",we="∖",ke="⫧",Ce="⊽",Ee="⌅",Se="⌆",Te="⌅",Ae="⎵",Me="⎶",Ne="≌",De="Б",Oe="б",Le="„",Be="∵",Ie="∵",Re="∵",Fe="⦰",Pe="϶",ze="ℬ",qe="ℬ",je="Β",He="β",Ue="ℶ",$e="≬",We="𝔅",Ye="𝔟",Ve="⋂",Ge="◯",Xe="⋃",Ze="⨀",Ke="⨁",Qe="⨂",Je="⨆",tn="★",en="▽",nn="△",rn="⨄",an="⋁",on="⋀",sn="⤍",ln="⧫",cn="▪",un="▴",hn="▾",fn="◂",dn="▸",pn="␣",gn="▒",mn="░",yn="▓",vn="█",bn="=⃥",_n="≡⃥",xn="⫭",wn="⌐",kn="𝔹",Cn="𝕓",En="⊥",Sn="⊥",Tn="⋈",An="⧉",Mn="┐",Nn="╕",Dn="╖",On="╗",Ln="┌",Bn="╒",In="╓",Rn="╔",Fn="─",Pn="═",zn="┬",qn="╤",jn="╥",Hn="╦",Un="┴",$n="╧",Wn="╨",Yn="╩",Vn="⊟",Gn="⊞",Xn="⊠",Zn="┘",Kn="╛",Qn="╜",Jn="╝",tr="└",er="╘",nr="╙",rr="╚",ir="│",ar="║",or="┼",sr="╪",lr="╫",cr="╬",ur="┤",hr="╡",fr="╢",dr="╣",pr="├",gr="╞",mr="╟",yr="╠",vr="‵",br="˘",_r="˘",xr="¦",wr="𝒷",kr="ℬ",Cr="⁏",Er="∽",Sr="⋍",Tr="⧅",Ar="\\",Mr="⟈",Nr="•",Dr="•",Or="≎",Lr="⪮",Br="≏",Ir="≎",Rr="≏",Fr="Ć",Pr="ć",zr="⩄",qr="⩉",jr="⩋",Hr="∩",Ur="⋒",$r="⩇",Wr="⩀",Yr="ⅅ",Vr="∩︀",Gr="⁁",Xr="ˇ",Zr="ℭ",Kr="⩍",Qr="Č",Jr="č",ti="Ç",ei="ç",ni="Ĉ",ri="ĉ",ii="∰",ai="⩌",oi="⩐",si="Ċ",li="ċ",ci="¸",ui="¸",hi="⦲",fi="¢",di="·",pi="·",gi="𝔠",mi="ℭ",yi="Ч",vi="ч",bi="✓",_i="✓",xi="Χ",wi="χ",ki="ˆ",Ci="≗",Ei="↺",Si="↻",Ti="⊛",Ai="⊚",Mi="⊝",Ni="⊙",Di="®",Oi="Ⓢ",Li="⊖",Bi="⊕",Ii="⊗",Ri="○",Fi="⧃",Pi="≗",zi="⨐",qi="⫯",ji="⧂",Hi="∲",Ui="”",$i="’",Wi="♣",Yi="♣",Vi=":",Gi="∷",Xi="⩴",Zi="≔",Ki="≔",Qi=",",Ji="@",ta="∁",ea="∘",na="∁",ra="ℂ",ia="≅",aa="⩭",oa="≡",sa="∮",la="∯",ca="∮",ua="𝕔",ha="ℂ",fa="∐",da="∐",pa="©",ga="©",ma="℗",ya="∳",va="↵",ba="✗",_a="⨯",xa="𝒞",wa="𝒸",ka="⫏",Ca="⫑",Ea="⫐",Sa="⫒",Ta="⋯",Aa="⤸",Ma="⤵",Na="⋞",Da="⋟",Oa="↶",La="⤽",Ba="⩈",Ia="⩆",Ra="≍",Fa="∪",Pa="⋓",za="⩊",qa="⊍",ja="⩅",Ha="∪︀",Ua="↷",$a="⤼",Wa="⋞",Ya="⋟",Va="⋎",Ga="⋏",Xa="¤",Za="↶",Ka="↷",Qa="⋎",Ja="⋏",to="∲",eo="∱",no="⌭",ro="†",io="‡",ao="ℸ",oo="↓",so="↡",lo="⇓",co="‐",uo="⫤",ho="⊣",fo="⤏",po="˝",go="Ď",mo="ď",yo="Д",vo="д",bo="‡",_o="⇊",xo="ⅅ",wo="ⅆ",ko="⤑",Co="⩷",Eo="°",So="∇",To="Δ",Ao="δ",Mo="⦱",No="⥿",Do="𝔇",Oo="𝔡",Lo="⥥",Bo="⇃",Io="⇂",Ro="´",Fo="˙",Po="˝",zo="`",qo="˜",jo="⋄",Ho="⋄",Uo="⋄",$o="♦",Wo="♦",Yo="¨",Vo="ⅆ",Go="ϝ",Xo="⋲",Zo="÷",Ko="÷",Qo="⋇",Jo="⋇",ts="Ђ",es="ђ",ns="⌞",rs="⌍",is="$",as="𝔻",os="𝕕",ss="¨",ls="˙",cs="⃜",us="≐",hs="≑",fs="≐",ds="∸",ps="∔",gs="⊡",ms="⌆",ys="∯",vs="¨",bs="⇓",_s="⇐",xs="⇔",ws="⫤",ks="⟸",Cs="⟺",Es="⟹",Ss="⇒",Ts="⊨",As="⇑",Ms="⇕",Ns="∥",Ds="⤓",Os="↓",Ls="↓",Bs="⇓",Is="⇵",Rs="̑",Fs="⇊",Ps="⇃",zs="⇂",qs="⥐",js="⥞",Hs="⥖",Us="↽",$s="⥟",Ws="⥗",Ys="⇁",Vs="↧",Gs="⊤",Xs="⤐",Zs="⌟",Ks="⌌",Qs="𝒟",Js="𝒹",tl="Ѕ",el="ѕ",nl="⧶",rl="Đ",il="đ",al="⋱",ol="▿",sl="▾",ll="⇵",cl="⥯",ul="⦦",hl="Џ",fl="џ",dl="⟿",pl="É",gl="é",ml="⩮",yl="Ě",vl="ě",bl="Ê",_l="ê",xl="≖",wl="≕",kl="Э",Cl="э",El="⩷",Sl="Ė",Tl="ė",Al="≑",Ml="ⅇ",Nl="≒",Dl="𝔈",Ol="𝔢",Ll="⪚",Bl="È",Il="è",Rl="⪖",Fl="⪘",Pl="⪙",zl="∈",ql="⏧",jl="ℓ",Hl="⪕",Ul="⪗",$l="Ē",Wl="ē",Yl="∅",Vl="∅",Gl="◻",Xl="∅",Zl="▫",Kl=" ",Ql=" ",Jl=" ",tc="Ŋ",ec="ŋ",nc=" ",rc="Ę",ic="ę",ac="𝔼",oc="𝕖",sc="⋕",lc="⧣",cc="⩱",uc="ε",hc="Ε",fc="ε",dc="ϵ",pc="≖",gc="≕",mc="≂",yc="⪖",vc="⪕",bc="⩵",_c="=",xc="≂",wc="≟",kc="⇌",Cc="≡",Ec="⩸",Sc="⧥",Tc="⥱",Ac="≓",Mc="ℯ",Nc="ℰ",Dc="≐",Oc="⩳",Lc="≂",Bc="Η",Ic="η",Rc="Ð",Fc="ð",Pc="Ë",zc="ë",qc="€",jc="!",Hc="∃",Uc="∃",$c="ℰ",Wc="ⅇ",Yc="ⅇ",Vc="≒",Gc="Ф",Xc="ф",Zc="♀",Kc="ffi",Qc="ff",Jc="ffl",tu="𝔉",eu="𝔣",nu="fi",ru="◼",iu="▪",au="fj",ou="♭",su="fl",lu="▱",cu="ƒ",uu="𝔽",hu="𝕗",fu="∀",du="∀",pu="⋔",gu="⫙",mu="ℱ",yu="⨍",vu="½",bu="⅓",_u="¼",xu="⅕",wu="⅙",ku="⅛",Cu="⅔",Eu="⅖",Su="¾",Tu="⅗",Au="⅜",Mu="⅘",Nu="⅚",Du="⅝",Ou="⅞",Lu="⁄",Bu="⌢",Iu="𝒻",Ru="ℱ",Fu="ǵ",Pu="Γ",zu="γ",qu="Ϝ",ju="ϝ",Hu="⪆",Uu="Ğ",$u="ğ",Wu="Ģ",Yu="Ĝ",Vu="ĝ",Gu="Г",Xu="г",Zu="Ġ",Ku="ġ",Qu="≥",Ju="≧",th="⪌",eh="⋛",nh="≥",rh="≧",ih="⩾",ah="⪩",oh="⩾",sh="⪀",lh="⪂",ch="⪄",uh="⋛︀",hh="⪔",fh="𝔊",dh="𝔤",ph="≫",gh="⋙",mh="⋙",yh="ℷ",vh="Ѓ",bh="ѓ",_h="⪥",xh="≷",wh="⪒",kh="⪤",Ch="⪊",Eh="⪊",Sh="⪈",Th="≩",Ah="⪈",Mh="≩",Nh="⋧",Dh="𝔾",Oh="𝕘",Lh="`",Bh="≥",Ih="⋛",Rh="≧",Fh="⪢",Ph="≷",zh="⩾",qh="≳",jh="𝒢",Hh="ℊ",Uh="≳",$h="⪎",Wh="⪐",Yh="⪧",Vh="⩺",Gh=">",Xh=">",Zh="≫",Kh="⋗",Qh="⦕",Jh="⩼",tf="⪆",ef="⥸",nf="⋗",rf="⋛",af="⪌",of="≷",sf="≳",lf="≩︀",cf="≩︀",uf="ˇ",hf=" ",ff="½",df="ℋ",pf="Ъ",gf="ъ",mf="⥈",yf="↔",vf="⇔",bf="↭",_f="^",xf="ℏ",wf="Ĥ",kf="ĥ",Cf="♥",Ef="♥",Sf="…",Tf="⊹",Af="𝔥",Mf="ℌ",Nf="ℋ",Df="⤥",Of="⤦",Lf="⇿",Bf="∻",If="↩",Rf="↪",Ff="𝕙",Pf="ℍ",zf="―",qf="─",jf="𝒽",Hf="ℋ",Uf="ℏ",$f="Ħ",Wf="ħ",Yf="≎",Vf="≏",Gf="⁃",Xf="‐",Zf="Í",Kf="í",Qf="⁣",Jf="Î",td="î",ed="И",nd="и",rd="İ",id="Е",ad="е",od="¡",sd="⇔",ld="𝔦",cd="ℑ",ud="Ì",hd="ì",fd="ⅈ",dd="⨌",pd="∭",gd="⧜",md="℩",yd="IJ",vd="ij",bd="Ī",_d="ī",xd="ℑ",wd="ⅈ",kd="ℐ",Cd="ℑ",Ed="ı",Sd="ℑ",Td="⊷",Ad="Ƶ",Md="⇒",Nd="℅",Dd="∞",Od="⧝",Ld="ı",Bd="⊺",Id="∫",Rd="∬",Fd="ℤ",Pd="∫",zd="⊺",qd="⋂",jd="⨗",Hd="⨼",Ud="⁣",$d="⁢",Wd="Ё",Yd="ё",Vd="Į",Gd="į",Xd="𝕀",Zd="𝕚",Kd="Ι",Qd="ι",Jd="⨼",tp="¿",ep="𝒾",np="ℐ",rp="∈",ip="⋵",ap="⋹",op="⋴",sp="⋳",lp="∈",cp="⁢",up="Ĩ",hp="ĩ",fp="І",dp="і",pp="Ï",gp="ï",mp="Ĵ",yp="ĵ",vp="Й",bp="й",_p="𝔍",xp="𝔧",wp="ȷ",kp="𝕁",Cp="𝕛",Ep="𝒥",Sp="𝒿",Tp="Ј",Ap="ј",Mp="Є",Np="є",Dp="Κ",Op="κ",Lp="ϰ",Bp="Ķ",Ip="ķ",Rp="К",Fp="к",Pp="𝔎",zp="𝔨",qp="ĸ",jp="Х",Hp="х",Up="Ќ",$p="ќ",Wp="𝕂",Yp="𝕜",Vp="𝒦",Gp="𝓀",Xp="⇚",Zp="Ĺ",Kp="ĺ",Qp="⦴",Jp="ℒ",tg="Λ",eg="λ",ng="⟨",rg="⟪",ig="⦑",ag="⟨",og="⪅",sg="ℒ",lg="«",cg="⇤",ug="⤟",hg="←",fg="↞",dg="⇐",pg="⤝",gg="↩",mg="↫",yg="⤹",vg="⥳",bg="↢",_g="⤙",xg="⤛",wg="⪫",kg="⪭",Cg="⪭︀",Eg="⤌",Sg="⤎",Tg="❲",Ag="{",Mg="[",Ng="⦋",Dg="⦏",Og="⦍",Lg="Ľ",Bg="ľ",Ig="Ļ",Rg="ļ",Fg="⌈",Pg="{",zg="Л",qg="л",jg="⤶",Hg="“",Ug="„",$g="⥧",Wg="⥋",Yg="↲",Vg="≤",Gg="≦",Xg="⟨",Zg="⇤",Kg="←",Qg="←",Jg="⇐",tm="⇆",em="↢",nm="⌈",rm="⟦",im="⥡",am="⥙",om="⇃",sm="⌊",lm="↽",cm="↼",um="⇇",hm="↔",fm="↔",dm="⇔",pm="⇆",gm="⇋",mm="↭",ym="⥎",vm="↤",bm="⊣",_m="⥚",xm="⋋",wm="⧏",km="⊲",Cm="⊴",Em="⥑",Sm="⥠",Tm="⥘",Am="↿",Mm="⥒",Nm="↼",Dm="⪋",Om="⋚",Lm="≤",Bm="≦",Im="⩽",Rm="⪨",Fm="⩽",Pm="⩿",zm="⪁",qm="⪃",jm="⋚︀",Hm="⪓",Um="⪅",$m="⋖",Wm="⋚",Ym="⪋",Vm="⋚",Gm="≦",Xm="≶",Zm="≶",Km="⪡",Qm="≲",Jm="⩽",ty="≲",ey="⥼",ny="⌊",ry="𝔏",iy="𝔩",ay="≶",oy="⪑",sy="⥢",ly="↽",cy="↼",uy="⥪",hy="▄",fy="Љ",dy="љ",py="⇇",gy="≪",my="⋘",yy="⌞",vy="⇚",by="⥫",_y="◺",xy="Ŀ",wy="ŀ",ky="⎰",Cy="⎰",Ey="⪉",Sy="⪉",Ty="⪇",Ay="≨",My="⪇",Ny="≨",Dy="⋦",Oy="⟬",Ly="⇽",By="⟦",Iy="⟵",Ry="⟵",Fy="⟸",Py="⟷",zy="⟷",qy="⟺",jy="⟼",Hy="⟶",Uy="⟶",$y="⟹",Wy="↫",Yy="↬",Vy="⦅",Gy="𝕃",Xy="𝕝",Zy="⨭",Ky="⨴",Qy="∗",Jy="_",tv="↙",ev="↘",nv="◊",rv="◊",iv="⧫",av="(",ov="⦓",sv="⇆",lv="⌟",cv="⇋",uv="⥭",hv="‎",fv="⊿",dv="‹",pv="𝓁",gv="ℒ",mv="↰",yv="↰",vv="≲",bv="⪍",_v="⪏",xv="[",wv="‘",kv="‚",Cv="Ł",Ev="ł",Sv="⪦",Tv="⩹",Av="<",Mv="<",Nv="≪",Dv="⋖",Ov="⋋",Lv="⋉",Bv="⥶",Iv="⩻",Rv="◃",Fv="⊴",Pv="◂",zv="⦖",qv="⥊",jv="⥦",Hv="≨︀",Uv="≨︀",$v="¯",Wv="♂",Yv="✠",Vv="✠",Gv="↦",Xv="↦",Zv="↧",Kv="↤",Qv="↥",Jv="▮",tb="⨩",eb="М",nb="м",rb="—",ib="∺",ab="∡",ob=" ",sb="ℳ",lb="𝔐",cb="𝔪",ub="℧",hb="µ",fb="*",db="⫰",pb="∣",gb="·",mb="⊟",yb="−",vb="∸",bb="⨪",_b="∓",xb="⫛",wb="…",kb="∓",Cb="⊧",Eb="𝕄",Sb="𝕞",Tb="∓",Ab="𝓂",Mb="ℳ",Nb="∾",Db="Μ",Ob="μ",Lb="⊸",Bb="⊸",Ib="∇",Rb="Ń",Fb="ń",Pb="∠⃒",zb="≉",qb="⩰̸",jb="≋̸",Hb="ʼn",Ub="≉",$b="♮",Wb="ℕ",Yb="♮",Vb=" ",Gb="≎̸",Xb="≏̸",Zb="⩃",Kb="Ň",Qb="ň",Jb="Ņ",t_="ņ",e_="≇",n_="⩭̸",r_="⩂",i_="Н",a_="н",o_="–",s_="⤤",l_="↗",c_="⇗",u_="↗",h_="≠",f_="≐̸",d_="​",p_="​",g_="​",m_="​",y_="≢",v_="⤨",b_="≂̸",__="≫",x_="≪",w_="\n",k_="∄",C_="∄",E_="𝔑",S_="𝔫",T_="≧̸",A_="≱",M_="≱",N_="≧̸",D_="⩾̸",O_="⩾̸",L_="⋙̸",B_="≵",I_="≫⃒",R_="≯",F_="≯",P_="≫̸",z_="↮",q_="⇎",j_="⫲",H_="∋",U_="⋼",$_="⋺",W_="∋",Y_="Њ",V_="њ",G_="↚",X_="⇍",Z_="‥",K_="≦̸",Q_="≰",J_="↚",tx="⇍",ex="↮",nx="⇎",rx="≰",ix="≦̸",ax="⩽̸",ox="⩽̸",sx="≮",lx="⋘̸",cx="≴",ux="≪⃒",hx="≮",fx="⋪",dx="⋬",px="≪̸",gx="∤",mx="⁠",yx=" ",vx="𝕟",bx="ℕ",_x="⫬",xx="¬",wx="≢",kx="≭",Cx="∦",Ex="∉",Sx="≠",Tx="≂̸",Ax="∄",Mx="≯",Nx="≱",Dx="≧̸",Ox="≫̸",Lx="≹",Bx="⩾̸",Ix="≵",Rx="≎̸",Fx="≏̸",Px="∉",zx="⋵̸",qx="⋹̸",jx="∉",Hx="⋷",Ux="⋶",$x="⧏̸",Wx="⋪",Yx="⋬",Vx="≮",Gx="≰",Xx="≸",Zx="≪̸",Kx="⩽̸",Qx="≴",Jx="⪢̸",tw="⪡̸",ew="∌",nw="∌",rw="⋾",iw="⋽",aw="⊀",ow="⪯̸",sw="⋠",lw="∌",cw="⧐̸",uw="⋫",hw="⋭",fw="⊏̸",dw="⋢",pw="⊐̸",gw="⋣",mw="⊂⃒",yw="⊈",vw="⊁",bw="⪰̸",_w="⋡",xw="≿̸",ww="⊃⃒",kw="⊉",Cw="≁",Ew="≄",Sw="≇",Tw="≉",Aw="∤",Mw="∦",Nw="∦",Dw="⫽⃥",Ow="∂̸",Lw="⨔",Bw="⊀",Iw="⋠",Rw="⊀",Fw="⪯̸",Pw="⪯̸",zw="⤳̸",qw="↛",jw="⇏",Hw="↝̸",Uw="↛",$w="⇏",Ww="⋫",Yw="⋭",Vw="⊁",Gw="⋡",Xw="⪰̸",Zw="𝒩",Kw="𝓃",Qw="∤",Jw="∦",tk="≁",ek="≄",nk="≄",rk="∤",ik="∦",ak="⋢",ok="⋣",sk="⊄",lk="⫅̸",ck="⊈",uk="⊂⃒",hk="⊈",fk="⫅̸",dk="⊁",pk="⪰̸",gk="⊅",mk="⫆̸",yk="⊉",vk="⊃⃒",bk="⊉",_k="⫆̸",xk="≹",wk="Ñ",kk="ñ",Ck="≸",Ek="⋪",Sk="⋬",Tk="⋫",Ak="⋭",Mk="Ν",Nk="ν",Dk="#",Ok="№",Lk=" ",Bk="≍⃒",Ik="⊬",Rk="⊭",Fk="⊮",Pk="⊯",zk="≥⃒",qk=">⃒",jk="⤄",Hk="⧞",Uk="⤂",$k="≤⃒",Wk="<⃒",Yk="⊴⃒",Vk="⤃",Gk="⊵⃒",Xk="∼⃒",Zk="⤣",Kk="↖",Qk="⇖",Jk="↖",tC="⤧",eC="Ó",nC="ó",rC="⊛",iC="Ô",aC="ô",oC="⊚",sC="О",lC="о",cC="⊝",uC="Ő",hC="ő",fC="⨸",dC="⊙",pC="⦼",gC="Œ",mC="œ",yC="⦿",vC="𝔒",bC="𝔬",_C="˛",xC="Ò",wC="ò",kC="⧁",CC="⦵",EC="Ω",SC="∮",TC="↺",AC="⦾",MC="⦻",NC="‾",DC="⧀",OC="Ō",LC="ō",BC="Ω",IC="ω",RC="Ο",FC="ο",PC="⦶",zC="⊖",qC="𝕆",jC="𝕠",HC="⦷",UC="“",$C="‘",WC="⦹",YC="⊕",VC="↻",GC="⩔",XC="∨",ZC="⩝",KC="ℴ",QC="ℴ",JC="ª",tE="º",eE="⊶",nE="⩖",rE="⩗",iE="⩛",aE="Ⓢ",oE="𝒪",sE="ℴ",lE="Ø",cE="ø",uE="⊘",hE="Õ",fE="õ",dE="⨶",pE="⨷",gE="⊗",mE="Ö",yE="ö",vE="⌽",bE="‾",_E="⏞",xE="⎴",wE="⏜",kE="¶",CE="∥",EE="∥",SE="⫳",TE="⫽",AE="∂",ME="∂",NE="П",DE="п",OE="%",LE=".",BE="‰",IE="⊥",RE="‱",FE="𝔓",PE="𝔭",zE="Φ",qE="φ",jE="ϕ",HE="ℳ",UE="☎",$E="Π",WE="π",YE="⋔",VE="ϖ",GE="ℏ",XE="ℎ",ZE="ℏ",KE="⨣",QE="⊞",JE="⨢",tS="+",eS="∔",nS="⨥",rS="⩲",iS="±",aS="±",oS="⨦",sS="⨧",lS="±",cS="ℌ",uS="⨕",hS="𝕡",fS="ℙ",dS="£",pS="⪷",gS="⪻",mS="≺",yS="≼",vS="⪷",bS="≺",_S="≼",xS="≺",wS="⪯",kS="≼",CS="≾",ES="⪯",SS="⪹",TS="⪵",AS="⋨",MS="⪯",NS="⪳",DS="≾",OS="′",LS="″",BS="ℙ",IS="⪹",RS="⪵",FS="⋨",PS="∏",zS="∏",qS="⌮",jS="⌒",HS="⌓",US="∝",$S="∝",WS="∷",YS="∝",VS="≾",GS="⊰",XS="𝒫",ZS="𝓅",KS="Ψ",QS="ψ",JS=" ",tT="𝔔",eT="𝔮",nT="⨌",rT="𝕢",iT="ℚ",aT="⁗",oT="𝒬",sT="𝓆",lT="ℍ",cT="⨖",uT="?",hT="≟",fT='"',dT='"',pT="⇛",gT="∽̱",mT="Ŕ",yT="ŕ",vT="√",bT="⦳",_T="⟩",xT="⟫",wT="⦒",kT="⦥",CT="⟩",ET="»",ST="⥵",TT="⇥",AT="⤠",MT="⤳",NT="→",DT="↠",OT="⇒",LT="⤞",BT="↪",IT="↬",RT="⥅",FT="⥴",PT="⤖",zT="↣",qT="↝",jT="⤚",HT="⤜",UT="∶",$T="ℚ",WT="⤍",YT="⤏",VT="⤐",GT="❳",XT="}",ZT="]",KT="⦌",QT="⦎",JT="⦐",tA="Ř",eA="ř",nA="Ŗ",rA="ŗ",iA="⌉",aA="}",oA="Р",sA="р",lA="⤷",cA="⥩",uA="”",hA="”",fA="↳",dA="ℜ",pA="ℛ",gA="ℜ",mA="ℝ",yA="ℜ",vA="▭",bA="®",_A="®",xA="∋",wA="⇋",kA="⥯",CA="⥽",EA="⌋",SA="𝔯",TA="ℜ",AA="⥤",MA="⇁",NA="⇀",DA="⥬",OA="Ρ",LA="ρ",BA="ϱ",IA="⟩",RA="⇥",FA="→",PA="→",zA="⇒",qA="⇄",jA="↣",HA="⌉",UA="⟧",$A="⥝",WA="⥕",YA="⇂",VA="⌋",GA="⇁",XA="⇀",ZA="⇄",KA="⇌",QA="⇉",JA="↝",tM="↦",eM="⊢",nM="⥛",rM="⋌",iM="⧐",aM="⊳",oM="⊵",sM="⥏",lM="⥜",cM="⥔",uM="↾",hM="⥓",fM="⇀",dM="˚",pM="≓",gM="⇄",mM="⇌",yM="‏",vM="⎱",bM="⎱",_M="⫮",xM="⟭",wM="⇾",kM="⟧",CM="⦆",EM="𝕣",SM="ℝ",TM="⨮",AM="⨵",MM="⥰",NM=")",DM="⦔",OM="⨒",LM="⇉",BM="⇛",IM="›",RM="𝓇",FM="ℛ",PM="↱",zM="↱",qM="]",jM="’",HM="’",UM="⋌",$M="⋊",WM="▹",YM="⊵",VM="▸",GM="⧎",XM="⧴",ZM="⥨",KM="℞",QM="Ś",JM="ś",tN="‚",eN="⪸",nN="Š",rN="š",iN="⪼",aN="≻",oN="≽",sN="⪰",lN="⪴",cN="Ş",uN="ş",hN="Ŝ",fN="ŝ",dN="⪺",pN="⪶",gN="⋩",mN="⨓",yN="≿",vN="С",bN="с",_N="⊡",xN="⋅",wN="⩦",kN="⤥",CN="↘",EN="⇘",SN="↘",TN="§",AN=";",MN="⤩",NN="∖",DN="∖",ON="✶",LN="𝔖",BN="𝔰",IN="⌢",RN="♯",FN="Щ",PN="щ",zN="Ш",qN="ш",jN="↓",HN="←",UN="∣",$N="∥",WN="→",YN="↑",VN="­",GN="Σ",XN="σ",ZN="ς",KN="ς",QN="∼",JN="⩪",tD="≃",eD="≃",nD="⪞",rD="⪠",iD="⪝",aD="⪟",oD="≆",sD="⨤",lD="⥲",cD="←",uD="∘",hD="∖",fD="⨳",dD="⧤",pD="∣",gD="⌣",mD="⪪",yD="⪬",vD="⪬︀",bD="Ь",_D="ь",xD="⌿",wD="⧄",kD="/",CD="𝕊",ED="𝕤",SD="♠",TD="♠",AD="∥",MD="⊓",ND="⊓︀",DD="⊔",OD="⊔︀",LD="√",BD="⊏",ID="⊑",RD="⊏",FD="⊑",PD="⊐",zD="⊒",qD="⊐",jD="⊒",HD="□",UD="□",$D="⊓",WD="⊏",YD="⊑",VD="⊐",GD="⊒",XD="⊔",ZD="▪",KD="□",QD="▪",JD="→",tO="𝒮",eO="𝓈",nO="∖",rO="⌣",iO="⋆",aO="⋆",oO="☆",sO="★",lO="ϵ",cO="ϕ",uO="¯",hO="⊂",fO="⋐",dO="⪽",pO="⫅",gO="⊆",mO="⫃",yO="⫁",vO="⫋",bO="⊊",_O="⪿",xO="⥹",wO="⊂",kO="⋐",CO="⊆",EO="⫅",SO="⊆",TO="⊊",AO="⫋",MO="⫇",NO="⫕",DO="⫓",OO="⪸",LO="≻",BO="≽",IO="≻",RO="⪰",FO="≽",PO="≿",zO="⪰",qO="⪺",jO="⪶",HO="⋩",UO="≿",$O="∋",WO="∑",YO="∑",VO="♪",GO="¹",XO="²",ZO="³",KO="⊃",QO="⋑",JO="⪾",tL="⫘",eL="⫆",nL="⊇",rL="⫄",iL="⊃",aL="⊇",oL="⟉",sL="⫗",lL="⥻",cL="⫂",uL="⫌",hL="⊋",fL="⫀",dL="⊃",pL="⋑",gL="⊇",mL="⫆",yL="⊋",vL="⫌",bL="⫈",_L="⫔",xL="⫖",wL="⤦",kL="↙",CL="⇙",EL="↙",SL="⤪",TL="ß",AL="\t",ML="⌖",NL="Τ",DL="τ",OL="⎴",LL="Ť",BL="ť",IL="Ţ",RL="ţ",FL="Т",PL="т",zL="⃛",qL="⌕",jL="𝔗",HL="𝔱",UL="∴",$L="∴",WL="∴",YL="Θ",VL="θ",GL="ϑ",XL="ϑ",ZL="≈",KL="∼",QL="  ",JL=" ",tB=" ",eB="≈",nB="∼",rB="Þ",iB="þ",aB="˜",oB="∼",sB="≃",lB="≅",cB="≈",uB="⨱",hB="⊠",fB="×",dB="⨰",pB="∭",gB="⤨",mB="⌶",yB="⫱",vB="⊤",bB="𝕋",_B="𝕥",xB="⫚",wB="⤩",kB="‴",CB="™",EB="™",SB="▵",TB="▿",AB="◃",MB="⊴",NB="≜",DB="▹",OB="⊵",LB="◬",BB="≜",IB="⨺",RB="⃛",FB="⨹",PB="⧍",zB="⨻",qB="⏢",jB="𝒯",HB="𝓉",UB="Ц",$B="ц",WB="Ћ",YB="ћ",VB="Ŧ",GB="ŧ",XB="≬",ZB="↞",KB="↠",QB="Ú",JB="ú",tI="↑",eI="↟",nI="⇑",rI="⥉",iI="Ў",aI="ў",oI="Ŭ",sI="ŭ",lI="Û",cI="û",uI="У",hI="у",fI="⇅",dI="Ű",pI="ű",gI="⥮",mI="⥾",yI="𝔘",vI="𝔲",bI="Ù",_I="ù",xI="⥣",wI="↿",kI="↾",CI="▀",EI="⌜",SI="⌜",TI="⌏",AI="◸",MI="Ū",NI="ū",DI="¨",OI="_",LI="⏟",BI="⎵",II="⏝",RI="⋃",FI="⊎",PI="Ų",zI="ų",qI="𝕌",jI="𝕦",HI="⤒",UI="↑",$I="↑",WI="⇑",YI="⇅",VI="↕",GI="↕",XI="⇕",ZI="⥮",KI="↿",QI="↾",JI="⊎",tR="↖",eR="↗",nR="υ",rR="ϒ",iR="ϒ",aR="Υ",oR="υ",sR="↥",lR="⊥",cR="⇈",uR="⌝",hR="⌝",fR="⌎",dR="Ů",pR="ů",gR="◹",mR="𝒰",yR="𝓊",vR="⋰",bR="Ũ",_R="ũ",xR="▵",wR="▴",kR="⇈",CR="Ü",ER="ü",SR="⦧",TR="⦜",AR="ϵ",MR="ϰ",NR="∅",DR="ϕ",OR="ϖ",LR="∝",BR="↕",IR="⇕",RR="ϱ",FR="ς",PR="⊊︀",zR="⫋︀",qR="⊋︀",jR="⫌︀",HR="ϑ",UR="⊲",$R="⊳",WR="⫨",YR="⫫",VR="⫩",GR="В",XR="в",ZR="⊢",KR="⊨",QR="⊩",JR="⊫",tF="⫦",eF="⊻",nF="∨",rF="⋁",iF="≚",aF="⋮",oF="|",sF="‖",lF="|",cF="‖",uF="∣",hF="|",fF="❘",dF="≀",pF=" ",gF="𝔙",mF="𝔳",yF="⊲",vF="⊂⃒",bF="⊃⃒",_F="𝕍",xF="𝕧",wF="∝",kF="⊳",CF="𝒱",EF="𝓋",SF="⫋︀",TF="⊊︀",AF="⫌︀",MF="⊋︀",NF="⊪",DF="⦚",OF="Ŵ",LF="ŵ",BF="⩟",IF="∧",RF="⋀",FF="≙",PF="℘",zF="𝔚",qF="𝔴",jF="𝕎",HF="𝕨",UF="℘",$F="≀",WF="≀",YF="𝒲",VF="𝓌",GF="⋂",XF="◯",ZF="⋃",KF="▽",QF="𝔛",JF="𝔵",tP="⟷",eP="⟺",nP="Ξ",rP="ξ",iP="⟵",aP="⟸",oP="⟼",sP="⋻",lP="⨀",cP="𝕏",uP="𝕩",hP="⨁",fP="⨂",dP="⟶",pP="⟹",gP="𝒳",mP="𝓍",yP="⨆",vP="⨄",bP="△",_P="⋁",xP="⋀",wP="Ý",kP="ý",CP="Я",EP="я",SP="Ŷ",TP="ŷ",AP="Ы",MP="ы",NP="¥",DP="𝔜",OP="𝔶",LP="Ї",BP="ї",IP="𝕐",RP="𝕪",FP="𝒴",PP="𝓎",zP="Ю",qP="ю",jP="ÿ",HP="Ÿ",UP="Ź",$P="ź",WP="Ž",YP="ž",VP="З",GP="з",XP="Ż",ZP="ż",KP="ℨ",QP="​",JP="Ζ",tz="ζ",ez="𝔷",nz="ℨ",rz="Ж",iz="ж",az="⇝",oz="𝕫",sz="ℤ",lz="𝒵",cz="𝓏",uz="‍",hz="‌";var fz={Aacute:Y,aacute:V,Abreve:G,abreve:X,ac:Z,acd:K,acE:Q,Acirc:J,acirc:tt,acute:et,Acy:nt,acy:rt,AElig:it,aelig:at,af:ot,Afr:st,afr:lt,Agrave:ct,agrave:ut,alefsym:ht,aleph:ft,Alpha:dt,alpha:pt,Amacr:gt,amacr:mt,amalg:yt,amp:vt,AMP:bt,andand:_t,And:xt,and:wt,andd:kt,andslope:Ct,andv:Et,ang:St,ange:Tt,angle:At,angmsdaa:Mt,angmsdab:Nt,angmsdac:Dt,angmsdad:Ot,angmsdae:Lt,angmsdaf:Bt,angmsdag:It,angmsdah:Rt,angmsd:Ft,angrt:Pt,angrtvb:zt,angrtvbd:qt,angsph:jt,angst:Ht,angzarr:Ut,Aogon:$t,aogon:Wt,Aopf:Yt,aopf:Vt,apacir:Gt,ap:Xt,apE:Zt,ape:Kt,apid:Qt,apos:Jt,ApplyFunction:te,approx:ee,approxeq:ne,Aring:re,aring:ie,Ascr:ae,ascr:oe,Assign:se,ast:le,asymp:ce,asympeq:ue,Atilde:he,atilde:fe,Auml:de,auml:pe,awconint:ge,awint:me,backcong:ye,backepsilon:ve,backprime:be,backsim:_e,backsimeq:xe,Backslash:we,Barv:ke,barvee:Ce,barwed:Ee,Barwed:Se,barwedge:Te,bbrk:Ae,bbrktbrk:Me,bcong:Ne,Bcy:De,bcy:Oe,bdquo:Le,becaus:Be,because:Ie,Because:Re,bemptyv:Fe,bepsi:Pe,bernou:ze,Bernoullis:qe,Beta:je,beta:He,beth:Ue,between:$e,Bfr:We,bfr:Ye,bigcap:Ve,bigcirc:Ge,bigcup:Xe,bigodot:Ze,bigoplus:Ke,bigotimes:Qe,bigsqcup:Je,bigstar:tn,bigtriangledown:en,bigtriangleup:nn,biguplus:rn,bigvee:an,bigwedge:on,bkarow:sn,blacklozenge:ln,blacksquare:cn,blacktriangle:un,blacktriangledown:hn,blacktriangleleft:fn,blacktriangleright:dn,blank:pn,blk12:gn,blk14:mn,blk34:yn,block:vn,bne:bn,bnequiv:_n,bNot:xn,bnot:wn,Bopf:kn,bopf:Cn,bot:En,bottom:Sn,bowtie:Tn,boxbox:An,boxdl:Mn,boxdL:Nn,boxDl:Dn,boxDL:On,boxdr:Ln,boxdR:Bn,boxDr:In,boxDR:Rn,boxh:Fn,boxH:Pn,boxhd:zn,boxHd:qn,boxhD:jn,boxHD:Hn,boxhu:Un,boxHu:$n,boxhU:Wn,boxHU:Yn,boxminus:Vn,boxplus:Gn,boxtimes:Xn,boxul:Zn,boxuL:Kn,boxUl:Qn,boxUL:Jn,boxur:tr,boxuR:er,boxUr:nr,boxUR:rr,boxv:ir,boxV:ar,boxvh:or,boxvH:sr,boxVh:lr,boxVH:cr,boxvl:ur,boxvL:hr,boxVl:fr,boxVL:dr,boxvr:pr,boxvR:gr,boxVr:mr,boxVR:yr,bprime:vr,breve:br,Breve:_r,brvbar:xr,bscr:wr,Bscr:kr,bsemi:Cr,bsim:Er,bsime:Sr,bsolb:Tr,bsol:Ar,bsolhsub:Mr,bull:Nr,bullet:Dr,bump:Or,bumpE:Lr,bumpe:Br,Bumpeq:Ir,bumpeq:Rr,Cacute:Fr,cacute:Pr,capand:zr,capbrcup:qr,capcap:jr,cap:Hr,Cap:Ur,capcup:$r,capdot:Wr,CapitalDifferentialD:Yr,caps:Vr,caret:Gr,caron:Xr,Cayleys:Zr,ccaps:Kr,Ccaron:Qr,ccaron:Jr,Ccedil:ti,ccedil:ei,Ccirc:ni,ccirc:ri,Cconint:ii,ccups:ai,ccupssm:oi,Cdot:si,cdot:li,cedil:ci,Cedilla:ui,cemptyv:hi,cent:fi,centerdot:di,CenterDot:pi,cfr:gi,Cfr:mi,CHcy:yi,chcy:vi,check:bi,checkmark:_i,Chi:xi,chi:wi,circ:ki,circeq:Ci,circlearrowleft:Ei,circlearrowright:Si,circledast:Ti,circledcirc:Ai,circleddash:Mi,CircleDot:Ni,circledR:Di,circledS:Oi,CircleMinus:Li,CirclePlus:Bi,CircleTimes:Ii,cir:Ri,cirE:Fi,cire:Pi,cirfnint:zi,cirmid:qi,cirscir:ji,ClockwiseContourIntegral:Hi,CloseCurlyDoubleQuote:Ui,CloseCurlyQuote:$i,clubs:Wi,clubsuit:Yi,colon:Vi,Colon:Gi,Colone:Xi,colone:Zi,coloneq:Ki,comma:Qi,commat:Ji,comp:ta,compfn:ea,complement:na,complexes:ra,cong:ia,congdot:aa,Congruent:oa,conint:sa,Conint:la,ContourIntegral:ca,copf:ua,Copf:ha,coprod:fa,Coproduct:da,copy:pa,COPY:ga,copysr:ma,CounterClockwiseContourIntegral:ya,crarr:va,cross:ba,Cross:_a,Cscr:xa,cscr:wa,csub:ka,csube:Ca,csup:Ea,csupe:Sa,ctdot:Ta,cudarrl:Aa,cudarrr:Ma,cuepr:Na,cuesc:Da,cularr:Oa,cularrp:La,cupbrcap:Ba,cupcap:Ia,CupCap:Ra,cup:Fa,Cup:Pa,cupcup:za,cupdot:qa,cupor:ja,cups:Ha,curarr:Ua,curarrm:$a,curlyeqprec:Wa,curlyeqsucc:Ya,curlyvee:Va,curlywedge:Ga,curren:Xa,curvearrowleft:Za,curvearrowright:Ka,cuvee:Qa,cuwed:Ja,cwconint:to,cwint:eo,cylcty:no,dagger:ro,Dagger:io,daleth:ao,darr:oo,Darr:so,dArr:lo,dash:co,Dashv:uo,dashv:ho,dbkarow:fo,dblac:po,Dcaron:go,dcaron:mo,Dcy:yo,dcy:vo,ddagger:bo,ddarr:_o,DD:xo,dd:wo,DDotrahd:ko,ddotseq:Co,deg:Eo,Del:So,Delta:To,delta:Ao,demptyv:Mo,dfisht:No,Dfr:Do,dfr:Oo,dHar:Lo,dharl:Bo,dharr:Io,DiacriticalAcute:Ro,DiacriticalDot:Fo,DiacriticalDoubleAcute:Po,DiacriticalGrave:zo,DiacriticalTilde:qo,diam:jo,diamond:Ho,Diamond:Uo,diamondsuit:$o,diams:Wo,die:Yo,DifferentialD:Vo,digamma:Go,disin:Xo,div:Zo,divide:Ko,divideontimes:Qo,divonx:Jo,DJcy:ts,djcy:es,dlcorn:ns,dlcrop:rs,dollar:is,Dopf:as,dopf:os,Dot:ss,dot:ls,DotDot:cs,doteq:us,doteqdot:hs,DotEqual:fs,dotminus:ds,dotplus:ps,dotsquare:gs,doublebarwedge:ms,DoubleContourIntegral:ys,DoubleDot:vs,DoubleDownArrow:bs,DoubleLeftArrow:_s,DoubleLeftRightArrow:xs,DoubleLeftTee:ws,DoubleLongLeftArrow:ks,DoubleLongLeftRightArrow:Cs,DoubleLongRightArrow:Es,DoubleRightArrow:Ss,DoubleRightTee:Ts,DoubleUpArrow:As,DoubleUpDownArrow:Ms,DoubleVerticalBar:Ns,DownArrowBar:Ds,downarrow:Os,DownArrow:Ls,Downarrow:Bs,DownArrowUpArrow:Is,DownBreve:Rs,downdownarrows:Fs,downharpoonleft:Ps,downharpoonright:zs,DownLeftRightVector:qs,DownLeftTeeVector:js,DownLeftVectorBar:Hs,DownLeftVector:Us,DownRightTeeVector:$s,DownRightVectorBar:Ws,DownRightVector:Ys,DownTeeArrow:Vs,DownTee:Gs,drbkarow:Xs,drcorn:Zs,drcrop:Ks,Dscr:Qs,dscr:Js,DScy:tl,dscy:el,dsol:nl,Dstrok:rl,dstrok:il,dtdot:al,dtri:ol,dtrif:sl,duarr:ll,duhar:cl,dwangle:ul,DZcy:hl,dzcy:fl,dzigrarr:dl,Eacute:pl,eacute:gl,easter:ml,Ecaron:yl,ecaron:vl,Ecirc:bl,ecirc:_l,ecir:xl,ecolon:wl,Ecy:kl,ecy:Cl,eDDot:El,Edot:Sl,edot:Tl,eDot:Al,ee:Ml,efDot:Nl,Efr:Dl,efr:Ol,eg:Ll,Egrave:Bl,egrave:Il,egs:Rl,egsdot:Fl,el:Pl,Element:zl,elinters:ql,ell:jl,els:Hl,elsdot:Ul,Emacr:$l,emacr:Wl,empty:Yl,emptyset:Vl,EmptySmallSquare:Gl,emptyv:Xl,EmptyVerySmallSquare:Zl,emsp13:Kl,emsp14:Ql,emsp:Jl,ENG:tc,eng:ec,ensp:nc,Eogon:rc,eogon:ic,Eopf:ac,eopf:oc,epar:sc,eparsl:lc,eplus:cc,epsi:uc,Epsilon:hc,epsilon:fc,epsiv:dc,eqcirc:pc,eqcolon:gc,eqsim:mc,eqslantgtr:yc,eqslantless:vc,Equal:bc,equals:_c,EqualTilde:xc,equest:wc,Equilibrium:kc,equiv:Cc,equivDD:Ec,eqvparsl:Sc,erarr:Tc,erDot:Ac,escr:Mc,Escr:Nc,esdot:Dc,Esim:Oc,esim:Lc,Eta:Bc,eta:Ic,ETH:Rc,eth:Fc,Euml:Pc,euml:zc,euro:qc,excl:jc,exist:Hc,Exists:Uc,expectation:$c,exponentiale:Wc,ExponentialE:Yc,fallingdotseq:Vc,Fcy:Gc,fcy:Xc,female:Zc,ffilig:Kc,fflig:Qc,ffllig:Jc,Ffr:tu,ffr:eu,filig:nu,FilledSmallSquare:ru,FilledVerySmallSquare:iu,fjlig:au,flat:ou,fllig:su,fltns:lu,fnof:cu,Fopf:uu,fopf:hu,forall:fu,ForAll:du,fork:pu,forkv:gu,Fouriertrf:mu,fpartint:yu,frac12:vu,frac13:bu,frac14:_u,frac15:xu,frac16:wu,frac18:ku,frac23:Cu,frac25:Eu,frac34:Su,frac35:Tu,frac38:Au,frac45:Mu,frac56:Nu,frac58:Du,frac78:Ou,frasl:Lu,frown:Bu,fscr:Iu,Fscr:Ru,gacute:Fu,Gamma:Pu,gamma:zu,Gammad:qu,gammad:ju,gap:Hu,Gbreve:Uu,gbreve:$u,Gcedil:Wu,Gcirc:Yu,gcirc:Vu,Gcy:Gu,gcy:Xu,Gdot:Zu,gdot:Ku,ge:Qu,gE:Ju,gEl:th,gel:eh,geq:nh,geqq:rh,geqslant:ih,gescc:ah,ges:oh,gesdot:sh,gesdoto:lh,gesdotol:ch,gesl:uh,gesles:hh,Gfr:fh,gfr:dh,gg:ph,Gg:gh,ggg:mh,gimel:yh,GJcy:vh,gjcy:bh,gla:_h,gl:xh,glE:wh,glj:kh,gnap:Ch,gnapprox:Eh,gne:Sh,gnE:Th,gneq:Ah,gneqq:Mh,gnsim:Nh,Gopf:Dh,gopf:Oh,grave:Lh,GreaterEqual:Bh,GreaterEqualLess:Ih,GreaterFullEqual:Rh,GreaterGreater:Fh,GreaterLess:Ph,GreaterSlantEqual:zh,GreaterTilde:qh,Gscr:jh,gscr:Hh,gsim:Uh,gsime:$h,gsiml:Wh,gtcc:Yh,gtcir:Vh,gt:Gh,GT:Xh,Gt:Zh,gtdot:Kh,gtlPar:Qh,gtquest:Jh,gtrapprox:tf,gtrarr:ef,gtrdot:nf,gtreqless:rf,gtreqqless:af,gtrless:of,gtrsim:sf,gvertneqq:lf,gvnE:cf,Hacek:uf,hairsp:hf,half:ff,hamilt:df,HARDcy:pf,hardcy:gf,harrcir:mf,harr:yf,hArr:vf,harrw:bf,Hat:_f,hbar:xf,Hcirc:wf,hcirc:kf,hearts:Cf,heartsuit:Ef,hellip:Sf,hercon:Tf,hfr:Af,Hfr:Mf,HilbertSpace:Nf,hksearow:Df,hkswarow:Of,hoarr:Lf,homtht:Bf,hookleftarrow:If,hookrightarrow:Rf,hopf:Ff,Hopf:Pf,horbar:zf,HorizontalLine:qf,hscr:jf,Hscr:Hf,hslash:Uf,Hstrok:$f,hstrok:Wf,HumpDownHump:Yf,HumpEqual:Vf,hybull:Gf,hyphen:Xf,Iacute:Zf,iacute:Kf,ic:Qf,Icirc:Jf,icirc:td,Icy:ed,icy:nd,Idot:rd,IEcy:id,iecy:ad,iexcl:od,iff:sd,ifr:ld,Ifr:cd,Igrave:ud,igrave:hd,ii:fd,iiiint:dd,iiint:pd,iinfin:gd,iiota:md,IJlig:yd,ijlig:vd,Imacr:bd,imacr:_d,image:xd,ImaginaryI:wd,imagline:kd,imagpart:Cd,imath:Ed,Im:Sd,imof:Td,imped:Ad,Implies:Md,incare:Nd,in:"∈",infin:Dd,infintie:Od,inodot:Ld,intcal:Bd,int:Id,Int:Rd,integers:Fd,Integral:Pd,intercal:zd,Intersection:qd,intlarhk:jd,intprod:Hd,InvisibleComma:Ud,InvisibleTimes:$d,IOcy:Wd,iocy:Yd,Iogon:Vd,iogon:Gd,Iopf:Xd,iopf:Zd,Iota:Kd,iota:Qd,iprod:Jd,iquest:tp,iscr:ep,Iscr:np,isin:rp,isindot:ip,isinE:ap,isins:op,isinsv:sp,isinv:lp,it:cp,Itilde:up,itilde:hp,Iukcy:fp,iukcy:dp,Iuml:pp,iuml:gp,Jcirc:mp,jcirc:yp,Jcy:vp,jcy:bp,Jfr:_p,jfr:xp,jmath:wp,Jopf:kp,jopf:Cp,Jscr:Ep,jscr:Sp,Jsercy:Tp,jsercy:Ap,Jukcy:Mp,jukcy:Np,Kappa:Dp,kappa:Op,kappav:Lp,Kcedil:Bp,kcedil:Ip,Kcy:Rp,kcy:Fp,Kfr:Pp,kfr:zp,kgreen:qp,KHcy:jp,khcy:Hp,KJcy:Up,kjcy:$p,Kopf:Wp,kopf:Yp,Kscr:Vp,kscr:Gp,lAarr:Xp,Lacute:Zp,lacute:Kp,laemptyv:Qp,lagran:Jp,Lambda:tg,lambda:eg,lang:ng,Lang:rg,langd:ig,langle:ag,lap:og,Laplacetrf:sg,laquo:lg,larrb:cg,larrbfs:ug,larr:hg,Larr:fg,lArr:dg,larrfs:pg,larrhk:gg,larrlp:mg,larrpl:yg,larrsim:vg,larrtl:bg,latail:_g,lAtail:xg,lat:wg,late:kg,lates:Cg,lbarr:Eg,lBarr:Sg,lbbrk:Tg,lbrace:Ag,lbrack:Mg,lbrke:Ng,lbrksld:Dg,lbrkslu:Og,Lcaron:Lg,lcaron:Bg,Lcedil:Ig,lcedil:Rg,lceil:Fg,lcub:Pg,Lcy:zg,lcy:qg,ldca:jg,ldquo:Hg,ldquor:Ug,ldrdhar:$g,ldrushar:Wg,ldsh:Yg,le:Vg,lE:Gg,LeftAngleBracket:Xg,LeftArrowBar:Zg,leftarrow:Kg,LeftArrow:Qg,Leftarrow:Jg,LeftArrowRightArrow:tm,leftarrowtail:em,LeftCeiling:nm,LeftDoubleBracket:rm,LeftDownTeeVector:im,LeftDownVectorBar:am,LeftDownVector:om,LeftFloor:sm,leftharpoondown:lm,leftharpoonup:cm,leftleftarrows:um,leftrightarrow:hm,LeftRightArrow:fm,Leftrightarrow:dm,leftrightarrows:pm,leftrightharpoons:gm,leftrightsquigarrow:mm,LeftRightVector:ym,LeftTeeArrow:vm,LeftTee:bm,LeftTeeVector:_m,leftthreetimes:xm,LeftTriangleBar:wm,LeftTriangle:km,LeftTriangleEqual:Cm,LeftUpDownVector:Em,LeftUpTeeVector:Sm,LeftUpVectorBar:Tm,LeftUpVector:Am,LeftVectorBar:Mm,LeftVector:Nm,lEg:Dm,leg:Om,leq:Lm,leqq:Bm,leqslant:Im,lescc:Rm,les:Fm,lesdot:Pm,lesdoto:zm,lesdotor:qm,lesg:jm,lesges:Hm,lessapprox:Um,lessdot:$m,lesseqgtr:Wm,lesseqqgtr:Ym,LessEqualGreater:Vm,LessFullEqual:Gm,LessGreater:Xm,lessgtr:Zm,LessLess:Km,lesssim:Qm,LessSlantEqual:Jm,LessTilde:ty,lfisht:ey,lfloor:ny,Lfr:ry,lfr:iy,lg:ay,lgE:oy,lHar:sy,lhard:ly,lharu:cy,lharul:uy,lhblk:hy,LJcy:fy,ljcy:dy,llarr:py,ll:gy,Ll:my,llcorner:yy,Lleftarrow:vy,llhard:by,lltri:_y,Lmidot:xy,lmidot:wy,lmoustache:ky,lmoust:Cy,lnap:Ey,lnapprox:Sy,lne:Ty,lnE:Ay,lneq:My,lneqq:Ny,lnsim:Dy,loang:Oy,loarr:Ly,lobrk:By,longleftarrow:Iy,LongLeftArrow:Ry,Longleftarrow:Fy,longleftrightarrow:Py,LongLeftRightArrow:zy,Longleftrightarrow:qy,longmapsto:jy,longrightarrow:Hy,LongRightArrow:Uy,Longrightarrow:$y,looparrowleft:Wy,looparrowright:Yy,lopar:Vy,Lopf:Gy,lopf:Xy,loplus:Zy,lotimes:Ky,lowast:Qy,lowbar:Jy,LowerLeftArrow:tv,LowerRightArrow:ev,loz:nv,lozenge:rv,lozf:iv,lpar:av,lparlt:ov,lrarr:sv,lrcorner:lv,lrhar:cv,lrhard:uv,lrm:hv,lrtri:fv,lsaquo:dv,lscr:pv,Lscr:gv,lsh:mv,Lsh:yv,lsim:vv,lsime:bv,lsimg:_v,lsqb:xv,lsquo:wv,lsquor:kv,Lstrok:Cv,lstrok:Ev,ltcc:Sv,ltcir:Tv,lt:Av,LT:Mv,Lt:Nv,ltdot:Dv,lthree:Ov,ltimes:Lv,ltlarr:Bv,ltquest:Iv,ltri:Rv,ltrie:Fv,ltrif:Pv,ltrPar:zv,lurdshar:qv,luruhar:jv,lvertneqq:Hv,lvnE:Uv,macr:$v,male:Wv,malt:Yv,maltese:Vv,Map:"⤅",map:Gv,mapsto:Xv,mapstodown:Zv,mapstoleft:Kv,mapstoup:Qv,marker:Jv,mcomma:tb,Mcy:eb,mcy:nb,mdash:rb,mDDot:ib,measuredangle:ab,MediumSpace:ob,Mellintrf:sb,Mfr:lb,mfr:cb,mho:ub,micro:hb,midast:fb,midcir:db,mid:pb,middot:gb,minusb:mb,minus:yb,minusd:vb,minusdu:bb,MinusPlus:_b,mlcp:xb,mldr:wb,mnplus:kb,models:Cb,Mopf:Eb,mopf:Sb,mp:Tb,mscr:Ab,Mscr:Mb,mstpos:Nb,Mu:Db,mu:Ob,multimap:Lb,mumap:Bb,nabla:Ib,Nacute:Rb,nacute:Fb,nang:Pb,nap:zb,napE:qb,napid:jb,napos:Hb,napprox:Ub,natural:$b,naturals:Wb,natur:Yb,nbsp:Vb,nbump:Gb,nbumpe:Xb,ncap:Zb,Ncaron:Kb,ncaron:Qb,Ncedil:Jb,ncedil:t_,ncong:e_,ncongdot:n_,ncup:r_,Ncy:i_,ncy:a_,ndash:o_,nearhk:s_,nearr:l_,neArr:c_,nearrow:u_,ne:h_,nedot:f_,NegativeMediumSpace:d_,NegativeThickSpace:p_,NegativeThinSpace:g_,NegativeVeryThinSpace:m_,nequiv:y_,nesear:v_,nesim:b_,NestedGreaterGreater:__,NestedLessLess:x_,NewLine:w_,nexist:k_,nexists:C_,Nfr:E_,nfr:S_,ngE:T_,nge:A_,ngeq:M_,ngeqq:N_,ngeqslant:D_,nges:O_,nGg:L_,ngsim:B_,nGt:I_,ngt:R_,ngtr:F_,nGtv:P_,nharr:z_,nhArr:q_,nhpar:j_,ni:H_,nis:U_,nisd:$_,niv:W_,NJcy:Y_,njcy:V_,nlarr:G_,nlArr:X_,nldr:Z_,nlE:K_,nle:Q_,nleftarrow:J_,nLeftarrow:tx,nleftrightarrow:ex,nLeftrightarrow:nx,nleq:rx,nleqq:ix,nleqslant:ax,nles:ox,nless:sx,nLl:lx,nlsim:cx,nLt:ux,nlt:hx,nltri:fx,nltrie:dx,nLtv:px,nmid:gx,NoBreak:mx,NonBreakingSpace:yx,nopf:vx,Nopf:bx,Not:_x,not:xx,NotCongruent:wx,NotCupCap:kx,NotDoubleVerticalBar:Cx,NotElement:Ex,NotEqual:Sx,NotEqualTilde:Tx,NotExists:Ax,NotGreater:Mx,NotGreaterEqual:Nx,NotGreaterFullEqual:Dx,NotGreaterGreater:Ox,NotGreaterLess:Lx,NotGreaterSlantEqual:Bx,NotGreaterTilde:Ix,NotHumpDownHump:Rx,NotHumpEqual:Fx,notin:Px,notindot:zx,notinE:qx,notinva:jx,notinvb:Hx,notinvc:Ux,NotLeftTriangleBar:$x,NotLeftTriangle:Wx,NotLeftTriangleEqual:Yx,NotLess:Vx,NotLessEqual:Gx,NotLessGreater:Xx,NotLessLess:Zx,NotLessSlantEqual:Kx,NotLessTilde:Qx,NotNestedGreaterGreater:Jx,NotNestedLessLess:tw,notni:ew,notniva:nw,notnivb:rw,notnivc:iw,NotPrecedes:aw,NotPrecedesEqual:ow,NotPrecedesSlantEqual:sw,NotReverseElement:lw,NotRightTriangleBar:cw,NotRightTriangle:uw,NotRightTriangleEqual:hw,NotSquareSubset:fw,NotSquareSubsetEqual:dw,NotSquareSuperset:pw,NotSquareSupersetEqual:gw,NotSubset:mw,NotSubsetEqual:yw,NotSucceeds:vw,NotSucceedsEqual:bw,NotSucceedsSlantEqual:_w,NotSucceedsTilde:xw,NotSuperset:ww,NotSupersetEqual:kw,NotTilde:Cw,NotTildeEqual:Ew,NotTildeFullEqual:Sw,NotTildeTilde:Tw,NotVerticalBar:Aw,nparallel:Mw,npar:Nw,nparsl:Dw,npart:Ow,npolint:Lw,npr:Bw,nprcue:Iw,nprec:Rw,npreceq:Fw,npre:Pw,nrarrc:zw,nrarr:qw,nrArr:jw,nrarrw:Hw,nrightarrow:Uw,nRightarrow:$w,nrtri:Ww,nrtrie:Yw,nsc:Vw,nsccue:Gw,nsce:Xw,Nscr:Zw,nscr:Kw,nshortmid:Qw,nshortparallel:Jw,nsim:tk,nsime:ek,nsimeq:nk,nsmid:rk,nspar:ik,nsqsube:ak,nsqsupe:ok,nsub:sk,nsubE:lk,nsube:ck,nsubset:uk,nsubseteq:hk,nsubseteqq:fk,nsucc:dk,nsucceq:pk,nsup:gk,nsupE:mk,nsupe:yk,nsupset:vk,nsupseteq:bk,nsupseteqq:_k,ntgl:xk,Ntilde:wk,ntilde:kk,ntlg:Ck,ntriangleleft:Ek,ntrianglelefteq:Sk,ntriangleright:Tk,ntrianglerighteq:Ak,Nu:Mk,nu:Nk,num:Dk,numero:Ok,numsp:Lk,nvap:Bk,nvdash:Ik,nvDash:Rk,nVdash:Fk,nVDash:Pk,nvge:zk,nvgt:qk,nvHarr:jk,nvinfin:Hk,nvlArr:Uk,nvle:$k,nvlt:Wk,nvltrie:Yk,nvrArr:Vk,nvrtrie:Gk,nvsim:Xk,nwarhk:Zk,nwarr:Kk,nwArr:Qk,nwarrow:Jk,nwnear:tC,Oacute:eC,oacute:nC,oast:rC,Ocirc:iC,ocirc:aC,ocir:oC,Ocy:sC,ocy:lC,odash:cC,Odblac:uC,odblac:hC,odiv:fC,odot:dC,odsold:pC,OElig:gC,oelig:mC,ofcir:yC,Ofr:vC,ofr:bC,ogon:_C,Ograve:xC,ograve:wC,ogt:kC,ohbar:CC,ohm:EC,oint:SC,olarr:TC,olcir:AC,olcross:MC,oline:NC,olt:DC,Omacr:OC,omacr:LC,Omega:BC,omega:IC,Omicron:RC,omicron:FC,omid:PC,ominus:zC,Oopf:qC,oopf:jC,opar:HC,OpenCurlyDoubleQuote:UC,OpenCurlyQuote:$C,operp:WC,oplus:YC,orarr:VC,Or:GC,or:XC,ord:ZC,order:KC,orderof:QC,ordf:JC,ordm:tE,origof:eE,oror:nE,orslope:rE,orv:iE,oS:aE,Oscr:oE,oscr:sE,Oslash:lE,oslash:cE,osol:uE,Otilde:hE,otilde:fE,otimesas:dE,Otimes:pE,otimes:gE,Ouml:mE,ouml:yE,ovbar:vE,OverBar:bE,OverBrace:_E,OverBracket:xE,OverParenthesis:wE,para:kE,parallel:CE,par:EE,parsim:SE,parsl:TE,part:AE,PartialD:ME,Pcy:NE,pcy:DE,percnt:OE,period:LE,permil:BE,perp:IE,pertenk:RE,Pfr:FE,pfr:PE,Phi:zE,phi:qE,phiv:jE,phmmat:HE,phone:UE,Pi:$E,pi:WE,pitchfork:YE,piv:VE,planck:GE,planckh:XE,plankv:ZE,plusacir:KE,plusb:QE,pluscir:JE,plus:tS,plusdo:eS,plusdu:nS,pluse:rS,PlusMinus:iS,plusmn:aS,plussim:oS,plustwo:sS,pm:lS,Poincareplane:cS,pointint:uS,popf:hS,Popf:fS,pound:dS,prap:pS,Pr:gS,pr:mS,prcue:yS,precapprox:vS,prec:bS,preccurlyeq:_S,Precedes:xS,PrecedesEqual:wS,PrecedesSlantEqual:kS,PrecedesTilde:CS,preceq:ES,precnapprox:SS,precneqq:TS,precnsim:AS,pre:MS,prE:NS,precsim:DS,prime:OS,Prime:LS,primes:BS,prnap:IS,prnE:RS,prnsim:FS,prod:PS,Product:zS,profalar:qS,profline:jS,profsurf:HS,prop:US,Proportional:$S,Proportion:WS,propto:YS,prsim:VS,prurel:GS,Pscr:XS,pscr:ZS,Psi:KS,psi:QS,puncsp:JS,Qfr:tT,qfr:eT,qint:nT,qopf:rT,Qopf:iT,qprime:aT,Qscr:oT,qscr:sT,quaternions:lT,quatint:cT,quest:uT,questeq:hT,quot:fT,QUOT:dT,rAarr:pT,race:gT,Racute:mT,racute:yT,radic:vT,raemptyv:bT,rang:_T,Rang:xT,rangd:wT,range:kT,rangle:CT,raquo:ET,rarrap:ST,rarrb:TT,rarrbfs:AT,rarrc:MT,rarr:NT,Rarr:DT,rArr:OT,rarrfs:LT,rarrhk:BT,rarrlp:IT,rarrpl:RT,rarrsim:FT,Rarrtl:PT,rarrtl:zT,rarrw:qT,ratail:jT,rAtail:HT,ratio:UT,rationals:$T,rbarr:WT,rBarr:YT,RBarr:VT,rbbrk:GT,rbrace:XT,rbrack:ZT,rbrke:KT,rbrksld:QT,rbrkslu:JT,Rcaron:tA,rcaron:eA,Rcedil:nA,rcedil:rA,rceil:iA,rcub:aA,Rcy:oA,rcy:sA,rdca:lA,rdldhar:cA,rdquo:uA,rdquor:hA,rdsh:fA,real:dA,realine:pA,realpart:gA,reals:mA,Re:yA,rect:vA,reg:bA,REG:_A,ReverseElement:xA,ReverseEquilibrium:wA,ReverseUpEquilibrium:kA,rfisht:CA,rfloor:EA,rfr:SA,Rfr:TA,rHar:AA,rhard:MA,rharu:NA,rharul:DA,Rho:OA,rho:LA,rhov:BA,RightAngleBracket:IA,RightArrowBar:RA,rightarrow:FA,RightArrow:PA,Rightarrow:zA,RightArrowLeftArrow:qA,rightarrowtail:jA,RightCeiling:HA,RightDoubleBracket:UA,RightDownTeeVector:$A,RightDownVectorBar:WA,RightDownVector:YA,RightFloor:VA,rightharpoondown:GA,rightharpoonup:XA,rightleftarrows:ZA,rightleftharpoons:KA,rightrightarrows:QA,rightsquigarrow:JA,RightTeeArrow:tM,RightTee:eM,RightTeeVector:nM,rightthreetimes:rM,RightTriangleBar:iM,RightTriangle:aM,RightTriangleEqual:oM,RightUpDownVector:sM,RightUpTeeVector:lM,RightUpVectorBar:cM,RightUpVector:uM,RightVectorBar:hM,RightVector:fM,ring:dM,risingdotseq:pM,rlarr:gM,rlhar:mM,rlm:yM,rmoustache:vM,rmoust:bM,rnmid:_M,roang:xM,roarr:wM,robrk:kM,ropar:CM,ropf:EM,Ropf:SM,roplus:TM,rotimes:AM,RoundImplies:MM,rpar:NM,rpargt:DM,rppolint:OM,rrarr:LM,Rrightarrow:BM,rsaquo:IM,rscr:RM,Rscr:FM,rsh:PM,Rsh:zM,rsqb:qM,rsquo:jM,rsquor:HM,rthree:UM,rtimes:$M,rtri:WM,rtrie:YM,rtrif:VM,rtriltri:GM,RuleDelayed:XM,ruluhar:ZM,rx:KM,Sacute:QM,sacute:JM,sbquo:tN,scap:eN,Scaron:nN,scaron:rN,Sc:iN,sc:aN,sccue:oN,sce:sN,scE:lN,Scedil:cN,scedil:uN,Scirc:hN,scirc:fN,scnap:dN,scnE:pN,scnsim:gN,scpolint:mN,scsim:yN,Scy:vN,scy:bN,sdotb:_N,sdot:xN,sdote:wN,searhk:kN,searr:CN,seArr:EN,searrow:SN,sect:TN,semi:AN,seswar:MN,setminus:NN,setmn:DN,sext:ON,Sfr:LN,sfr:BN,sfrown:IN,sharp:RN,SHCHcy:FN,shchcy:PN,SHcy:zN,shcy:qN,ShortDownArrow:jN,ShortLeftArrow:HN,shortmid:UN,shortparallel:$N,ShortRightArrow:WN,ShortUpArrow:YN,shy:VN,Sigma:GN,sigma:XN,sigmaf:ZN,sigmav:KN,sim:QN,simdot:JN,sime:tD,simeq:eD,simg:nD,simgE:rD,siml:iD,simlE:aD,simne:oD,simplus:sD,simrarr:lD,slarr:cD,SmallCircle:uD,smallsetminus:hD,smashp:fD,smeparsl:dD,smid:pD,smile:gD,smt:mD,smte:yD,smtes:vD,SOFTcy:bD,softcy:_D,solbar:xD,solb:wD,sol:kD,Sopf:CD,sopf:ED,spades:SD,spadesuit:TD,spar:AD,sqcap:MD,sqcaps:ND,sqcup:DD,sqcups:OD,Sqrt:LD,sqsub:BD,sqsube:ID,sqsubset:RD,sqsubseteq:FD,sqsup:PD,sqsupe:zD,sqsupset:qD,sqsupseteq:jD,square:HD,Square:UD,SquareIntersection:$D,SquareSubset:WD,SquareSubsetEqual:YD,SquareSuperset:VD,SquareSupersetEqual:GD,SquareUnion:XD,squarf:ZD,squ:KD,squf:QD,srarr:JD,Sscr:tO,sscr:eO,ssetmn:nO,ssmile:rO,sstarf:iO,Star:aO,star:oO,starf:sO,straightepsilon:lO,straightphi:cO,strns:uO,sub:hO,Sub:fO,subdot:dO,subE:pO,sube:gO,subedot:mO,submult:yO,subnE:vO,subne:bO,subplus:_O,subrarr:xO,subset:wO,Subset:kO,subseteq:CO,subseteqq:EO,SubsetEqual:SO,subsetneq:TO,subsetneqq:AO,subsim:MO,subsub:NO,subsup:DO,succapprox:OO,succ:LO,succcurlyeq:BO,Succeeds:IO,SucceedsEqual:RO,SucceedsSlantEqual:FO,SucceedsTilde:PO,succeq:zO,succnapprox:qO,succneqq:jO,succnsim:HO,succsim:UO,SuchThat:$O,sum:WO,Sum:YO,sung:VO,sup1:GO,sup2:XO,sup3:ZO,sup:KO,Sup:QO,supdot:JO,supdsub:tL,supE:eL,supe:nL,supedot:rL,Superset:iL,SupersetEqual:aL,suphsol:oL,suphsub:sL,suplarr:lL,supmult:cL,supnE:uL,supne:hL,supplus:fL,supset:dL,Supset:pL,supseteq:gL,supseteqq:mL,supsetneq:yL,supsetneqq:vL,supsim:bL,supsub:_L,supsup:xL,swarhk:wL,swarr:kL,swArr:CL,swarrow:EL,swnwar:SL,szlig:TL,Tab:AL,target:ML,Tau:NL,tau:DL,tbrk:OL,Tcaron:LL,tcaron:BL,Tcedil:IL,tcedil:RL,Tcy:FL,tcy:PL,tdot:zL,telrec:qL,Tfr:jL,tfr:HL,there4:UL,therefore:$L,Therefore:WL,Theta:YL,theta:VL,thetasym:GL,thetav:XL,thickapprox:ZL,thicksim:KL,ThickSpace:QL,ThinSpace:JL,thinsp:tB,thkap:eB,thksim:nB,THORN:rB,thorn:iB,tilde:aB,Tilde:oB,TildeEqual:sB,TildeFullEqual:lB,TildeTilde:cB,timesbar:uB,timesb:hB,times:fB,timesd:dB,tint:pB,toea:gB,topbot:mB,topcir:yB,top:vB,Topf:bB,topf:_B,topfork:xB,tosa:wB,tprime:kB,trade:CB,TRADE:EB,triangle:SB,triangledown:TB,triangleleft:AB,trianglelefteq:MB,triangleq:NB,triangleright:DB,trianglerighteq:OB,tridot:LB,trie:BB,triminus:IB,TripleDot:RB,triplus:FB,trisb:PB,tritime:zB,trpezium:qB,Tscr:jB,tscr:HB,TScy:UB,tscy:$B,TSHcy:WB,tshcy:YB,Tstrok:VB,tstrok:GB,twixt:XB,twoheadleftarrow:ZB,twoheadrightarrow:KB,Uacute:QB,uacute:JB,uarr:tI,Uarr:eI,uArr:nI,Uarrocir:rI,Ubrcy:iI,ubrcy:aI,Ubreve:oI,ubreve:sI,Ucirc:lI,ucirc:cI,Ucy:uI,ucy:hI,udarr:fI,Udblac:dI,udblac:pI,udhar:gI,ufisht:mI,Ufr:yI,ufr:vI,Ugrave:bI,ugrave:_I,uHar:xI,uharl:wI,uharr:kI,uhblk:CI,ulcorn:EI,ulcorner:SI,ulcrop:TI,ultri:AI,Umacr:MI,umacr:NI,uml:DI,UnderBar:OI,UnderBrace:LI,UnderBracket:BI,UnderParenthesis:II,Union:RI,UnionPlus:FI,Uogon:PI,uogon:zI,Uopf:qI,uopf:jI,UpArrowBar:HI,uparrow:UI,UpArrow:$I,Uparrow:WI,UpArrowDownArrow:YI,updownarrow:VI,UpDownArrow:GI,Updownarrow:XI,UpEquilibrium:ZI,upharpoonleft:KI,upharpoonright:QI,uplus:JI,UpperLeftArrow:tR,UpperRightArrow:eR,upsi:nR,Upsi:rR,upsih:iR,Upsilon:aR,upsilon:oR,UpTeeArrow:sR,UpTee:lR,upuparrows:cR,urcorn:uR,urcorner:hR,urcrop:fR,Uring:dR,uring:pR,urtri:gR,Uscr:mR,uscr:yR,utdot:vR,Utilde:bR,utilde:_R,utri:xR,utrif:wR,uuarr:kR,Uuml:CR,uuml:ER,uwangle:SR,vangrt:TR,varepsilon:AR,varkappa:MR,varnothing:NR,varphi:DR,varpi:OR,varpropto:LR,varr:BR,vArr:IR,varrho:RR,varsigma:FR,varsubsetneq:PR,varsubsetneqq:zR,varsupsetneq:qR,varsupsetneqq:jR,vartheta:HR,vartriangleleft:UR,vartriangleright:$R,vBar:WR,Vbar:YR,vBarv:VR,Vcy:GR,vcy:XR,vdash:ZR,vDash:KR,Vdash:QR,VDash:JR,Vdashl:tF,veebar:eF,vee:nF,Vee:rF,veeeq:iF,vellip:aF,verbar:oF,Verbar:sF,vert:lF,Vert:cF,VerticalBar:uF,VerticalLine:hF,VerticalSeparator:fF,VerticalTilde:dF,VeryThinSpace:pF,Vfr:gF,vfr:mF,vltri:yF,vnsub:vF,vnsup:bF,Vopf:_F,vopf:xF,vprop:wF,vrtri:kF,Vscr:CF,vscr:EF,vsubnE:SF,vsubne:TF,vsupnE:AF,vsupne:MF,Vvdash:NF,vzigzag:DF,Wcirc:OF,wcirc:LF,wedbar:BF,wedge:IF,Wedge:RF,wedgeq:FF,weierp:PF,Wfr:zF,wfr:qF,Wopf:jF,wopf:HF,wp:UF,wr:$F,wreath:WF,Wscr:YF,wscr:VF,xcap:GF,xcirc:XF,xcup:ZF,xdtri:KF,Xfr:QF,xfr:JF,xharr:tP,xhArr:eP,Xi:nP,xi:rP,xlarr:iP,xlArr:aP,xmap:oP,xnis:sP,xodot:lP,Xopf:cP,xopf:uP,xoplus:hP,xotime:fP,xrarr:dP,xrArr:pP,Xscr:gP,xscr:mP,xsqcup:yP,xuplus:vP,xutri:bP,xvee:_P,xwedge:xP,Yacute:wP,yacute:kP,YAcy:CP,yacy:EP,Ycirc:SP,ycirc:TP,Ycy:AP,ycy:MP,yen:NP,Yfr:DP,yfr:OP,YIcy:LP,yicy:BP,Yopf:IP,yopf:RP,Yscr:FP,yscr:PP,YUcy:zP,yucy:qP,yuml:jP,Yuml:HP,Zacute:UP,zacute:$P,Zcaron:WP,zcaron:YP,Zcy:VP,zcy:GP,Zdot:XP,zdot:ZP,zeetrf:KP,ZeroWidthSpace:QP,Zeta:JP,zeta:tz,zfr:ez,Zfr:nz,ZHcy:rz,zhcy:iz,zigrarr:az,zopf:oz,Zopf:sz,Zscr:lz,zscr:cz,zwj:uz,zwnj:hz},dz=fz,pz=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,gz={},mz={};function yz(t){var e,n,r=mz[t];if(r)return r;for(r=mz[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&o<=57343)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(t[r]);return l}vz.defaultChars=";/?:@&=+$,-_.!~*'()#",vz.componentChars="-_.!~*'()";var bz=vz,_z={};function xz(t){var e,n,r=_z[t];if(r)return r;for(r=_z[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e=55296&&l<=57343?"���":String.fromCharCode(l),e+=6):240===(248&i)&&e+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),e+=9):c+="�";return c}))}wz.defaultChars=";/?:@&=+$,#",wz.componentChars="";var kz=wz,Cz=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e};function Ez(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Sz=/^([a-z0-9.+-]+:)/i,Tz=/:[0-9]*$/,Az=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Mz=["<",">",'"',"`"," ","\r","\n","\t"],Nz=["{","}","|","\\","^","`"].concat(Mz),Dz=["'"].concat(Nz),Oz=["%","/","?",";","#"].concat(Dz),Lz=["/","?","#"],Bz=255,Iz=/^[+a-z0-9A-Z_-]{0,63}$/,Rz=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Fz={javascript:!0,"javascript:":!0},Pz={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function zz(t,e){if(t&&t instanceof Ez)return t;var n=new Ez;return n.parse(t,e),n}Ez.prototype.parse=function(t,e){var n,r,i,a,o,s=t;if(s=s.trim(),!e&&1===t.split("#").length){var l=Az.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Sz.exec(s);if(c&&(c=c[0],i=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(e||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o="//"===s.substr(0,2),!o||c&&Fz[c]||(s=s.substr(2),this.slashes=!0)),!Fz[c]&&(o||c&&!Pz[c])){var u,h,f=-1;for(n=0;n127?y+="x":y+=m[v];if(!y.match(Iz)){var _=g.slice(0,n),x=g.slice(n+1),w=m.match(Rz);w&&(_.push(w[1]),x.unshift(w[2])),x.length&&(s=x.join(".")+s),this.hostname=_.join(".");break}}}}this.hostname.length>Bz&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var k=s.indexOf("#");-1!==k&&(this.hash=s.substr(k),s=s.slice(0,k));var C=s.indexOf("?");return-1!==C&&(this.search=s.substr(C),s=s.slice(0,C)),s&&(this.pathname=s),Pz[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ez.prototype.parseHost=function(t){var e=Tz.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var qz=zz;gz.encode=bz,gz.decode=kz,gz.format=Cz,gz.parse=qz;var jz={},Hz=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Uz=/[\0-\x1F\x7F-\x9F]/,$z=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Wz=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;jz.Any=Hz,jz.Cc=Uz,jz.Cf=$z,jz.P=pz,jz.Z=Wz,function(t){function e(t){return Object.prototype.toString.call(t)}function n(t){return"[object String]"===e(t)}var r=Object.prototype.hasOwnProperty;function i(t,e){return r.call(t,e)}function a(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach((function(e){if(e){if("object"!==typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function o(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function s(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!==(65535&t)&&65534!==(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function l(t){if(t>65535){t-=65536;var e=55296+(t>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,d=dz;function p(t,e){var n=0;return i(d,e)?d[e]:35===e.charCodeAt(0)&&f.test(e)&&(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10),s(n))?l(n):t}function g(t){return t.indexOf("\\")<0?t:t.replace(c,"$1")}function m(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(h,(function(t,e,n){return e||p(t,n)}))}var y=/[&<>"]/,v=/[&<>"]/g,b={"&":"&","<":"<",">":">",'"':"""};function _(t){return b[t]}function x(t){return y.test(t)?t.replace(v,_):t}var w=/[.?*+^$[\]\\(){}|-]/g;function k(t){return t.replace(w,"\\$&")}function C(t){switch(t){case 9:case 32:return!0}return!1}function E(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var S=pz;function T(t){return S.test(t)}function A(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function M(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=gz,t.lib.ucmicro=jz,t.assign=a,t.isString=n,t.has=i,t.unescapeMd=g,t.unescapeAll=m,t.isValidEntityCode=s,t.fromCodePoint=l,t.escapeHtml=x,t.arrayReplaceAt=o,t.isSpace=C,t.isWhiteSpace=E,t.isMdAsciiPunct=A,t.isPunctChar=T,t.escapeRE=k,t.normalizeReference=M}(W);var Yz={},Vz=function(t,e,n){var r,i,a,o,s=-1,l=t.posMax,c=t.pos;t.pos=e+1,r=1;while(t.pos32))return s;if(41===r){if(0===i)break;i--}e++}}return o===e||0!==i||(s.str=Gz(t.slice(o,e)),s.lines=a,s.pos=e,s.ok=!0),s},Zz=W.unescapeAll,Kz=function(t,e,n){var r,i,a=0,o=e,s={ok:!1,pos:0,lines:0,str:""};if(e>=n)return s;if(i=t.charCodeAt(e),34!==i&&39!==i&&40!==i)return s;e++,40===i&&(i=41);while(e"+tq(t[e].content)+""},eq.code_block=function(t,e,n,r,i){var a=t[e];return""+tq(t[e].content)+"\n"},eq.fence=function(t,e,n,r,i){var a,o,s,l,c,u=t[e],h=u.info?Jz(u.info).trim():"",f="",d="";return h&&(s=h.split(/(\s+)/g),f=s[0],d=s.slice(2).join("")),a=n.highlight&&n.highlight(u.content,f,d)||tq(u.content),0===a.indexOf(""+a+"\n"):"
"+a+"
\n"},eq.image=function(t,e,n,r,i){var a=t[e];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(t,e,n)},eq.hardbreak=function(t,e,n){return n.xhtmlOut?"
\n":"
\n"},eq.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},eq.text=function(t,e){return tq(t[e].content)},eq.html_block=function(t,e){return t[e].content},eq.html_inline=function(t,e){return t[e].content},nq.prototype.renderAttrs=function(t){var e,n,r;if(!t.attrs)return"";for(r="",e=0,n=t.attrs.length;e\n":">",i)},nq.prototype.renderInline=function(t,e,n){for(var r,i="",a=this.rules,o=0,s=t.length;o\s]/i.test(t)}function dq(t){return/^<\/a\s*>/i.test(t)}var pq=function(t){var e,n,r,i,a,o,s,l,c,u,h,f,d,p,g,m,y,v=t.tokens;if(t.md.options.linkify)for(n=0,r=v.length;n=0;e--)if(o=i[e],"link_close"!==o.type){if("html_inline"===o.type&&(fq(o.content)&&d>0&&d--,dq(o.content)&&d++),!(d>0)&&"text"===o.type&&t.md.linkify.test(o.content)){for(c=o.content,y=t.md.linkify.match(c),s=[],f=o.level,h=0,l=0;lh&&(a=new t.Token("text","",0),a.content=c.slice(h,u),a.level=f,s.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",g]],a.level=f++,a.markup="linkify",a.info="auto",s.push(a),a=new t.Token("text","",0),a.content=m,a.level=f,s.push(a),a=new t.Token("link_close","a",-1),a.level=--f,a.markup="linkify",a.info="auto",s.push(a),h=y[l].lastIndex);h=0;e--)n=t[e],"text"!==n.type||r||(n.content=n.content.replace(yq,bq)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function xq(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],"text"!==n.type||r||gq.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var wq=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(mq.test(t.tokens[e].content)&&_q(t.tokens[e].children),gq.test(t.tokens[e].content)&&xq(t.tokens[e].children))},kq=W.isWhiteSpace,Cq=W.isPunctChar,Eq=W.isMdAsciiPunct,Sq=/['"]/,Tq=/['"]/g,Aq="’";function Mq(t,e,n){return t.substr(0,e)+n+t.substr(e+1)}function Nq(t,e){var n,r,i,a,o,s,l,c,u,h,f,d,p,g,m,y,v,b,_,x,w;for(_=[],n=0;n=0;v--)if(_[v].level<=l)break;if(_.length=v+1,"text"===r.type){i=r.content,o=0,s=i.length;t:while(o=0)u=i.charCodeAt(a.index-1);else for(v=n-1;v>=0;v--){if("softbreak"===t[v].type||"hardbreak"===t[v].type)break;if(t[v].content){u=t[v].content.charCodeAt(t[v].content.length-1);break}}if(h=32,o=48&&u<=57&&(y=m=!1),m&&y&&(m=f,y=d),m||y){if(y)for(v=_.length-1;v>=0;v--){if(c=_[v],_[v].level=0;e--)"inline"===t.tokens[e].type&&Sq.test(t.tokens[e].content)&&Nq(t.tokens[e].children,t)};function Oq(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Oq.prototype.attrIndex=function(t){var e,n,r;if(!this.attrs)return-1;for(e=this.attrs,n=0,r=e.length;n=0&&(n=this.attrs[e][1]),n},Oq.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e};var Lq=Oq,Bq=Lq;function Iq(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Iq.prototype.Token=Bq;var Rq=Iq,Fq=aq,Pq=[["normalize",lq],["block",cq],["inline",uq],["linkify",pq],["replacements",wq],["smartquotes",Dq]];function zq(){this.ruler=new Fq;for(var t=0;tn)return!1;if(c=e+1,t.sCount[c]=4)return!1;if(o=t.bMarks[c]+t.tShift[c],o>=t.eMarks[c])return!1;if(_=t.src.charCodeAt(o++),124!==_&&45!==_&&58!==_)return!1;if(o>=t.eMarks[c])return!1;if(x=t.src.charCodeAt(o++),124!==x&&45!==x&&58!==x&&!jq(x))return!1;if(45===_&&jq(x))return!1;while(o=4)return!1;if(u=Uq(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),h=u.length,0===h||h!==d.length)return!1;if(r)return!0;for(y=t.parentType,t.parentType="table",b=t.md.block.ruler.getRules("blockquote"),f=t.push("table_open","table",1),f.map=g=[e,0],f=t.push("thead_open","thead",1),f.map=[e,e+1],f=t.push("tr_open","tr",1),f.map=[e,e+1],s=0;s=4)break;for(u=Uq(a),u.length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===e+2&&(f=t.push("tbody_open","tbody",1),f.map=m=[e+2,0]),f=t.push("tr_open","tr",1),f.map=[c,c+1],s=0;s=4))break;r++,i=r}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(e,i,4+t.blkIndent,!1)+"\n",a.map=[e,t.line],!0},Yq=function(t,e,n,r){var i,a,o,s,l,c,u,h=!1,f=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(f+3>d)return!1;if(i=t.src.charCodeAt(f),126!==i&&96!==i)return!1;if(l=f,f=t.skipChars(f,i),a=f-l,a<3)return!1;if(u=t.src.slice(l,f),o=t.src.slice(f,d),96===i&&o.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=e;;){if(s++,s>=n)break;if(f=l=t.bMarks[s]+t.tShift[s],d=t.eMarks[s],f=4)&&(f=t.skipChars(f,i),!(f-l=4)return!1;if(62!==t.src.charCodeAt(E++))return!1;if(r)return!0;s=f=t.sCount[e]+1,32===t.src.charCodeAt(E)?(E++,s++,f++,i=!1,b=!0):9===t.src.charCodeAt(E)?(b=!0,(t.bsCount[e]+f)%4===3?(E++,s++,f++,i=!1):i=!0):b=!1,d=[t.bMarks[e]],t.bMarks[e]=E;while(E=S,y=[t.sCount[e]],t.sCount[e]=f-s,v=[t.tShift[e]],t.tShift[e]=E-t.bMarks[e],x=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",h=e+1;h=S)break;if(62!==t.src.charCodeAt(E++)||k){if(c)break;for(_=!1,o=0,l=x.length;o=S,p.push(t.bsCount[h]),t.bsCount[h]=t.sCount[h]+1+(b?1:0),y.push(t.sCount[h]),t.sCount[h]=f-s,v.push(t.tShift[h]),t.tShift[h]=E-t.bMarks[h]}}for(g=t.blkIndent,t.blkIndent=0,w=t.push("blockquote_open","blockquote",1),w.markup=">",w.map=u=[e,0],t.md.block.tokenize(t,e,h),w=t.push("blockquote_close","blockquote",-1),w.markup=">",t.lineMax=C,t.parentType=m,u[1]=t.line,o=0;o=4)return!1;if(i=t.src.charCodeAt(l++),42!==i&&45!==i&&95!==i)return!1;a=1;while(l=a)return-1;if(n=t.src.charCodeAt(i++),n<48||n>57)return-1;for(;;){if(i>=a)return-1;if(n=t.src.charCodeAt(i++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}return i=4)return!1;if(t.listIndent>=0&&t.sCount[e]-t.listIndent>=4&&t.sCount[e]=t.blkIndent&&(O=!0),(S=Jq(t,e))>=0){if(u=!0,A=t.bMarks[e]+t.tShift[e],m=Number(t.src.slice(A,S-1)),O&&1!==m)return!1}else{if(!((S=Qq(t,e))>=0))return!1;u=!1}if(O&&t.skipSpaces(S)>=t.eMarks[e])return!1;if(g=t.src.charCodeAt(S-1),r)return!0;p=t.tokens.length,u?(D=t.push("ordered_list_open","ol",1),1!==m&&(D.attrs=[["start",m]])):D=t.push("bullet_list_open","ul",1),D.map=d=[e,0],D.markup=String.fromCharCode(g),v=e,T=!1,N=t.md.block.ruler.getRules("list"),x=t.parentType,t.parentType="list";while(v=y?1:b-c,l>4&&(l=1),s=c+l,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(g),D.map=h=[e,0],u&&(D.info=t.src.slice(A,S-1)),C=t.tight,k=t.tShift[e],w=t.sCount[e],_=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=s,t.tight=!0,t.tShift[e]=a-t.bMarks[e],t.sCount[e]=b,a>=y&&t.isEmpty(e+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,e,n,!0),t.tight&&!T||(L=!1),T=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=_,t.tShift[e]=k,t.sCount[e]=w,t.tight=C,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(g),v=e=t.line,h[1]=v,a=t.bMarks[e],v>=n)break;if(t.sCount[v]=4)break;for(M=!1,o=0,f=N.length;o=4)return!1;if(91!==t.src.charCodeAt(x))return!1;while(++x3)&&!(t.sCount[k]<0)){for(y=!1,c=0,u=v.length;c`\\x00-\\x20]+",cj="'[^']*'",uj='"[^"]*"',hj="(?:"+lj+"|"+cj+"|"+uj+")",fj="(?:\\s+"+sj+"(?:\\s*=\\s*"+hj+")?)",dj="<[A-Za-z][A-Za-z0-9\\-]*"+fj+"*\\s*\\/?>",pj="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",gj="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",mj="<[?][\\s\\S]*?[?]>",yj="]*>",vj="",bj=new RegExp("^(?:"+dj+"|"+pj+"|"+gj+"|"+mj+"|"+yj+"|"+vj+")"),_j=new RegExp("^(?:"+dj+"|"+pj+")");oj.HTML_TAG_RE=bj,oj.HTML_OPEN_CLOSE_TAG_RE=_j;var xj=aj,wj=oj.HTML_OPEN_CLOSE_TAG_RE,kj=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(wj.source+"\\s*$"),/^$/,!1]],Cj=function(t,e,n,r){var i,a,o,s,l=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(l))return!1;for(s=t.src.slice(l,c),i=0;i=4)return!1;if(i=t.src.charCodeAt(l),35!==i||l>=c)return!1;a=1,i=t.src.charCodeAt(++l);while(35===i&&l6||ll&&Ej(t.src.charCodeAt(o-1))&&(c=o),t.line=e+1,s=t.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[e,t.line],s=t.push("inline","",0),s.content=t.src.slice(l,c).trim(),s.map=[e,t.line],s.children=[],s=t.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a)),!0)},Tj=function(t,e,n){var r,i,a,o,s,l,c,u,h,f,d=e+1,p=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(f=t.parentType,t.parentType="paragraph";d3)){if(t.sCount[d]>=t.blkIndent&&(l=t.bMarks[d]+t.tShift[d],c=t.eMarks[d],l=c)))){u=61===h?1:2;break}if(!(t.sCount[d]<0)){for(i=!1,a=0,o=p.length;a3)&&!(t.sCount[l]<0)){for(r=!1,i=0,a=c.length;i0&&this.level++,this.tokens.push(r),r},Dj.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Dj.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;te)if(!Nj(this.src.charCodeAt(--t)))return t+1;return t},Dj.prototype.skipChars=function(t,e){for(var n=this.src.length;tn)if(e!==this.src.charCodeAt(--t))return t+1;return t},Dj.prototype.getLines=function(t,e,n,r){var i,a,o,s,l,c,u,h=t;if(t>=e)return"";for(c=new Array(e-t),i=0;hn?new Array(a-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return c.join("")},Dj.prototype.Token=Mj;var Oj=Dj,Lj=aq,Bj=[["table",$q,["paragraph","reference"]],["code",Wq],["fence",Yq,["paragraph","reference","blockquote","list"]],["blockquote",Gq,["paragraph","reference","blockquote","list"]],["hr",Zq,["paragraph","reference","blockquote","list"]],["list",ej,["paragraph","reference","blockquote"]],["reference",ij],["html_block",Cj,["paragraph","reference","blockquote"]],["heading",Sj,["paragraph","reference","blockquote"]],["lheading",Tj],["paragraph",Aj]];function Ij(){this.ruler=new Lj;for(var t=0;t=n)break;if(t.sCount[s]=c){t.line=n;break}for(i=0;i=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){i=n-1;while(i>=1&&32===t.pending.charCodeAt(i-1))i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);a++;while(a?@[]^_`{|}~-".split("").forEach((function(t){Hj[t.charCodeAt(0)]=1}));var $j=function(t,e){var n,r=t.pos,i=t.posMax;if(92!==t.src.charCodeAt(r))return!1;if(r++,r=0;n--)r=e[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=e[r.end],s=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=s?"strong_open":"em_open",a.tag=s?"strong":"em",a.nesting=1,a.markup=s?o+o:o,a.content="",a=t.tokens[i.token],a.type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?o+o:o,a.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Gj.tokenize=function(t,e){var n,r,i,a=t.pos,o=t.src.charCodeAt(a);if(e)return!1;if(95!==o&&42!==o)return!1;for(r=t.scanDelims(t.pos,42===o),n=0;n=p)return!1;if(g=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok){for(h=t.md.normalizeLink(l.str),t.md.validateLink(h)?s=l.pos:h="",g=s;s=p||41!==t.src.charCodeAt(s))&&(m=!0),s++}if(m){if("undefined"===typeof t.env.references)return!1;if(s=0?i=t.src.slice(g,s++):s=a+1):s=a+1,i||(i=t.src.slice(o,a)),c=t.env.references[Zj(i)],!c)return t.pos=d,!1;h=c.href,f=c.title}return e||(t.pos=o,t.posMax=a,u=t.push("link_open","a",1),u.attrs=n=[["href",h]],f&&n.push(["title",f]),t.md.inline.tokenize(t),u=t.push("link_close","a",-1)),t.pos=s,t.posMax=p,!0},Jj=W.normalizeReference,tH=W.isSpace,eH=function(t,e){var n,r,i,a,o,s,l,c,u,h,f,d,p,g="",m=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(s=t.pos+2,o=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),o<0)return!1;if(l=o+1,l=y)return!1;for(p=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok&&(g=t.md.normalizeLink(u.str),t.md.validateLink(g)?l=u.pos:g=""),p=l;l=y||41!==t.src.charCodeAt(l))return t.pos=m,!1;l++}else{if("undefined"===typeof t.env.references)return!1;if(l=0?a=t.src.slice(p,l++):l=o+1):l=o+1,a||(a=t.src.slice(s,o)),c=t.env.references[Jj(a)],!c)return t.pos=m,!1;g=c.href,h=c.title}return e||(i=t.src.slice(s,o),t.md.inline.parse(i,t.md,t.env,d=[]),f=t.push("image","img",0),f.attrs=n=[["src",g],["alt",""]],f.children=d,f.content=i,h&&n.push(["title",h])),t.pos=l,t.posMax=y,!0},nH=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,rH=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,iH=function(t,e){var n,r,i,a,o,s,l=t.pos;if(60!==t.src.charCodeAt(l))return!1;for(o=t.pos,s=t.posMax;;){if(++l>=s)return!1;if(a=t.src.charCodeAt(l),60===a)return!1;if(62===a)break}return n=t.src.slice(o+1,l),rH.test(n)?(r=t.md.normalizeLink(n),!!t.md.validateLink(r)&&(e||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(n),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=n.length+2,!0)):!!nH.test(n)&&(r=t.md.normalizeLink("mailto:"+n),!!t.md.validateLink(r)&&(e||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(n),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=n.length+2,!0))},aH=oj.HTML_TAG_RE;function oH(t){var e=32|t;return e>=97&&e<=122}var sH=function(t,e){var n,r,i,a,o=t.pos;return!!t.md.options.html&&(i=t.posMax,!(60!==t.src.charCodeAt(o)||o+2>=i)&&(n=t.src.charCodeAt(o+1),!(33!==n&&63!==n&&47!==n&&!oH(n))&&(r=t.src.slice(o).match(aH),!!r&&(e||(a=t.push("html_inline","",0),a.content=t.src.slice(o,o+r[0].length)),t.pos+=r[0].length,!0))))},lH=dz,cH=W.has,uH=W.isValidEntityCode,hH=W.fromCodePoint,fH=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,dH=/^&([a-z][a-z0-9]{1,31});/i,pH=function(t,e){var n,r,i,a=t.pos,o=t.posMax;if(38!==t.src.charCodeAt(a))return!1;if(a+1o;r-=p[r]+1)if(a=e[r],a.marker===i.marker&&a.open&&a.end<0&&(l=!1,(a.close||i.open)&&(a.length+i.length)%3===0&&(a.length%3===0&&i.length%3===0||(l=!0)),!l)){c=r>0&&!e[r-1].open?p[r-1]+1:0,p[n]=n-r+c,p[r]=c,i.open=!1,a.end=n,a.close=!1,s=-1,d=-2;break}-1!==s&&(u[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}var mH=function(t){var e,n=t.tokens_meta,r=t.tokens_meta.length;for(gH(t,t.delimiters),e=0;e0&&r++,"text"===i[e].type&&e+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},wH.prototype.scanDelims=function(t,e){var n,r,i,a,o,s,l,c,u,h=t,f=!0,d=!0,p=this.posMax,g=this.src.charCodeAt(t);n=t>0?this.src.charCodeAt(t-1):32;while(h=a)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},TH.prototype.parse=function(t,e,n,r){var i,a,o,s=new this.State(t,e,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e};function NH(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function DH(t){return Object.prototype.toString.call(t)}function OH(t){return"[object String]"===DH(t)}function LH(t){return"[object Object]"===DH(t)}function BH(t){return"[object RegExp]"===DH(t)}function IH(t){return"[object Function]"===DH(t)}function RH(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var FH={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function PH(t){return Object.keys(t||{}).reduce((function(t,e){return t||FH.hasOwnProperty(e)}),!1)}var zH={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},qH="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",jH="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function HH(t){t.__index__=-1,t.__text_cache__=""}function UH(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function $H(){return function(t,e){e.normalize(t)}}function WH(t){var e=t.re=MH(t.__opts__),n=t.__tlds__.slice();function r(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(qH),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var i=[];function a(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var r={validate:null,link:null};if(t.__compiled__[e]=r,LH(n))return BH(n.validate)?r.validate=UH(n.validate):IH(n.validate)?r.validate=n.validate:a(e,n),void(IH(n.normalize)?r.normalize=n.normalize:n.normalize?a(e,n):r.normalize=$H());OH(n)?i.push(e):a(e,n)}})),i.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:$H()};var o=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(RH).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),HH(t)}function YH(t,e){var n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function VH(t,e){var n=new YH(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function GH(t,e){if(!(this instanceof GH))return new GH(t,e);e||PH(t)&&(e=t,t={}),this.__opts__=NH({},FH,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=NH({},zH,t),this.__compiled__={},this.__tlds__=jH,this.__tlds_replaced__=!1,this.re={},WH(this)}GH.prototype.add=function(t,e){return this.__schemas__[t]=e,WH(this),this},GH.prototype.set=function(t){return this.__opts__=NH(this.__opts__,t),this},GH.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,i,a,o,s,l,c;if(this.re.schema_test.test(t)){s=this.re.schema_search,s.lastIndex=0;while(null!==(e=s.exec(t)))if(i=this.testSchemaAt(t,e[2],s.lastIndex),i){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(r=t.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0},GH.prototype.pretest=function(t){return this.re.pretest.test(t)},GH.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},GH.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(VH(this,e)),e=this.__last_index__);var r=e?t.slice(e):t;while(this.test(r))n.push(VH(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},GH.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),WH(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,WH(this),this)},GH.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},GH.prototype.onCompile=function(){};var XH=GH;const ZH=2147483647,KH=36,QH=1,JH=26,tU=38,eU=700,nU=72,rU=128,iU="-",aU=/^xn--/,oU=/[^\0-\x7E]/,sU=/[\x2E\u3002\uFF0E\uFF61]/g,lU={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cU=KH-QH,uU=Math.floor,hU=String.fromCharCode;function fU(t){throw new RangeError(lU[t])}function dU(t,e){const n=[];let r=t.length;while(r--)n[r]=e(t[r]);return n}function pU(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(sU,".");const i=t.split("."),a=dU(i,e).join(".");return r+a}function gU(t){const e=[];let n=0;const r=t.length;while(n=55296&&i<=56319&&nString.fromCodePoint(...t),yU=function(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:KH},vU=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},bU=function(t,e,n){let r=0;for(t=n?uU(t/eU):t>>1,t+=uU(t/e);t>cU*JH>>1;r+=KH)t=uU(t/cU);return uU(r+(cU+1)*t/(t+tU))},_U=function(t){const e=[],n=t.length;let r=0,i=rU,a=nU,o=t.lastIndexOf(iU);o<0&&(o=0);for(let s=0;s=128&&fU("not-basic"),e.push(t.charCodeAt(s));for(let s=o>0?o+1:0;s=n&&fU("invalid-input");const o=yU(t.charCodeAt(s++));(o>=KH||o>uU((ZH-r)/e))&&fU("overflow"),r+=o*e;const l=i<=a?QH:i>=a+JH?JH:i-a;if(ouU(ZH/c)&&fU("overflow"),e*=c}const l=e.length+1;a=bU(r-o,l,0==o),uU(r/l)>ZH-i&&fU("overflow"),i+=uU(r/l),r%=l,e.splice(r++,0,i)}return String.fromCodePoint(...e)},xU=function(t){const e=[];t=gU(t);let n=t.length,r=rU,i=0,a=nU;for(const l of t)l<128&&e.push(hU(l));let o=e.length,s=o;o&&e.push(iU);while(s=r&&euU((ZH-i)/l)&&fU("overflow"),i+=(n-r)*l,r=n;for(const c of t)if(cZH&&fU("overflow"),c==r){let t=i;for(let n=KH;;n+=KH){const r=n<=a?QH:n>=a+JH?JH:n-a;if(t=0))try{e.hostname=PU.toASCII(e.hostname)}catch(n){}return FU.encode(FU.format(e))}function WU(t){var e=FU.parse(t,!0);if(e.hostname&&(!e.protocol||UU.indexOf(e.protocol)>=0))try{e.hostname=PU.toUnicode(e.hostname)}catch(n){}return FU.decode(FU.format(e),FU.decode.defaultChars+"%")}function YU(t,e){if(!(this instanceof YU))return new YU(t,e);e||NU.isString(t)||(e=t||{},t="default"),this.inline=new IU,this.block=new BU,this.core=new LU,this.renderer=new OU,this.linkify=new RU,this.validateLink=HU,this.normalizeLink=$U,this.normalizeLinkText=WU,this.utils=NU,this.helpers=NU.assign({},DU),this.options={},this.configure(t),e&&this.set(e)}YU.prototype.set=function(t){return NU.assign(this.options,t),this},YU.prototype.configure=function(t){var e,n=this;if(NU.isString(t)&&(e=t,t=zU[e],!t))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach((function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)})),this},YU.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter((function(t){return n.indexOf(t)<0}));if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},YU.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter((function(t){return n.indexOf(t)<0}));if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},YU.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},YU.prototype.parse=function(t,e){if("string"!==typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},YU.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},YU.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},YU.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var VU=YU,GU=VU,XU=function(t){var e=t.utils.escapeRE,n=t.utils.arrayReplaceAt,r=" \r\n$+<=>^`|~",i=t.utils.lib.ucmicro.P.source,a=t.utils.lib.ucmicro.Z.source;function o(t,e,n,r){var i,a,o,s,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(c+2>=u)return!1;if(42!==t.src.charCodeAt(c++))return!1;if(91!==t.src.charCodeAt(c++))return!1;for(s=c;c=0;o--)if(v=c[o],"text"===v.type&&(d=0,h=v.content,p.lastIndex=0,f=[],y.test(h))){while(g=p.exec(h))(g.index>0||g[1].length>0)&&(u=new t.Token("text","",0),u.content=h.slice(d,g.index+g[1].length),f.push(u)),u=new t.Token("abbr_open","abbr",1),u.attrs=[["title",t.env.abbreviations[":"+g[2]]]],f.push(u),u=new t.Token("text","",0),u.content=g[2],f.push(u),u=new t.Token("abbr_close","abbr",-1),f.push(u),p.lastIndex-=g[3].length,d=p.lastIndex;f.length&&(d=t}}(e.level),o=0;o"'=]/,i=" ",a="=",o=".",s="#",l=[];let c="",u="",h=!0,f=!1;for(let d=e+n.leftDelimiter.length;d=s+1:t.length>=s}let c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=-1===r?-1:n.indexOf(e.rightDelimiter,c),o=n.charAt(i+e.rightDelimiter.length),o&&-1!==e.rightDelimiter.indexOf(o)&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=-1===r?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break}return-1!==r&&-1!==i&&l(n.substring(r,i+e.rightDelimiter.length))}},u$.removeDelimiter=function(t,e){const n=h$(e.leftDelimiter),r=h$(e.rightDelimiter);let i=new RegExp("[ \\n]?"+n+"[^"+n+r+"]+"+r+"$"),a=t.search(i);return-1!==a?t.slice(0,a):t},u$.escapeRegExp=h$,u$.getMatchingOpeningToken=function(t,e){if("softbreak"===t[e].type)return!1;if(0===t[e].nesting)return t[e];let n=t[e].level,r=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===r&&t[e].level===n)return t[e]};let f$=/[&<>"]/,d$=/[&<>"]/g,p$={"&":"&","<":"<",">":">",'"':"""};function g$(t){return p$[t]}u$.escapeHtml=function(t){return f$.test(t)?t.replace(d$,g$):t};const m$=u$;var y$=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+m$.escapeRegExp(t.leftDelimiter)+"[^"+m$.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:m$.hasDelimiters("end",t)}],transform:(e,n)=>{let r=e[n],i=r.info.lastIndexOf(t.leftDelimiter),a=m$.getAttrs(r.info,i,t);m$.addAttrs(a,r),r.info=m$.removeDelimiter(r.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>"image"===t||"code_inline"===t},{shift:0,type:"text",content:m$.hasDelimiters("start",t)}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=i.content.indexOf(t.rightDelimiter),o=e[n].children[r-1],s=m$.getAttrs(i.content,0,t);m$.addAttrs(s,o),i.content.length===a+t.rightDelimiter.length?e[n].children.splice(r,1):i.content=i.content.slice(a+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:m$.hasDelimiters("only",t)}],transform:(e,n)=>{let r=e[n+2],i=m$.getMatchingOpeningToken(e,n),a=m$.getAttrs(r.content,0,t);m$.addAttrs(a,i),e.splice(n+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:m$.hasDelimiters("start",t)}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=i.content,o=m$.getAttrs(a,0,t),s=m$.getMatchingOpeningToken(e[n].children,r-1);m$.addAttrs(o,s),i.content=a.slice(a.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:m$.hasDelimiters("only",t)}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=i.content,o=m$.getAttrs(a,0,t),s=n-2;while(e[s-1]&&"ordered_list_open"!==e[s-1].type&&"bullet_list_open"!==e[s-1].type)s--;m$.addAttrs(o,e[s-1]),e[n].children=e[n].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>"bullet_list_close"===t||"ordered_list_close"===t},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:m$.hasDelimiters("only",t),children:t=>1===t.length},{shift:3,type:"paragraph_close"}],transform:(e,n)=>{let r=e[n+2],i=r.content,a=m$.getAttrs(i,0,t),o=m$.getMatchingOpeningToken(e,n);m$.addAttrs(a,o),e.splice(n+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:m$.hasDelimiters("end",t)}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=i.content,o=m$.getAttrs(a,a.lastIndexOf(t.leftDelimiter),t);m$.addAttrs(o,e[n-2]);let s=a.slice(0,a.lastIndexOf(t.leftDelimiter));i.content=" "!==v$(s)?s:s.slice(0,-1)}},{name:"\n{.a} softbreak then curly in start",tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:m$.hasDelimiters("only",t)}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=m$.getAttrs(i.content,0,t),o=n+1;while(e[o+1]&&-1===e[o+1].nesting)o++;let s=m$.getMatchingOpeningToken(e,o);m$.addAttrs(a,s),e[n].children=e[n].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>1===t.length,content:t=>null!==t.match(e)},{shift:2,type:"paragraph_close"}],transform:(e,n)=>{let r=e[n];r.type="hr",r.tag="hr",r.nesting=0;let i=e[n+1].content,a=i.lastIndexOf(t.leftDelimiter),o=m$.getAttrs(i,a,t);m$.addAttrs(o,r),r.markup=i,e.splice(n+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:m$.hasDelimiters("end",t),type:t=>"code_inline"!==t&&"math_inline"!==t}]}],transform:(e,n,r)=>{let i=e[n].children[r],a=i.content,o=m$.getAttrs(a,a.lastIndexOf(t.leftDelimiter),t),s=n+1;while(e[s+1]&&-1===e[s+1].nesting)s++;let l=m$.getMatchingOpeningToken(e,s);m$.addAttrs(o,l);let c=a.slice(0,a.lastIndexOf(t.leftDelimiter));i.content=" "!==v$(c)?c:c.slice(0,-1)}}]};function v$(t){return t.slice(-1)[0]}const b$=y$,_$={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var x$=function(t,e){let n=Object.assign({},_$);n=Object.assign(n,e);const r=b$(n);function i(t){let e=t.tokens;for(let n=0;n{let r=w$(e,n,t);return null!==r.j&&(a=r.j),r.match}));o&&(i.transform(e,n,a),"inline attributes"!==i.name&&"inline nesting 0"!==i.name||t--)}}t.core.ruler.before("linkify","curly_attributes",i)};function w$(t,e,n){let r={match:!1,j:null},i=void 0!==n.shift?e+n.shift:n.position;if(void 0!==n.shift&&i<0)return r;let a=E$(t,i);if(void 0===a)return r;for(let o in n)if("shift"!==o&&"position"!==o){if(void 0===a[o])return r;if("children"===o&&k$(n.children)){if(0===a.children.length)return r;let t,e=n.children,i=a.children;if(e.every((t=>void 0!==t.position))){if(t=e.every((t=>w$(i,t.position,t).match)),t){let t=S$(e).position;r.j=t>=0?t:i.length+t}}else for(let n=0;nw$(i,n,t).match)),t){r.j=n;break}if(!1===t)return r}else switch(typeof n[o]){case"boolean":case"number":case"string":if(a[o]!==n[o])return r;break;case"function":if(!n[o](a[o]))return r;break;case"object":if(C$(n[o])){let t=n[o].every((t=>t(a[o])));if(!1===t)return r;break}default:throw new Error(`Unknown type of pattern test (key: ${o}). Test should be of type boolean, number, string, function or array of functions.`)}}return r.match=!0,r}function k$(t){return Array.isArray(t)&&t.length&&t.every((t=>"object"===typeof t))}function C$(t){return Array.isArray(t)&&t.length&&t.every((t=>"function"===typeof t))}function E$(t,e){return e>=0?t[e]:t[t.length+e]}function S$(t){return t.slice(-1)[0]||{}}const T$="😀",A$="😃",M$="😄",N$="😁",D$="😆",O$="😆",L$="😅",B$="🤣",I$="😂",R$="🙂",F$="🙃",P$="😉",z$="😊",q$="😇",j$="🥰",H$="😍",U$="🤩",$$="😘",W$="😗",Y$="☺️",V$="😚",G$="😙",X$="🥲",Z$="😋",K$="😛",Q$="😜",J$="🤪",tW="😝",eW="🤑",nW="🤗",rW="🤭",iW="🤫",aW="🤔",oW="🤐",sW="🤨",lW="😐",cW="😑",uW="😶",hW="😏",fW="😒",dW="🙄",pW="😬",gW="🤥",mW="😌",yW="😔",vW="😪",bW="🤤",_W="😴",xW="😷",wW="🤒",kW="🤕",CW="🤢",EW="🤮",SW="🤧",TW="🥵",AW="🥶",MW="🥴",NW="😵",DW="🤯",OW="🤠",LW="🥳",BW="🥸",IW="😎",RW="🤓",FW="🧐",PW="😕",zW="😟",qW="🙁",jW="☹️",HW="😮",UW="😯",$W="😲",WW="😳",YW="🥺",VW="😦",GW="😧",XW="😨",ZW="😰",KW="😥",QW="😢",JW="😭",tY="😱",eY="😖",nY="😣",rY="😞",iY="😓",aY="😩",oY="😫",sY="🥱",lY="😤",cY="😡",uY="😡",hY="😠",fY="🤬",dY="😈",pY="👿",gY="💀",mY="☠️",yY="💩",vY="💩",bY="💩",_Y="🤡",xY="👹",wY="👺",kY="👻",CY="👽",EY="👾",SY="🤖",TY="😺",AY="😸",MY="😹",NY="😻",DY="😼",OY="😽",LY="🙀",BY="😿",IY="😾",RY="🙈",FY="🙉",PY="🙊",zY="💋",qY="💌",jY="💘",HY="💝",UY="💖",$Y="💗",WY="💓",YY="💞",VY="💕",GY="💟",XY="❣️",ZY="💔",KY="❤️",QY="🧡",JY="💛",tV="💚",eV="💙",nV="💜",rV="🤎",iV="🖤",aV="🤍",oV="💢",sV="💥",lV="💥",cV="💫",uV="💦",hV="💨",fV="🕳️",dV="💣",pV="💬",gV="👁️‍🗨️",mV="🗨️",yV="🗯️",vV="💭",bV="💤",_V="👋",xV="🤚",wV="🖐️",kV="✋",CV="✋",EV="🖖",SV="👌",TV="🤌",AV="🤏",MV="✌️",NV="🤞",DV="🤟",OV="🤘",LV="🤙",BV="👈",IV="👉",RV="👆",FV="🖕",PV="🖕",zV="👇",qV="☝️",jV="👍",HV="👎",UV="✊",$V="✊",WV="👊",YV="👊",VV="👊",GV="🤛",XV="🤜",ZV="👏",KV="🙌",QV="👐",JV="🤲",tG="🤝",eG="🙏",nG="✍️",rG="💅",iG="🤳",aG="💪",oG="🦾",sG="🦿",lG="🦵",cG="🦶",uG="👂",hG="🦻",fG="👃",dG="🧠",pG="🫀",gG="🫁",mG="🦷",yG="🦴",vG="👀",bG="👁️",_G="👅",xG="👄",wG="👶",kG="🧒",CG="👦",EG="👧",SG="🧑",TG="👱",AG="👨",MG="🧔",NG="👨‍🦰",DG="👨‍🦱",OG="👨‍🦳",LG="👨‍🦲",BG="👩",IG="👩‍🦰",RG="🧑‍🦰",FG="👩‍🦱",PG="🧑‍🦱",zG="👩‍🦳",qG="🧑‍🦳",jG="👩‍🦲",HG="🧑‍🦲",UG="👱‍♀️",$G="👱‍♀️",WG="👱‍♂️",YG="🧓",VG="👴",GG="👵",XG="🙍",ZG="🙍‍♂️",KG="🙍‍♀️",QG="🙎",JG="🙎‍♂️",tX="🙎‍♀️",eX="🙅",nX="🙅‍♂️",rX="🙅‍♂️",iX="🙅‍♀️",aX="🙅‍♀️",oX="🙆",sX="🙆‍♂️",lX="🙆‍♀️",cX="💁",uX="💁",hX="💁‍♂️",fX="💁‍♂️",dX="💁‍♀️",pX="💁‍♀️",gX="🙋",mX="🙋‍♂️",yX="🙋‍♀️",vX="🧏",bX="🧏‍♂️",_X="🧏‍♀️",xX="🙇",wX="🙇‍♂️",kX="🙇‍♀️",CX="🤦",EX="🤦‍♂️",SX="🤦‍♀️",TX="🤷",AX="🤷‍♂️",MX="🤷‍♀️",NX="🧑‍⚕️",DX="👨‍⚕️",OX="👩‍⚕️",LX="🧑‍🎓",BX="👨‍🎓",IX="👩‍🎓",RX="🧑‍🏫",FX="👨‍🏫",PX="👩‍🏫",zX="🧑‍⚖️",qX="👨‍⚖️",jX="👩‍⚖️",HX="🧑‍🌾",UX="👨‍🌾",$X="👩‍🌾",WX="🧑‍🍳",YX="👨‍🍳",VX="👩‍🍳",GX="🧑‍🔧",XX="👨‍🔧",ZX="👩‍🔧",KX="🧑‍🏭",QX="👨‍🏭",JX="👩‍🏭",tZ="🧑‍💼",eZ="👨‍💼",nZ="👩‍💼",rZ="🧑‍🔬",iZ="👨‍🔬",aZ="👩‍🔬",oZ="🧑‍💻",sZ="👨‍💻",lZ="👩‍💻",cZ="🧑‍🎤",uZ="👨‍🎤",hZ="👩‍🎤",fZ="🧑‍🎨",dZ="👨‍🎨",pZ="👩‍🎨",gZ="🧑‍✈️",mZ="👨‍✈️",yZ="👩‍✈️",vZ="🧑‍🚀",bZ="👨‍🚀",_Z="👩‍🚀",xZ="🧑‍🚒",wZ="👨‍🚒",kZ="👩‍🚒",CZ="👮",EZ="👮",SZ="👮‍♂️",TZ="👮‍♀️",AZ="🕵️",MZ="🕵️‍♂️",NZ="🕵️‍♀️",DZ="💂",OZ="💂‍♂️",LZ="💂‍♀️",BZ="🥷",IZ="👷",RZ="👷‍♂️",FZ="👷‍♀️",PZ="🤴",zZ="👸",qZ="👳",jZ="👳‍♂️",HZ="👳‍♀️",UZ="👲",$Z="🧕",WZ="🤵",YZ="🤵‍♂️",VZ="🤵‍♀️",GZ="👰",XZ="👰‍♂️",ZZ="👰‍♀️",KZ="👰‍♀️",QZ="🤰",JZ="🤱",tK="👩‍🍼",eK="👨‍🍼",nK="🧑‍🍼",rK="👼",iK="🎅",aK="🤶",oK="🧑‍🎄",sK="🦸",lK="🦸‍♂️",cK="🦸‍♀️",uK="🦹",hK="🦹‍♂️",fK="🦹‍♀️",dK="🧙",pK="🧙‍♂️",gK="🧙‍♀️",mK="🧚",yK="🧚‍♂️",vK="🧚‍♀️",bK="🧛",_K="🧛‍♂️",xK="🧛‍♀️",wK="🧜",kK="🧜‍♂️",CK="🧜‍♀️",EK="🧝",SK="🧝‍♂️",TK="🧝‍♀️",AK="🧞",MK="🧞‍♂️",NK="🧞‍♀️",DK="🧟",OK="🧟‍♂️",LK="🧟‍♀️",BK="💆",IK="💆‍♂️",RK="💆‍♀️",FK="💇",PK="💇‍♂️",zK="💇‍♀️",qK="🚶",jK="🚶‍♂️",HK="🚶‍♀️",UK="🧍",$K="🧍‍♂️",WK="🧍‍♀️",YK="🧎",VK="🧎‍♂️",GK="🧎‍♀️",XK="🧑‍🦯",ZK="👨‍🦯",KK="👩‍🦯",QK="🧑‍🦼",JK="👨‍🦼",tQ="👩‍🦼",eQ="🧑‍🦽",nQ="👨‍🦽",rQ="👩‍🦽",iQ="🏃",aQ="🏃",oQ="🏃‍♂️",sQ="🏃‍♀️",lQ="💃",cQ="💃",uQ="🕺",hQ="🕴️",fQ="👯",dQ="👯‍♂️",pQ="👯‍♀️",gQ="🧖",mQ="🧖‍♂️",yQ="🧖‍♀️",vQ="🧗",bQ="🧗‍♂️",_Q="🧗‍♀️",xQ="🤺",wQ="🏇",kQ="⛷️",CQ="🏂",EQ="🏌️",SQ="🏌️‍♂️",TQ="🏌️‍♀️",AQ="🏄",MQ="🏄‍♂️",NQ="🏄‍♀️",DQ="🚣",OQ="🚣‍♂️",LQ="🚣‍♀️",BQ="🏊",IQ="🏊‍♂️",RQ="🏊‍♀️",FQ="⛹️",PQ="⛹️‍♂️",zQ="⛹️‍♂️",qQ="⛹️‍♀️",jQ="⛹️‍♀️",HQ="🏋️",UQ="🏋️‍♂️",$Q="🏋️‍♀️",WQ="🚴",YQ="🚴‍♂️",VQ="🚴‍♀️",GQ="🚵",XQ="🚵‍♂️",ZQ="🚵‍♀️",KQ="🤸",QQ="🤸‍♂️",JQ="🤸‍♀️",tJ="🤼",eJ="🤼‍♂️",nJ="🤼‍♀️",rJ="🤽",iJ="🤽‍♂️",aJ="🤽‍♀️",oJ="🤾",sJ="🤾‍♂️",lJ="🤾‍♀️",cJ="🤹",uJ="🤹‍♂️",hJ="🤹‍♀️",fJ="🧘",dJ="🧘‍♂️",pJ="🧘‍♀️",gJ="🛀",mJ="🛌",yJ="🧑‍🤝‍🧑",vJ="👭",bJ="👫",_J="👬",xJ="💏",wJ="👩‍❤️‍💋‍👨",kJ="👨‍❤️‍💋‍👨",CJ="👩‍❤️‍💋‍👩",EJ="💑",SJ="👩‍❤️‍👨",TJ="👨‍❤️‍👨",AJ="👩‍❤️‍👩",MJ="👪",NJ="👨‍👩‍👦",DJ="👨‍👩‍👧",OJ="👨‍👩‍👧‍👦",LJ="👨‍👩‍👦‍👦",BJ="👨‍👩‍👧‍👧",IJ="👨‍👨‍👦",RJ="👨‍👨‍👧",FJ="👨‍👨‍👧‍👦",PJ="👨‍👨‍👦‍👦",zJ="👨‍👨‍👧‍👧",qJ="👩‍👩‍👦",jJ="👩‍👩‍👧",HJ="👩‍👩‍👧‍👦",UJ="👩‍👩‍👦‍👦",$J="👩‍👩‍👧‍👧",WJ="👨‍👦",YJ="👨‍👦‍👦",VJ="👨‍👧",GJ="👨‍👧‍👦",XJ="👨‍👧‍👧",ZJ="👩‍👦",KJ="👩‍👦‍👦",QJ="👩‍👧",JJ="👩‍👧‍👦",t0="👩‍👧‍👧",e0="🗣️",n0="👤",r0="👥",i0="🫂",a0="👣",o0="🐵",s0="🐒",l0="🦍",c0="🦧",u0="🐶",h0="🐕",f0="🦮",d0="🐕‍🦺",p0="🐩",g0="🐺",m0="🦊",y0="🦝",v0="🐱",b0="🐈",_0="🐈‍⬛",x0="🦁",w0="🐯",k0="🐅",C0="🐆",E0="🐴",S0="🐎",T0="🦄",A0="🦓",M0="🦌",N0="🦬",D0="🐮",O0="🐂",L0="🐃",B0="🐄",I0="🐷",R0="🐖",F0="🐗",P0="🐽",z0="🐏",q0="🐑",j0="🐐",H0="🐪",U0="🐫",$0="🦙",W0="🦒",Y0="🐘",V0="🦣",G0="🦏",X0="🦛",Z0="🐭",K0="🐁",Q0="🐀",J0="🐹",t1="🐰",e1="🐇",n1="🐿️",r1="🦫",i1="🦔",a1="🦇",o1="🐻",s1="🐻‍❄️",l1="🐨",c1="🐼",u1="🦥",h1="🦦",f1="🦨",d1="🦘",p1="🦡",g1="🐾",m1="🐾",y1="🦃",v1="🐔",b1="🐓",_1="🐣",x1="🐤",w1="🐥",k1="🐦",C1="🐧",E1="🕊️",S1="🦅",T1="🦆",A1="🦢",M1="🦉",N1="🦤",D1="🪶",O1="🦩",L1="🦚",B1="🦜",I1="🐸",R1="🐊",F1="🐢",P1="🦎",z1="🐍",q1="🐲",j1="🐉",H1="🦕",U1="🐳",$1="🐋",W1="🐬",Y1="🐬",V1="🦭",G1="🐟",X1="🐠",Z1="🐡",K1="🦈",Q1="🐙",J1="🐚",t2="🐌",e2="🦋",n2="🐛",r2="🐜",i2="🐝",a2="🐝",o2="🪲",s2="🐞",l2="🦗",c2="🪳",u2="🕷️",h2="🕸️",f2="🦂",d2="🦟",p2="🪰",g2="🪱",m2="🦠",y2="💐",v2="🌸",b2="💮",_2="🏵️",x2="🌹",w2="🥀",k2="🌺",C2="🌻",E2="🌼",S2="🌷",T2="🌱",A2="🪴",M2="🌲",N2="🌳",D2="🌴",O2="🌵",L2="🌾",B2="🌿",I2="☘️",R2="🍀",F2="🍁",P2="🍂",z2="🍃",q2="🍇",j2="🍈",H2="🍉",U2="🍊",$2="🍊",W2="🍊",Y2="🍋",V2="🍌",G2="🍍",X2="🥭",Z2="🍎",K2="🍏",Q2="🍐",J2="🍑",t4="🍒",e4="🍓",n4="🫐",r4="🥝",i4="🍅",a4="🫒",o4="🥥",s4="🥑",l4="🍆",c4="🥔",u4="🥕",h4="🌽",f4="🌶️",d4="🫑",p4="🥒",g4="🥬",m4="🥦",y4="🧄",v4="🧅",b4="🍄",_4="🥜",x4="🌰",w4="🍞",k4="🥐",C4="🥖",E4="🫓",S4="🥨",T4="🥯",A4="🥞",M4="🧇",N4="🧀",D4="🍖",O4="🍗",L4="🥩",B4="🥓",I4="🍔",R4="🍟",F4="🍕",P4="🌭",z4="🥪",q4="🌮",j4="🌯",H4="🫔",U4="🥙",$4="🧆",W4="🥚",Y4="🍳",V4="🥘",G4="🍲",X4="🫕",Z4="🥣",K4="🥗",Q4="🍿",J4="🧈",t3="🧂",e3="🥫",n3="🍱",r3="🍘",i3="🍙",a3="🍚",o3="🍛",s3="🍜",l3="🍝",c3="🍠",u3="🍢",h3="🍣",f3="🍤",d3="🍥",p3="🥮",g3="🍡",m3="🥟",y3="🥠",v3="🥡",b3="🦀",_3="🦞",x3="🦐",w3="🦑",k3="🦪",C3="🍦",E3="🍧",S3="🍨",T3="🍩",A3="🍪",M3="🎂",N3="🍰",D3="🧁",O3="🥧",L3="🍫",B3="🍬",I3="🍭",R3="🍮",F3="🍯",P3="🍼",z3="🥛",q3="☕",j3="🫖",H3="🍵",U3="🍶",$3="🍾",W3="🍷",Y3="🍸",V3="🍹",G3="🍺",X3="🍻",Z3="🥂",K3="🥃",Q3="🥤",J3="🧋",t5="🧃",e5="🧉",n5="🧊",r5="🥢",i5="🍽️",a5="🍴",o5="🥄",s5="🔪",l5="🔪",c5="🏺",u5="🌍",h5="🌎",f5="🌏",d5="🌐",p5="🗺️",g5="🗾",m5="🧭",y5="🏔️",v5="⛰️",b5="🌋",_5="🗻",x5="🏕️",w5="🏖️",k5="🏜️",C5="🏝️",E5="🏞️",S5="🏟️",T5="🏛️",A5="🏗️",M5="🧱",N5="🪨",D5="🪵",O5="🛖",L5="🏘️",B5="🏚️",I5="🏠",R5="🏡",F5="🏢",P5="🏣",z5="🏤",q5="🏥",j5="🏦",H5="🏨",U5="🏩",$5="🏪",W5="🏫",Y5="🏬",V5="🏭",G5="🏯",X5="🏰",Z5="💒",K5="🗼",Q5="🗽",J5="⛪",t6="🕌",e6="🛕",n6="🕍",r6="⛩️",i6="🕋",a6="⛲",o6="⛺",s6="🌁",l6="🌃",c6="🏙️",u6="🌄",h6="🌅",f6="🌆",d6="🌇",p6="🌉",g6="♨️",m6="🎠",y6="🎡",v6="🎢",b6="💈",_6="🎪",x6="🚂",w6="🚃",k6="🚄",C6="🚅",E6="🚆",S6="🚇",T6="🚈",A6="🚉",M6="🚊",N6="🚝",D6="🚞",O6="🚋",L6="🚌",B6="🚍",I6="🚎",R6="🚐",F6="🚑",P6="🚒",z6="🚓",q6="🚔",j6="🚕",H6="🚖",U6="🚗",$6="🚗",W6="🚘",Y6="🚙",V6="🛻",G6="🚚",X6="🚛",Z6="🚜",K6="🏎️",Q6="🏍️",J6="🛵",t8="🦽",e8="🦼",n8="🛺",r8="🚲",i8="🛴",a8="🛹",o8="🛼",s8="🚏",l8="🛣️",c8="🛤️",u8="🛢️",h8="⛽",f8="🚨",d8="🚥",p8="🚦",g8="🛑",m8="🚧",y8="⚓",v8="⛵",b8="⛵",_8="🛶",x8="🚤",w8="🛳️",k8="⛴️",C8="🛥️",E8="🚢",S8="✈️",T8="🛩️",A8="🛫",M8="🛬",N8="🪂",D8="💺",O8="🚁",L8="🚟",B8="🚠",I8="🚡",R8="🛰️",F8="🚀",P8="🛸",z8="🛎️",q8="🧳",j8="⌛",H8="⏳",U8="⌚",$8="⏰",W8="⏱️",Y8="⏲️",V8="🕰️",G8="🕛",X8="🕧",Z8="🕐",K8="🕜",Q8="🕑",J8="🕝",t7="🕒",e7="🕞",n7="🕓",r7="🕟",i7="🕔",a7="🕠",o7="🕕",s7="🕡",l7="🕖",c7="🕢",u7="🕗",h7="🕣",f7="🕘",d7="🕤",p7="🕙",g7="🕥",m7="🕚",y7="🕦",v7="🌑",b7="🌒",_7="🌓",x7="🌔",w7="🌔",k7="🌕",C7="🌖",E7="🌗",S7="🌘",T7="🌙",A7="🌚",M7="🌛",N7="🌜",D7="🌡️",O7="☀️",L7="🌝",B7="🌞",I7="🪐",R7="⭐",F7="🌟",P7="🌠",z7="🌌",q7="☁️",j7="⛅",H7="⛈️",U7="🌤️",$7="🌥️",W7="🌦️",Y7="🌧️",V7="🌨️",G7="🌩️",X7="🌪️",Z7="🌫️",K7="🌬️",Q7="🌀",J7="🌈",t9="🌂",e9="☂️",n9="☔",r9="⛱️",i9="⚡",a9="❄️",o9="☃️",s9="⛄",l9="☄️",c9="🔥",u9="💧",h9="🌊",f9="🎃",d9="🎄",p9="🎆",g9="🎇",m9="🧨",y9="✨",v9="🎈",b9="🎉",_9="🎊",x9="🎋",w9="🎍",k9="🎎",C9="🎏",E9="🎐",S9="🎑",T9="🧧",A9="🎀",M9="🎁",N9="🎗️",D9="🎟️",O9="🎫",L9="🎖️",B9="🏆",I9="🏅",R9="⚽",F9="⚾",P9="🥎",z9="🏀",q9="🏐",j9="🏈",H9="🏉",U9="🎾",$9="🥏",W9="🎳",Y9="🏏",V9="🏑",G9="🏒",X9="🥍",Z9="🏓",K9="🏸",Q9="🥊",J9="🥋",ttt="🥅",ett="⛳",ntt="⛸️",rtt="🎣",itt="🤿",att="🎽",ott="🎿",stt="🛷",ltt="🥌",ctt="🎯",utt="🪀",htt="🪁",ftt="🔮",dtt="🪄",ptt="🧿",gtt="🎮",mtt="🕹️",ytt="🎰",vtt="🎲",btt="🧩",_tt="🧸",xtt="🪅",wtt="🪆",ktt="♠️",Ctt="♥️",Ett="♦️",Stt="♣️",Ttt="♟️",Att="🃏",Mtt="🀄",Ntt="🎴",Dtt="🎭",Ott="🖼️",Ltt="🎨",Btt="🧵",Itt="🪡",Rtt="🧶",Ftt="🪢",Ptt="👓",ztt="🕶️",qtt="🥽",jtt="🥼",Htt="🦺",Utt="👔",$tt="👕",Wtt="👕",Ytt="👖",Vtt="🧣",Gtt="🧤",Xtt="🧥",Ztt="🧦",Ktt="👗",Qtt="👘",Jtt="🥻",tet="🩱",eet="🩲",net="🩳",ret="👙",iet="👚",aet="👛",oet="👜",set="👝",cet="🛍️",uet="🎒",het="🩴",fet="👞",det="👞",pet="👟",get="🥾",met="🥿",yet="👠",vet="👡",bet="🩰",_et="👢",xet="👑",wet="👒",ket="🎩",Cet="🎓",Eet="🧢",Tet="🪖",Aet="⛑️",Met="📿",Net="💄",Det="💍",Oet="💎",Let="🔇",Bet="🔈",Iet="🔉",Ret="🔊",Fet="📢",Pet="📣",zet="📯",qet="🔔",jet="🔕",Het="🎼",Uet="🎵",$et="🎶",Wet="🎙️",Yet="🎚️",Vet="🎛️",Get="🎤",Xet="🎧",Zet="📻",Ket="🎷",Qet="🪗",Jet="🎸",tnt="🎹",ent="🎺",nnt="🎻",rnt="🪕",int="🥁",ant="🪘",ont="📱",snt="📲",lnt="☎️",cnt="☎️",unt="📞",hnt="📟",fnt="📠",dnt="🔋",pnt="🔌",gnt="💻",mnt="🖥️",ynt="🖨️",vnt="⌨️",bnt="🖱️",_nt="🖲️",xnt="💽",wnt="💾",knt="💿",Cnt="📀",Ent="🧮",Snt="🎥",Tnt="🎞️",Ant="📽️",Mnt="🎬",Nnt="📺",Dnt="📷",Ont="📸",Lnt="📹",Bnt="📼",Int="🔍",Rnt="🔎",Fnt="🕯️",Pnt="💡",znt="🔦",qnt="🏮",jnt="🏮",Hnt="🪔",Unt="📔",$nt="📕",Wnt="📖",Ynt="📖",Vnt="📗",Gnt="📘",Xnt="📙",Znt="📚",Knt="📓",Qnt="📒",Jnt="📃",trt="📜",ert="📄",nrt="📰",rrt="🗞️",irt="📑",art="🔖",ort="🏷️",srt="💰",lrt="🪙",crt="💴",urt="💵",hrt="💶",frt="💷",drt="💸",prt="💳",grt="🧾",mrt="💹",yrt="✉️",vrt="📧",brt="📨",_rt="📩",xrt="📤",wrt="📥",krt="📫",Crt="📪",Ert="📬",Srt="📭",Trt="📮",Art="🗳️",Mrt="✏️",Nrt="✒️",Drt="🖋️",Ort="🖊️",Lrt="🖌️",Brt="🖍️",Irt="📝",Rrt="📝",Frt="💼",Prt="📁",zrt="📂",qrt="🗂️",jrt="📅",Hrt="📆",Urt="🗒️",$rt="🗓️",Wrt="📇",Yrt="📈",Vrt="📉",Grt="📊",Xrt="📋",Zrt="📌",Krt="📍",Qrt="📎",Jrt="🖇️",tit="📏",eit="📐",nit="✂️",rit="🗃️",iit="🗄️",ait="🗑️",oit="🔒",sit="🔓",lit="🔏",cit="🔐",uit="🔑",hit="🗝️",fit="🔨",dit="🪓",pit="⛏️",git="⚒️",mit="🛠️",yit="🗡️",vit="⚔️",bit="🔫",_it="🪃",xit="🏹",wit="🛡️",kit="🪚",Cit="🔧",Eit="🪛",Sit="🔩",Tit="⚙️",Ait="🗜️",Mit="⚖️",Nit="🦯",Dit="🔗",Oit="⛓️",Lit="🪝",Bit="🧰",Iit="🧲",Rit="🪜",Fit="⚗️",Pit="🧪",zit="🧫",qit="🧬",jit="🔬",Hit="🔭",Uit="📡",$it="💉",Wit="🩸",Yit="💊",Vit="🩹",Git="🩺",Xit="🚪",Zit="🛗",Kit="🪞",Qit="🪟",Jit="🛏️",tat="🛋️",eat="🪑",nat="🚽",rat="🪠",iat="🚿",aat="🛁",oat="🪤",sat="🪒",lat="🧴",cat="🧷",uat="🧹",hat="🧺",fat="🧻",dat="🪣",pat="🧼",gat="🪥",mat="🧽",yat="🧯",vat="🛒",bat="🚬",_at="⚰️",xat="🪦",wat="⚱️",kat="🗿",Cat="🪧",Eat="🏧",Sat="🚮",Tat="🚰",Aat="♿",Mat="🚹",Nat="🚺",Dat="🚻",Oat="🚼",Lat="🚾",Bat="🛂",Iat="🛃",Rat="🛄",Fat="🛅",Pat="⚠️",zat="🚸",qat="⛔",jat="🚫",Hat="🚳",Uat="🚭",$at="🚯",Wat="🚷",Yat="📵",Vat="🔞",Gat="☢️",Xat="☣️",Zat="⬆️",Kat="↗️",Qat="➡️",Jat="↘️",tot="⬇️",eot="↙️",not="⬅️",rot="↖️",iot="↕️",aot="↔️",oot="↩️",sot="↪️",lot="⤴️",cot="⤵️",uot="🔃",hot="🔄",fot="🔙",dot="🔚",pot="🔛",got="🔜",mot="🔝",yot="🛐",vot="⚛️",bot="🕉️",_ot="✡️",xot="☸️",wot="☯️",kot="✝️",Cot="☦️",Eot="☪️",Sot="☮️",Tot="🕎",Aot="🔯",Mot="♈",Not="♉",Dot="♊",Oot="♋",Lot="♌",Bot="♍",Iot="♎",Rot="♏",Fot="♐",Pot="♑",zot="♒",qot="♓",jot="⛎",Hot="🔀",Uot="🔁",$ot="🔂",Wot="▶️",Yot="⏩",Vot="⏭️",Got="⏯️",Xot="◀️",Zot="⏪",Kot="⏮️",Qot="🔼",Jot="⏫",tst="🔽",est="⏬",nst="⏸️",rst="⏹️",ist="⏺️",ast="⏏️",ost="🎦",sst="🔅",lst="🔆",cst="📶",ust="📳",hst="📴",fst="♀️",dst="♂️",pst="⚧️",gst="✖️",mst="➕",yst="➖",vst="➗",bst="♾️",_st="‼️",xst="⁉️",wst="❓",kst="❔",Cst="❕",Est="❗",Sst="❗",Tst="〰️",Ast="💱",Mst="💲",Nst="⚕️",Dst="♻️",Ost="⚜️",Lst="🔱",Bst="📛",Ist="🔰",Rst="⭕",Fst="✅",Pst="☑️",zst="✔️",qst="❌",jst="❎",Hst="➰",Ust="➿",$st="〽️",Wst="✳️",Yst="✴️",Vst="❇️",Gst="©️",Xst="®️",Zst="™️",Kst="#️⃣",Qst="*️⃣",Jst="0️⃣",tlt="1️⃣",elt="2️⃣",nlt="3️⃣",rlt="4️⃣",ilt="5️⃣",alt="6️⃣",olt="7️⃣",slt="8️⃣",llt="9️⃣",clt="🔟",ult="🔠",hlt="🔡",flt="🔣",dlt="🔤",plt="🅰️",glt="🆎",mlt="🅱️",ylt="🆑",vlt="🆒",blt="🆓",_lt="ℹ️",xlt="🆔",wlt="Ⓜ️",klt="🆖",Clt="🅾️",Elt="🆗",Slt="🅿️",Tlt="🆘",Alt="🆙",Mlt="🆚",Nlt="🈁",Dlt="🈂️",Olt="🉐",Llt="🉑",Blt="㊗️",Ilt="㊙️",Rlt="🈵",Flt="🔴",Plt="🟠",zlt="🟡",qlt="🟢",jlt="🔵",Hlt="🟣",Ult="🟤",$lt="⚫",Wlt="⚪",Ylt="🟥",Vlt="🟧",Glt="🟨",Xlt="🟩",Zlt="🟦",Klt="🟪",Qlt="🟫",Jlt="⬛",tct="⬜",ect="◼️",nct="◻️",rct="◾",ict="◽",act="▪️",oct="▫️",sct="🔶",lct="🔷",cct="🔸",uct="🔹",hct="🔺",fct="🔻",dct="💠",pct="🔘",gct="🔳",mct="🔲",yct="🏁",vct="🚩",bct="🎌",_ct="🏴",xct="🏳️",wct="🏳️‍🌈",kct="🏳️‍⚧️",Cct="🏴‍☠️",Ect="🇦🇨",Sct="🇦🇩",Tct="🇦🇪",Act="🇦🇫",Mct="🇦🇬",Nct="🇦🇮",Dct="🇦🇱",Oct="🇦🇲",Lct="🇦🇴",Bct="🇦🇶",Ict="🇦🇷",Rct="🇦🇸",Fct="🇦🇹",Pct="🇦🇺",zct="🇦🇼",qct="🇦🇽",jct="🇦🇿",Hct="🇧🇦",Uct="🇧🇧",$ct="🇧🇩",Wct="🇧🇪",Yct="🇧🇫",Vct="🇧🇬",Gct="🇧🇭",Xct="🇧🇮",Zct="🇧🇯",Kct="🇧🇱",Qct="🇧🇲",Jct="🇧🇳",tut="🇧🇴",eut="🇧🇶",nut="🇧🇷",rut="🇧🇸",iut="🇧🇹",aut="🇧🇻",out="🇧🇼",sut="🇧🇾",lut="🇧🇿",cut="🇨🇦",uut="🇨🇨",hut="🇨🇩",fut="🇨🇫",dut="🇨🇬",put="🇨🇭",gut="🇨🇮",mut="🇨🇰",yut="🇨🇱",vut="🇨🇲",but="🇨🇳",_ut="🇨🇴",xut="🇨🇵",wut="🇨🇷",kut="🇨🇺",Cut="🇨🇻",Eut="🇨🇼",Sut="🇨🇽",Tut="🇨🇾",Aut="🇨🇿",Mut="🇩🇪",Nut="🇩🇬",Dut="🇩🇯",Out="🇩🇰",Lut="🇩🇲",But="🇩🇴",Iut="🇩🇿",Rut="🇪🇦",Fut="🇪🇨",Put="🇪🇪",zut="🇪🇬",qut="🇪🇭",jut="🇪🇷",Hut="🇪🇸",Uut="🇪🇹",$ut="🇪🇺",Wut="🇪🇺",Yut="🇫🇮",Vut="🇫🇯",Gut="🇫🇰",Xut="🇫🇲",Zut="🇫🇴",Kut="🇫🇷",Qut="🇬🇦",Jut="🇬🇧",tht="🇬🇧",eht="🇬🇩",nht="🇬🇪",rht="🇬🇫",iht="🇬🇬",aht="🇬🇭",oht="🇬🇮",sht="🇬🇱",lht="🇬🇲",cht="🇬🇳",uht="🇬🇵",hht="🇬🇶",fht="🇬🇷",dht="🇬🇸",pht="🇬🇹",ght="🇬🇺",mht="🇬🇼",yht="🇬🇾",vht="🇭🇰",bht="🇭🇲",_ht="🇭🇳",xht="🇭🇷",wht="🇭🇹",kht="🇭🇺",Cht="🇮🇨",Eht="🇮🇩",Sht="🇮🇪",Tht="🇮🇱",Aht="🇮🇲",Mht="🇮🇳",Nht="🇮🇴",Dht="🇮🇶",Oht="🇮🇷",Lht="🇮🇸",Bht="🇮🇹",Iht="🇯🇪",Rht="🇯🇲",Fht="🇯🇴",Pht="🇯🇵",zht="🇰🇪",qht="🇰🇬",jht="🇰🇭",Hht="🇰🇮",Uht="🇰🇲",$ht="🇰🇳",Wht="🇰🇵",Yht="🇰🇷",Vht="🇰🇼",Ght="🇰🇾",Xht="🇰🇿",Zht="🇱🇦",Kht="🇱🇧",Qht="🇱🇨",Jht="🇱🇮",tft="🇱🇰",eft="🇱🇷",nft="🇱🇸",rft="🇱🇹",ift="🇱🇺",aft="🇱🇻",oft="🇱🇾",sft="🇲🇦",lft="🇲🇨",cft="🇲🇩",uft="🇲🇪",hft="🇲🇫",fft="🇲🇬",dft="🇲🇭",pft="🇲🇰",gft="🇲🇱",mft="🇲🇲",yft="🇲🇳",vft="🇲🇴",bft="🇲🇵",_ft="🇲🇶",xft="🇲🇷",wft="🇲🇸",kft="🇲🇹",Cft="🇲🇺",Eft="🇲🇻",Sft="🇲🇼",Tft="🇲🇽",Aft="🇲🇾",Mft="🇲🇿",Nft="🇳🇦",Dft="🇳🇨",Oft="🇳🇪",Lft="🇳🇫",Bft="🇳🇬",Ift="🇳🇮",Rft="🇳🇱",Fft="🇳🇴",Pft="🇳🇵",zft="🇳🇷",qft="🇳🇺",jft="🇳🇿",Hft="🇴🇲",Uft="🇵🇦",$ft="🇵🇪",Wft="🇵🇫",Yft="🇵🇬",Vft="🇵🇭",Gft="🇵🇰",Xft="🇵🇱",Zft="🇵🇲",Kft="🇵🇳",Qft="🇵🇷",Jft="🇵🇸",tdt="🇵🇹",edt="🇵🇼",ndt="🇵🇾",rdt="🇶🇦",idt="🇷🇪",adt="🇷🇴",odt="🇷🇸",sdt="🇷🇺",ldt="🇷🇼",cdt="🇸🇦",udt="🇸🇧",hdt="🇸🇨",fdt="🇸🇩",ddt="🇸🇪",pdt="🇸🇬",gdt="🇸🇭",mdt="🇸🇮",ydt="🇸🇯",vdt="🇸🇰",bdt="🇸🇱",_dt="🇸🇲",xdt="🇸🇳",wdt="🇸🇴",kdt="🇸🇷",Cdt="🇸🇸",Edt="🇸🇹",Sdt="🇸🇻",Tdt="🇸🇽",Adt="🇸🇾",Mdt="🇸🇿",Ndt="🇹🇦",Ddt="🇹🇨",Odt="🇹🇩",Ldt="🇹🇫",Bdt="🇹🇬",Idt="🇹🇭",Rdt="🇹🇯",Fdt="🇹🇰",Pdt="🇹🇱",zdt="🇹🇲",qdt="🇹🇳",jdt="🇹🇴",Hdt="🇹🇷",Udt="🇹🇹",$dt="🇹🇻",Wdt="🇹🇼",Ydt="🇹🇿",Vdt="🇺🇦",Gdt="🇺🇬",Xdt="🇺🇲",Zdt="🇺🇳",Kdt="🇺🇸",Qdt="🇺🇾",Jdt="🇺🇿",tpt="🇻🇦",ept="🇻🇨",npt="🇻🇪",rpt="🇻🇬",ipt="🇻🇮",apt="🇻🇳",opt="🇻🇺",spt="🇼🇫",lpt="🇼🇸",cpt="🇽🇰",upt="🇾🇪",hpt="🇾🇹",fpt="🇿🇦",dpt="🇿🇲",ppt="🇿🇼",gpt="🏴󠁧󠁢󠁥󠁮󠁧󠁿",mpt="🏴󠁧󠁢󠁳󠁣󠁴󠁿",ypt="🏴󠁧󠁢󠁷󠁬󠁳󠁿";var vpt={100:"💯",1234:"🔢",grinning:T$,smiley:A$,smile:M$,grin:N$,laughing:D$,satisfied:O$,sweat_smile:L$,rofl:B$,joy:I$,slightly_smiling_face:R$,upside_down_face:F$,wink:P$,blush:z$,innocent:q$,smiling_face_with_three_hearts:j$,heart_eyes:H$,star_struck:U$,kissing_heart:$$,kissing:W$,relaxed:Y$,kissing_closed_eyes:V$,kissing_smiling_eyes:G$,smiling_face_with_tear:X$,yum:Z$,stuck_out_tongue:K$,stuck_out_tongue_winking_eye:Q$,zany_face:J$,stuck_out_tongue_closed_eyes:tW,money_mouth_face:eW,hugs:nW,hand_over_mouth:rW,shushing_face:iW,thinking:aW,zipper_mouth_face:oW,raised_eyebrow:sW,neutral_face:lW,expressionless:cW,no_mouth:uW,smirk:hW,unamused:fW,roll_eyes:dW,grimacing:pW,lying_face:gW,relieved:mW,pensive:yW,sleepy:vW,drooling_face:bW,sleeping:_W,mask:xW,face_with_thermometer:wW,face_with_head_bandage:kW,nauseated_face:CW,vomiting_face:EW,sneezing_face:SW,hot_face:TW,cold_face:AW,woozy_face:MW,dizzy_face:NW,exploding_head:DW,cowboy_hat_face:OW,partying_face:LW,disguised_face:BW,sunglasses:IW,nerd_face:RW,monocle_face:FW,confused:PW,worried:zW,slightly_frowning_face:qW,frowning_face:jW,open_mouth:HW,hushed:UW,astonished:$W,flushed:WW,pleading_face:YW,frowning:VW,anguished:GW,fearful:XW,cold_sweat:ZW,disappointed_relieved:KW,cry:QW,sob:JW,scream:tY,confounded:eY,persevere:nY,disappointed:rY,sweat:iY,weary:aY,tired_face:oY,yawning_face:sY,triumph:lY,rage:cY,pout:uY,angry:hY,cursing_face:fY,smiling_imp:dY,imp:pY,skull:gY,skull_and_crossbones:mY,hankey:yY,poop:vY,shit:bY,clown_face:_Y,japanese_ogre:xY,japanese_goblin:wY,ghost:kY,alien:CY,space_invader:EY,robot:SY,smiley_cat:TY,smile_cat:AY,joy_cat:MY,heart_eyes_cat:NY,smirk_cat:DY,kissing_cat:OY,scream_cat:LY,crying_cat_face:BY,pouting_cat:IY,see_no_evil:RY,hear_no_evil:FY,speak_no_evil:PY,kiss:zY,love_letter:qY,cupid:jY,gift_heart:HY,sparkling_heart:UY,heartpulse:$Y,heartbeat:WY,revolving_hearts:YY,two_hearts:VY,heart_decoration:GY,heavy_heart_exclamation:XY,broken_heart:ZY,heart:KY,orange_heart:QY,yellow_heart:JY,green_heart:tV,blue_heart:eV,purple_heart:nV,brown_heart:rV,black_heart:iV,white_heart:aV,anger:oV,boom:sV,collision:lV,dizzy:cV,sweat_drops:uV,dash:hV,hole:fV,bomb:dV,speech_balloon:pV,eye_speech_bubble:gV,left_speech_bubble:mV,right_anger_bubble:yV,thought_balloon:vV,zzz:bV,wave:_V,raised_back_of_hand:xV,raised_hand_with_fingers_splayed:wV,hand:kV,raised_hand:CV,vulcan_salute:EV,ok_hand:SV,pinched_fingers:TV,pinching_hand:AV,v:MV,crossed_fingers:NV,love_you_gesture:DV,metal:OV,call_me_hand:LV,point_left:BV,point_right:IV,point_up_2:RV,middle_finger:FV,fu:PV,point_down:zV,point_up:qV,"+1":"👍",thumbsup:jV,"-1":"👎",thumbsdown:HV,fist_raised:UV,fist:$V,fist_oncoming:WV,facepunch:YV,punch:VV,fist_left:GV,fist_right:XV,clap:ZV,raised_hands:KV,open_hands:QV,palms_up_together:JV,handshake:tG,pray:eG,writing_hand:nG,nail_care:rG,selfie:iG,muscle:aG,mechanical_arm:oG,mechanical_leg:sG,leg:lG,foot:cG,ear:uG,ear_with_hearing_aid:hG,nose:fG,brain:dG,anatomical_heart:pG,lungs:gG,tooth:mG,bone:yG,eyes:vG,eye:bG,tongue:_G,lips:xG,baby:wG,child:kG,boy:CG,girl:EG,adult:SG,blond_haired_person:TG,man:AG,bearded_person:MG,red_haired_man:NG,curly_haired_man:DG,white_haired_man:OG,bald_man:LG,woman:BG,red_haired_woman:IG,person_red_hair:RG,curly_haired_woman:FG,person_curly_hair:PG,white_haired_woman:zG,person_white_hair:qG,bald_woman:jG,person_bald:HG,blond_haired_woman:UG,blonde_woman:$G,blond_haired_man:WG,older_adult:YG,older_man:VG,older_woman:GG,frowning_person:XG,frowning_man:ZG,frowning_woman:KG,pouting_face:QG,pouting_man:JG,pouting_woman:tX,no_good:eX,no_good_man:nX,ng_man:rX,no_good_woman:iX,ng_woman:aX,ok_person:oX,ok_man:sX,ok_woman:lX,tipping_hand_person:cX,information_desk_person:uX,tipping_hand_man:hX,sassy_man:fX,tipping_hand_woman:dX,sassy_woman:pX,raising_hand:gX,raising_hand_man:mX,raising_hand_woman:yX,deaf_person:vX,deaf_man:bX,deaf_woman:_X,bow:xX,bowing_man:wX,bowing_woman:kX,facepalm:CX,man_facepalming:EX,woman_facepalming:SX,shrug:TX,man_shrugging:AX,woman_shrugging:MX,health_worker:NX,man_health_worker:DX,woman_health_worker:OX,student:LX,man_student:BX,woman_student:IX,teacher:RX,man_teacher:FX,woman_teacher:PX,judge:zX,man_judge:qX,woman_judge:jX,farmer:HX,man_farmer:UX,woman_farmer:$X,cook:WX,man_cook:YX,woman_cook:VX,mechanic:GX,man_mechanic:XX,woman_mechanic:ZX,factory_worker:KX,man_factory_worker:QX,woman_factory_worker:JX,office_worker:tZ,man_office_worker:eZ,woman_office_worker:nZ,scientist:rZ,man_scientist:iZ,woman_scientist:aZ,technologist:oZ,man_technologist:sZ,woman_technologist:lZ,singer:cZ,man_singer:uZ,woman_singer:hZ,artist:fZ,man_artist:dZ,woman_artist:pZ,pilot:gZ,man_pilot:mZ,woman_pilot:yZ,astronaut:vZ,man_astronaut:bZ,woman_astronaut:_Z,firefighter:xZ,man_firefighter:wZ,woman_firefighter:kZ,police_officer:CZ,cop:EZ,policeman:SZ,policewoman:TZ,detective:AZ,male_detective:MZ,female_detective:NZ,guard:DZ,guardsman:OZ,guardswoman:LZ,ninja:BZ,construction_worker:IZ,construction_worker_man:RZ,construction_worker_woman:FZ,prince:PZ,princess:zZ,person_with_turban:qZ,man_with_turban:jZ,woman_with_turban:HZ,man_with_gua_pi_mao:UZ,woman_with_headscarf:$Z,person_in_tuxedo:WZ,man_in_tuxedo:YZ,woman_in_tuxedo:VZ,person_with_veil:GZ,man_with_veil:XZ,woman_with_veil:ZZ,bride_with_veil:KZ,pregnant_woman:QZ,breast_feeding:JZ,woman_feeding_baby:tK,man_feeding_baby:eK,person_feeding_baby:nK,angel:rK,santa:iK,mrs_claus:aK,mx_claus:oK,superhero:sK,superhero_man:lK,superhero_woman:cK,supervillain:uK,supervillain_man:hK,supervillain_woman:fK,mage:dK,mage_man:pK,mage_woman:gK,fairy:mK,fairy_man:yK,fairy_woman:vK,vampire:bK,vampire_man:_K,vampire_woman:xK,merperson:wK,merman:kK,mermaid:CK,elf:EK,elf_man:SK,elf_woman:TK,genie:AK,genie_man:MK,genie_woman:NK,zombie:DK,zombie_man:OK,zombie_woman:LK,massage:BK,massage_man:IK,massage_woman:RK,haircut:FK,haircut_man:PK,haircut_woman:zK,walking:qK,walking_man:jK,walking_woman:HK,standing_person:UK,standing_man:$K,standing_woman:WK,kneeling_person:YK,kneeling_man:VK,kneeling_woman:GK,person_with_probing_cane:XK,man_with_probing_cane:ZK,woman_with_probing_cane:KK,person_in_motorized_wheelchair:QK,man_in_motorized_wheelchair:JK,woman_in_motorized_wheelchair:tQ,person_in_manual_wheelchair:eQ,man_in_manual_wheelchair:nQ,woman_in_manual_wheelchair:rQ,runner:iQ,running:aQ,running_man:oQ,running_woman:sQ,woman_dancing:lQ,dancer:cQ,man_dancing:uQ,business_suit_levitating:hQ,dancers:fQ,dancing_men:dQ,dancing_women:pQ,sauna_person:gQ,sauna_man:mQ,sauna_woman:yQ,climbing:vQ,climbing_man:bQ,climbing_woman:_Q,person_fencing:xQ,horse_racing:wQ,skier:kQ,snowboarder:CQ,golfing:EQ,golfing_man:SQ,golfing_woman:TQ,surfer:AQ,surfing_man:MQ,surfing_woman:NQ,rowboat:DQ,rowing_man:OQ,rowing_woman:LQ,swimmer:BQ,swimming_man:IQ,swimming_woman:RQ,bouncing_ball_person:FQ,bouncing_ball_man:PQ,basketball_man:zQ,bouncing_ball_woman:qQ,basketball_woman:jQ,weight_lifting:HQ,weight_lifting_man:UQ,weight_lifting_woman:$Q,bicyclist:WQ,biking_man:YQ,biking_woman:VQ,mountain_bicyclist:GQ,mountain_biking_man:XQ,mountain_biking_woman:ZQ,cartwheeling:KQ,man_cartwheeling:QQ,woman_cartwheeling:JQ,wrestling:tJ,men_wrestling:eJ,women_wrestling:nJ,water_polo:rJ,man_playing_water_polo:iJ,woman_playing_water_polo:aJ,handball_person:oJ,man_playing_handball:sJ,woman_playing_handball:lJ,juggling_person:cJ,man_juggling:uJ,woman_juggling:hJ,lotus_position:fJ,lotus_position_man:dJ,lotus_position_woman:pJ,bath:gJ,sleeping_bed:mJ,people_holding_hands:yJ,two_women_holding_hands:vJ,couple:bJ,two_men_holding_hands:_J,couplekiss:xJ,couplekiss_man_woman:wJ,couplekiss_man_man:kJ,couplekiss_woman_woman:CJ,couple_with_heart:EJ,couple_with_heart_woman_man:SJ,couple_with_heart_man_man:TJ,couple_with_heart_woman_woman:AJ,family:MJ,family_man_woman_boy:NJ,family_man_woman_girl:DJ,family_man_woman_girl_boy:OJ,family_man_woman_boy_boy:LJ,family_man_woman_girl_girl:BJ,family_man_man_boy:IJ,family_man_man_girl:RJ,family_man_man_girl_boy:FJ,family_man_man_boy_boy:PJ,family_man_man_girl_girl:zJ,family_woman_woman_boy:qJ,family_woman_woman_girl:jJ,family_woman_woman_girl_boy:HJ,family_woman_woman_boy_boy:UJ,family_woman_woman_girl_girl:$J,family_man_boy:WJ,family_man_boy_boy:YJ,family_man_girl:VJ,family_man_girl_boy:GJ,family_man_girl_girl:XJ,family_woman_boy:ZJ,family_woman_boy_boy:KJ,family_woman_girl:QJ,family_woman_girl_boy:JJ,family_woman_girl_girl:t0,speaking_head:e0,bust_in_silhouette:n0,busts_in_silhouette:r0,people_hugging:i0,footprints:a0,monkey_face:o0,monkey:s0,gorilla:l0,orangutan:c0,dog:u0,dog2:h0,guide_dog:f0,service_dog:d0,poodle:p0,wolf:g0,fox_face:m0,raccoon:y0,cat:v0,cat2:b0,black_cat:_0,lion:x0,tiger:w0,tiger2:k0,leopard:C0,horse:E0,racehorse:S0,unicorn:T0,zebra:A0,deer:M0,bison:N0,cow:D0,ox:O0,water_buffalo:L0,cow2:B0,pig:I0,pig2:R0,boar:F0,pig_nose:P0,ram:z0,sheep:q0,goat:j0,dromedary_camel:H0,camel:U0,llama:$0,giraffe:W0,elephant:Y0,mammoth:V0,rhinoceros:G0,hippopotamus:X0,mouse:Z0,mouse2:K0,rat:Q0,hamster:J0,rabbit:t1,rabbit2:e1,chipmunk:n1,beaver:r1,hedgehog:i1,bat:a1,bear:o1,polar_bear:s1,koala:l1,panda_face:c1,sloth:u1,otter:h1,skunk:f1,kangaroo:d1,badger:p1,feet:g1,paw_prints:m1,turkey:y1,chicken:v1,rooster:b1,hatching_chick:_1,baby_chick:x1,hatched_chick:w1,bird:k1,penguin:C1,dove:E1,eagle:S1,duck:T1,swan:A1,owl:M1,dodo:N1,feather:D1,flamingo:O1,peacock:L1,parrot:B1,frog:I1,crocodile:R1,turtle:F1,lizard:P1,snake:z1,dragon_face:q1,dragon:j1,sauropod:H1,"t-rex":"🦖",whale:U1,whale2:$1,dolphin:W1,flipper:Y1,seal:V1,fish:G1,tropical_fish:X1,blowfish:Z1,shark:K1,octopus:Q1,shell:J1,snail:t2,butterfly:e2,bug:n2,ant:r2,bee:i2,honeybee:a2,beetle:o2,lady_beetle:s2,cricket:l2,cockroach:c2,spider:u2,spider_web:h2,scorpion:f2,mosquito:d2,fly:p2,worm:g2,microbe:m2,bouquet:y2,cherry_blossom:v2,white_flower:b2,rosette:_2,rose:x2,wilted_flower:w2,hibiscus:k2,sunflower:C2,blossom:E2,tulip:S2,seedling:T2,potted_plant:A2,evergreen_tree:M2,deciduous_tree:N2,palm_tree:D2,cactus:O2,ear_of_rice:L2,herb:B2,shamrock:I2,four_leaf_clover:R2,maple_leaf:F2,fallen_leaf:P2,leaves:z2,grapes:q2,melon:j2,watermelon:H2,tangerine:U2,orange:$2,mandarin:W2,lemon:Y2,banana:V2,pineapple:G2,mango:X2,apple:Z2,green_apple:K2,pear:Q2,peach:J2,cherries:t4,strawberry:e4,blueberries:n4,kiwi_fruit:r4,tomato:i4,olive:a4,coconut:o4,avocado:s4,eggplant:l4,potato:c4,carrot:u4,corn:h4,hot_pepper:f4,bell_pepper:d4,cucumber:p4,leafy_green:g4,broccoli:m4,garlic:y4,onion:v4,mushroom:b4,peanuts:_4,chestnut:x4,bread:w4,croissant:k4,baguette_bread:C4,flatbread:E4,pretzel:S4,bagel:T4,pancakes:A4,waffle:M4,cheese:N4,meat_on_bone:D4,poultry_leg:O4,cut_of_meat:L4,bacon:B4,hamburger:I4,fries:R4,pizza:F4,hotdog:P4,sandwich:z4,taco:q4,burrito:j4,tamale:H4,stuffed_flatbread:U4,falafel:$4,egg:W4,fried_egg:Y4,shallow_pan_of_food:V4,stew:G4,fondue:X4,bowl_with_spoon:Z4,green_salad:K4,popcorn:Q4,butter:J4,salt:t3,canned_food:e3,bento:n3,rice_cracker:r3,rice_ball:i3,rice:a3,curry:o3,ramen:s3,spaghetti:l3,sweet_potato:c3,oden:u3,sushi:h3,fried_shrimp:f3,fish_cake:d3,moon_cake:p3,dango:g3,dumpling:m3,fortune_cookie:y3,takeout_box:v3,crab:b3,lobster:_3,shrimp:x3,squid:w3,oyster:k3,icecream:C3,shaved_ice:E3,ice_cream:S3,doughnut:T3,cookie:A3,birthday:M3,cake:N3,cupcake:D3,pie:O3,chocolate_bar:L3,candy:B3,lollipop:I3,custard:R3,honey_pot:F3,baby_bottle:P3,milk_glass:z3,coffee:q3,teapot:j3,tea:H3,sake:U3,champagne:$3,wine_glass:W3,cocktail:Y3,tropical_drink:V3,beer:G3,beers:X3,clinking_glasses:Z3,tumbler_glass:K3,cup_with_straw:Q3,bubble_tea:J3,beverage_box:t5,mate:e5,ice_cube:n5,chopsticks:r5,plate_with_cutlery:i5,fork_and_knife:a5,spoon:o5,hocho:s5,knife:l5,amphora:c5,earth_africa:u5,earth_americas:h5,earth_asia:f5,globe_with_meridians:d5,world_map:p5,japan:g5,compass:m5,mountain_snow:y5,mountain:v5,volcano:b5,mount_fuji:_5,camping:x5,beach_umbrella:w5,desert:k5,desert_island:C5,national_park:E5,stadium:S5,classical_building:T5,building_construction:A5,bricks:M5,rock:N5,wood:D5,hut:O5,houses:L5,derelict_house:B5,house:I5,house_with_garden:R5,office:F5,post_office:P5,european_post_office:z5,hospital:q5,bank:j5,hotel:H5,love_hotel:U5,convenience_store:$5,school:W5,department_store:Y5,factory:V5,japanese_castle:G5,european_castle:X5,wedding:Z5,tokyo_tower:K5,statue_of_liberty:Q5,church:J5,mosque:t6,hindu_temple:e6,synagogue:n6,shinto_shrine:r6,kaaba:i6,fountain:a6,tent:o6,foggy:s6,night_with_stars:l6,cityscape:c6,sunrise_over_mountains:u6,sunrise:h6,city_sunset:f6,city_sunrise:d6,bridge_at_night:p6,hotsprings:g6,carousel_horse:m6,ferris_wheel:y6,roller_coaster:v6,barber:b6,circus_tent:_6,steam_locomotive:x6,railway_car:w6,bullettrain_side:k6,bullettrain_front:C6,train2:E6,metro:S6,light_rail:T6,station:A6,tram:M6,monorail:N6,mountain_railway:D6,train:O6,bus:L6,oncoming_bus:B6,trolleybus:I6,minibus:R6,ambulance:F6,fire_engine:P6,police_car:z6,oncoming_police_car:q6,taxi:j6,oncoming_taxi:H6,car:U6,red_car:$6,oncoming_automobile:W6,blue_car:Y6,pickup_truck:V6,truck:G6,articulated_lorry:X6,tractor:Z6,racing_car:K6,motorcycle:Q6,motor_scooter:J6,manual_wheelchair:t8,motorized_wheelchair:e8,auto_rickshaw:n8,bike:r8,kick_scooter:i8,skateboard:a8,roller_skate:o8,busstop:s8,motorway:l8,railway_track:c8,oil_drum:u8,fuelpump:h8,rotating_light:f8,traffic_light:d8,vertical_traffic_light:p8,stop_sign:g8,construction:m8,anchor:y8,boat:v8,sailboat:b8,canoe:_8,speedboat:x8,passenger_ship:w8,ferry:k8,motor_boat:C8,ship:E8,airplane:S8,small_airplane:T8,flight_departure:A8,flight_arrival:M8,parachute:N8,seat:D8,helicopter:O8,suspension_railway:L8,mountain_cableway:B8,aerial_tramway:I8,artificial_satellite:R8,rocket:F8,flying_saucer:P8,bellhop_bell:z8,luggage:q8,hourglass:j8,hourglass_flowing_sand:H8,watch:U8,alarm_clock:$8,stopwatch:W8,timer_clock:Y8,mantelpiece_clock:V8,clock12:G8,clock1230:X8,clock1:Z8,clock130:K8,clock2:Q8,clock230:J8,clock3:t7,clock330:e7,clock4:n7,clock430:r7,clock5:i7,clock530:a7,clock6:o7,clock630:s7,clock7:l7,clock730:c7,clock8:u7,clock830:h7,clock9:f7,clock930:d7,clock10:p7,clock1030:g7,clock11:m7,clock1130:y7,new_moon:v7,waxing_crescent_moon:b7,first_quarter_moon:_7,moon:x7,waxing_gibbous_moon:w7,full_moon:k7,waning_gibbous_moon:C7,last_quarter_moon:E7,waning_crescent_moon:S7,crescent_moon:T7,new_moon_with_face:A7,first_quarter_moon_with_face:M7,last_quarter_moon_with_face:N7,thermometer:D7,sunny:O7,full_moon_with_face:L7,sun_with_face:B7,ringed_planet:I7,star:R7,star2:F7,stars:P7,milky_way:z7,cloud:q7,partly_sunny:j7,cloud_with_lightning_and_rain:H7,sun_behind_small_cloud:U7,sun_behind_large_cloud:$7,sun_behind_rain_cloud:W7,cloud_with_rain:Y7,cloud_with_snow:V7,cloud_with_lightning:G7,tornado:X7,fog:Z7,wind_face:K7,cyclone:Q7,rainbow:J7,closed_umbrella:t9,open_umbrella:e9,umbrella:n9,parasol_on_ground:r9,zap:i9,snowflake:a9,snowman_with_snow:o9,snowman:s9,comet:l9,fire:c9,droplet:u9,ocean:h9,jack_o_lantern:f9,christmas_tree:d9,fireworks:p9,sparkler:g9,firecracker:m9,sparkles:y9,balloon:v9,tada:b9,confetti_ball:_9,tanabata_tree:x9,bamboo:w9,dolls:k9,flags:C9,wind_chime:E9,rice_scene:S9,red_envelope:T9,ribbon:A9,gift:M9,reminder_ribbon:N9,tickets:D9,ticket:O9,medal_military:L9,trophy:B9,medal_sports:I9,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:R9,baseball:F9,softball:P9,basketball:z9,volleyball:q9,football:j9,rugby_football:H9,tennis:U9,flying_disc:$9,bowling:W9,cricket_game:Y9,field_hockey:V9,ice_hockey:G9,lacrosse:X9,ping_pong:Z9,badminton:K9,boxing_glove:Q9,martial_arts_uniform:J9,goal_net:ttt,golf:ett,ice_skate:ntt,fishing_pole_and_fish:rtt,diving_mask:itt,running_shirt_with_sash:att,ski:ott,sled:stt,curling_stone:ltt,dart:ctt,yo_yo:utt,kite:htt,"8ball":"🎱",crystal_ball:ftt,magic_wand:dtt,nazar_amulet:ptt,video_game:gtt,joystick:mtt,slot_machine:ytt,game_die:vtt,jigsaw:btt,teddy_bear:_tt,pinata:xtt,nesting_dolls:wtt,spades:ktt,hearts:Ctt,diamonds:Ett,clubs:Stt,chess_pawn:Ttt,black_joker:Att,mahjong:Mtt,flower_playing_cards:Ntt,performing_arts:Dtt,framed_picture:Ott,art:Ltt,thread:Btt,sewing_needle:Itt,yarn:Rtt,knot:Ftt,eyeglasses:Ptt,dark_sunglasses:ztt,goggles:qtt,lab_coat:jtt,safety_vest:Htt,necktie:Utt,shirt:$tt,tshirt:Wtt,jeans:Ytt,scarf:Vtt,gloves:Gtt,coat:Xtt,socks:Ztt,dress:Ktt,kimono:Qtt,sari:Jtt,one_piece_swimsuit:tet,swim_brief:eet,shorts:net,bikini:ret,womans_clothes:iet,purse:aet,handbag:oet,pouch:set,shopping:cet,school_satchel:uet,thong_sandal:het,mans_shoe:fet,shoe:det,athletic_shoe:pet,hiking_boot:get,flat_shoe:met,high_heel:yet,sandal:vet,ballet_shoes:bet,boot:_et,crown:xet,womans_hat:wet,tophat:ket,mortar_board:Cet,billed_cap:Eet,military_helmet:Tet,rescue_worker_helmet:Aet,prayer_beads:Met,lipstick:Net,ring:Det,gem:Oet,mute:Let,speaker:Bet,sound:Iet,loud_sound:Ret,loudspeaker:Fet,mega:Pet,postal_horn:zet,bell:qet,no_bell:jet,musical_score:Het,musical_note:Uet,notes:$et,studio_microphone:Wet,level_slider:Yet,control_knobs:Vet,microphone:Get,headphones:Xet,radio:Zet,saxophone:Ket,accordion:Qet,guitar:Jet,musical_keyboard:tnt,trumpet:ent,violin:nnt,banjo:rnt,drum:int,long_drum:ant,iphone:ont,calling:snt,phone:lnt,telephone:cnt,telephone_receiver:unt,pager:hnt,fax:fnt,battery:dnt,electric_plug:pnt,computer:gnt,desktop_computer:mnt,printer:ynt,keyboard:vnt,computer_mouse:bnt,trackball:_nt,minidisc:xnt,floppy_disk:wnt,cd:knt,dvd:Cnt,abacus:Ent,movie_camera:Snt,film_strip:Tnt,film_projector:Ant,clapper:Mnt,tv:Nnt,camera:Dnt,camera_flash:Ont,video_camera:Lnt,vhs:Bnt,mag:Int,mag_right:Rnt,candle:Fnt,bulb:Pnt,flashlight:znt,izakaya_lantern:qnt,lantern:jnt,diya_lamp:Hnt,notebook_with_decorative_cover:Unt,closed_book:$nt,book:Wnt,open_book:Ynt,green_book:Vnt,blue_book:Gnt,orange_book:Xnt,books:Znt,notebook:Knt,ledger:Qnt,page_with_curl:Jnt,scroll:trt,page_facing_up:ert,newspaper:nrt,newspaper_roll:rrt,bookmark_tabs:irt,bookmark:art,label:ort,moneybag:srt,coin:lrt,yen:crt,dollar:urt,euro:hrt,pound:frt,money_with_wings:drt,credit_card:prt,receipt:grt,chart:mrt,envelope:yrt,email:vrt,"e-mail":"📧",incoming_envelope:brt,envelope_with_arrow:_rt,outbox_tray:xrt,inbox_tray:wrt,package:"📦",mailbox:krt,mailbox_closed:Crt,mailbox_with_mail:Ert,mailbox_with_no_mail:Srt,postbox:Trt,ballot_box:Art,pencil2:Mrt,black_nib:Nrt,fountain_pen:Drt,pen:Ort,paintbrush:Lrt,crayon:Brt,memo:Irt,pencil:Rrt,briefcase:Frt,file_folder:Prt,open_file_folder:zrt,card_index_dividers:qrt,date:jrt,calendar:Hrt,spiral_notepad:Urt,spiral_calendar:$rt,card_index:Wrt,chart_with_upwards_trend:Yrt,chart_with_downwards_trend:Vrt,bar_chart:Grt,clipboard:Xrt,pushpin:Zrt,round_pushpin:Krt,paperclip:Qrt,paperclips:Jrt,straight_ruler:tit,triangular_ruler:eit,scissors:nit,card_file_box:rit,file_cabinet:iit,wastebasket:ait,lock:oit,unlock:sit,lock_with_ink_pen:lit,closed_lock_with_key:cit,key:uit,old_key:hit,hammer:fit,axe:dit,pick:pit,hammer_and_pick:git,hammer_and_wrench:mit,dagger:yit,crossed_swords:vit,gun:bit,boomerang:_it,bow_and_arrow:xit,shield:wit,carpentry_saw:kit,wrench:Cit,screwdriver:Eit,nut_and_bolt:Sit,gear:Tit,clamp:Ait,balance_scale:Mit,probing_cane:Nit,link:Dit,chains:Oit,hook:Lit,toolbox:Bit,magnet:Iit,ladder:Rit,alembic:Fit,test_tube:Pit,petri_dish:zit,dna:qit,microscope:jit,telescope:Hit,satellite:Uit,syringe:$it,drop_of_blood:Wit,pill:Yit,adhesive_bandage:Vit,stethoscope:Git,door:Xit,elevator:Zit,mirror:Kit,window:Qit,bed:Jit,couch_and_lamp:tat,chair:eat,toilet:nat,plunger:rat,shower:iat,bathtub:aat,mouse_trap:oat,razor:sat,lotion_bottle:lat,safety_pin:cat,broom:uat,basket:hat,roll_of_paper:fat,bucket:dat,soap:pat,toothbrush:gat,sponge:mat,fire_extinguisher:yat,shopping_cart:vat,smoking:bat,coffin:_at,headstone:xat,funeral_urn:wat,moyai:kat,placard:Cat,atm:Eat,put_litter_in_its_place:Sat,potable_water:Tat,wheelchair:Aat,mens:Mat,womens:Nat,restroom:Dat,baby_symbol:Oat,wc:Lat,passport_control:Bat,customs:Iat,baggage_claim:Rat,left_luggage:Fat,warning:Pat,children_crossing:zat,no_entry:qat,no_entry_sign:jat,no_bicycles:Hat,no_smoking:Uat,do_not_litter:$at,"non-potable_water":"🚱",no_pedestrians:Wat,no_mobile_phones:Yat,underage:Vat,radioactive:Gat,biohazard:Xat,arrow_up:Zat,arrow_upper_right:Kat,arrow_right:Qat,arrow_lower_right:Jat,arrow_down:tot,arrow_lower_left:eot,arrow_left:not,arrow_upper_left:rot,arrow_up_down:iot,left_right_arrow:aot,leftwards_arrow_with_hook:oot,arrow_right_hook:sot,arrow_heading_up:lot,arrow_heading_down:cot,arrows_clockwise:uot,arrows_counterclockwise:hot,back:fot,end:dot,on:pot,soon:got,top:mot,place_of_worship:yot,atom_symbol:vot,om:bot,star_of_david:_ot,wheel_of_dharma:xot,yin_yang:wot,latin_cross:kot,orthodox_cross:Cot,star_and_crescent:Eot,peace_symbol:Sot,menorah:Tot,six_pointed_star:Aot,aries:Mot,taurus:Not,gemini:Dot,cancer:Oot,leo:Lot,virgo:Bot,libra:Iot,scorpius:Rot,sagittarius:Fot,capricorn:Pot,aquarius:zot,pisces:qot,ophiuchus:jot,twisted_rightwards_arrows:Hot,repeat:Uot,repeat_one:$ot,arrow_forward:Wot,fast_forward:Yot,next_track_button:Vot,play_or_pause_button:Got,arrow_backward:Xot,rewind:Zot,previous_track_button:Kot,arrow_up_small:Qot,arrow_double_up:Jot,arrow_down_small:tst,arrow_double_down:est,pause_button:nst,stop_button:rst,record_button:ist,eject_button:ast,cinema:ost,low_brightness:sst,high_brightness:lst,signal_strength:cst,vibration_mode:ust,mobile_phone_off:hst,female_sign:fst,male_sign:dst,transgender_symbol:pst,heavy_multiplication_x:gst,heavy_plus_sign:mst,heavy_minus_sign:yst,heavy_division_sign:vst,infinity:bst,bangbang:_st,interrobang:xst,question:wst,grey_question:kst,grey_exclamation:Cst,exclamation:Est,heavy_exclamation_mark:Sst,wavy_dash:Tst,currency_exchange:Ast,heavy_dollar_sign:Mst,medical_symbol:Nst,recycle:Dst,fleur_de_lis:Ost,trident:Lst,name_badge:Bst,beginner:Ist,o:Rst,white_check_mark:Fst,ballot_box_with_check:Pst,heavy_check_mark:zst,x:qst,negative_squared_cross_mark:jst,curly_loop:Hst,loop:Ust,part_alternation_mark:$st,eight_spoked_asterisk:Wst,eight_pointed_black_star:Yst,sparkle:Vst,copyright:Gst,registered:Xst,tm:Zst,hash:Kst,asterisk:Qst,zero:Jst,one:tlt,two:elt,three:nlt,four:rlt,five:ilt,six:alt,seven:olt,eight:slt,nine:llt,keycap_ten:clt,capital_abcd:ult,abcd:hlt,symbols:flt,abc:dlt,a:plt,ab:glt,b:mlt,cl:ylt,cool:vlt,free:blt,information_source:_lt,id:xlt,m:wlt,new:"🆕",ng:klt,o2:Clt,ok:Elt,parking:Slt,sos:Tlt,up:Alt,vs:Mlt,koko:Nlt,sa:Dlt,ideograph_advantage:Olt,accept:Llt,congratulations:Blt,secret:Ilt,u6e80:Rlt,red_circle:Flt,orange_circle:Plt,yellow_circle:zlt,green_circle:qlt,large_blue_circle:jlt,purple_circle:Hlt,brown_circle:Ult,black_circle:$lt,white_circle:Wlt,red_square:Ylt,orange_square:Vlt,yellow_square:Glt,green_square:Xlt,blue_square:Zlt,purple_square:Klt,brown_square:Qlt,black_large_square:Jlt,white_large_square:tct,black_medium_square:ect,white_medium_square:nct,black_medium_small_square:rct,white_medium_small_square:ict,black_small_square:act,white_small_square:oct,large_orange_diamond:sct,large_blue_diamond:lct,small_orange_diamond:cct,small_blue_diamond:uct,small_red_triangle:hct,small_red_triangle_down:fct,diamond_shape_with_a_dot_inside:dct,radio_button:pct,white_square_button:gct,black_square_button:mct,checkered_flag:yct,triangular_flag_on_post:vct,crossed_flags:bct,black_flag:_ct,white_flag:xct,rainbow_flag:wct,transgender_flag:kct,pirate_flag:Cct,ascension_island:Ect,andorra:Sct,united_arab_emirates:Tct,afghanistan:Act,antigua_barbuda:Mct,anguilla:Nct,albania:Dct,armenia:Oct,angola:Lct,antarctica:Bct,argentina:Ict,american_samoa:Rct,austria:Fct,australia:Pct,aruba:zct,aland_islands:qct,azerbaijan:jct,bosnia_herzegovina:Hct,barbados:Uct,bangladesh:$ct,belgium:Wct,burkina_faso:Yct,bulgaria:Vct,bahrain:Gct,burundi:Xct,benin:Zct,st_barthelemy:Kct,bermuda:Qct,brunei:Jct,bolivia:tut,caribbean_netherlands:eut,brazil:nut,bahamas:rut,bhutan:iut,bouvet_island:aut,botswana:out,belarus:sut,belize:lut,canada:cut,cocos_islands:uut,congo_kinshasa:hut,central_african_republic:fut,congo_brazzaville:dut,switzerland:put,cote_divoire:gut,cook_islands:mut,chile:yut,cameroon:vut,cn:but,colombia:_ut,clipperton_island:xut,costa_rica:wut,cuba:kut,cape_verde:Cut,curacao:Eut,christmas_island:Sut,cyprus:Tut,czech_republic:Aut,de:Mut,diego_garcia:Nut,djibouti:Dut,denmark:Out,dominica:Lut,dominican_republic:But,algeria:Iut,ceuta_melilla:Rut,ecuador:Fut,estonia:Put,egypt:zut,western_sahara:qut,eritrea:jut,es:Hut,ethiopia:Uut,eu:$ut,european_union:Wut,finland:Yut,fiji:Vut,falkland_islands:Gut,micronesia:Xut,faroe_islands:Zut,fr:Kut,gabon:Qut,gb:Jut,uk:tht,grenada:eht,georgia:nht,french_guiana:rht,guernsey:iht,ghana:aht,gibraltar:oht,greenland:sht,gambia:lht,guinea:cht,guadeloupe:uht,equatorial_guinea:hht,greece:fht,south_georgia_south_sandwich_islands:dht,guatemala:pht,guam:ght,guinea_bissau:mht,guyana:yht,hong_kong:vht,heard_mcdonald_islands:bht,honduras:_ht,croatia:xht,haiti:wht,hungary:kht,canary_islands:Cht,indonesia:Eht,ireland:Sht,israel:Tht,isle_of_man:Aht,india:Mht,british_indian_ocean_territory:Nht,iraq:Dht,iran:Oht,iceland:Lht,it:Bht,jersey:Iht,jamaica:Rht,jordan:Fht,jp:Pht,kenya:zht,kyrgyzstan:qht,cambodia:jht,kiribati:Hht,comoros:Uht,st_kitts_nevis:$ht,north_korea:Wht,kr:Yht,kuwait:Vht,cayman_islands:Ght,kazakhstan:Xht,laos:Zht,lebanon:Kht,st_lucia:Qht,liechtenstein:Jht,sri_lanka:tft,liberia:eft,lesotho:nft,lithuania:rft,luxembourg:ift,latvia:aft,libya:oft,morocco:sft,monaco:lft,moldova:cft,montenegro:uft,st_martin:hft,madagascar:fft,marshall_islands:dft,macedonia:pft,mali:gft,myanmar:mft,mongolia:yft,macau:vft,northern_mariana_islands:bft,martinique:_ft,mauritania:xft,montserrat:wft,malta:kft,mauritius:Cft,maldives:Eft,malawi:Sft,mexico:Tft,malaysia:Aft,mozambique:Mft,namibia:Nft,new_caledonia:Dft,niger:Oft,norfolk_island:Lft,nigeria:Bft,nicaragua:Ift,netherlands:Rft,norway:Fft,nepal:Pft,nauru:zft,niue:qft,new_zealand:jft,oman:Hft,panama:Uft,peru:$ft,french_polynesia:Wft,papua_new_guinea:Yft,philippines:Vft,pakistan:Gft,poland:Xft,st_pierre_miquelon:Zft,pitcairn_islands:Kft,puerto_rico:Qft,palestinian_territories:Jft,portugal:tdt,palau:edt,paraguay:ndt,qatar:rdt,reunion:idt,romania:adt,serbia:odt,ru:sdt,rwanda:ldt,saudi_arabia:cdt,solomon_islands:udt,seychelles:hdt,sudan:fdt,sweden:ddt,singapore:pdt,st_helena:gdt,slovenia:mdt,svalbard_jan_mayen:ydt,slovakia:vdt,sierra_leone:bdt,san_marino:_dt,senegal:xdt,somalia:wdt,suriname:kdt,south_sudan:Cdt,sao_tome_principe:Edt,el_salvador:Sdt,sint_maarten:Tdt,syria:Adt,swaziland:Mdt,tristan_da_cunha:Ndt,turks_caicos_islands:Ddt,chad:Odt,french_southern_territories:Ldt,togo:Bdt,thailand:Idt,tajikistan:Rdt,tokelau:Fdt,timor_leste:Pdt,turkmenistan:zdt,tunisia:qdt,tonga:jdt,tr:Hdt,trinidad_tobago:Udt,tuvalu:$dt,taiwan:Wdt,tanzania:Ydt,ukraine:Vdt,uganda:Gdt,us_outlying_islands:Xdt,united_nations:Zdt,us:Kdt,uruguay:Qdt,uzbekistan:Jdt,vatican_city:tpt,st_vincent_grenadines:ept,venezuela:npt,british_virgin_islands:rpt,us_virgin_islands:ipt,vietnam:apt,vanuatu:opt,wallis_futuna:spt,samoa:lpt,kosovo:cpt,yemen:upt,mayotte:hpt,south_africa:fpt,zambia:dpt,zimbabwe:ppt,england:gpt,scotland:mpt,wales:ypt},bpt={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!s.test(u[i-1]))return;if(i+r.lengthl&&(o=new a("text","",0),o.content=t.slice(l,i),c.push(o)),o=new a("emoji","",0),o.markup=h,o.content=e[h],c.push(o),l=i+r.length})),l=0;e--)s=o[e],"link_open"!==s.type&&"link_close"!==s.type||"auto"===s.info&&(u-=s.nesting),"text"===s.type&&0===u&&r.test(s.content)&&(c[n].children=o=a(o,e,l(s.content,s.level,t.Token)))}};function wpt(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var kpt=function(t){var e,n=t.defs;t.enabled.length&&(n=Object.keys(n).reduce((function(e,r){return t.enabled.indexOf(r)>=0&&(e[r]=n[r]),e}),{})),e=Object.keys(t.shortcuts).reduce((function(e,r){return n[r]?Array.isArray(t.shortcuts[r])?(t.shortcuts[r].forEach((function(t){e[t]=r})),e):(e[t.shortcuts[r]]=r,e):e}),{});var r,i=Object.keys(n);r=0===i.length?"^$":i.map((function(t){return":"+t+":"})).concat(Object.keys(e)).sort().reverse().map((function(t){return wpt(t)})).join("|");var a=RegExp(r),o=RegExp(r,"g");return{defs:n,shortcuts:e,scanRE:a,replaceRE:o}},Cpt=_pt,Ept=xpt,Spt=kpt,Tpt=function(t,e){var n={defs:{},shortcuts:{},enabled:[]},r=Spt(t.utils.assign({},n,e||{}));t.renderer.rules.emoji=Cpt,t.core.ruler.push("emoji",Ept(t,r.defs,r.shortcuts,r.scanRE,r.replaceRE))},Apt=vpt,Mpt=bpt,Npt=Tpt,Dpt=function(t,e){var n={defs:Apt,shortcuts:Mpt,enabled:[]},r=t.utils.assign({},n,e||{});Npt(t,r)};function Opt(t,e,n,r){var i=Number(t[e].meta.id+1).toString(),a="";return"string"===typeof r.docId&&(a="-"+r.docId+"-"),a+i}function Lpt(t,e){var n=Number(t[e].meta.id+1).toString();return t[e].meta.subId>0&&(n+=":"+t[e].meta.subId),"["+n+"]"}function Bpt(t,e,n,r,i){var a=i.rules.footnote_anchor_name(t,e,n,r,i),o=i.rules.footnote_caption(t,e,n,r,i),s=a;return t[e].meta.subId>0&&(s+=":"+t[e].meta.subId),''+o+""}function Ipt(t,e,n){return(n.xhtmlOut?'
\n':'
\n')+'
\n
    \n'}function Rpt(){return"
\n
\n"}function Fpt(t,e,n,r,i){var a=i.rules.footnote_anchor_name(t,e,n,r,i);return t[e].meta.subId>0&&(a+=":"+t[e].meta.subId),'
  • '}function Ppt(){return"
  • \n"}function zpt(t,e,n,r,i){var a=i.rules.footnote_anchor_name(t,e,n,r,i);return t[e].meta.subId>0&&(a+=":"+t[e].meta.subId),' ↩︎'}var qpt=function(t){var e=t.helpers.parseLinkLabel,n=t.utils.isSpace;function r(t,e,r,i){var a,o,s,l,c,u,h,f,d,p,g,m=t.bMarks[e]+t.tShift[e],y=t.eMarks[e];if(m+4>y)return!1;if(91!==t.src.charCodeAt(m))return!1;if(94!==t.src.charCodeAt(m+1))return!1;for(c=m+2;c=y||58!==t.src.charCodeAt(++c))return!1;if(i)return!0;c++,t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.refs||(t.env.footnotes.refs={}),u=t.src.slice(m+2,c-2),t.env.footnotes.refs[":"+u]=-1,h=new t.Token("footnote_reference_open","",1),h.meta={label:u},h.level=t.level++,t.tokens.push(h),a=t.bMarks[e],o=t.tShift[e],s=t.sCount[e],l=t.parentType,g=c,f=d=t.sCount[e]+c-(t.bMarks[e]+t.tShift[e]);while(c=l)&&(94===t.src.charCodeAt(c)&&(91===t.src.charCodeAt(c+1)&&(r=c+2,i=e(t,c+1),!(i<0)&&(n||(t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.list||(t.env.footnotes.list=[]),a=t.env.footnotes.list.length,t.md.inline.parse(t.src.slice(r,i),t.md,t.env,s=[]),o=t.push("footnote_ref","",0),o.meta={id:a},t.env.footnotes.list[a]={content:t.src.slice(r,i),tokens:s}),t.pos=i+1,t.posMax=l,!0))))}function a(t,e){var n,r,i,a,o,s=t.posMax,l=t.pos;if(l+3>s)return!1;if(!t.env.footnotes||!t.env.footnotes.refs)return!1;if(91!==t.src.charCodeAt(l))return!1;if(94!==t.src.charCodeAt(l+1))return!1;for(r=l+2;r=s)&&(r++,n=t.src.slice(l+2,r-1),"undefined"!==typeof t.env.footnotes.refs[":"+n]&&(e||(t.env.footnotes.list||(t.env.footnotes.list=[]),t.env.footnotes.refs[":"+n]<0?(i=t.env.footnotes.list.length,t.env.footnotes.list[i]={label:n,count:0},t.env.footnotes.refs[":"+n]=i):i=t.env.footnotes.refs[":"+n],a=t.env.footnotes.list[i].count,t.env.footnotes.list[i].count++,o=t.push("footnote_ref","",0),o.meta={id:i,subId:a,label:n}),t.pos=r,t.posMax=s,!0)))}function o(t){var e,n,r,i,a,o,s,l,c,u,h=!1,f={};if(t.env.footnotes&&(t.tokens=t.tokens.filter((function(t){return"footnote_reference_open"===t.type?(h=!0,c=[],u=t.meta.label,!1):"footnote_reference_close"===t.type?(h=!1,f[":"+u]=c,!1):(h&&c.push(t),!h)})),t.env.footnotes.list)){for(o=t.env.footnotes.list,s=new t.Token("footnote_block_open","",1),t.tokens.push(s),e=0,n=o.length;e0?o[e].count:1,r=0;r15?"…"+o.slice(r-15,r):o.slice(0,r),c=s+15":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;function d(t){return String(t).replace(f,(function(t){return h[t]}))}var p=function t(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?t(e.body[0]):e:"font"===e.type?t(e.body):e},g=function(t){var e=p(t);return"mathord"===e.type||"textord"===e.type||"atom"===e.type},m=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},y=function(t){var e=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return null!=e?e[1]:"_relative"},v={contains:s,deflt:l,escape:d,hyphenate:u,getBaseElem:p,isCharacterBox:g,protocolFromUrl:y},b=function(){function t(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{},this.displayMode=v.deflt(t.displayMode,!1),this.output=v.deflt(t.output,"htmlAndMathml"),this.leqno=v.deflt(t.leqno,!1),this.fleqn=v.deflt(t.fleqn,!1),this.throwOnError=v.deflt(t.throwOnError,!0),this.errorColor=v.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.minRuleThickness=Math.max(0,v.deflt(t.minRuleThickness,0)),this.colorIsTextColor=v.deflt(t.colorIsTextColor,!1),this.strict=v.deflt(t.strict,"warn"),this.trust=v.deflt(t.trust,!1),this.maxSize=Math.max(0,v.deflt(t.maxSize,1/0)),this.maxExpand=Math.max(0,v.deflt(t.maxExpand,1e3)),this.globalGroup=v.deflt(t.globalGroup,!1)}var e=t.prototype;return e.reportNonstrict=function(t,e,n){var r=this.strict;if("function"===typeof r&&(r=r(t,e,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+e+" ["+t+"]")}},e.useStrictBehavior=function(t,e,n){var r=this.strict;if("function"===typeof r)try{r=r(t,e,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+e+" ["+t+"]"),!1)))},e.isTrusted=function(t){t.url&&!t.protocol&&(t.protocol=v.protocolFromUrl(t.url));var e="function"===typeof this.trust?this.trust(t):this.trust;return Boolean(e)},t}(),_=function(){function t(t,e,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=e,this.cramped=n}var e=t.prototype;return e.sup=function(){return M[N[this.id]]},e.sub=function(){return M[D[this.id]]},e.fracNum=function(){return M[O[this.id]]},e.fracDen=function(){return M[L[this.id]]},e.cramp=function(){return M[B[this.id]]},e.text=function(){return M[I[this.id]]},e.isTight=function(){return this.size>=2},t}(),x=0,w=1,k=2,C=3,E=4,S=5,T=6,A=7,M=[new _(x,0,!1),new _(w,0,!0),new _(k,1,!1),new _(C,1,!0),new _(E,2,!1),new _(S,2,!0),new _(T,3,!1),new _(A,3,!0)],N=[E,S,E,S,T,A,T,A],D=[S,S,S,S,A,A,A,A],O=[k,C,E,S,T,A,T,A],L=[C,C,S,S,A,A,A,A],B=[w,w,C,C,S,S,A,A],I=[x,w,k,C,k,C,k,C],R={DISPLAY:M[x],TEXT:M[k],SCRIPT:M[E],SCRIPTSCRIPT:M[T]},F=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function P(t){for(var e=0;e=i[0]&&t<=i[1])return n.name}return null}var z=[];function q(t){for(var e=0;e=z[e]&&t<=z[e+1])return!0;return!1}F.forEach((function(t){return t.blocks.forEach((function(t){return z.push.apply(z,t)}))}));var j=80,H=function(t,e){return"M95,"+(622+t+e)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+t/2.075+" -"+t+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+t)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},U=function(t,e){return"M263,"+(601+t+e)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+t/2.084+" -"+t+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+t)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},$=function(t,e){return"M983 "+(10+t+e)+"\nl"+t/3.13+" -"+t+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+t)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+t)+" "+e+"h400000v"+(40+t)+"h-400000z"},W=function(t,e){return"M424,"+(2398+t+e)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+t/4.223+" -"+t+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+t)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+t)+" "+e+"\nh400000v"+(40+t)+"h-400000z"},Y=function(t,e){return"M473,"+(2713+t+e)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+t/5.298+" -"+t+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+t)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+t)+" "+e+"h400000v"+(40+t)+"H1017.7z"},V=function(t,e,n){var r=n-54-e-t;return"M702 "+(t+e)+"H400000"+(40+t)+"\nH742v"+r+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+e+"H400000v"+(40+t)+"H742z"},G=function(t,e,n){e*=1e3;var r="";switch(t){case"sqrtMain":r=H(e,j);break;case"sqrtSize1":r=U(e,j);break;case"sqrtSize2":r=$(e,j);break;case"sqrtSize3":r=W(e,j);break;case"sqrtSize4":r=Y(e,j);break;case"sqrtTall":r=V(e,j,n)}return r},X={leftParenInner:"M291 0 H417 V300 H291 z",rightParenInner:"M457 0 H583 V300 H457 z",doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Z=function(){function t(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var e=t.prototype;return e.hasClass=function(t){return v.contains(this.classes,t)},e.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e",e},et=function(){function t(t,e,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Q.call(this,t,n,r),this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return v.contains(this.classes,t)},e.toNode=function(){return J.call(this,"span")},e.toMarkup=function(){return tt.call(this,"span")},t}(),nt=function(){function t(t,e,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Q.call(this,e,r),this.children=n||[],this.setAttribute("href",t)}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.hasClass=function(t){return v.contains(this.classes,t)},e.toNode=function(){return J.call(this,"a")},e.toMarkup=function(){return tt.call(this,"a")},t}(),rt=function(){function t(t,e,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=e,this.src=t,this.classes=["mord"],this.style=n}var e=t.prototype;return e.hasClass=function(t){return v.contains(this.classes,t)},e.toNode=function(){var t=document.createElement("img");for(var e in t.src=this.src,t.alt=this.alt,t.className="mord",this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);return t},e.toMarkup=function(){var t=""+this.alt+"0&&(e=document.createElement("span"),e.style.marginRight=this.italic+"em"),this.classes.length>0&&(e=e||document.createElement("span"),e.className=K(this.classes)),this.style)this.style.hasOwnProperty(n)&&(e=e||document.createElement("span"),e.style[n]=this.style[n]);return e?(e.appendChild(t),e):t},e.toMarkup=function(){var t=!1,e="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=v.hyphenate(r)+":"+this.style[r]+";");n&&(t=!0,e+=' style="'+v.escape(n)+'"');var i=v.escape(this.text);return t?(e+=">",e+=i,e+="",e):i},t}(),ot=function(){function t(t,e){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=e||{}}var e=t.prototype;return e.toNode=function(){var t="http://www.w3.org/2000/svg",e=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r":""},t}(),lt=function(){function t(t){this.attributes=void 0,this.attributes=t||{}}var e=t.prototype;return e.toNode=function(){var t="http://www.w3.org/2000/svg",e=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);return e},e.toMarkup=function(){var t=" but got "+String(t)+".")}var ht={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},ft={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},dt={"Å":"A","Ç":"C","Ð":"D","Þ":"o","å":"a","ç":"c","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function pt(t,e){ht[t]=e}function gt(t,e,n){if(!ht[e])throw new Error("Font metrics not found for font: "+e+".");var r=t.charCodeAt(0),i=ht[e][r];if(!i&&t[0]in dt&&(r=dt[t[0]].charCodeAt(0),i=ht[e][r]),i||"text"!==n||q(r)&&(i=ht[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var mt={};function yt(t){var e;if(e=t>=5?0:t>=3?1:2,!mt[e]){var n=mt[e]={cssEmPerMu:ft.quad[e]/18};for(var r in ft)ft.hasOwnProperty(r)&&(n[r]=ft[r][e])}return mt[e]}var vt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},bt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},_t={math:{},text:{}},xt=_t;function wt(t,e,n,r,i,a){_t[t][i]={font:e,group:n,replace:r},a&&r&&(_t[t][r]=_t[t][i])}var kt="math",Ct="text",Et="main",St="ams",Tt="accent-token",At="bin",Mt="close",Nt="inner",Dt="mathord",Ot="op-token",Lt="open",Bt="punct",It="rel",Rt="spacing",Ft="textord";wt(kt,Et,It,"≡","\\equiv",!0),wt(kt,Et,It,"≺","\\prec",!0),wt(kt,Et,It,"≻","\\succ",!0),wt(kt,Et,It,"∼","\\sim",!0),wt(kt,Et,It,"⊥","\\perp"),wt(kt,Et,It,"⪯","\\preceq",!0),wt(kt,Et,It,"⪰","\\succeq",!0),wt(kt,Et,It,"≃","\\simeq",!0),wt(kt,Et,It,"∣","\\mid",!0),wt(kt,Et,It,"≪","\\ll",!0),wt(kt,Et,It,"≫","\\gg",!0),wt(kt,Et,It,"≍","\\asymp",!0),wt(kt,Et,It,"∥","\\parallel"),wt(kt,Et,It,"⋈","\\bowtie",!0),wt(kt,Et,It,"⌣","\\smile",!0),wt(kt,Et,It,"⊑","\\sqsubseteq",!0),wt(kt,Et,It,"⊒","\\sqsupseteq",!0),wt(kt,Et,It,"≐","\\doteq",!0),wt(kt,Et,It,"⌢","\\frown",!0),wt(kt,Et,It,"∋","\\ni",!0),wt(kt,Et,It,"∝","\\propto",!0),wt(kt,Et,It,"⊢","\\vdash",!0),wt(kt,Et,It,"⊣","\\dashv",!0),wt(kt,Et,It,"∋","\\owns"),wt(kt,Et,Bt,".","\\ldotp"),wt(kt,Et,Bt,"⋅","\\cdotp"),wt(kt,Et,Ft,"#","\\#"),wt(Ct,Et,Ft,"#","\\#"),wt(kt,Et,Ft,"&","\\&"),wt(Ct,Et,Ft,"&","\\&"),wt(kt,Et,Ft,"ℵ","\\aleph",!0),wt(kt,Et,Ft,"∀","\\forall",!0),wt(kt,Et,Ft,"ℏ","\\hbar",!0),wt(kt,Et,Ft,"∃","\\exists",!0),wt(kt,Et,Ft,"∇","\\nabla",!0),wt(kt,Et,Ft,"♭","\\flat",!0),wt(kt,Et,Ft,"ℓ","\\ell",!0),wt(kt,Et,Ft,"♮","\\natural",!0),wt(kt,Et,Ft,"♣","\\clubsuit",!0),wt(kt,Et,Ft,"℘","\\wp",!0),wt(kt,Et,Ft,"♯","\\sharp",!0),wt(kt,Et,Ft,"♢","\\diamondsuit",!0),wt(kt,Et,Ft,"ℜ","\\Re",!0),wt(kt,Et,Ft,"♡","\\heartsuit",!0),wt(kt,Et,Ft,"ℑ","\\Im",!0),wt(kt,Et,Ft,"♠","\\spadesuit",!0),wt(Ct,Et,Ft,"§","\\S",!0),wt(Ct,Et,Ft,"¶","\\P",!0),wt(kt,Et,Ft,"†","\\dag"),wt(Ct,Et,Ft,"†","\\dag"),wt(Ct,Et,Ft,"†","\\textdagger"),wt(kt,Et,Ft,"‡","\\ddag"),wt(Ct,Et,Ft,"‡","\\ddag"),wt(Ct,Et,Ft,"‡","\\textdaggerdbl"),wt(kt,Et,Mt,"⎱","\\rmoustache",!0),wt(kt,Et,Lt,"⎰","\\lmoustache",!0),wt(kt,Et,Mt,"⟯","\\rgroup",!0),wt(kt,Et,Lt,"⟮","\\lgroup",!0),wt(kt,Et,At,"∓","\\mp",!0),wt(kt,Et,At,"⊖","\\ominus",!0),wt(kt,Et,At,"⊎","\\uplus",!0),wt(kt,Et,At,"⊓","\\sqcap",!0),wt(kt,Et,At,"∗","\\ast"),wt(kt,Et,At,"⊔","\\sqcup",!0),wt(kt,Et,At,"◯","\\bigcirc"),wt(kt,Et,At,"∙","\\bullet"),wt(kt,Et,At,"‡","\\ddagger"),wt(kt,Et,At,"≀","\\wr",!0),wt(kt,Et,At,"⨿","\\amalg"),wt(kt,Et,At,"&","\\And"),wt(kt,Et,It,"⟵","\\longleftarrow",!0),wt(kt,Et,It,"⇐","\\Leftarrow",!0),wt(kt,Et,It,"⟸","\\Longleftarrow",!0),wt(kt,Et,It,"⟶","\\longrightarrow",!0),wt(kt,Et,It,"⇒","\\Rightarrow",!0),wt(kt,Et,It,"⟹","\\Longrightarrow",!0),wt(kt,Et,It,"↔","\\leftrightarrow",!0),wt(kt,Et,It,"⟷","\\longleftrightarrow",!0),wt(kt,Et,It,"⇔","\\Leftrightarrow",!0),wt(kt,Et,It,"⟺","\\Longleftrightarrow",!0),wt(kt,Et,It,"↦","\\mapsto",!0),wt(kt,Et,It,"⟼","\\longmapsto",!0),wt(kt,Et,It,"↗","\\nearrow",!0),wt(kt,Et,It,"↩","\\hookleftarrow",!0),wt(kt,Et,It,"↪","\\hookrightarrow",!0),wt(kt,Et,It,"↘","\\searrow",!0),wt(kt,Et,It,"↼","\\leftharpoonup",!0),wt(kt,Et,It,"⇀","\\rightharpoonup",!0),wt(kt,Et,It,"↙","\\swarrow",!0),wt(kt,Et,It,"↽","\\leftharpoondown",!0),wt(kt,Et,It,"⇁","\\rightharpoondown",!0),wt(kt,Et,It,"↖","\\nwarrow",!0),wt(kt,Et,It,"⇌","\\rightleftharpoons",!0),wt(kt,St,It,"≮","\\nless",!0),wt(kt,St,It,"","\\@nleqslant"),wt(kt,St,It,"","\\@nleqq"),wt(kt,St,It,"⪇","\\lneq",!0),wt(kt,St,It,"≨","\\lneqq",!0),wt(kt,St,It,"","\\@lvertneqq"),wt(kt,St,It,"⋦","\\lnsim",!0),wt(kt,St,It,"⪉","\\lnapprox",!0),wt(kt,St,It,"⊀","\\nprec",!0),wt(kt,St,It,"⋠","\\npreceq",!0),wt(kt,St,It,"⋨","\\precnsim",!0),wt(kt,St,It,"⪹","\\precnapprox",!0),wt(kt,St,It,"≁","\\nsim",!0),wt(kt,St,It,"","\\@nshortmid"),wt(kt,St,It,"∤","\\nmid",!0),wt(kt,St,It,"⊬","\\nvdash",!0),wt(kt,St,It,"⊭","\\nvDash",!0),wt(kt,St,It,"⋪","\\ntriangleleft"),wt(kt,St,It,"⋬","\\ntrianglelefteq",!0),wt(kt,St,It,"⊊","\\subsetneq",!0),wt(kt,St,It,"","\\@varsubsetneq"),wt(kt,St,It,"⫋","\\subsetneqq",!0),wt(kt,St,It,"","\\@varsubsetneqq"),wt(kt,St,It,"≯","\\ngtr",!0),wt(kt,St,It,"","\\@ngeqslant"),wt(kt,St,It,"","\\@ngeqq"),wt(kt,St,It,"⪈","\\gneq",!0),wt(kt,St,It,"≩","\\gneqq",!0),wt(kt,St,It,"","\\@gvertneqq"),wt(kt,St,It,"⋧","\\gnsim",!0),wt(kt,St,It,"⪊","\\gnapprox",!0),wt(kt,St,It,"⊁","\\nsucc",!0),wt(kt,St,It,"⋡","\\nsucceq",!0),wt(kt,St,It,"⋩","\\succnsim",!0),wt(kt,St,It,"⪺","\\succnapprox",!0),wt(kt,St,It,"≆","\\ncong",!0),wt(kt,St,It,"","\\@nshortparallel"),wt(kt,St,It,"∦","\\nparallel",!0),wt(kt,St,It,"⊯","\\nVDash",!0),wt(kt,St,It,"⋫","\\ntriangleright"),wt(kt,St,It,"⋭","\\ntrianglerighteq",!0),wt(kt,St,It,"","\\@nsupseteqq"),wt(kt,St,It,"⊋","\\supsetneq",!0),wt(kt,St,It,"","\\@varsupsetneq"),wt(kt,St,It,"⫌","\\supsetneqq",!0),wt(kt,St,It,"","\\@varsupsetneqq"),wt(kt,St,It,"⊮","\\nVdash",!0),wt(kt,St,It,"⪵","\\precneqq",!0),wt(kt,St,It,"⪶","\\succneqq",!0),wt(kt,St,It,"","\\@nsubseteqq"),wt(kt,St,At,"⊴","\\unlhd"),wt(kt,St,At,"⊵","\\unrhd"),wt(kt,St,It,"↚","\\nleftarrow",!0),wt(kt,St,It,"↛","\\nrightarrow",!0),wt(kt,St,It,"⇍","\\nLeftarrow",!0),wt(kt,St,It,"⇏","\\nRightarrow",!0),wt(kt,St,It,"↮","\\nleftrightarrow",!0),wt(kt,St,It,"⇎","\\nLeftrightarrow",!0),wt(kt,St,It,"△","\\vartriangle"),wt(kt,St,Ft,"ℏ","\\hslash"),wt(kt,St,Ft,"▽","\\triangledown"),wt(kt,St,Ft,"◊","\\lozenge"),wt(kt,St,Ft,"Ⓢ","\\circledS"),wt(kt,St,Ft,"®","\\circledR"),wt(Ct,St,Ft,"®","\\circledR"),wt(kt,St,Ft,"∡","\\measuredangle",!0),wt(kt,St,Ft,"∄","\\nexists"),wt(kt,St,Ft,"℧","\\mho"),wt(kt,St,Ft,"Ⅎ","\\Finv",!0),wt(kt,St,Ft,"⅁","\\Game",!0),wt(kt,St,Ft,"‵","\\backprime"),wt(kt,St,Ft,"▲","\\blacktriangle"),wt(kt,St,Ft,"▼","\\blacktriangledown"),wt(kt,St,Ft,"■","\\blacksquare"),wt(kt,St,Ft,"⧫","\\blacklozenge"),wt(kt,St,Ft,"★","\\bigstar"),wt(kt,St,Ft,"∢","\\sphericalangle",!0),wt(kt,St,Ft,"∁","\\complement",!0),wt(kt,St,Ft,"ð","\\eth",!0),wt(Ct,Et,Ft,"ð","ð"),wt(kt,St,Ft,"╱","\\diagup"),wt(kt,St,Ft,"╲","\\diagdown"),wt(kt,St,Ft,"□","\\square"),wt(kt,St,Ft,"□","\\Box"),wt(kt,St,Ft,"◊","\\Diamond"),wt(kt,St,Ft,"¥","\\yen",!0),wt(Ct,St,Ft,"¥","\\yen",!0),wt(kt,St,Ft,"✓","\\checkmark",!0),wt(Ct,St,Ft,"✓","\\checkmark"),wt(kt,St,Ft,"ℶ","\\beth",!0),wt(kt,St,Ft,"ℸ","\\daleth",!0),wt(kt,St,Ft,"ℷ","\\gimel",!0),wt(kt,St,Ft,"ϝ","\\digamma",!0),wt(kt,St,Ft,"ϰ","\\varkappa"),wt(kt,St,Lt,"┌","\\@ulcorner",!0),wt(kt,St,Mt,"┐","\\@urcorner",!0),wt(kt,St,Lt,"└","\\@llcorner",!0),wt(kt,St,Mt,"┘","\\@lrcorner",!0),wt(kt,St,It,"≦","\\leqq",!0),wt(kt,St,It,"⩽","\\leqslant",!0),wt(kt,St,It,"⪕","\\eqslantless",!0),wt(kt,St,It,"≲","\\lesssim",!0),wt(kt,St,It,"⪅","\\lessapprox",!0),wt(kt,St,It,"≊","\\approxeq",!0),wt(kt,St,At,"⋖","\\lessdot"),wt(kt,St,It,"⋘","\\lll",!0),wt(kt,St,It,"≶","\\lessgtr",!0),wt(kt,St,It,"⋚","\\lesseqgtr",!0),wt(kt,St,It,"⪋","\\lesseqqgtr",!0),wt(kt,St,It,"≑","\\doteqdot"),wt(kt,St,It,"≓","\\risingdotseq",!0),wt(kt,St,It,"≒","\\fallingdotseq",!0),wt(kt,St,It,"∽","\\backsim",!0),wt(kt,St,It,"⋍","\\backsimeq",!0),wt(kt,St,It,"⫅","\\subseteqq",!0),wt(kt,St,It,"⋐","\\Subset",!0),wt(kt,St,It,"⊏","\\sqsubset",!0),wt(kt,St,It,"≼","\\preccurlyeq",!0),wt(kt,St,It,"⋞","\\curlyeqprec",!0),wt(kt,St,It,"≾","\\precsim",!0),wt(kt,St,It,"⪷","\\precapprox",!0),wt(kt,St,It,"⊲","\\vartriangleleft"),wt(kt,St,It,"⊴","\\trianglelefteq"),wt(kt,St,It,"⊨","\\vDash",!0),wt(kt,St,It,"⊪","\\Vvdash",!0),wt(kt,St,It,"⌣","\\smallsmile"),wt(kt,St,It,"⌢","\\smallfrown"),wt(kt,St,It,"≏","\\bumpeq",!0),wt(kt,St,It,"≎","\\Bumpeq",!0),wt(kt,St,It,"≧","\\geqq",!0),wt(kt,St,It,"⩾","\\geqslant",!0),wt(kt,St,It,"⪖","\\eqslantgtr",!0),wt(kt,St,It,"≳","\\gtrsim",!0),wt(kt,St,It,"⪆","\\gtrapprox",!0),wt(kt,St,At,"⋗","\\gtrdot"),wt(kt,St,It,"⋙","\\ggg",!0),wt(kt,St,It,"≷","\\gtrless",!0),wt(kt,St,It,"⋛","\\gtreqless",!0),wt(kt,St,It,"⪌","\\gtreqqless",!0),wt(kt,St,It,"≖","\\eqcirc",!0),wt(kt,St,It,"≗","\\circeq",!0),wt(kt,St,It,"≜","\\triangleq",!0),wt(kt,St,It,"∼","\\thicksim"),wt(kt,St,It,"≈","\\thickapprox"),wt(kt,St,It,"⫆","\\supseteqq",!0),wt(kt,St,It,"⋑","\\Supset",!0),wt(kt,St,It,"⊐","\\sqsupset",!0),wt(kt,St,It,"≽","\\succcurlyeq",!0),wt(kt,St,It,"⋟","\\curlyeqsucc",!0),wt(kt,St,It,"≿","\\succsim",!0),wt(kt,St,It,"⪸","\\succapprox",!0),wt(kt,St,It,"⊳","\\vartriangleright"),wt(kt,St,It,"⊵","\\trianglerighteq"),wt(kt,St,It,"⊩","\\Vdash",!0),wt(kt,St,It,"∣","\\shortmid"),wt(kt,St,It,"∥","\\shortparallel"),wt(kt,St,It,"≬","\\between",!0),wt(kt,St,It,"⋔","\\pitchfork",!0),wt(kt,St,It,"∝","\\varpropto"),wt(kt,St,It,"◀","\\blacktriangleleft"),wt(kt,St,It,"∴","\\therefore",!0),wt(kt,St,It,"∍","\\backepsilon"),wt(kt,St,It,"▶","\\blacktriangleright"),wt(kt,St,It,"∵","\\because",!0),wt(kt,St,It,"⋘","\\llless"),wt(kt,St,It,"⋙","\\gggtr"),wt(kt,St,At,"⊲","\\lhd"),wt(kt,St,At,"⊳","\\rhd"),wt(kt,St,It,"≂","\\eqsim",!0),wt(kt,Et,It,"⋈","\\Join"),wt(kt,St,It,"≑","\\Doteq",!0),wt(kt,St,At,"∔","\\dotplus",!0),wt(kt,St,At,"∖","\\smallsetminus"),wt(kt,St,At,"⋒","\\Cap",!0),wt(kt,St,At,"⋓","\\Cup",!0),wt(kt,St,At,"⩞","\\doublebarwedge",!0),wt(kt,St,At,"⊟","\\boxminus",!0),wt(kt,St,At,"⊞","\\boxplus",!0),wt(kt,St,At,"⋇","\\divideontimes",!0),wt(kt,St,At,"⋉","\\ltimes",!0),wt(kt,St,At,"⋊","\\rtimes",!0),wt(kt,St,At,"⋋","\\leftthreetimes",!0),wt(kt,St,At,"⋌","\\rightthreetimes",!0),wt(kt,St,At,"⋏","\\curlywedge",!0),wt(kt,St,At,"⋎","\\curlyvee",!0),wt(kt,St,At,"⊝","\\circleddash",!0),wt(kt,St,At,"⊛","\\circledast",!0),wt(kt,St,At,"⋅","\\centerdot"),wt(kt,St,At,"⊺","\\intercal",!0),wt(kt,St,At,"⋒","\\doublecap"),wt(kt,St,At,"⋓","\\doublecup"),wt(kt,St,At,"⊠","\\boxtimes",!0),wt(kt,St,It,"⇢","\\dashrightarrow",!0),wt(kt,St,It,"⇠","\\dashleftarrow",!0),wt(kt,St,It,"⇇","\\leftleftarrows",!0),wt(kt,St,It,"⇆","\\leftrightarrows",!0),wt(kt,St,It,"⇚","\\Lleftarrow",!0),wt(kt,St,It,"↞","\\twoheadleftarrow",!0),wt(kt,St,It,"↢","\\leftarrowtail",!0),wt(kt,St,It,"↫","\\looparrowleft",!0),wt(kt,St,It,"⇋","\\leftrightharpoons",!0),wt(kt,St,It,"↶","\\curvearrowleft",!0),wt(kt,St,It,"↺","\\circlearrowleft",!0),wt(kt,St,It,"↰","\\Lsh",!0),wt(kt,St,It,"⇈","\\upuparrows",!0),wt(kt,St,It,"↿","\\upharpoonleft",!0),wt(kt,St,It,"⇃","\\downharpoonleft",!0),wt(kt,St,It,"⊸","\\multimap",!0),wt(kt,St,It,"↭","\\leftrightsquigarrow",!0),wt(kt,St,It,"⇉","\\rightrightarrows",!0),wt(kt,St,It,"⇄","\\rightleftarrows",!0),wt(kt,St,It,"↠","\\twoheadrightarrow",!0),wt(kt,St,It,"↣","\\rightarrowtail",!0),wt(kt,St,It,"↬","\\looparrowright",!0),wt(kt,St,It,"↷","\\curvearrowright",!0),wt(kt,St,It,"↻","\\circlearrowright",!0),wt(kt,St,It,"↱","\\Rsh",!0),wt(kt,St,It,"⇊","\\downdownarrows",!0),wt(kt,St,It,"↾","\\upharpoonright",!0),wt(kt,St,It,"⇂","\\downharpoonright",!0),wt(kt,St,It,"⇝","\\rightsquigarrow",!0),wt(kt,St,It,"⇝","\\leadsto"),wt(kt,St,It,"⇛","\\Rrightarrow",!0),wt(kt,St,It,"↾","\\restriction"),wt(kt,Et,Ft,"‘","`"),wt(kt,Et,Ft,"$","\\$"),wt(Ct,Et,Ft,"$","\\$"),wt(Ct,Et,Ft,"$","\\textdollar"),wt(kt,Et,Ft,"%","\\%"),wt(Ct,Et,Ft,"%","\\%"),wt(kt,Et,Ft,"_","\\_"),wt(Ct,Et,Ft,"_","\\_"),wt(Ct,Et,Ft,"_","\\textunderscore"),wt(kt,Et,Ft,"∠","\\angle",!0),wt(kt,Et,Ft,"∞","\\infty",!0),wt(kt,Et,Ft,"′","\\prime"),wt(kt,Et,Ft,"△","\\triangle"),wt(kt,Et,Ft,"Γ","\\Gamma",!0),wt(kt,Et,Ft,"Δ","\\Delta",!0),wt(kt,Et,Ft,"Θ","\\Theta",!0),wt(kt,Et,Ft,"Λ","\\Lambda",!0),wt(kt,Et,Ft,"Ξ","\\Xi",!0),wt(kt,Et,Ft,"Π","\\Pi",!0),wt(kt,Et,Ft,"Σ","\\Sigma",!0),wt(kt,Et,Ft,"Υ","\\Upsilon",!0),wt(kt,Et,Ft,"Φ","\\Phi",!0),wt(kt,Et,Ft,"Ψ","\\Psi",!0),wt(kt,Et,Ft,"Ω","\\Omega",!0),wt(kt,Et,Ft,"A","Α"),wt(kt,Et,Ft,"B","Β"),wt(kt,Et,Ft,"E","Ε"),wt(kt,Et,Ft,"Z","Ζ"),wt(kt,Et,Ft,"H","Η"),wt(kt,Et,Ft,"I","Ι"),wt(kt,Et,Ft,"K","Κ"),wt(kt,Et,Ft,"M","Μ"),wt(kt,Et,Ft,"N","Ν"),wt(kt,Et,Ft,"O","Ο"),wt(kt,Et,Ft,"P","Ρ"),wt(kt,Et,Ft,"T","Τ"),wt(kt,Et,Ft,"X","Χ"),wt(kt,Et,Ft,"¬","\\neg",!0),wt(kt,Et,Ft,"¬","\\lnot"),wt(kt,Et,Ft,"⊤","\\top"),wt(kt,Et,Ft,"⊥","\\bot"),wt(kt,Et,Ft,"∅","\\emptyset"),wt(kt,St,Ft,"∅","\\varnothing"),wt(kt,Et,Dt,"α","\\alpha",!0),wt(kt,Et,Dt,"β","\\beta",!0),wt(kt,Et,Dt,"γ","\\gamma",!0),wt(kt,Et,Dt,"δ","\\delta",!0),wt(kt,Et,Dt,"ϵ","\\epsilon",!0),wt(kt,Et,Dt,"ζ","\\zeta",!0),wt(kt,Et,Dt,"η","\\eta",!0),wt(kt,Et,Dt,"θ","\\theta",!0),wt(kt,Et,Dt,"ι","\\iota",!0),wt(kt,Et,Dt,"κ","\\kappa",!0),wt(kt,Et,Dt,"λ","\\lambda",!0),wt(kt,Et,Dt,"μ","\\mu",!0),wt(kt,Et,Dt,"ν","\\nu",!0),wt(kt,Et,Dt,"ξ","\\xi",!0),wt(kt,Et,Dt,"ο","\\omicron",!0),wt(kt,Et,Dt,"π","\\pi",!0),wt(kt,Et,Dt,"ρ","\\rho",!0),wt(kt,Et,Dt,"σ","\\sigma",!0),wt(kt,Et,Dt,"τ","\\tau",!0),wt(kt,Et,Dt,"υ","\\upsilon",!0),wt(kt,Et,Dt,"ϕ","\\phi",!0),wt(kt,Et,Dt,"χ","\\chi",!0),wt(kt,Et,Dt,"ψ","\\psi",!0),wt(kt,Et,Dt,"ω","\\omega",!0),wt(kt,Et,Dt,"ε","\\varepsilon",!0),wt(kt,Et,Dt,"ϑ","\\vartheta",!0),wt(kt,Et,Dt,"ϖ","\\varpi",!0),wt(kt,Et,Dt,"ϱ","\\varrho",!0),wt(kt,Et,Dt,"ς","\\varsigma",!0),wt(kt,Et,Dt,"φ","\\varphi",!0),wt(kt,Et,At,"∗","*"),wt(kt,Et,At,"+","+"),wt(kt,Et,At,"−","-"),wt(kt,Et,At,"⋅","\\cdot",!0),wt(kt,Et,At,"∘","\\circ"),wt(kt,Et,At,"÷","\\div",!0),wt(kt,Et,At,"±","\\pm",!0),wt(kt,Et,At,"×","\\times",!0),wt(kt,Et,At,"∩","\\cap",!0),wt(kt,Et,At,"∪","\\cup",!0),wt(kt,Et,At,"∖","\\setminus"),wt(kt,Et,At,"∧","\\land"),wt(kt,Et,At,"∨","\\lor"),wt(kt,Et,At,"∧","\\wedge",!0),wt(kt,Et,At,"∨","\\vee",!0),wt(kt,Et,Ft,"√","\\surd"),wt(kt,Et,Lt,"⟨","\\langle",!0),wt(kt,Et,Lt,"∣","\\lvert"),wt(kt,Et,Lt,"∥","\\lVert"),wt(kt,Et,Mt,"?","?"),wt(kt,Et,Mt,"!","!"),wt(kt,Et,Mt,"⟩","\\rangle",!0),wt(kt,Et,Mt,"∣","\\rvert"),wt(kt,Et,Mt,"∥","\\rVert"),wt(kt,Et,It,"=","="),wt(kt,Et,It,":",":"),wt(kt,Et,It,"≈","\\approx",!0),wt(kt,Et,It,"≅","\\cong",!0),wt(kt,Et,It,"≥","\\ge"),wt(kt,Et,It,"≥","\\geq",!0),wt(kt,Et,It,"←","\\gets"),wt(kt,Et,It,">","\\gt",!0),wt(kt,Et,It,"∈","\\in",!0),wt(kt,Et,It,"","\\@not"),wt(kt,Et,It,"⊂","\\subset",!0),wt(kt,Et,It,"⊃","\\supset",!0),wt(kt,Et,It,"⊆","\\subseteq",!0),wt(kt,Et,It,"⊇","\\supseteq",!0),wt(kt,St,It,"⊈","\\nsubseteq",!0),wt(kt,St,It,"⊉","\\nsupseteq",!0),wt(kt,Et,It,"⊨","\\models"),wt(kt,Et,It,"←","\\leftarrow",!0),wt(kt,Et,It,"≤","\\le"),wt(kt,Et,It,"≤","\\leq",!0),wt(kt,Et,It,"<","\\lt",!0),wt(kt,Et,It,"→","\\rightarrow",!0),wt(kt,Et,It,"→","\\to"),wt(kt,St,It,"≱","\\ngeq",!0),wt(kt,St,It,"≰","\\nleq",!0),wt(kt,Et,Rt," ","\\ "),wt(kt,Et,Rt," ","~"),wt(kt,Et,Rt," ","\\space"),wt(kt,Et,Rt," ","\\nobreakspace"),wt(Ct,Et,Rt," ","\\ "),wt(Ct,Et,Rt," "," "),wt(Ct,Et,Rt," ","~"),wt(Ct,Et,Rt," ","\\space"),wt(Ct,Et,Rt," ","\\nobreakspace"),wt(kt,Et,Rt,null,"\\nobreak"),wt(kt,Et,Rt,null,"\\allowbreak"),wt(kt,Et,Bt,",",","),wt(kt,Et,Bt,";",";"),wt(kt,St,At,"⊼","\\barwedge",!0),wt(kt,St,At,"⊻","\\veebar",!0),wt(kt,Et,At,"⊙","\\odot",!0),wt(kt,Et,At,"⊕","\\oplus",!0),wt(kt,Et,At,"⊗","\\otimes",!0),wt(kt,Et,Ft,"∂","\\partial",!0),wt(kt,Et,At,"⊘","\\oslash",!0),wt(kt,St,At,"⊚","\\circledcirc",!0),wt(kt,St,At,"⊡","\\boxdot",!0),wt(kt,Et,At,"△","\\bigtriangleup"),wt(kt,Et,At,"▽","\\bigtriangledown"),wt(kt,Et,At,"†","\\dagger"),wt(kt,Et,At,"⋄","\\diamond"),wt(kt,Et,At,"⋆","\\star"),wt(kt,Et,At,"◃","\\triangleleft"),wt(kt,Et,At,"▹","\\triangleright"),wt(kt,Et,Lt,"{","\\{"),wt(Ct,Et,Ft,"{","\\{"),wt(Ct,Et,Ft,"{","\\textbraceleft"),wt(kt,Et,Mt,"}","\\}"),wt(Ct,Et,Ft,"}","\\}"),wt(Ct,Et,Ft,"}","\\textbraceright"),wt(kt,Et,Lt,"{","\\lbrace"),wt(kt,Et,Mt,"}","\\rbrace"),wt(kt,Et,Lt,"[","\\lbrack",!0),wt(Ct,Et,Ft,"[","\\lbrack",!0),wt(kt,Et,Mt,"]","\\rbrack",!0),wt(Ct,Et,Ft,"]","\\rbrack",!0),wt(kt,Et,Lt,"(","\\lparen",!0),wt(kt,Et,Mt,")","\\rparen",!0),wt(Ct,Et,Ft,"<","\\textless",!0),wt(Ct,Et,Ft,">","\\textgreater",!0),wt(kt,Et,Lt,"⌊","\\lfloor",!0),wt(kt,Et,Mt,"⌋","\\rfloor",!0),wt(kt,Et,Lt,"⌈","\\lceil",!0),wt(kt,Et,Mt,"⌉","\\rceil",!0),wt(kt,Et,Ft,"\\","\\backslash"),wt(kt,Et,Ft,"∣","|"),wt(kt,Et,Ft,"∣","\\vert"),wt(Ct,Et,Ft,"|","\\textbar",!0),wt(kt,Et,Ft,"∥","\\|"),wt(kt,Et,Ft,"∥","\\Vert"),wt(Ct,Et,Ft,"∥","\\textbardbl"),wt(Ct,Et,Ft,"~","\\textasciitilde"),wt(Ct,Et,Ft,"\\","\\textbackslash"),wt(Ct,Et,Ft,"^","\\textasciicircum"),wt(kt,Et,It,"↑","\\uparrow",!0),wt(kt,Et,It,"⇑","\\Uparrow",!0),wt(kt,Et,It,"↓","\\downarrow",!0),wt(kt,Et,It,"⇓","\\Downarrow",!0),wt(kt,Et,It,"↕","\\updownarrow",!0),wt(kt,Et,It,"⇕","\\Updownarrow",!0),wt(kt,Et,Ot,"∐","\\coprod"),wt(kt,Et,Ot,"⋁","\\bigvee"),wt(kt,Et,Ot,"⋀","\\bigwedge"),wt(kt,Et,Ot,"⨄","\\biguplus"),wt(kt,Et,Ot,"⋂","\\bigcap"),wt(kt,Et,Ot,"⋃","\\bigcup"),wt(kt,Et,Ot,"∫","\\int"),wt(kt,Et,Ot,"∫","\\intop"),wt(kt,Et,Ot,"∬","\\iint"),wt(kt,Et,Ot,"∭","\\iiint"),wt(kt,Et,Ot,"∏","\\prod"),wt(kt,Et,Ot,"∑","\\sum"),wt(kt,Et,Ot,"⨂","\\bigotimes"),wt(kt,Et,Ot,"⨁","\\bigoplus"),wt(kt,Et,Ot,"⨀","\\bigodot"),wt(kt,Et,Ot,"∮","\\oint"),wt(kt,Et,Ot,"⨆","\\bigsqcup"),wt(kt,Et,Ot,"∫","\\smallint"),wt(Ct,Et,Nt,"…","\\textellipsis"),wt(kt,Et,Nt,"…","\\mathellipsis"),wt(Ct,Et,Nt,"…","\\ldots",!0),wt(kt,Et,Nt,"…","\\ldots",!0),wt(kt,Et,Nt,"⋯","\\@cdots",!0),wt(kt,Et,Nt,"⋱","\\ddots",!0),wt(kt,Et,Ft,"⋮","\\varvdots"),wt(kt,Et,Tt,"ˊ","\\acute"),wt(kt,Et,Tt,"ˋ","\\grave"),wt(kt,Et,Tt,"¨","\\ddot"),wt(kt,Et,Tt,"~","\\tilde"),wt(kt,Et,Tt,"ˉ","\\bar"),wt(kt,Et,Tt,"˘","\\breve"),wt(kt,Et,Tt,"ˇ","\\check"),wt(kt,Et,Tt,"^","\\hat"),wt(kt,Et,Tt,"⃗","\\vec"),wt(kt,Et,Tt,"˙","\\dot"),wt(kt,Et,Tt,"˚","\\mathring"),wt(kt,Et,Dt,"","\\@imath"),wt(kt,Et,Dt,"","\\@jmath"),wt(kt,Et,Ft,"ı","ı"),wt(kt,Et,Ft,"ȷ","ȷ"),wt(Ct,Et,Ft,"ı","\\i",!0),wt(Ct,Et,Ft,"ȷ","\\j",!0),wt(Ct,Et,Ft,"ß","\\ss",!0),wt(Ct,Et,Ft,"æ","\\ae",!0),wt(Ct,Et,Ft,"œ","\\oe",!0),wt(Ct,Et,Ft,"ø","\\o",!0),wt(Ct,Et,Ft,"Æ","\\AE",!0),wt(Ct,Et,Ft,"Œ","\\OE",!0),wt(Ct,Et,Ft,"Ø","\\O",!0),wt(Ct,Et,Tt,"ˊ","\\'"),wt(Ct,Et,Tt,"ˋ","\\`"),wt(Ct,Et,Tt,"ˆ","\\^"),wt(Ct,Et,Tt,"˜","\\~"),wt(Ct,Et,Tt,"ˉ","\\="),wt(Ct,Et,Tt,"˘","\\u"),wt(Ct,Et,Tt,"˙","\\."),wt(Ct,Et,Tt,"˚","\\r"),wt(Ct,Et,Tt,"ˇ","\\v"),wt(Ct,Et,Tt,"¨",'\\"'),wt(Ct,Et,Tt,"˝","\\H"),wt(Ct,Et,Tt,"◯","\\textcircled");var Pt={"--":!0,"---":!0,"``":!0,"''":!0};wt(Ct,Et,Ft,"–","--",!0),wt(Ct,Et,Ft,"–","\\textendash"),wt(Ct,Et,Ft,"—","---",!0),wt(Ct,Et,Ft,"—","\\textemdash"),wt(Ct,Et,Ft,"‘","`",!0),wt(Ct,Et,Ft,"‘","\\textquoteleft"),wt(Ct,Et,Ft,"’","'",!0),wt(Ct,Et,Ft,"’","\\textquoteright"),wt(Ct,Et,Ft,"“","``",!0),wt(Ct,Et,Ft,"“","\\textquotedblleft"),wt(Ct,Et,Ft,"”","''",!0),wt(Ct,Et,Ft,"”","\\textquotedblright"),wt(kt,Et,Ft,"°","\\degree",!0),wt(Ct,Et,Ft,"°","\\degree"),wt(Ct,Et,Ft,"°","\\textdegree",!0),wt(kt,Et,Ft,"£","\\pounds"),wt(kt,Et,Ft,"£","\\mathsterling",!0),wt(Ct,Et,Ft,"£","\\pounds"),wt(Ct,Et,Ft,"£","\\textsterling",!0),wt(kt,St,Ft,"✠","\\maltese"),wt(Ct,St,Ft,"✠","\\maltese");for(var zt='0123456789/@."',qt=0;qte&&(e=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}t.height=e,t.depth=n,t.maxFontSize=r},we=function(t,e,n,r){var i=new et(t,e,n,r);return xe(i),i},ke=function(t,e,n,r){return new et(t,e,n,r)},Ce=function(t,e,n){var r=we([t],[],e);return r.height=Math.max(n||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},Ee=function(t,e,n,r){var i=new nt(t,e,n,r);return xe(i),i},Se=function(t){var e=new Z(t);return xe(e),e},Te=function(t,e){return t instanceof Z?we([],[t],e):t},Ae=function(t){if("individualShift"===t.positionType){for(var e=t.children,n=[e[0]],r=-e[0].shift-e[0].elem.depth,i=r,a=1;a0&&(a.push(on(o,e)),o=[]),a.push(i[s]));o.length>0&&a.push(on(o,e)),n&&(r=on(Qe(n,e,!0)),r.classes=["tag"],a.push(r));var c=Ve(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=c.height+c.depth+"em",u.style.verticalAlign=-c.depth+"em"}return c}function ln(t){return new Z(t)}var cn=function(){function t(t,e){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=t,this.attributes={},this.children=e||[]}var e=t.prototype;return e.setAttribute=function(t,e){this.attributes[t]=e},e.getAttribute=function(t){return this.attributes[t]},e.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var n=0;n",t},e.toText=function(){return this.children.map((function(t){return t.toText()})).join("")},t}(),un=function(){function t(t){this.text=void 0,this.text=t}var e=t.prototype;return e.toNode=function(){return document.createTextNode(this.text)},e.toMarkup=function(){return v.escape(this.toText())},e.toText=function(){return this.text},t}(),hn=function(){function t(t){this.width=void 0,this.character=void 0,this.width=t,this.character=t>=.05555&&t<=.05556?" ":t>=.1666&&t<=.1667?" ":t>=.2222&&t<=.2223?" ":t>=.2777&&t<=.2778?"  ":t>=-.05556&&t<=-.05555?" ⁣":t>=-.1667&&t<=-.1666?" ⁣":t>=-.2223&&t<=-.2222?" ⁣":t>=-.2778&&t<=-.2777?" ⁣":null}var e=t.prototype;return e.toNode=function(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",this.width+"em"),t},e.toMarkup=function(){return this.character?""+this.character+"":''},e.toText=function(){return this.character?this.character:" "},t}(),fn={MathNode:cn,TextNode:un,SpaceNode:hn,newDocumentFragment:ln},dn=function(t,e,n){return!xt[e][t]||!xt[e][t].replace||55349===t.charCodeAt(0)||Pt.hasOwnProperty(t)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(t=xt[e][t].replace),new fn.TextNode(t)},pn=function(t){return 1===t.length?t[0]:new fn.MathNode("mrow",t)},gn=function(t,e){if("texttt"===e.fontFamily)return"monospace";if("textsf"===e.fontFamily)return"textit"===e.fontShape&&"textbf"===e.fontWeight?"sans-serif-bold-italic":"textit"===e.fontShape?"sans-serif-italic":"textbf"===e.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===e.fontShape&&"textbf"===e.fontWeight)return"bold-italic";if("textit"===e.fontShape)return"italic";if("textbf"===e.fontWeight)return"bold";var n=e.font;if(!n||"mathnormal"===n)return null;var r=t.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===t.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=t.text;if(v.contains(["\\imath","\\jmath"],i))return null;xt[r][i]&&xt[r][i].replace&&(i=xt[r][i].replace);var a=Ie.fontMap[n].fontName;return gt(i,a,r)?Ie.fontMap[n].variant:null},mn=function(t,e,n){if(1===t.length){var r=vn(t[0],e);return n&&r instanceof cn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,a=[],o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(s),i=s}return a},yn=function(t,e,n){return pn(mn(t,e,n))},vn=function(t,e){if(!t)return new fn.MathNode("mrow");if(Ue[t.type]){var n=Ue[t.type](t,e);return n}throw new o("Got group of unknown type: '"+t.type+"'")};function bn(t,e,n,r,i){var a,o=mn(t,n);a=1===o.length&&o[0]instanceof cn&&v.contains(["mrow","mtable"],o[0].type)?o[0]:new fn.MathNode("mrow",o);var s=new fn.MathNode("annotation",[new fn.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new fn.MathNode("semantics",[a,s]),c=new fn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=i?"katex":"katex-mathml";return Ie.makeSpan([u],[c])}var _n=function(t){return new ce({style:t.displayMode?R.DISPLAY:R.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},xn=function(t,e){if(e.displayMode){var n=["katex-display"];e.leqno&&n.push("leqno"),e.fleqn&&n.push("fleqn"),t=Ie.makeSpan(n,[t])}return t},wn=function(t,e,n){var r,i=_n(n);if("mathml"===n.output)return bn(t,e,i,n.displayMode,!0);if("html"===n.output){var a=sn(t,i);r=Ie.makeSpan(["katex"],[a])}else{var o=bn(t,e,i,n.displayMode,!1),s=sn(t,i);r=Ie.makeSpan(["katex"],[o,s])}return xn(r,n)},kn=function(t,e,n){var r=_n(n),i=sn(t,r),a=Ie.makeSpan(["katex"],[i]);return xn(a,n)},Cn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},En=function(t){var e=new fn.MathNode("mo",[new fn.TextNode(Cn[t.substr(1)])]);return e.setAttribute("stretchy","true"),e},Sn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Tn=function(t){return"ordgroup"===t.type?t.body.length:1},An=function(t,e){function n(){var n=4e5,r=t.label.substr(1);if(v.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,a,o,s=t,l=Tn(s.base);if(l>5)"widehat"===r||"widecheck"===r?(i=420,n=2364,o=.42,a=r+"4"):(i=312,n=2340,o=.34,a="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],i=[0,239,300,360,420][c],o=[0,.24,.3,.3,.36,.42][c],a=r+c):(n=[0,600,1033,2339,2340][c],i=[0,260,286,306,312][c],o=[0,.26,.286,.3,.306,.34][c],a="tilde"+c)}var u=new st(a),h=new ot([u],{width:"100%",height:o+"em",viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Ie.makeSvgSpan([],[h],e),minWidth:0,height:o}}var f,d,p=[],g=Sn[r],m=g[0],y=g[1],b=g[2],_=b/1e3,x=m.length;if(1===x){var w=g[3];f=["hide-tail"],d=[w]}else if(2===x)f=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");f=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(i.style.minWidth=a+"em"),i},Mn=function(t,e,n,r){var i,a=t.height+t.depth+2*n;if(/fbox|color/.test(e)){if(i=Ie.makeSpan(["stretchy",e],[],r),"fbox"===e){var o=r.color&&r.getColor();o&&(i.style.borderColor=o)}}else{var s=[];/^[bx]cancel$/.test(e)&&s.push(new lt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&s.push(new lt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new ot(s,{width:"100%",height:a+"em"});i=Ie.makeSvgSpan([],[l],r)}return i.height=a,i.style.height=a+"em",i},Nn={encloseSpan:Mn,mathMLnode:En,svgSpan:An};function Dn(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function On(t){var e=Ln(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Ln(t){return t&&("atom"===t.type||bt.hasOwnProperty(t.type))?t:null}var Bn=function(t,e){var n,r,i;t&&"supsub"===t.type?(r=Dn(t.base,"accent"),n=r.base,t.base=n,i=ut(an(t,e)),t.base=r):(r=Dn(t,"accent"),n=r.base);var a=an(n,e.havingCrampedStyle()),o=r.isShifty&&v.isCharacterBox(n),s=0;if(o){var l=v.getBaseElem(n),c=an(l,e.havingCrampedStyle());s=ct(c).skew}var u,h=Math.min(a.height,e.fontMetrics().xHeight);if(r.isStretchy)u=Nn.svgSpan(r,e),u=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+2*s+"em)",marginLeft:2*s+"em"}:void 0}]},e);else{var f,d;"\\vec"===r.label?(f=Ie.staticSvg("vec",e),d=Ie.svgData.vec[1]):(f=Ie.makeOrd({mode:r.mode,text:r.label},e,"textord"),f=ct(f),f.italic=0,d=f.width),u=Ie.makeSpan(["accent-body"],[f]);var p="\\textcircled"===r.label;p&&(u.classes.push("accent-full"),h=a.height);var g=s;p||(g-=d/2),u.style.left=g+"em","\\textcircled"===r.label&&(u.style.top=".2em"),u=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:u}]},e)}var m=Ie.makeSpan(["mord","accent"],[u],e);return i?(i.children[0]=m,i.height=Math.max(m.height,i.height),i.classes[0]="mord",i):m},In=function(t,e){var n=t.isStretchy?Nn.mathMLnode(t.label):new fn.MathNode("mo",[dn(t.label,t.mode)]),r=new fn.MathNode("mover",[vn(t.base,e),n]);return r.setAttribute("accent","true"),r},Rn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(t){return"\\"+t})).join("|"));$e({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(t,e){var n=e[0],r=!Rn.test(t.funcName),i=!r||"\\widehat"===t.funcName||"\\widetilde"===t.funcName||"\\widecheck"===t.funcName;return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Bn,mathmlBuilder:In}),$e({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(t,e){var n=e[0];return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Bn,mathmlBuilder:In}),$e({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(t,e){var n=an(t.base,e),r=Nn.svgSpan(t,e),i="\\utilde"===t.label?.12:0,a=Ie.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},e);return Ie.makeSpan(["mord","accentunder"],[a],e)},mathmlBuilder:function(t,e){var n=Nn.mathMLnode(t.label),r=new fn.MathNode("munder",[vn(t.base,e),n]);return r.setAttribute("accentunder","true"),r}});var Fn=function(t){var e=new fn.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};$e({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(t,e,n){var r=t.parser,i=t.funcName;return{type:"xArrow",mode:r.mode,label:i,body:e[0],below:n[0]}},htmlBuilder:function(t,e){var n,r=e.style,i=e.havingStyle(r.sup()),a=Ie.wrapFragment(an(t.body,i,e),e);a.classes.push("x-arrow-pad"),t.below&&(i=e.havingStyle(r.sub()),n=Ie.wrapFragment(an(t.below,i,e),e),n.classes.push("x-arrow-pad"));var o,s=Nn.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;if((a.depth>.25||"\\xleftequilibrium"===t.label)&&(c-=a.depth),n){var u=-e.fontMetrics().axisHeight+n.height+.5*s.height+.111;o=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:u}]},e)}else o=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:s,shift:l}]},e);return o.children[0].children[0].children[1].classes.push("svg-align"),Ie.makeSpan(["mrel","x-arrow"],[o],e)},mathmlBuilder:function(t,e){var n,r=Nn.mathMLnode(t.label);if(t.body){var i=Fn(vn(t.body,e));if(t.below){var a=Fn(vn(t.below,e));n=new fn.MathNode("munderover",[r,a,i])}else n=new fn.MathNode("mover",[r,i])}else if(t.below){var o=Fn(vn(t.below,e));n=new fn.MathNode("munder",[r,o])}else n=Fn(),n=new fn.MathNode("mover",[r,n]);return n}}),$e({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){for(var n=t.parser,r=Dn(e[0],"ordgroup"),i=r.body,a="",s=0;s","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],or=[0,1.2,1.8,2.4,3],sr=function(t,e,n,r,i){if("<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),v.contains(rr,t)||v.contains(ar,t))return Xn(t,e,!1,n,r,i);if(v.contains(ir,t))return Qn(t,or[e],!1,n,r,i);throw new o("Illegal delimiter: '"+t+"'")},lr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],cr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],ur=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],hr=function(t){if("small"===t.type)return"Main-Regular";if("large"===t.type)return"Size"+t.size+"-Regular";if("stack"===t.type)return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},fr=function(t,e,n,r){for(var i=Math.min(2,3-r.style.size),a=i;ae)return n[a]}return n[n.length-1]},dr=function(t,e,n,r,i,a){var o;"<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),o=v.contains(ar,t)?lr:v.contains(rr,t)?ur:cr;var s=fr(t,e,o,r);return"small"===s.type?Vn(t,s.style,n,r,i,a):"large"===s.type?Xn(t,s.size,n,r,i,a):Qn(t,e,n,r,i,a)},pr=function(t,e,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,c=Math.max(e-o,n+o),u=Math.max(c/500*s,2*c-l);return dr(t,u,!0,r,i,a)},gr={sqrtImage:nr,sizedDelim:sr,customSizedDelim:dr,leftRightDelim:pr},mr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},yr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function vr(t,e){var n=Ln(t);if(n&&v.contains(yr,n.text))return n;throw new o(n?"Invalid delimiter '"+n.text+"' after '"+e.funcName+"'":"Invalid delimiter type '"+t.type+"'",t)}function br(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$e({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(t,e){var n=vr(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:mr[t.funcName].size,mclass:mr[t.funcName].mclass,delim:n.text}},htmlBuilder:function(t,e){return"."===t.delim?Ie.makeSpan([t.mclass]):gr.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass])},mathmlBuilder:function(t){var e=[];"."!==t.delim&&e.push(dn(t.delim,t.mode));var n=new fn.MathNode("mo",e);return"mopen"===t.mclass||"mclose"===t.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),$e({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(t,e){var n=t.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:vr(e[0],t).text,color:n}}}),$e({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(t,e){var n=vr(e[0],t),r=t.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=Dn(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:function(t,e){br(t);for(var n,r,i=Qe(t.body,e,!0,["mopen","mclose"]),a=0,o=0,s=!1,l=0;l-1?"mpadded":"menclose",[vn(t.body,e)]);switch(t.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===t.label){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&r.setAttribute("mathbackground",t.backgroundColor),r};$e({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(t,e,n){var r=t.parser,i=t.funcName,a=Dn(e[0],"color-token").color,o=e[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:_r,mathmlBuilder:xr}),$e({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(t,e,n){var r=t.parser,i=t.funcName,a=Dn(e[0],"color-token").color,o=Dn(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:_r,mathmlBuilder:xr}),$e({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(t,e){var n=t.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}}),$e({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(t,e,n){var r=t.parser,i=t.funcName,a=e[0];return{type:"enclose",mode:r.mode,label:i,body:a}},htmlBuilder:_r,mathmlBuilder:xr});var wr={};function kr(t){for(var e=t.type,n=t.names,r=t.props,i=t.handler,a=t.htmlBuilder,o=t.mathmlBuilder,s={type:e,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l0&&(_+=.25),c.push({pos:_,isDashed:t[e]})}for(x(a[0]),n=0;n0&&(A+=b,C=s)){var z=void 0;(r>0||t.hskipBeforeAndAfter)&&(z=v.deflt(B.pregap,f),0!==z&&(M=Ie.makeSpan(["arraycolsep"],[]),M.style.width=z+"em",L.push(M)));var q=[];for(n=0;n0){var $=Ie.makeLineSpan("hline",e,u),W=Ie.makeLineSpan("hdashline",e,u),Y=[{type:"elem",elem:l,shift:0}];while(c.length>0){var V=c.pop(),G=V.pos-D;V.isDashed?Y.push({type:"elem",elem:W,shift:G}):Y.push({type:"elem",elem:$,shift:G})}l=Ie.makeVList({positionType:"individualShift",children:Y},e)}return Ie.makeSpan(["mord"],[l],e)},Ar={c:"center ",l:"left ",r:"right "},Mr=function(t,e){var n=new fn.MathNode("mtable",t.body.map((function(t){return new fn.MathNode("mtr",t.map((function(t){return new fn.MathNode("mtd",[vn(t,e)])})))}))),r=.5===t.arraystretch?.1:.16+t.arraystretch-1+(t.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var i="",a="";if(t.cols&&t.cols.length>0){var o=t.cols,s="",l=!1,c=0,u=o.length;"separator"===o[0].type&&(i+="top ",c=1),"separator"===o[o.length-1].type&&(i+="bottom ",u-=1);for(var h=c;h0?"left ":"",i+=m[m.length-1].length>0?"right ":"";for(var y=1;y0&&h&&(p=1),r[f]={type:"align",align:d,pregap:p,postgap:0}}return i.colSeparationType=h?"align":"alignat",i};kr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(t,e){var n=Ln(e[0]),r=n?[e[0]]:Dn(e[0],"ordgroup").body,i=r.map((function(t){var e=On(t),n=e.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+n,t)})),a={cols:i,hskipBeforeAndAfter:!0};return Er(t.parser,a,Sr(t.envName))},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName],n={hskipBeforeAndAfter:!1},r=Er(t.parser,n,Sr(t.envName));return e?{type:"leftright",mode:t.mode,body:[r],left:e[0],right:e[1],rightColor:void 0}:r},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(t){var e={arraystretch:.5},n=Er(t.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(t,e){var n=Ln(e[0]),r=n?[e[0]]:Dn(e[0],"ordgroup").body,i=r.map((function(t){var e=On(t),n=e.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new o("Unknown column alignment: "+n,t)}));if(i.length>1)throw new o("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Er(t.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new o("{subarray} can contain only one column");return a},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Er(t.parser,e,Sr(t.envName));return{type:"leftright",mode:t.mode,body:[n],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["aligned"],props:{numArgs:0},handler:Nr,htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["gathered"],props:{numArgs:0},handler:function(t){var e={cols:[{type:"align",align:"c"}],addJot:!0};return Er(t.parser,e,"display")},htmlBuilder:Tr,mathmlBuilder:Mr}),kr({type:"array",names:["alignedat"],props:{numArgs:1},handler:Nr,htmlBuilder:Tr,mathmlBuilder:Mr}),$e({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(t,e){throw new o(t.funcName+" valid only within array environment")}});var Dr=wr,Or=Dr;$e({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];if("ordgroup"!==i.type)throw new o("Invalid environment name",i);for(var a="",s=0;s=R.SCRIPT.id?n.text():R.DISPLAY:"text"===t&&n.size===R.DISPLAY.size?n=R.TEXT:"script"===t?n=R.SCRIPT:"scriptscript"===t&&(n=R.SCRIPTSCRIPT),n},jr=function(t,e){var n,r=qr(t.size,e.style),i=r.fracNum(),a=r.fracDen();n=e.havingStyle(i);var o=an(t.numer,n,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;o.height=o.height0?3*h:7*h,p=e.fontMetrics().denom1):(u>0?(f=e.fontMetrics().num2,d=h):(f=e.fontMetrics().num3,d=3*h),p=e.fontMetrics().denom2),c){var _=e.fontMetrics().axisHeight;f-o.depth-(_+.5*u)0&&(e=t,e="."===e?null:e),e};$e({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(t,e){var n,r=t.parser,i=e[4],a=e[5],o="atom"===e[0].type&&"open"===e[0].family?$r(e[0].text):null,s="atom"===e[1].type&&"close"===e[1].family?$r(e[1].text):null,l=Dn(e[2],"size"),c=null;l.isBlank?n=!0:(c=l.value,n=c.number>0);var u="auto",h=e[3];if("ordgroup"===h.type){if(h.body.length>0){var f=Dn(h.body[0],"textord");u=Ur[Number(f.text)]}}else h=Dn(h,"textord"),u=Ur[Number(h.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:a,continued:!1,hasBarLine:n,barSize:c,leftDelim:o,rightDelim:s,size:u}},htmlBuilder:jr,mathmlBuilder:Hr}),$e({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,e){var n=t.parser;t.funcName;var r=t.token;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Dn(e[0],"size").value,token:r}}}),$e({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,e){var n=t.parser;t.funcName;var r=e[0],i=m(Dn(e[1],"infix").size),a=e[2],o=i.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:jr,mathmlBuilder:Hr});var Wr=function(t,e){var n,r,i=e.style;"supsub"===t.type?(n=t.sup?an(t.sup,e.havingStyle(i.sup()),e):an(t.sub,e.havingStyle(i.sub()),e),r=Dn(t.base,"horizBrace")):r=Dn(t,"horizBrace");var a,o=an(r.base,e.havingBaseStyle(R.DISPLAY)),s=Nn.svgSpan(r,e);if(r.isOver?(a=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=Ie.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),n){var l=Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e);a=r.isOver?Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},e):Ie.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],e)},Yr=function(t,e){var n=Nn.mathMLnode(t.label);return new fn.MathNode(t.isOver?"mover":"munder",[vn(t.base,e),n])};$e({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,e){var n=t.parser,r=t.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:e[0]}},htmlBuilder:Wr,mathmlBuilder:Yr}),$e({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=e[1],i=Dn(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Ye(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,e){var n=Qe(t.body,e,!1);return Ie.makeAnchor(t.href,[],n,e)},mathmlBuilder:function(t,e){var n=yn(t.body,e);return n instanceof cn||(n=new cn("mrow",[n])),n.setAttribute("href",t.href),n}}),$e({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=Dn(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a0&&(r=de(t.totalheight,e)-n,r=Number(r.toFixed(2)));var i=0;t.width.number>0&&(i=de(t.width,e));var a={height:n+r+"em"};i>0&&(a.width=i+"em"),r>0&&(a.verticalAlign=-r+"em");var o=new rt(t.src,t.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:function(t,e){var n=new fn.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var r=de(t.height,e),i=0;if(t.totalheight.number>0&&(i=de(t.totalheight,e)-r,i=i.toFixed(2),n.setAttribute("valign","-"+i+"em")),n.setAttribute("height",r+i+"em"),t.width.number>0){var a=de(t.width,e);n.setAttribute("width",a+"em")}return n.setAttribute("src",t.src),n}}),$e({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=Dn(e[0],"size");if(n.settings.strict){var a="m"===r[1],o="mu"===i.value.unit;a?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(t,e){return Ie.makeGlue(t.dimension,e)},mathmlBuilder:function(t,e){var n=de(t.dimension,e);return new fn.SpaceNode(n)}}),$e({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(t,e){var n;"clap"===t.alignment?(n=Ie.makeSpan([],[an(t.body,e)]),n=Ie.makeSpan(["inner"],[n],e)):n=Ie.makeSpan(["inner"],[an(t.body,e)]);var r=Ie.makeSpan(["fix"],[]),i=Ie.makeSpan([t.alignment],[n,r],e),a=Ie.makeSpan(["strut"]);return a.style.height=i.height+i.depth+"em",a.style.verticalAlign=-i.depth+"em",i.children.unshift(a),i=Ie.makeSpan(["thinbox"],[i],e),Ie.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:function(t,e){var n=new fn.MathNode("mpadded",[vn(t.body,e)]);if("rlap"!==t.alignment){var r="llap"===t.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),$e({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,e){var n=t.funcName,r=t.parser,i=r.mode;r.switchMode("math");var a="\\("===n?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}}),$e({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(t,e){throw new o("Mismatched "+t.funcName)}});var Gr=function(t,e){switch(e.style.size){case R.DISPLAY.size:return t.display;case R.TEXT.size:return t.text;case R.SCRIPT.size:return t.script;case R.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};$e({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(t,e){var n=t.parser;return{type:"mathchoice",mode:n.mode,display:Ye(e[0]),text:Ye(e[1]),script:Ye(e[2]),scriptscript:Ye(e[3])}},htmlBuilder:function(t,e){var n=Gr(t,e),r=Qe(n,e,!1);return Ie.makeFragment(r)},mathmlBuilder:function(t,e){var n=Gr(t,e);return yn(n,e)}});var Xr=function(t,e,n,r,i,a,o){var s,l,c;if(t=Ie.makeSpan([],[t]),e){var u=an(e,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var h=an(n,r.havingStyle(i.sub()),r);s={elem:h,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-h.height)}}if(l&&s){var f=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+t.depth+o;c=Ie.makeVList({positionType:"bottom",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-a+"em"},{type:"kern",size:s.kern},{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:a+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var d=t.height-o;c=Ie.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-a+"em"},{type:"kern",size:s.kern},{type:"elem",elem:t}]},r)}else{if(!l)return t;var p=t.depth+o;c=Ie.makeVList({positionType:"bottom",positionData:p,children:[{type:"elem",elem:t},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:a+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ie.makeSpan(["mop","op-limits"],[c],r)},Zr=["\\smallint"],Kr=function(t,e){var n,r,i,a=!1;"supsub"===t.type?(n=t.sup,r=t.sub,i=Dn(t.base,"op"),a=!0):i=Dn(t,"op");var o,s=e.style,l=!1;if(s.size===R.DISPLAY.size&&i.symbol&&!v.contains(Zr,i.name)&&(l=!0),i.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(u=i.name.substr(1),i.name="oiint"===u?"\\iint":"\\iiint"),o=Ie.makeSymbol(i.name,c,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var h=o.italic,f=Ie.staticSvg(u+"Size"+(l?"2":"1"),e);o=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:f,shift:l?.08:0}]},e),i.name="\\"+u,o.classes.unshift("mop"),o.italic=h}}else if(i.body){var d=Qe(i.body,e,!0);1===d.length&&d[0]instanceof at?(o=d[0],o.classes[0]="mop"):o=Ie.makeSpan(["mop"],Ie.tryCombineChars(d),e)}else{for(var p=[],g=1;g0){for(var s=i.body.map((function(t){var e=t.text;return"string"===typeof e?{type:"textord",mode:t.mode,text:e}:t})),l=Qe(s,e.withFont("mathrm"),!0),c=0;c=0?s.setAttribute("height","+"+i+"em"):(s.setAttribute("height",i+"em"),s.setAttribute("depth","+"+-i+"em")),s.setAttribute("voffset",i+"em"),s}});var ii=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ai=function(t,e){var n=e.havingSize(t.size);return ri(t.body,n,e)};$e({type:"sizing",names:ii,props:{numArgs:0,allowedInText:!0},handler:function(t,e){var n=t.breakOnTokenText,r=t.funcName,i=t.parser,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:ii.indexOf(r)+1,body:a}},htmlBuilder:ai,mathmlBuilder:function(t,e){var n=e.havingSize(t.size),r=mn(t.body,n),i=new fn.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}}),$e({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(t,e,n){var r=t.parser,i=!1,a=!1,o=n[0]&&Dn(n[0],"ordgroup");if(o)for(var s="",l=0;ln.height+n.depth+o&&(o=(o+f-n.height-n.depth)/2);var d=c.height-n.height-o-u;n.style.paddingLeft=h+"em";var p=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:c},{type:"kern",size:u}]},e);if(t.index){var g=e.havingStyle(R.SCRIPTSCRIPT),m=an(t.index,g,e),y=.6*(p.height-p.depth),v=Ie.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:m}]},e),b=Ie.makeSpan(["root"],[v]);return Ie.makeSpan(["mord","sqrt"],[b,p],e)}return Ie.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder:function(t,e){var n=t.body,r=t.index;return r?new fn.MathNode("mroot",[vn(n,e),vn(r,e)]):new fn.MathNode("msqrt",[vn(n,e)])}});var oi={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};$e({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(t,e){var n=t.breakOnTokenText,r=t.funcName,i=t.parser,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder:function(t,e){var n=oi[t.style],r=e.havingStyle(n).withFont("");return ri(t.body,r,e)},mathmlBuilder:function(t,e){var n=oi[t.style],r=e.havingStyle(n),i=mn(t.body,r),a=new fn.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[t.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var si=function(t,e){var n=t.base;if(n){if("op"===n.type){var r=n.limits&&(e.style.size===R.DISPLAY.size||n.alwaysHandleSupSub);return r?Kr:null}if("operatorname"===n.type){var i=n.alwaysHandleSupSub&&(e.style.size===R.DISPLAY.size||n.limits);return i?ei:null}if("accent"===n.type)return v.isCharacterBox(n.base)?Bn:null;if("horizBrace"===n.type){var a=!t.sub;return a===n.isOver?Wr:null}return null}return null};We({type:"supsub",htmlBuilder:function(t,e){var n=si(t,e);if(n)return n(t,e);var r,i,a,o=t.base,s=t.sup,l=t.sub,c=an(o,e),u=e.fontMetrics(),h=0,f=0,d=o&&v.isCharacterBox(o);if(s){var p=e.havingStyle(e.style.sup());r=an(s,p,e),d||(h=c.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(l){var g=e.havingStyle(e.style.sub());i=an(l,g,e),d||(f=c.depth+g.fontMetrics().subDrop*g.sizeMultiplier/e.sizeMultiplier)}a=e.style===R.DISPLAY?u.sup1:e.style.cramped?u.sup3:u.sup2;var m,y=e.sizeMultiplier,b=.5/u.ptPerEm/y+"em",_=null;if(i){var x=t.base&&"op"===t.base.type&&t.base.name&&("\\oiint"===t.base.name||"\\oiiint"===t.base.name);(c instanceof at||x)&&(_=-c.italic+"em")}if(r&&i){h=Math.max(h,a,r.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var w=u.defaultRuleThickness,k=4*w;if(h-r.depth-(i.height-f)0&&(h+=C,f-=C)}var E=[{type:"elem",elem:i,shift:f,marginRight:b,marginLeft:_},{type:"elem",elem:r,shift:-h,marginRight:b}];m=Ie.makeVList({positionType:"individualShift",children:E},e)}else if(i){f=Math.max(f,u.sub1,i.height-.8*u.xHeight);var S=[{type:"elem",elem:i,marginLeft:_,marginRight:b}];m=Ie.makeVList({positionType:"shift",positionData:f,children:S},e)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,a,r.depth+.25*u.xHeight),m=Ie.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:b}]},e)}var T=nn(c,"right")||"mord";return Ie.makeSpan([T],[c,Ie.makeSpan(["msupsub"],[m])],e)},mathmlBuilder:function(t,e){var n,r,i=!1;t.base&&"horizBrace"===t.base.type&&(r=!!t.sup,r===t.base.isOver&&(i=!0,n=t.base.isOver)),!t.base||"op"!==t.base.type&&"operatorname"!==t.base.type||(t.base.parentIsSupSub=!0);var a,o=[vn(t.base,e)];if(t.sub&&o.push(vn(t.sub,e)),t.sup&&o.push(vn(t.sup,e)),i)a=n?"mover":"munder";else if(t.sub)if(t.sup){var s=t.base;a=s&&"op"===s.type&&s.limits&&e.style===R.DISPLAY||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(e.style===R.DISPLAY||s.limits)?"munderover":"msubsup"}else{var l=t.base;a=l&&"op"===l.type&&l.limits&&(e.style===R.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||e.style===R.DISPLAY)?"munder":"msub"}else{var c=t.base;a=c&&"op"===c.type&&c.limits&&(e.style===R.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||e.style===R.DISPLAY)?"mover":"msup"}var u=new fn.MathNode(a,o);return u}}),We({type:"atom",htmlBuilder:function(t,e){return Ie.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder:function(t,e){var n=new fn.MathNode("mo",[dn(t.text,t.mode)]);if("bin"===t.family){var r=gn(t,e);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===t.family?n.setAttribute("separator","true"):"open"!==t.family&&"close"!==t.family||n.setAttribute("stretchy","false");return n}});var li={mi:"italic",mn:"normal",mtext:"normal"};We({type:"mathord",htmlBuilder:function(t,e){return Ie.makeOrd(t,e,"mathord")},mathmlBuilder:function(t,e){var n=new fn.MathNode("mi",[dn(t.text,t.mode,e)]),r=gn(t,e)||"italic";return r!==li[n.type]&&n.setAttribute("mathvariant",r),n}}),We({type:"textord",htmlBuilder:function(t,e){return Ie.makeOrd(t,e,"textord")},mathmlBuilder:function(t,e){var n,r=dn(t.text,t.mode,e),i=gn(t,e)||"normal";return n="text"===t.mode?new fn.MathNode("mtext",[r]):/[0-9]/.test(t.text)?new fn.MathNode("mn",[r]):"\\prime"===t.text?new fn.MathNode("mo",[r]):new fn.MathNode("mi",[r]),i!==li[n.type]&&n.setAttribute("mathvariant",i),n}});var ci={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ui={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};We({type:"spacing",htmlBuilder:function(t,e){if(ui.hasOwnProperty(t.text)){var n=ui[t.text].className||"";if("text"===t.mode){var r=Ie.makeOrd(t,e,"textord");return r.classes.push(n),r}return Ie.makeSpan(["mspace",n],[Ie.mathsym(t.text,t.mode,e)],e)}if(ci.hasOwnProperty(t.text))return Ie.makeSpan(["mspace",ci[t.text]],[],e);throw new o('Unknown type of space "'+t.text+'"')},mathmlBuilder:function(t,e){var n;if(!ui.hasOwnProperty(t.text)){if(ci.hasOwnProperty(t.text))return new fn.MathNode("mspace");throw new o('Unknown type of space "'+t.text+'"')}return n=new fn.MathNode("mtext",[new fn.TextNode(" ")]),n}});var hi=function(){var t=new fn.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};We({type:"tag",mathmlBuilder:function(t,e){var n=new fn.MathNode("mtable",[new fn.MathNode("mtr",[hi(),new fn.MathNode("mtd",[yn(t.body,e)]),hi(),new fn.MathNode("mtd",[yn(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var fi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},di={"\\textbf":"textbf","\\textmd":"textmd"},pi={"\\textit":"textit","\\textup":"textup"},gi=function(t,e){var n=t.font;return n?fi[n]?e.withTextFontFamily(fi[n]):di[n]?e.withTextFontWeight(di[n]):e.withTextFontShape(pi[n]):e};$e({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(t,e){var n=t.parser,r=t.funcName,i=e[0];return{type:"text",mode:n.mode,body:Ye(i),font:r}},htmlBuilder:function(t,e){var n=gi(t,e),r=Qe(t.body,n,!0);return Ie.makeSpan(["mord","text"],Ie.tryCombineChars(r),n)},mathmlBuilder:function(t,e){var n=gi(t,e);return yn(t.body,n)}}),$e({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){var n=t.parser;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder:function(t,e){var n=an(t.body,e),r=Ie.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,a=Ie.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},e);return Ie.makeSpan(["mord","underline"],[a],e)},mathmlBuilder:function(t,e){var n=new fn.MathNode("mo",[new fn.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new fn.MathNode("munder",[vn(t.body,e),n]);return r.setAttribute("accentunder","true"),r}}),$e({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(t,e,n){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(t,e){for(var n=mi(t),r=[],i=e.havingStyle(e.style.text()),a=0;a0&&(this.undefStack[this.undefStack.length-1][t]=e)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}this.current[t]=e},t}(),Mi={},Ni=Mi;function Di(t,e){Mi[t]=e}Di("\\noexpand",(function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}})),Di("\\expandafter",(function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}})),Di("\\@firstoftwo",(function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}})),Di("\\@secondoftwo",(function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}})),Di("\\@ifnextchar",(function(t){var e=t.consumeArgs(3);t.consumeSpaces();var n=t.future();return 1===e[0].length&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}})),Di("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Di("\\TextOrMath",(function(t){var e=t.consumeArgs(2);return"text"===t.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}}));var Oi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Di("\\char",(function(t){var e,n=t.popToken(),r="";if("'"===n.text)e=8,n=t.popToken();else if('"'===n.text)e=16,n=t.popToken();else if("`"===n.text)if(n=t.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new o("\\char` missing argument");r=n.text.charCodeAt(0)}else e=10;if(e){if(r=Oi[n.text],null==r||r>=e)throw new o("Invalid base-"+e+" digit "+n.text);var i;while(null!=(i=Oi[t.future().text])&&i":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Di("\\dots",(function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in Bi?e=Bi[n]:("\\not"===n.substr(0,4)||n in xt.math&&v.contains(["bin","rel"],xt.math[n].group))&&(e="\\dotsb"),e}));var Ii={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Di("\\dotso",(function(t){var e=t.future().text;return e in Ii?"\\ldots\\,":"\\ldots"})),Di("\\dotsc",(function(t){var e=t.future().text;return e in Ii&&","!==e?"\\ldots\\,":"\\ldots"})),Di("\\cdots",(function(t){var e=t.future().text;return e in Ii?"\\@cdots\\,":"\\@cdots"})),Di("\\dotsb","\\cdots"),Di("\\dotsm","\\cdots"),Di("\\dotsi","\\!\\cdots"),Di("\\dotsx","\\ldots\\,"),Di("\\DOTSI","\\relax"),Di("\\DOTSB","\\relax"),Di("\\DOTSX","\\relax"),Di("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Di("\\,","\\tmspace+{3mu}{.1667em}"),Di("\\thinspace","\\,"),Di("\\>","\\mskip{4mu}"),Di("\\:","\\tmspace+{4mu}{.2222em}"),Di("\\medspace","\\:"),Di("\\;","\\tmspace+{5mu}{.2777em}"),Di("\\thickspace","\\;"),Di("\\!","\\tmspace-{3mu}{.1667em}"),Di("\\negthinspace","\\!"),Di("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Di("\\negthickspace","\\tmspace-{5mu}{.277em}"),Di("\\enspace","\\kern.5em "),Di("\\enskip","\\hskip.5em\\relax"),Di("\\quad","\\hskip1em\\relax"),Di("\\qquad","\\hskip2em\\relax"),Di("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Di("\\tag@paren","\\tag@literal{({#1})}"),Di("\\tag@literal",(function(t){if(t.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Di("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Di("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Di("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Di("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Di("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Di("\\\\","\\newline"),Di("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ri=ht["Main-Regular"]["T".charCodeAt(0)][1]-.7*ht["Main-Regular"]["A".charCodeAt(0)][1]+"em";Di("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Ri+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Di("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Ri+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Di("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Di("\\@hspace","\\hskip #1\\relax"),Di("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Di("\\ordinarycolon",":"),Di("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Di("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Di("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Di("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Di("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Di("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Di("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Di("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Di("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Di("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Di("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Di("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Di("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Di("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Di("∷","\\dblcolon"),Di("∹","\\eqcolon"),Di("≔","\\coloneqq"),Di("≕","\\eqqcolon"),Di("⩴","\\Coloneqq"),Di("\\ratio","\\vcentcolon"),Di("\\coloncolon","\\dblcolon"),Di("\\colonequals","\\coloneqq"),Di("\\coloncolonequals","\\Coloneqq"),Di("\\equalscolon","\\eqqcolon"),Di("\\equalscoloncolon","\\Eqqcolon"),Di("\\colonminus","\\coloneq"),Di("\\coloncolonminus","\\Coloneq"),Di("\\minuscolon","\\eqcolon"),Di("\\minuscoloncolon","\\Eqcolon"),Di("\\coloncolonapprox","\\Colonapprox"),Di("\\coloncolonsim","\\Colonsim"),Di("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Di("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Di("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Di("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Di("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Di("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Di("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Di("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Di("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Di("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Di("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Di("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Di("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Di("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Di("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Di("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Di("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Di("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Di("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Di("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Di("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Di("\\imath","\\html@mathml{\\@imath}{ı}"),Di("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Di("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Di("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Di("⟦","\\llbracket"),Di("⟧","\\rrbracket"),Di("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Di("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Di("⦃","\\lBrace"),Di("⦄","\\rBrace"),Di("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Di("⦵","\\minuso"),Di("\\darr","\\downarrow"),Di("\\dArr","\\Downarrow"),Di("\\Darr","\\Downarrow"),Di("\\lang","\\langle"),Di("\\rang","\\rangle"),Di("\\uarr","\\uparrow"),Di("\\uArr","\\Uparrow"),Di("\\Uarr","\\Uparrow"),Di("\\N","\\mathbb{N}"),Di("\\R","\\mathbb{R}"),Di("\\Z","\\mathbb{Z}"),Di("\\alef","\\aleph"),Di("\\alefsym","\\aleph"),Di("\\Alpha","\\mathrm{A}"),Di("\\Beta","\\mathrm{B}"),Di("\\bull","\\bullet"),Di("\\Chi","\\mathrm{X}"),Di("\\clubs","\\clubsuit"),Di("\\cnums","\\mathbb{C}"),Di("\\Complex","\\mathbb{C}"),Di("\\Dagger","\\ddagger"),Di("\\diamonds","\\diamondsuit"),Di("\\empty","\\emptyset"),Di("\\Epsilon","\\mathrm{E}"),Di("\\Eta","\\mathrm{H}"),Di("\\exist","\\exists"),Di("\\harr","\\leftrightarrow"),Di("\\hArr","\\Leftrightarrow"),Di("\\Harr","\\Leftrightarrow"),Di("\\hearts","\\heartsuit"),Di("\\image","\\Im"),Di("\\infin","\\infty"),Di("\\Iota","\\mathrm{I}"),Di("\\isin","\\in"),Di("\\Kappa","\\mathrm{K}"),Di("\\larr","\\leftarrow"),Di("\\lArr","\\Leftarrow"),Di("\\Larr","\\Leftarrow"),Di("\\lrarr","\\leftrightarrow"),Di("\\lrArr","\\Leftrightarrow"),Di("\\Lrarr","\\Leftrightarrow"),Di("\\Mu","\\mathrm{M}"),Di("\\natnums","\\mathbb{N}"),Di("\\Nu","\\mathrm{N}"),Di("\\Omicron","\\mathrm{O}"),Di("\\plusmn","\\pm"),Di("\\rarr","\\rightarrow"),Di("\\rArr","\\Rightarrow"),Di("\\Rarr","\\Rightarrow"),Di("\\real","\\Re"),Di("\\reals","\\mathbb{R}"),Di("\\Reals","\\mathbb{R}"),Di("\\Rho","\\mathrm{P}"),Di("\\sdot","\\cdot"),Di("\\sect","\\S"),Di("\\spades","\\spadesuit"),Di("\\sub","\\subset"),Di("\\sube","\\subseteq"),Di("\\supe","\\supseteq"),Di("\\Tau","\\mathrm{T}"),Di("\\thetasym","\\vartheta"),Di("\\weierp","\\wp"),Di("\\Zeta","\\mathrm{Z}"),Di("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Di("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Di("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Di("\\bra","\\mathinner{\\langle{#1}|}"),Di("\\ket","\\mathinner{|{#1}\\rangle}"),Di("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Di("\\Bra","\\left\\langle#1\\right|"),Di("\\Ket","\\left|#1\\right\\rangle"),Di("\\blue","\\textcolor{##6495ed}{#1}"),Di("\\orange","\\textcolor{##ffa500}{#1}"),Di("\\pink","\\textcolor{##ff00af}{#1}"),Di("\\red","\\textcolor{##df0030}{#1}"),Di("\\green","\\textcolor{##28ae7b}{#1}"),Di("\\gray","\\textcolor{gray}{#1}"),Di("\\purple","\\textcolor{##9d38bd}{#1}"),Di("\\blueA","\\textcolor{##ccfaff}{#1}"),Di("\\blueB","\\textcolor{##80f6ff}{#1}"),Di("\\blueC","\\textcolor{##63d9ea}{#1}"),Di("\\blueD","\\textcolor{##11accd}{#1}"),Di("\\blueE","\\textcolor{##0c7f99}{#1}"),Di("\\tealA","\\textcolor{##94fff5}{#1}"),Di("\\tealB","\\textcolor{##26edd5}{#1}"),Di("\\tealC","\\textcolor{##01d1c1}{#1}"),Di("\\tealD","\\textcolor{##01a995}{#1}"),Di("\\tealE","\\textcolor{##208170}{#1}"),Di("\\greenA","\\textcolor{##b6ffb0}{#1}"),Di("\\greenB","\\textcolor{##8af281}{#1}"),Di("\\greenC","\\textcolor{##74cf70}{#1}"),Di("\\greenD","\\textcolor{##1fab54}{#1}"),Di("\\greenE","\\textcolor{##0d923f}{#1}"),Di("\\goldA","\\textcolor{##ffd0a9}{#1}"),Di("\\goldB","\\textcolor{##ffbb71}{#1}"),Di("\\goldC","\\textcolor{##ff9c39}{#1}"),Di("\\goldD","\\textcolor{##e07d10}{#1}"),Di("\\goldE","\\textcolor{##a75a05}{#1}"),Di("\\redA","\\textcolor{##fca9a9}{#1}"),Di("\\redB","\\textcolor{##ff8482}{#1}"),Di("\\redC","\\textcolor{##f9685d}{#1}"),Di("\\redD","\\textcolor{##e84d39}{#1}"),Di("\\redE","\\textcolor{##bc2612}{#1}"),Di("\\maroonA","\\textcolor{##ffbde0}{#1}"),Di("\\maroonB","\\textcolor{##ff92c6}{#1}"),Di("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Di("\\maroonD","\\textcolor{##ca337c}{#1}"),Di("\\maroonE","\\textcolor{##9e034e}{#1}"),Di("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Di("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Di("\\purpleC","\\textcolor{##aa87ff}{#1}"),Di("\\purpleD","\\textcolor{##7854ab}{#1}"),Di("\\purpleE","\\textcolor{##543b78}{#1}"),Di("\\mintA","\\textcolor{##f5f9e8}{#1}"),Di("\\mintB","\\textcolor{##edf2df}{#1}"),Di("\\mintC","\\textcolor{##e0e5cc}{#1}"),Di("\\grayA","\\textcolor{##f6f7f7}{#1}"),Di("\\grayB","\\textcolor{##f0f1f2}{#1}"),Di("\\grayC","\\textcolor{##e3e5e6}{#1}"),Di("\\grayD","\\textcolor{##d6d8da}{#1}"),Di("\\grayE","\\textcolor{##babec2}{#1}"),Di("\\grayF","\\textcolor{##888d93}{#1}"),Di("\\grayG","\\textcolor{##626569}{#1}"),Di("\\grayH","\\textcolor{##3b3e40}{#1}"),Di("\\grayI","\\textcolor{##21242c}{#1}"),Di("\\kaBlue","\\textcolor{##314453}{#1}"),Di("\\kaGreen","\\textcolor{##71B307}{#1}");var Fi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Pi=function(){function t(t,e,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(t),this.macros=new Ai(Ni,e.macros),this.mode=n,this.stack=[]}var e=t.prototype;return e.feed=function(t){this.lexer=new Ti(t,this.settings)},e.switchMode=function(t){this.mode=t},e.beginGroup=function(){this.macros.beginGroup()},e.endGroup=function(){this.macros.endGroup()},e.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},e.popToken=function(){return this.future(),this.stack.pop()},e.pushToken=function(t){this.stack.push(t)},e.pushTokens=function(t){var e;(e=this.stack).push.apply(e,t)},e.consumeSpaces=function(){for(;;){var t=this.future();if(" "!==t.text)break;this.stack.pop()}},e.consumeArgs=function(t){for(var e=[],n=0;nthis.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var i=r.tokens;if(r.numArgs){var a=this.consumeArgs(r.numArgs);i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if("#"===l.text){if(0===s)throw new o("Incomplete placeholder at end of macro body",l);if(l=i[--s],"#"===l.text)i.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new o("Not a valid argument number",l);var c;(c=i).splice.apply(c,[s,2].concat(a[+l.text-1]))}}}}return this.pushTokens(i),i},e.expandAfterFuture=function(){return this.expandOnce(),this.future()},e.expandNextToken=function(){for(;;){var t=this.expandOnce();if(t instanceof i){if("\\relax"!==t.text&&!t.treatAsRelax)return this.stack.pop();this.stack.pop()}}throw new Error},e.expandMacro=function(t){return this.macros.has(t)?this.expandTokens([new i(t)]):void 0},e.expandTokens=function(t){var e=[],n=this.stack.length;this.pushTokens(t);while(this.stack.length>n){var r=this.expandOnce(!0);r instanceof i&&(r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),e.push(this.stack.pop()))}return e},e.expandMacroAsText=function(t){var e=this.expandMacro(t);return e?e.map((function(t){return t.text})).join(""):e},e._getExpansion=function(t){var e=this.macros.get(t);if(null==e)return e;var n="function"===typeof e?e(this):e;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#")){var i=n.replace(/##/g,"");while(-1!==i.indexOf("#"+(r+1)))++r}var a=new Ti(n,this.settings),o=[],s=a.lex();while("EOF"!==s.text)o.push(s),s=a.lex();o.reverse();var l={tokens:o,numArgs:r};return l}return n},e.isDefined=function(t){return this.macros.has(t)||vi.hasOwnProperty(t)||xt.math.hasOwnProperty(t)||xt.text.hasOwnProperty(t)||Fi.hasOwnProperty(t)},e.isExpandable=function(t){var e=this.macros.get(t);return null!=e?"string"===typeof e||"function"===typeof e||!e.unexpandable:vi.hasOwnProperty(t)},t}(),zi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},qi={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","č":"č","ĉ":"ĉ","ċ":"ċ","ď":"ď","ḋ":"ḋ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ĺ":"ĺ","ľ":"ľ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ď":"Ď","Ḋ":"Ḋ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ĺ":"Ĺ","Ľ":"Ľ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ť":"Ť","Ṫ":"Ṫ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},ji=function(){function t(t,e){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Pi(t,e,this.mode),this.settings=e,this.leftrightDepth=0}var e=t.prototype;return e.expect=function(t,e){if(void 0===e&&(e=!0),this.fetch().text!==t)throw new o("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());e&&this.consume()},e.consume=function(){this.nextToken=null},e.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},e.switchMode=function(t){this.mode=t,this.gullet.switchMode(t)},e.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t},e.parseExpression=function(e,n){var r=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==t.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(e&&vi[i.text]&&vi[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;"internal"!==a.type&&r.push(a)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},e.handleInfixNodes=function(t){for(var e,n=-1,r=0;r0&&!c||0===s&&!c&&"math"===this.mode,h=this.parseGroupOfType("argument to '"+t+"'",l,c,r,u);if(!h){if(c){a.push(null);continue}throw new o("Expected group after '"+t+"'",this.fetch())}(c?a:i).push(h)}return{args:i,optArgs:a}},e.parseGroupOfType=function(t,e,n,r,i){switch(e){case"color":return i&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return i&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,i);case"math":case"text":return this.parseGroup(t,n,r,void 0,e,i);case"hbox":var a=this.parseGroup(t,n,r,void 0,"text",i);if(!a)return a;var s={type:"styling",mode:a.mode,body:[a],style:"text"};return s;case"raw":if(i&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new o("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(t,n,r,void 0,void 0,i);default:throw new o("Unknown group type as "+t,this.fetch())}},e.consumeSpaces=function(){while(" "===this.fetch().text)this.consume()},e.parseStringGroup=function(t,e,n){var r=e?"[":"{",i=e?"]":"}",a=this.fetch();if(a.text!==r){if(e)return null;if(n&&"EOF"!==a.text&&/[^{}[\]]/.test(a.text))return this.consume(),a}var s=this.mode;this.mode="text",this.expect(r);var l,c="",u=this.fetch(),h=0,f=u;while((l=this.fetch()).text!==i||n&&h>0){switch(l.text){case"EOF":throw new o("Unexpected end of input in "+t,u.range(f,c));case r:h++;break;case i:h--;break}f=l,c+=f.text,this.consume()}return this.expect(i),this.mode=s,u.range(f,c)},e.parseRegexGroup=function(t,e){var n=this.mode;this.mode="text";var r,i=this.fetch(),a=i,s="";while("EOF"!==(r=this.fetch()).text&&t.test(s+r.text))a=r,s+=a.text,this.consume();if(""===s)throw new o("Invalid "+e+": '"+i.text+"'",i);return this.mode=n,i.range(a,s)},e.parseColorGroup=function(t){var e=this.parseStringGroup("color",t);if(!e)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(e.text);if(!n)throw new o("Invalid color: '"+e.text+"'",e);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},e.parseSizeGroup=function(t){var e,n=!1;if(e=t||"{"===this.fetch().text?this.parseStringGroup("size",t):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!e)return null;t||0!==e.text.length||(e.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e.text);if(!r)throw new o("Invalid size: '"+e.text+"'",e);var i={number:+(r[1]+r[2]),unit:r[3]};if(!fe(i))throw new o("Invalid unit: '"+i.unit+"'",e);return{type:"size",mode:this.mode,value:i,isBlank:n}},e.parseUrlGroup=function(t,e){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",t,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},e.parseGroup=function(e,n,i,a,s,l){var c=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var u,h=this.fetch(),f=h.text;if(n?"["===f:"{"===f||"\\begingroup"===f){this.consume();var d=t.endOfGroup[f];this.gullet.beginGroup();var p=this.parseExpression(!1,d),g=this.fetch();this.expect(d),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(h,g),body:p,semisimple:"\\begingroup"===f||void 0}}else if(n)u=null;else if(u=this.parseFunction(a,e,i)||this.parseSymbol(),null==u&&"\\"===f[0]&&!Fi.hasOwnProperty(f)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+f,h);u=this.formatUnsupportedCmd(f),this.consume()}return s&&this.switchMode(c),u},e.formLigatures=function(t){for(var e=t.length-1,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var l,c=xt[this.mode][e].group,u=r.range(t);if(vt.hasOwnProperty(c)){var h=c;l={type:"atom",mode:this.mode,family:h,loc:u,text:e}}else l={type:c,mode:this.mode,loc:u,text:e};a=l}else{if(!(e.charCodeAt(0)>=128))return null;this.settings.strict&&(q(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),a={type:"textord",mode:"text",loc:r.range(t),text:e}}if(this.consume(),s)for(var f=0;f0?t.src.charCodeAt(e-1):-1,r=e+1<=i?t.src.charCodeAt(e+1):-1,(32===n||9===n||r>=48&&r<=57)&&(o=!1),32!==r&&9!==r||(a=!1),{can_open:a,can_close:o}}function Ypt(t,e){var n,r,i,a,o;if("$"!==t.src[t.pos])return!1;if(a=Wpt(t,t.pos),!a.can_open)return e||(t.pending+="$"),t.pos+=1,!0;n=t.pos+1,r=n;while(-1!==(r=t.src.indexOf("$",r))){o=r-1;while("\\"===t.src[o])o-=1;if((r-o)%2==1)break;r+=1}return-1===r?(e||(t.pending+="$"),t.pos=n,!0):r-n===0?(e||(t.pending+="$$"),t.pos=n+1,!0):(a=Wpt(t,r),a.can_close?(e||(i=t.push("math_inline","math",0),i.markup="$",i.content=t.src.slice(n,r)),t.pos=r+1,!0):(e||(t.pending+="$"),t.pos=n,!0))}function Vpt(t,e,n,r){var i,a,o,s,l,c=!1,u=t.bMarks[e]+t.tShift[e],h=t.eMarks[e];if(u+2>h)return!1;if("$$"!==t.src.slice(u,u+2))return!1;if(u+=2,i=t.src.slice(u,h),r)return!0;for("$$"===i.trim().slice(-2)&&(i=i.trim().slice(0,-2),c=!0),o=e;!c;){if(o++,o>=n)break;if(u=t.bMarks[o]+t.tShift[o],h=t.eMarks[o],u/g,">").replace(/"/g,""").replace(/'/g,"'")}var Xpt=function(t,e){e=e||{};var n=function(t){e.displayMode=!1;try{return $pt.renderToString(t,e)}catch(n){return e.throwOnError&&console.log(n),`${Gpt(t)}`}},r=function(t,e){return n(t[e].content)},i=function(t){e.displayMode=!0;try{return"

    "+$pt.renderToString(t,e)+"

    "}catch(n){return e.throwOnError&&console.log(n),`

    ${Gpt(t)}

    `}},a=function(t,e){return i(t[e].content)+"\n"};t.inline.ruler.after("escape","math_inline",Ypt),t.block.ruler.after("blockquote","math_block",Vpt,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=r,t.renderer.rules.math_block=a},Zpt=function(t){function e(t,e){var n,r,i,a,o,s=t.pos,l=t.src.charCodeAt(s);if(e)return!1;if(61!==l)return!1;if(r=t.scanDelims(t.pos,!0),a=r.length,o=String.fromCharCode(l),a<2)return!1;for(a%2&&(i=t.push("text","",0),i.content=o,a--),n=0;n?@[\]^_`{|}~-])/g;function Qpt(t,e){var n,r,i,a=t.posMax,o=t.pos;if(126!==t.src.charCodeAt(o))return!1;if(e)return!1;if(o+2>=a)return!1;t.pos=o+1;while(t.pos?@[\]^_`{|}~-])/g;function egt(t,e){var n,r,i,a=t.posMax,o=t.pos;if(94!==t.src.charCodeAt(o))return!1;if(e)return!1;if(o+2>=a)return!1;t.pos=o+1;while(t.pos{if("heading_open"===e.type){const n=ogt(e),r=parseInt(e.tag.toLowerCase().replace("h",""),10);t.indexOf(r)>=0&&(i={level:r,text:null,anchor:n||null})}else if(i&&"inline"===e.type){const t=e.children.filter((t=>"text"===t.type||"code_inline"===t.type)).reduce(((t,e)=>t+e.content),"");i.text=t,i.anchor||(i.anchor=n.slugify(t,e.content))}else"heading_close"===e.type&&(i&&r.push(i),i=null)})),r}function ogt(t){if(t&&t.attrs&&t.attrs.length>0){const e=t.attrs.find((t=>!!(Array.isArray(t)&&t.length>=2)&&"id"===t[0]));if(e&&Array.isArray(e)&&e.length>=2){const[t,n]=e;return n}}return null}function sgt(t){return Math.min(...t.map((t=>t.level)))}function lgt(t,e,n,r){const i={level:t,text:e,anchor:n,children:[],parent:r};return r.children.push(i),i}function cgt(t){const e={level:sgt(t)-1,anchor:null,text:null,children:[],parent:null};let n=e,r=n;return t.forEach((t=>{if(t.level>r.level)Array.from({length:t.level-r.level}).forEach((e=>{n=r,r=lgt(t.level,null,null,n)})),r.text=t.text,r.anchor=t.anchor;else if(t.level===r.level)r=lgt(t.level,t.text,t.anchor,n);else if(t.level"+t.children.map((t=>{let r="
  • ",i=t.anchor;e&&e.transformLink&&(i=e.transformLink(i));let a=t.text?e.format(t.text,n,i):null;return r+=i?`${a}`:a||"",r+(t.children.length>0?ugt(t,e,n):"")+"
  • "})).join("")+""}var hgt=function(t,e){const n=Object.assign({},igt,e),r=n.markerPattern;let i;function a(t,e){let n,i;if(91!==t.src.charCodeAt(t.pos))return!1;if(e)return!1;if(i=r.exec(t.src.substr(t.pos)),i=i?i.filter((function(t){return t})):[],i.length<1)return!1;n=t.push("toc_open","toc",1),n.markup="[[toc]]",n=t.push("toc_body","",0),n=t.push("toc_close","toc",-1);var a=t.src.indexOf("\n",t.pos);return t.pos=-1!==a?a:t.pos+t.posMax+1,!0}t.renderer.rules.toc_open=function(t,e){var r='
    ';return n.containerHeaderHtml&&(r+=n.containerHeaderHtml),r},t.renderer.rules.toc_close=function(t,e){var r="";return n.containerFooterHtml&&(r=n.containerFooterHtml),r+"
    "},t.renderer.rules.toc_body=function(e,r){if(n.forceFullToc)throw"forceFullToc was removed in version 0.5.0. For more information, see https://github.com/Oktavilla/markdown-it-table-of-contents/pull/41";{const e=agt(n.includeLevel,i.tokens,n),r=cgt(e),a=ugt(r,n,t);return a}},t.core.ruler.push("grab_state",(function(t){i=t})),t.inline.ruler.after("emphasis","toc",a)},fgt=!0,dgt=!1,pgt=!1,ggt=function(t,e){e&&(fgt=!e.enabled,dgt=!!e.label,pgt=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",(function(t){for(var e=t.tokens,n=2;n=0;r--)if(t[r].level===n)return r;return-1}function vgt(t,e){return Cgt(t[e])&&Egt(t[e-1])&&Sgt(t[e-2])&&Tgt(t[e])}function bgt(t,e){if(t.children.unshift(_gt(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),dgt)if(pgt){t.children.pop();var n="task-item-"+Math.ceil(1e7*Math.random()-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+n+'">',t.children.push(kgt(t.content,n,e))}else t.children.unshift(xgt(e)),t.children.push(wgt(e))}function _gt(t,e){var n=new e("html_inline","",0),r=fgt?' disabled="" ':"";return 0===t.content.indexOf("[ ] ")?n.content='':0!==t.content.indexOf("[x] ")&&0!==t.content.indexOf("[X] ")||(n.content=''),n}function xgt(t){var e=new t("html_inline","",0);return e.content="",e}function kgt(t,e,n){var r=new n("html_inline","",0);return r.content='",r.attrs=[{for:e}],r}function Cgt(t){return"inline"===t.type}function Egt(t){return"paragraph_open"===t.type}function Sgt(t){return"list_item_open"===t.type}function Tgt(t){return 0===t.content.indexOf("[ ] ")||0===t.content.indexOf("[x] ")||0===t.content.indexOf("[X] ")} -/*! For license information please see mermaid.esm.min.mjs.LICENSE.txt */var Agt={1362:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,6],n=[1,7],r=[1,8],i=[1,9],a=[1,12],o=[1,11],s=[1,15,24],l=[1,19],c=[1,31],u=[1,34],h=[1,32],f=[1,33],d=[1,35],p=[1,36],g=[1,37],m=[1,38],y=[1,41],v=[1,42],b=[1,43],_=[1,44],x=[15,24],w=[1,56],k=[1,57],C=[1,58],E=[1,59],S=[1,60],T=[1,61],A=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],M=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],N=[7,8,9,10,15,18,22,24],D=[47,77,78,79,80],O=[47,54,55,77,78,79,80],L=[47,50,51,52,53,77,78,79,80],B=[15,24,31],I=[1,93],R={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,CLASS_DIAGRAM:22,statements:23,EOF:24,statement:25,className:26,alphaNumToken:27,classLiteralName:28,GENERICTYPE:29,relationStatement:30,LABEL:31,classStatement:32,methodStatement:33,annotationStatement:34,clickStatement:35,cssClassStatement:36,CLASS:37,STYLE_SEPARATOR:38,STRUCT_START:39,members:40,STRUCT_STOP:41,ANNOTATION_START:42,ANNOTATION_END:43,MEMBER:44,SEPARATOR:45,relation:46,STR:47,relationType:48,lineType:49,AGGREGATION:50,EXTENSION:51,COMPOSITION:52,DEPENDENCY:53,LINE:54,DOTTED_LINE:55,CALLBACK:56,LINK:57,LINK_TARGET:58,CLICK:59,CALLBACK_NAME:60,CALLBACK_ARGS:61,HREF:62,CSSCLASS:63,commentToken:64,textToken:65,graphCodeTokens:66,textNoTagsToken:67,TAGSTART:68,TAGEND:69,"==":70,"--":71,PCT:72,DEFAULT:73,SPACE:74,MINUS:75,keywords:76,UNICODE_TEXT:77,NUM:78,ALPHA:79,BQUOTE_STR:80,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"CLASS_DIAGRAM",24:"EOF",29:"GENERICTYPE",31:"LABEL",37:"CLASS",38:"STYLE_SEPARATOR",39:"STRUCT_START",41:"STRUCT_STOP",42:"ANNOTATION_START",43:"ANNOTATION_END",44:"MEMBER",45:"SEPARATOR",47:"STR",50:"AGGREGATION",51:"EXTENSION",52:"COMPOSITION",53:"DEPENDENCY",54:"LINE",55:"DOTTED_LINE",56:"CALLBACK",57:"LINK",58:"LINK_TARGET",59:"CLICK",60:"CALLBACK_NAME",61:"CALLBACK_ARGS",62:"HREF",63:"CSSCLASS",66:"graphCodeTokens",68:"TAGSTART",69:"TAGEND",70:"==",71:"--",72:"PCT",73:"DEFAULT",74:"SPACE",75:"MINUS",76:"keywords",77:"UNICODE_TEXT",78:"NUM",79:"ALPHA",80:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[23,1],[23,2],[23,3],[26,1],[26,1],[26,2],[26,2],[26,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[32,2],[32,4],[32,5],[32,7],[34,4],[40,1],[40,2],[33,1],[33,2],[33,1],[33,1],[30,3],[30,4],[30,4],[30,5],[46,3],[46,2],[46,2],[46,1],[48,1],[48,1],[48,1],[48,1],[49,1],[49,1],[35,3],[35,4],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[36,3],[64,1],[64,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[67,1],[67,1],[67,1],[67,1],[27,1],[27,1],[27,1],[28,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:r.parseDirective(a[s],"type_directive");break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=a[s];break;case 21:this.$=a[s-1]+a[s];break;case 22:case 23:this.$=a[s-1]+"~"+a[s];break;case 24:r.addRelation(a[s]);break;case 25:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 33:r.addClass(a[s]);break;case 34:r.addClass(a[s-2]),r.setCssClass(a[s-2],a[s]);break;case 35:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 36:r.addClass(a[s-5]),r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 37:r.addAnnotation(a[s],a[s-2]);break;case 38:this.$=[a[s]];break;case 39:a[s].push(a[s-1]),this.$=a[s];break;case 40:case 42:case 43:break;case 41:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 44:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 46:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 47:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 48:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 49:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 50:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 51:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 52:this.$=r.relationType.AGGREGATION;break;case 53:this.$=r.relationType.EXTENSION;break;case 54:this.$=r.relationType.COMPOSITION;break;case 55:this.$=r.relationType.DEPENDENCY;break;case 56:this.$=r.lineType.LINE;break;case 57:this.$=r.lineType.DOTTED_LINE;break;case 58:case 64:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 59:case 65:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 60:case 68:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 61:case 69:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 62:case 70:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 63:case 71:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 66:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 67:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 72:r.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[2,8]},t(s,[2,4]),t(s,[2,5]),t(s,[2,6]),t(s,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:l},t([16,21],[2,12]),{5:29,6:28,7:e,8:n,9:r,10:i,12:10,18:a,23:20,25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:c,42:u,44:h,45:f,56:d,57:p,59:g,63:m,77:y,78:v,79:b,80:_},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},t(x,[2,24],{31:[1,50]}),t(x,[2,26]),t(x,[2,27]),t(x,[2,28]),t(x,[2,29]),t(x,[2,30]),t(x,[2,31]),t(x,[2,32]),t(x,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:w,51:k,52:C,53:E,54:S,55:T}),{26:62,27:39,28:40,77:y,78:v,79:b,80:_},t(x,[2,42]),t(x,[2,43]),{27:63,77:y,78:v,79:b},{26:64,27:39,28:40,77:y,78:v,79:b,80:_},{26:65,27:39,28:40,77:y,78:v,79:b,80:_},{26:66,27:39,28:40,77:y,78:v,79:b,80:_},{47:[1,67]},t(A,[2,19],{27:39,28:40,26:68,29:[1,69],77:y,78:v,79:b,80:_}),t(A,[2,20],{29:[1,70]}),t(M,[2,86]),t(M,[2,87]),t(M,[2,88]),t([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),t(N,[2,9]),{14:71,21:l},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:e,8:n,9:r,10:i,12:10,18:a,23:72,24:[2,17],25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:c,42:u,44:h,45:f,56:d,57:p,59:g,63:m,77:y,78:v,79:b,80:_},t(x,[2,25]),{26:73,27:39,28:40,47:[1,74],77:y,78:v,79:b,80:_},{46:75,48:54,49:55,50:w,51:k,52:C,53:E,54:S,55:T},t(x,[2,41]),{49:76,54:S,55:T},t(D,[2,51],{48:77,50:w,51:k,52:C,53:E}),t(O,[2,52]),t(O,[2,53]),t(O,[2,54]),t(O,[2,55]),t(L,[2,56]),t(L,[2,57]),t(x,[2,33],{38:[1,78],39:[1,79]}),{43:[1,80]},{47:[1,81]},{47:[1,82]},{60:[1,83],62:[1,84]},{27:85,77:y,78:v,79:b},t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),{15:[1,86]},{24:[2,18]},t(B,[2,44]),{26:87,27:39,28:40,77:y,78:v,79:b,80:_},{26:88,27:39,28:40,47:[1,89],77:y,78:v,79:b,80:_},t(D,[2,50],{48:90,50:w,51:k,52:C,53:E}),t(D,[2,49]),{27:91,77:y,78:v,79:b},{40:92,44:I},{26:94,27:39,28:40,77:y,78:v,79:b,80:_},t(x,[2,58],{47:[1,95]}),t(x,[2,60],{47:[1,97],58:[1,96]}),t(x,[2,64],{47:[1,98],61:[1,99]}),t(x,[2,68],{47:[1,101],58:[1,100]}),t(x,[2,72]),t(N,[2,10]),t(B,[2,46]),t(B,[2,45]),{26:102,27:39,28:40,77:y,78:v,79:b,80:_},t(D,[2,48]),t(x,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:I},t(x,[2,37]),t(x,[2,59]),t(x,[2,61]),t(x,[2,62],{58:[1,106]}),t(x,[2,65]),t(x,[2,66],{47:[1,107]}),t(x,[2,69]),t(x,[2,70],{58:[1,108]}),t(B,[2,47]),{40:109,44:I},t(x,[2,35]),{41:[2,39]},t(x,[2,63]),t(x,[2,67]),t(x,[2,71]),{41:[1,110]},t(x,[2,36])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],12:[2,11],13:[2,3],19:[2,14],47:[2,13],48:[2,15],72:[2,18],105:[2,39]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},F={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:case 10:case 12:case 19:break;case 11:return 15;case 13:case 14:return 22;case 15:return this.begin("struct"),39;case 16:return"EOF_IN_STRUCT";case 17:return"OPEN_IN_STRUCT";case 18:return this.popState(),41;case 20:return"MEMBER";case 21:return 37;case 22:return 63;case 23:return 56;case 24:return 57;case 25:return 59;case 26:return 42;case 27:return 43;case 28:this.begin("generic");break;case 29:case 32:case 35:case 38:case 41:case 44:this.popState();break;case 30:return"GENERICTYPE";case 31:this.begin("string");break;case 33:return"STR";case 34:this.begin("bqstring");break;case 36:return"BQUOTE_STR";case 37:this.begin("href");break;case 39:return 62;case 40:this.begin("callback_name");break;case 42:this.popState(),this.begin("callback_args");break;case 43:return 60;case 45:return 61;case 46:case 47:case 48:case 49:return 58;case 50:case 51:return 51;case 52:case 53:return 53;case 54:return 52;case 55:return 50;case 56:return 54;case 57:return 55;case 58:return 31;case 59:return 38;case 60:return 75;case 61:return"DOT";case 62:return"PLUS";case 63:return 72;case 64:case 65:return"EQUALS";case 66:return 79;case 67:return"PUNCTUATION";case 68:return 78;case 69:return 77;case 70:return 74;case 71:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[44,45],inclusive:!1},callback_name:{rules:[41,42,43],inclusive:!1},href:{rules:[38,39],inclusive:!1},struct:{rules:[16,17,18,19,20],inclusive:!1},generic:{rules:[29,30],inclusive:!1},bqstring:{rules:[35,36],inclusive:!1},string:{rules:[32,33],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,13,14,15,21,22,23,24,25,26,27,28,31,34,37,40,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],inclusive:!0}}};function P(){this.yy={}}return R.lexer=F,P.prototype=R,R.Parser=P,new P}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8218).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},5890:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,23,41],i=[1,17],a=[1,20],o=[1,25],s=[1,26],l=[1,27],c=[1,28],u=[1,37],h=[23,38,39],f=[4,6,9,11,23,41],d=[34,35,36,37],p=[22,29],g=[1,55],m={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,ALPHANUM:23,attribute:24,attributeType:25,attributeName:26,attributeKeyType:27,attributeComment:28,ATTRIBUTE_WORD:29,ATTRIBUTE_KEY:30,COMMENT:31,cardinality:32,relType:33,ZERO_OR_ONE:34,ZERO_OR_MORE:35,ONE_OR_MORE:36,ONLY_ONE:37,NON_IDENTIFYING:38,IDENTIFYING:39,WORD:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"ALPHANUM",29:"ATTRIBUTE_WORD",30:"ATTRIBUTE_KEY",31:"COMMENT",34:"ZERO_OR_ONE",35:"ZERO_OR_MORE",36:"ONE_OR_MORE",37:"ONLY_ONE",38:"NON_IDENTIFYING",39:"IDENTIFYING",40:"WORD",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[17,1],[21,1],[21,2],[24,2],[24,3],[24,3],[24,4],[25,1],[26,1],[27,1],[28,1],[18,3],[32,1],[32,1],[32,1],[32,1],[33,1],[33,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=a[s];break;case 12:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s]);break;case 17:this.$=[a[s]];break;case 18:a[s].push(a[s-1]),this.$=a[s];break;case 19:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 20:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyType:a[s]};break;case 21:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 22:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyType:a[s-1],attributeComment:a[s]};break;case 26:case 34:this.$=a[s].replace(/"/g,"");break;case 27:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 28:this.$=r.Cardinality.ZERO_OR_ONE;break;case 29:this.$=r.Cardinality.ZERO_OR_MORE;break;case 30:this.$=r.Cardinality.ONE_OR_MORE;break;case 31:this.$=r.Cardinality.ONLY_ONE;break;case 32:this.$=r.Identification.NON_IDENTIFYING;break;case 33:this.$=r.Identification.IDENTIFYING;break;case 36:r.parseDirective("%%{","open_directive");break;case 37:r.parseDirective(a[s],"type_directive");break;case 38:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 39:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,41:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,41:n},{13:8,42:[1,9]},{42:[2,36]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:i,41:n},{1:[2,2]},{14:18,15:[1,19],44:a},t([15,44],[2,37]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:15,10:21,12:4,17:16,23:i,41:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,15],{18:22,32:24,20:[1,23],34:o,35:s,36:l,37:c}),t([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},t(r,[2,5]),{17:32,23:i},{21:33,22:[1,34],24:35,25:36,29:u},{33:38,38:[1,39],39:[1,40]},t(h,[2,28]),t(h,[2,29]),t(h,[2,30]),t(h,[2,31]),t(f,[2,9]),{14:41,44:a},{44:[2,38]},{15:[1,42]},{22:[1,43]},t(r,[2,14]),{21:44,22:[2,17],24:35,25:36,29:u},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:o,35:s,36:l,37:c},t(d,[2,32]),t(d,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},t(r,[2,13]),{22:[2,18]},t(p,[2,19],{27:52,28:53,30:[1,54],31:g}),t([22,29,30,31],[2,24]),{23:[2,27]},t(f,[2,10]),t(r,[2,12]),t(r,[2,34]),t(r,[2,35]),t(p,[2,20],{28:56,31:g}),t(p,[2,21]),t([22,29,31],[2,25]),t(p,[2,26]),t(p,[2,22])],defaultActions:{5:[2,36],7:[2,2],20:[2,39],31:[2,38],37:[2,23],44:[2,18],47:[2,27]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:case 13:case 17:break;case 7:return 11;case 9:return 9;case 10:return 40;case 11:return 4;case 12:return this.begin("block"),20;case 14:return 30;case 15:return 29;case 16:return 31;case 18:return this.popState(),22;case 19:case 32:return e.yytext[0];case 20:case 24:return 34;case 21:case 25:return 35;case 22:case 26:return 36;case 23:return 37;case 27:case 29:case 30:return 38;case 28:return 39;case 31:return 23;case 33:return 6}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:(?:PK)|(?:FK))/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},block:{rules:[13,14,15,16,17,18,19],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,20,21,22,23,24,25,26,27,28,29,30,31,32,33],inclusive:!0}}};function v(){this.yy={}}return m.lexer=y,v.prototype=m,m.Parser=v,new v}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8009).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3602:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,9],n=[1,7],r=[1,6],i=[1,8],a=[1,20,21,22,23,38,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],o=[2,10],s=[1,20],l=[1,21],c=[1,22],u=[1,23],h=[1,30],f=[1,59],d=[1,45],p=[1,49],g=[1,33],m=[1,34],y=[1,35],v=[1,36],b=[1,37],_=[1,53],x=[1,60],w=[1,48],k=[1,50],C=[1,52],E=[1,56],S=[1,57],T=[1,38],A=[1,39],M=[1,40],N=[1,41],D=[1,58],O=[1,47],L=[1,51],B=[1,54],I=[1,55],R=[1,46],F=[1,63],P=[1,68],z=[1,20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],q=[1,72],j=[1,71],H=[1,73],U=[20,21,23,74,75],$=[1,94],W=[1,99],Y=[1,102],V=[1,103],G=[1,96],X=[1,101],Z=[1,104],K=[1,97],Q=[1,109],J=[1,108],tt=[1,98],et=[1,100],nt=[1,105],rt=[1,106],it=[1,107],at=[1,110],ot=[20,21,22,23,74,75],st=[20,21,22,23,48,74,75],lt=[20,21,22,23,40,47,48,50,52,54,56,58,59,60,62,64,66,67,69,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],ct=[20,21,23],ut=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],ht=[1,12,20,21,22,23,24,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],ft=[47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],dt=[1,143],pt=[1,151],gt=[1,152],mt=[1,153],yt=[1,154],vt=[1,138],bt=[1,139],_t=[1,135],xt=[1,146],wt=[1,147],kt=[1,148],Ct=[1,149],Et=[1,150],St=[1,155],Tt=[1,156],At=[1,141],Mt=[1,144],Nt=[1,140],Dt=[1,137],Ot=[20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],Lt=[1,159],Bt=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],It=[20,21,22,23,24,26,38,40,41,42,47,51,53,55,57,59,60,61,63,65,66,68,70,74,75,79,80,81,82,83,84,85,88,98,99,102,104,105,106,107,115,116,117,118,119,120],Rt=[12,21,22,24],Ft=[22,99],Pt=[1,242],zt=[1,237],qt=[1,238],jt=[1,246],Ht=[1,243],Ut=[1,240],$t=[1,239],Wt=[1,241],Yt=[1,244],Vt=[1,245],Gt=[1,247],Xt=[1,265],Zt=[20,21,23,99],Kt=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],Qt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,link:44,node:45,vertex:46,AMP:47,STYLE_SEPARATOR:48,idString:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,ALPHA:59,COLON:60,PIPE:61,CYLINDERSTART:62,CYLINDEREND:63,DIAMOND_START:64,DIAMOND_STOP:65,TAGEND:66,TRAPSTART:67,TRAPEND:68,INVTRAPSTART:69,INVTRAPEND:70,linkStatement:71,arrowText:72,TESTSTR:73,START_LINK:74,LINK:75,textToken:76,STR:77,keywords:78,STYLE:79,LINKSTYLE:80,CLASSDEF:81,CLASS:82,CLICK:83,DOWN:84,UP:85,textNoTags:86,textNoTagsToken:87,DEFAULT:88,stylesOpt:89,alphaNum:90,CALLBACKNAME:91,CALLBACKARGS:92,HREF:93,LINK_TARGET:94,HEX:95,numList:96,INTERPOLATE:97,NUM:98,COMMA:99,style:100,styleComponent:101,MINUS:102,UNIT:103,BRKT:104,DOT:105,PCT:106,TAGSTART:107,alphaNumToken:108,idStringToken:109,alphaNumStatement:110,direction_tb:111,direction_bt:112,direction_rl:113,direction_lr:114,PUNCTUATION:115,UNICODE_TEXT:116,PLUS:117,EQUALS:118,MULT:119,UNDERSCORE:120,graphCodeTokens:121,ARROW_CROSS:122,ARROW_POINT:123,ARROW_CIRCLE:124,ARROW_OPEN:125,QUOTE:126,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",47:"AMP",48:"STYLE_SEPARATOR",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"ALPHA",60:"COLON",61:"PIPE",62:"CYLINDERSTART",63:"CYLINDEREND",64:"DIAMOND_START",65:"DIAMOND_STOP",66:"TAGEND",67:"TRAPSTART",68:"TRAPEND",69:"INVTRAPSTART",70:"INVTRAPEND",73:"TESTSTR",74:"START_LINK",75:"LINK",77:"STR",79:"STYLE",80:"LINKSTYLE",81:"CLASSDEF",82:"CLASS",83:"CLICK",84:"DOWN",85:"UP",88:"DEFAULT",91:"CALLBACKNAME",92:"CALLBACKARGS",93:"HREF",94:"LINK_TARGET",95:"HEX",97:"INTERPOLATE",98:"NUM",99:"COMMA",102:"MINUS",103:"UNIT",104:"BRKT",105:"DOT",106:"PCT",107:"TAGSTART",111:"direction_tb",112:"direction_bt",113:"direction_rl",114:"direction_lr",115:"PUNCTUATION",116:"UNICODE_TEXT",117:"PLUS",118:"EQUALS",119:"MULT",120:"UNDERSCORE",122:"ARROW_CROSS",123:"ARROW_POINT",124:"ARROW_CIRCLE",125:"ARROW_OPEN",126:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[45,1],[45,5],[45,3],[46,4],[46,6],[46,4],[46,4],[46,4],[46,8],[46,4],[46,4],[46,4],[46,6],[46,4],[46,4],[46,4],[46,4],[46,4],[46,1],[44,2],[44,3],[44,3],[44,1],[44,3],[71,1],[72,3],[39,1],[39,2],[39,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[86,1],[86,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[96,1],[96,3],[89,1],[89,3],[100,1],[100,2],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[87,1],[87,1],[87,1],[87,1],[49,1],[49,2],[90,1],[90,2],[110,1],[110,1],[110,1],[110,1],[43,1],[43,1],[43,1],[43,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:a[s]!==[]&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=a[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 48:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 49:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 50:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 51:this.$={stmt:a[s],nodes:a[s]};break;case 52:case 119:case 121:this.$=[a[s]];break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 55:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 56:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"subroutine");break;case 60:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 64:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 70:this.$=a[s],r.addVertex(a[s]);break;case 71:a[s-1].text=a[s],this.$=a[s-1];break;case 72:case 73:a[s-2].text=a[s-1],this.$=a[s-2];break;case 75:var l=r.destructLink(a[s],a[s-2]);this.$={type:l.type,stroke:l.stroke,length:l.length,text:a[s-1]};break;case 76:l=r.destructLink(a[s]),this.$={type:l.type,stroke:l.stroke,length:l.length};break;case 77:this.$=a[s-1];break;case 79:case 93:case 149:case 147:this.$=a[s-1]+""+a[s];break;case 94:case 95:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 96:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 97:case 105:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 98:case 106:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 99:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 100:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 101:case 107:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 102:case 108:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 103:case 109:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 104:case 110:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 111:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 112:case 114:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 113:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 115:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 116:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 117:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 118:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 120:case 122:a[s-2].push(a[s]),this.$=a[s-2];break;case 124:this.$=a[s-1]+a[s];break;case 152:this.$="v";break;case 153:this.$="-";break;case 154:this.$={stmt:"dir",value:"TB"};break;case 155:this.$={stmt:"dir",value:"BT"};break;case 156:this.$={stmt:"dir",value:"RL"};break;case 157:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:r,24:i},{16:15,21:n,22:r,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:m,81:y,82:v,83:b,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,111:T,112:A,113:M,114:N,115:D,116:O,117:L,118:B,119:I,120:R},{8:61,10:[1,62],15:F},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,65],21:[1,66],22:P,27:64,30:67},t(z,[2,11]),t(z,[2,12]),t(z,[2,13]),t(z,[2,14]),t(z,[2,15]),t(z,[2,16]),{9:69,20:q,21:j,23:H,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:q,21:j,23:H},{9:78,20:q,21:j,23:H},{9:79,20:q,21:j,23:H},{9:80,20:q,21:j,23:H},{9:81,20:q,21:j,23:H},{9:83,20:q,21:j,22:[1,82],23:H},t(z,[2,44]),t(U,[2,51],{30:84,22:P}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:$,47:W,59:Y,60:V,77:[1,92],84:G,90:91,91:[1,89],93:[1,90],98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(z,[2,154]),t(z,[2,155]),t(z,[2,156]),t(z,[2,157]),t(ot,[2,52],{48:[1,111]}),t(st,[2,70],{109:123,40:[1,112],47:f,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:d,60:p,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:_,88:x,98:w,99:k,102:C,104:E,105:S,115:D,116:O,117:L,118:B,119:I,120:R}),t(lt,[2,146]),t(lt,[2,171]),t(lt,[2,172]),t(lt,[2,173]),t(lt,[2,174]),t(lt,[2,175]),t(lt,[2,176]),t(lt,[2,177]),t(lt,[2,178]),t(lt,[2,179]),t(lt,[2,180]),t(lt,[2,181]),t(lt,[2,182]),t(lt,[2,183]),t(lt,[2,184]),t(lt,[2,185]),t(lt,[2,186]),{9:124,20:q,21:j,23:H},{11:125,14:[1,126]},t(ct,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,127]},t(ut,[2,34],{30:128,22:P}),t(z,[2,35]),{45:129,46:42,47:f,49:43,59:d,60:p,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,115:D,116:O,117:L,118:B,119:I,120:R},t(ht,[2,45]),t(ht,[2,46]),t(ht,[2,47]),t(ft,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:dt,24:pt,26:gt,38:mt,39:133,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(z,[2,39]),t(z,[2,40]),{22:dt,24:pt,26:gt,38:mt,39:157,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(Ot,o,{17:158}),t(U,[2,50],{47:Lt}),{26:$,47:W,59:Y,60:V,84:G,90:160,95:[1,161],98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},{88:[1,162],96:163,98:[1,164]},{26:$,47:W,59:Y,60:V,84:G,88:[1,165],90:166,98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},{26:$,47:W,59:Y,60:V,84:G,90:167,98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(ct,[2,97],{22:[1,168],92:[1,169]}),t(ct,[2,101],{22:[1,170]}),t(ct,[2,105],{108:95,110:172,22:[1,171],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,115:tt,116:et,117:nt,118:rt,119:it,120:at}),t(ct,[2,107],{22:[1,173]}),t(Bt,[2,148]),t(Bt,[2,150]),t(Bt,[2,151]),t(Bt,[2,152]),t(Bt,[2,153]),t(It,[2,158]),t(It,[2,159]),t(It,[2,160]),t(It,[2,161]),t(It,[2,162]),t(It,[2,163]),t(It,[2,164]),t(It,[2,165]),t(It,[2,166]),t(It,[2,167]),t(It,[2,168]),t(It,[2,169]),t(It,[2,170]),{47:f,49:174,59:d,60:p,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,115:D,116:O,117:L,118:B,119:I,120:R},{22:dt,24:pt,26:gt,38:mt,39:175,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:177,42:yt,47:W,50:[1,176],59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:178,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:179,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:180,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{59:[1,181]},{22:dt,24:pt,26:gt,38:mt,39:182,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:183,42:yt,47:W,59:Y,60:V,64:[1,184],66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:185,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:186,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:187,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(lt,[2,147]),t(Rt,[2,3]),{8:188,15:F},{15:[2,7]},t(a,[2,28]),t(ut,[2,33]),t(U,[2,48],{30:189,22:P}),t(ft,[2,71],{22:[1,190]}),{22:[1,191]},{22:dt,24:pt,26:gt,38:mt,39:192,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,66:vt,74:bt,75:[1,193],76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(It,[2,78]),t(It,[2,80]),t(It,[2,136]),t(It,[2,137]),t(It,[2,138]),t(It,[2,139]),t(It,[2,140]),t(It,[2,141]),t(It,[2,142]),t(It,[2,143]),t(It,[2,144]),t(It,[2,145]),t(It,[2,81]),t(It,[2,82]),t(It,[2,83]),t(It,[2,84]),t(It,[2,85]),t(It,[2,86]),t(It,[2,87]),t(It,[2,88]),t(It,[2,89]),t(It,[2,90]),t(It,[2,91]),{9:196,20:q,21:j,22:dt,23:H,24:pt,26:gt,38:mt,40:[1,195],42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,197],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:m,81:y,82:v,83:b,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,111:T,112:A,113:M,114:N,115:D,116:O,117:L,118:B,119:I,120:R},{22:P,30:198},{22:[1,199],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,108:95,110:172,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},t(Ft,[2,119]),{22:[1,204]},{22:[1,205],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,108:95,110:172,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:[1,206],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,108:95,110:172,115:tt,116:et,117:nt,118:rt,119:it,120:at},{77:[1,207]},t(ct,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},t(Bt,[2,149]),{77:[1,212],94:[1,213]},t(ot,[2,54],{109:123,47:f,59:d,60:p,84:_,88:x,98:w,99:k,102:C,104:E,105:S,115:D,116:O,117:L,118:B,119:I,120:R}),{22:dt,24:pt,26:gt,38:mt,41:[1,214],42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:215,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,51:[1,216],59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,53:[1,217],59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,55:[1,218],59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,57:[1,219],59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{60:[1,220]},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,63:[1,221],66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,65:[1,222],66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,39:223,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,41:[1,224],42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,66:vt,68:[1,225],70:[1,226],74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,66:vt,68:[1,228],70:[1,227],74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{9:229,20:q,21:j,23:H},t(U,[2,49],{47:Lt}),t(ft,[2,73]),t(ft,[2,72]),{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,61:[1,230],66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(ft,[2,75]),t(It,[2,79]),{22:dt,24:pt,26:gt,38:mt,39:231,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(Ot,o,{17:232}),t(z,[2,43]),{46:233,47:f,49:43,59:d,60:p,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,115:D,116:O,117:L,118:B,119:I,120:R},{22:Pt,59:zt,60:qt,79:jt,89:234,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{22:Pt,59:zt,60:qt,79:jt,89:248,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{22:Pt,59:zt,60:qt,79:jt,89:249,95:Ht,97:[1,250],98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{22:Pt,59:zt,60:qt,79:jt,89:251,95:Ht,97:[1,252],98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{98:[1,253]},{22:Pt,59:zt,60:qt,79:jt,89:254,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{22:Pt,59:zt,60:qt,79:jt,89:255,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{26:$,47:W,59:Y,60:V,84:G,90:256,98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(ct,[2,98]),{77:[1,257]},t(ct,[2,102],{22:[1,258]}),t(ct,[2,103]),t(ct,[2,106]),t(ct,[2,108],{22:[1,259]}),t(ct,[2,109]),t(st,[2,55]),{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,51:[1,260],59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(st,[2,62]),t(st,[2,57]),t(st,[2,58]),t(st,[2,59]),{59:[1,261]},t(st,[2,61]),t(st,[2,63]),{22:dt,24:pt,26:gt,38:mt,42:yt,47:W,59:Y,60:V,65:[1,262],66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(st,[2,65]),t(st,[2,66]),t(st,[2,68]),t(st,[2,67]),t(st,[2,69]),t(Rt,[2,4]),t([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:dt,24:pt,26:gt,38:mt,41:[1,263],42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,264],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:m,81:y,82:v,83:b,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,111:T,112:A,113:M,114:N,115:D,116:O,117:L,118:B,119:I,120:R},t(ot,[2,53]),t(ct,[2,111],{99:Xt}),t(Zt,[2,121],{101:266,22:Pt,59:zt,60:qt,79:jt,95:Ht,98:Ut,102:$t,103:Wt,104:Yt,105:Vt,106:Gt}),t(Kt,[2,123]),t(Kt,[2,125]),t(Kt,[2,126]),t(Kt,[2,127]),t(Kt,[2,128]),t(Kt,[2,129]),t(Kt,[2,130]),t(Kt,[2,131]),t(Kt,[2,132]),t(Kt,[2,133]),t(Kt,[2,134]),t(Kt,[2,135]),t(ct,[2,112],{99:Xt}),t(ct,[2,113],{99:Xt}),{22:[1,267]},t(ct,[2,114],{99:Xt}),{22:[1,268]},t(Ft,[2,120]),t(ct,[2,94],{99:Xt}),t(ct,[2,95],{99:Xt}),t(ct,[2,96],{108:95,110:172,26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,115:tt,116:et,117:nt,118:rt,119:it,120:at}),t(ct,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:q,21:j,23:H},t(z,[2,42]),{22:Pt,59:zt,60:qt,79:jt,95:Ht,98:Ut,100:275,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},t(Kt,[2,124]),{26:$,47:W,59:Y,60:V,84:G,90:276,98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},{26:$,47:W,59:Y,60:V,84:G,90:277,98:X,99:Z,102:K,104:Q,105:J,108:95,110:93,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(ct,[2,104]),t(ct,[2,110]),t(st,[2,56]),{22:dt,24:pt,26:gt,38:mt,39:278,42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:134,77:_t,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},t(st,[2,64]),t(Ot,o,{17:279}),t(Zt,[2,122],{101:266,22:Pt,59:zt,60:qt,79:jt,95:Ht,98:Ut,102:$t,103:Wt,104:Yt,105:Vt,106:Gt}),t(ct,[2,117],{108:95,110:172,22:[1,280],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,115:tt,116:et,117:nt,118:rt,119:it,120:at}),t(ct,[2,118],{108:95,110:172,22:[1,281],26:$,47:W,59:Y,60:V,84:G,98:X,99:Z,102:K,104:Q,105:J,115:tt,116:et,117:nt,118:rt,119:it,120:at}),{22:dt,24:pt,26:gt,38:mt,41:[1,282],42:yt,47:W,59:Y,60:V,66:vt,74:bt,76:194,78:145,79:xt,80:wt,81:kt,82:Ct,83:Et,84:St,85:Tt,87:136,88:At,98:X,99:Z,102:Mt,104:Q,105:J,106:Nt,107:Dt,108:142,115:tt,116:et,117:nt,118:rt,119:it,120:at},{18:18,19:19,20:s,21:l,22:c,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,283],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:m,81:y,82:v,83:b,84:_,88:x,98:w,99:k,102:C,104:E,105:S,109:44,111:T,112:A,113:M,114:N,115:D,116:O,117:L,118:B,119:I,120:R},{22:Pt,59:zt,60:qt,79:jt,89:284,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},{22:Pt,59:zt,60:qt,79:jt,89:285,95:Ht,98:Ut,100:235,101:236,102:$t,103:Wt,104:Yt,105:Vt,106:Gt},t(st,[2,60]),t(z,[2,41]),t(ct,[2,115],{99:Xt}),t(ct,[2,116],{99:Xt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},Jt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:this.begin("string");break;case 8:case 17:case 20:case 23:case 26:this.popState();break;case 9:return"STR";case 10:return 79;case 11:return 88;case 12:return 80;case 13:return 97;case 14:return 81;case 15:return 82;case 16:this.begin("href");break;case 18:return 93;case 19:this.begin("callbackname");break;case 21:this.popState(),this.begin("callbackargs");break;case 22:return 91;case 24:return 92;case 25:this.begin("click");break;case 27:return 83;case 28:case 29:return t.lex.firstGraph()&&this.begin("dir"),24;case 30:return 38;case 31:return 42;case 32:case 33:case 34:case 35:return 94;case 36:return this.popState(),25;case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:return this.popState(),26;case 47:return 111;case 48:return 112;case 49:return 113;case 50:return 114;case 51:return 98;case 52:return 104;case 53:return 48;case 54:return 60;case 55:return 47;case 56:return 20;case 57:return 99;case 58:return 119;case 59:case 60:case 61:return 75;case 62:case 63:case 64:return 74;case 65:return 52;case 66:return 53;case 67:return 54;case 68:return 55;case 69:return 56;case 70:return 57;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 102;case 75:return 105;case 76:return 120;case 77:return 117;case 78:return 106;case 79:case 80:return 118;case 81:return 107;case 82:return 66;case 83:return 85;case 84:return"SEP";case 85:return 84;case 86:return 59;case 87:return 68;case 88:return 67;case 89:return 70;case 90:return 69;case 91:return 115;case 92:return 116;case 93:return 61;case 94:return 50;case 95:return 51;case 96:return 40;case 97:return 41;case 98:return 64;case 99:return 65;case 100:return 126;case 101:return 21;case 102:return 22;case 103:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\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u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[23,24],inclusive:!1},callbackname:{rules:[20,21,22],inclusive:!1},href:{rules:[17,18],inclusive:!1},click:{rules:[26,27],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[36,37,38,39,40,41,42,43,44,45,46],inclusive:!1},string:{rules:[8,9],inclusive:!1},INITIAL:{rules:[0,5,6,7,10,11,12,13,14,15,16,19,25,28,29,30,31,32,33,34,35,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],inclusive:!0}}};function te(){this.yy={}}return Qt.lexer=Jt,te.prototype=Qt,Qt.Parser=te,new te}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(5354).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9959:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],i=[1,15],a=[1,16],o=[1,17],s=[1,18],l=[1,19],c=[1,20],u=[1,21],h=[1,22],f=[1,23],d=[1,25],p=[1,27],g=[1,30],m=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],y={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,section:20,clickStatement:21,taskTxt:22,taskData:23,openDirective:24,typeDirective:25,closeDirective:26,":":27,argDirective:28,click:29,callbackname:30,callbackargs:31,href:32,clickStatementDebug:33,open_directive:34,type_directive:35,arg_directive:36,close_directive:37,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"section",22:"taskTxt",23:"taskData",27:":",29:"click",30:"callbackname",31:"callbackargs",32:"href",34:"open_directive",35:"type_directive",36:"arg_directive",37:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[21,2],[21,3],[21,3],[21,4],[21,3],[21,4],[21,2],[33,2],[33,3],[33,3],[33,4],[33,3],[33,4],[33,2],[24,1],[25,1],[28,1],[26,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:r.TopAxis(),this.$=a[s].substr(8);break;case 12:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 14:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 16:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 17:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:r.addTask(a[s-1],a[s]),this.$="task";break;case 23:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 24:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 25:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 26:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 27:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 28:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 29:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 30:case 36:this.$=a[s-1]+" "+a[s];break;case 31:case 32:case 34:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 33:case 35:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:r.parseDirective("%%{","open_directive");break;case 38:r.parseDirective(a[s],"type_directive");break;case 39:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 40:r.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,24:4,34:n},{1:[3]},{3:6,4:2,5:e,24:4,34:n},t(r,[2,3],{6:7}),{25:8,35:[1,9]},{35:[2,37]},{1:[2,1]},{4:26,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:a,14:o,15:s,16:l,17:c,18:u,19:h,20:f,21:24,22:d,24:4,29:p,34:n},{26:28,27:[1,29],37:g},t([27,37],[2,38]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:26,10:31,12:i,13:a,14:o,15:s,16:l,17:c,18:u,19:h,20:f,21:24,22:d,24:4,29:p,34:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),t(r,[2,18]),{23:[1,32]},t(r,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},t(r,[2,5]),t(r,[2,19]),t(r,[2,23],{31:[1,38],32:[1,39]}),t(r,[2,29],{30:[1,40]}),t(m,[2,21]),{26:41,37:g},{37:[2,39]},t(r,[2,24],{32:[1,42]}),t(r,[2,25]),t(r,[2,27],{31:[1,43]}),{11:[1,44]},t(r,[2,26]),t(r,[2,28]),t(m,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},v={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),34;case 1:return this.begin("type_directive"),35;case 2:return this.popState(),this.begin("arg_directive"),27;case 3:return this.popState(),this.popState(),37;case 4:return 36;case 5:case 6:case 7:case 9:case 10:case 11:break;case 8:return 11;case 12:this.begin("href");break;case 13:case 16:case 19:case 22:this.popState();break;case 14:return 32;case 15:this.begin("callbackname");break;case 17:this.popState(),this.begin("callbackargs");break;case 18:return 30;case 20:return 31;case 21:this.begin("click");break;case 23:return 29;case 24:return 5;case 25:return 12;case 26:return 13;case 27:return 14;case 28:return 15;case 29:return 17;case 30:return 16;case 31:return 18;case 32:return"date";case 33:return 19;case 34:return 20;case 35:return 22;case 36:return 23;case 37:return 27;case 38:return 7;case 39:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[19,20],inclusive:!1},callbackname:{rules:[16,17,18],inclusive:!1},href:{rules:[13,14],inclusive:!1},click:{rules:[22,23],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,15,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};function b(){this.yy={}}return y.lexer=v,b.prototype=y,y.Parser=b,new b}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(6878).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},2553:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[2,3],n=[1,7],r=[7,12,15,17,19,20,21],i=[7,11,12,15,17,19,20,21],a=[2,20],o=[1,32],s={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:return r.setDirection(a[s-3]),a[s-1];case 4:r.setOptions(a[s-1]),this.$=a[s];break;case 5:a[s-1]+=a[s],this.$=a[s-1];break;case 7:this.$=[];break;case 8:a[s-1].push(a[s]),this.$=a[s-1];break;case 9:this.$=a[s-1];break;case 11:r.commit(a[s]);break;case 12:r.branch(a[s]);break;case 13:r.checkout(a[s]);break;case 14:r.merge(a[s]);break;case 15:r.reset(a[s]);break;case 16:this.$="";break;case 17:this.$=a[s];break;case 18:this.$=a[s-1]+":"+a[s];break;case 19:this.$=a[s-1]+":"+r.count,r.count=0;break;case 20:r.count=0;break;case 21:r.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:e,9:6,12:n},{5:[1,8]},{7:[1,9]},t(r,[2,7],{10:10,11:[1,11]}),t(i,[2,6]),{6:12,7:e,9:6,12:n},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},t(i,[2,5]),{7:[1,21]},t(r,[2,8]),{12:[1,22]},t(r,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},t(r,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:a,25:31,26:o},{12:a,25:33,26:o},{12:[2,18]},{12:a,25:34,26:o},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},l={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:case 18:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][-_\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}};function c(){this.yy={}}return s.lexer=l,c.prototype=s,s.Parser=c,new c}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8183).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6765:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,a,o){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1428).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},7062:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,5],r=[1,6],i=[1,7],a=[1,9],o=[1,11,13,20,21,22,23],s=[2,5],l=[1,6,11,13,20,21,22,23],c=[20,21,22],u=[2,8],h=[1,18],f=[1,19],d=[1,24],p=[6,20,21,22,23],g={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,openDirective:15,typeDirective:16,closeDirective:17,":":18,argDirective:19,NEWLINE:20,";":21,EOF:22,open_directive:23,type_directive:24,arg_directive:25,close_directive:26,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",18:":",20:"NEWLINE",21:";",22:"EOF",23:"open_directive",24:"type_directive",25:"arg_directive",26:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[15,1],[16,1],[19,1],[17,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),r.setTitle(this.$);break;case 17:r.parseDirective("%%{","open_directive");break;case 18:r.parseDirective(a[s],"type_directive");break;case 19:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 20:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{1:[3]},{3:10,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{3:11,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},t(o,s,{7:12,8:[1,13]}),t(l,[2,14]),t(l,[2,15]),t(l,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},t(c,u,{15:8,9:16,10:17,5:20,1:[2,3],11:h,13:f,23:a}),t(o,s,{7:21}),{17:22,18:[1,23],26:d},t([18,26],[2,18]),t(o,[2,6]),{4:25,20:n,21:r,22:i},{12:[1,26]},{14:[1,27]},t(c,[2,11]),t(c,u,{15:8,9:16,10:17,5:20,1:[2,4],11:h,13:f,23:a}),t(p,[2,12]),{19:28,25:[1,29]},t(p,[2,20]),t(o,[2,7]),t(c,[2,9]),t(c,[2,10]),{17:30,26:d},{26:[2,19]},t(p,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),23;case 1:return this.begin("type_directive"),24;case 2:return this.popState(),this.begin("arg_directive"),18;case 3:return this.popState(),this.popState(),26;case 4:return 25;case 5:case 6:case 8:case 9:break;case 7:return 20;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:this.begin("string");break;case 13:this.popState();break;case 14:return"txt";case 15:return 6;case 16:return 8;case 17:return"value";case 18:return 22}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,15,16,17,18],inclusive:!0}}};function y(){this.yy={}}return g.lexer=m,y.prototype=g,g.Parser=y,new y}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(4551).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3176:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[1,17],i=[2,10],a=[1,21],o=[1,22],s=[1,23],l=[1,24],c=[1,25],u=[1,26],h=[1,19],f=[1,27],d=[1,28],p=[1,31],g=[66,67],m=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],y=[5,6,8,14,35,36,37,38,39,40,48,66,67],v=[1,51],b=[1,52],_=[1,53],x=[1,54],w=[1,55],k=[1,56],C=[1,57],E=[57,58],S=[1,69],T=[1,65],A=[1,66],M=[1,67],N=[1,68],D=[1,70],O=[1,74],L=[1,75],B=[1,72],I=[1,73],R=[5,8,14,35,36,37,38,39,40,48,66,67],F={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,open_directive:14,type_directive:15,arg_directive:16,close_directive:17,requirementDef:18,elementDef:19,relationshipDef:20,requirementType:21,requirementName:22,STRUCT_START:23,requirementBody:24,ID:25,COLONSEP:26,id:27,TEXT:28,text:29,RISK:30,riskLevel:31,VERIFYMTHD:32,verifyType:33,STRUCT_STOP:34,REQUIREMENT:35,FUNCTIONAL_REQUIREMENT:36,INTERFACE_REQUIREMENT:37,PERFORMANCE_REQUIREMENT:38,PHYSICAL_REQUIREMENT:39,DESIGN_CONSTRAINT:40,LOW_RISK:41,MED_RISK:42,HIGH_RISK:43,VERIFY_ANALYSIS:44,VERIFY_DEMONSTRATION:45,VERIFY_INSPECTION:46,VERIFY_TEST:47,ELEMENT:48,elementName:49,elementBody:50,TYPE:51,type:52,DOCREF:53,ref:54,END_ARROW_L:55,relationship:56,LINE:57,END_ARROW_R:58,CONTAINS:59,COPIES:60,DERIVES:61,SATISFIES:62,VERIFIES:63,REFINES:64,TRACES:65,unqString:66,qString:67,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"open_directive",15:"type_directive",16:"arg_directive",17:"close_directive",23:"STRUCT_START",25:"ID",26:"COLONSEP",28:"TEXT",30:"RISK",32:"VERIFYMTHD",34:"STRUCT_STOP",35:"REQUIREMENT",36:"FUNCTIONAL_REQUIREMENT",37:"INTERFACE_REQUIREMENT",38:"PERFORMANCE_REQUIREMENT",39:"PHYSICAL_REQUIREMENT",40:"DESIGN_CONSTRAINT",41:"LOW_RISK",42:"MED_RISK",43:"HIGH_RISK",44:"VERIFY_ANALYSIS",45:"VERIFY_DEMONSTRATION",46:"VERIFY_INSPECTION",47:"VERIFY_TEST",48:"ELEMENT",51:"TYPE",53:"DOCREF",55:"END_ARROW_L",57:"LINE",58:"END_ARROW_R",59:"CONTAINS",60:"COPIES",61:"DERIVES",62:"SATISFIES",63:"VERIFIES",64:"REFINES",65:"TRACES",66:"unqString",67:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[18,5],[24,5],[24,5],[24,5],[24,5],[24,2],[24,1],[21,1],[21,1],[21,1],[21,1],[21,1],[21,1],[31,1],[31,1],[31,1],[33,1],[33,1],[33,1],[33,1],[19,5],[50,5],[50,5],[50,2],[50,1],[20,5],[20,5],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[22,1],[22,1],[27,1],[27,1],[29,1],[29,1],[49,1],[49,1],[52,1],[52,1],[54,1],[54,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:r.parseDirective("%%{","open_directive");break;case 7:r.parseDirective(a[s],"type_directive");break;case 8:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 9:r.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:r.addRequirement(a[s-3],a[s-4]);break;case 17:r.setNewReqId(a[s-2]);break;case 18:r.setNewReqText(a[s-2]);break;case 19:r.setNewReqRisk(a[s-2]);break;case 20:r.setNewReqVerifyMethod(a[s-2]);break;case 23:this.$=r.RequirementType.REQUIREMENT;break;case 24:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=r.RiskLevel.LOW_RISK;break;case 30:this.$=r.RiskLevel.MED_RISK;break;case 31:this.$=r.RiskLevel.HIGH_RISK;break;case 32:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=r.VerifyType.VERIFY_TEST;break;case 36:r.addElement(a[s-3]);break;case 37:r.setNewElementType(a[s-2]);break;case 38:r.setNewElementDocRef(a[s-2]);break;case 41:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 42:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 43:this.$=r.Relationships.CONTAINS;break;case 44:this.$=r.Relationships.COPIES;break;case 45:this.$=r.Relationships.DERIVES;break;case 46:this.$=r.Relationships.SATISFIES;break;case 47:this.$=r.Relationships.VERIFIES;break;case 48:this.$=r.Relationships.REFINES;break;case 49:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n},{1:[3]},{3:7,4:2,5:[1,6],6:e,9:4,14:n},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:e,9:4,14:n},{1:[2,2]},{4:16,5:r,7:12,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{11:29,12:[1,30],17:p},t([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:r,7:33,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{4:16,5:r,7:34,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{4:16,5:r,7:35,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{4:16,5:r,7:36,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{4:16,5:r,7:37,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:l,39:c,40:u,48:h,66:f,67:d},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(g,[2,26]),t(g,[2,27]),t(g,[2,28]),t(m,[2,52]),t(m,[2,53]),t(y,[2,4]),{13:46,16:[1,47]},t(y,[2,9]),{1:[2,3]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{23:[1,48]},{23:[2,50]},{23:[2,51]},{23:[1,49]},{23:[2,56]},{23:[2,57]},{56:50,59:v,60:b,61:_,62:x,63:w,64:k,65:C},{56:58,59:v,60:b,61:_,62:x,63:w,64:k,65:C},{11:59,17:p},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},t(E,[2,43]),t(E,[2,44]),t(E,[2,45]),t(E,[2,46]),t(E,[2,47]),t(E,[2,48]),t(E,[2,49]),{58:[1,63]},t(y,[2,5]),{5:S,24:64,25:T,28:A,30:M,32:N,34:D},{5:O,34:L,50:71,51:B,53:I},{27:76,66:f,67:d},{27:77,66:f,67:d},t(R,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:S,24:82,25:T,28:A,30:M,32:N,34:D},t(R,[2,22]),t(R,[2,36]),{26:[1,83]},{26:[1,84]},{5:O,34:L,50:85,51:B,53:I},t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),{27:86,66:f,67:d},{29:87,66:[1,88],67:[1,89]},{31:90,41:[1,91],42:[1,92],43:[1,93]},{33:94,44:[1,95],45:[1,96],46:[1,97],47:[1,98]},t(R,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},t(R,[2,39]),{5:[1,105]},{5:[1,106]},{5:[2,54]},{5:[2,55]},{5:[1,107]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[1,108]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[1,109]},{5:[2,58]},{5:[2,59]},{5:[1,110]},{5:[2,60]},{5:[2,61]},{5:S,24:111,25:T,28:A,30:M,32:N,34:D},{5:S,24:112,25:T,28:A,30:M,32:N,34:D},{5:S,24:113,25:T,28:A,30:M,32:N,34:D},{5:S,24:114,25:T,28:A,30:M,32:N,34:D},{5:O,34:L,50:115,51:B,53:I},{5:O,34:L,50:116,51:B,53:I},t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,37]),t(R,[2,38])],defaultActions:{5:[2,6],7:[2,2],11:[2,1],32:[2,3],33:[2,11],34:[2,12],35:[2,13],36:[2,14],37:[2,15],39:[2,50],40:[2,51],42:[2,56],43:[2,57],47:[2,8],88:[2,54],89:[2,55],91:[2,29],92:[2,30],93:[2,31],95:[2,32],96:[2,33],97:[2,34],98:[2,35],100:[2,58],101:[2,59],103:[2,60],104:[2,61]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},P={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),14;case 1:return this.begin("type_directive"),15;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),17;case 4:return 16;case 5:return 5;case 6:case 7:case 8:break;case 9:return 8;case 10:return 6;case 11:return 23;case 12:return 34;case 13:return 26;case 14:return 25;case 15:return 28;case 16:return 30;case 17:return 32;case 18:return 35;case 19:return 36;case 20:return 37;case 21:return 38;case 22:return 39;case 23:return 40;case 24:return 41;case 25:return 42;case 26:return 43;case 27:return 44;case 28:return 45;case 29:return 46;case 30:return 47;case 31:return 48;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 62;case 36:return 63;case 37:return 64;case 38:return 65;case 39:return 51;case 40:return 53;case 41:return 55;case 42:return 58;case 43:return 57;case 44:this.begin("string");break;case 45:this.popState();break;case 46:return"qString";case 47:return e.yytext=e.yytext.trim(),66}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[45,46],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,47],inclusive:!0}}};function z(){this.yy={}}return F.lexer=P,z.prototype=F,F.Parser=z,new z}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8800).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6876:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],l=[1,18],c=[1,19],u=[1,21],h=[1,22],f=[1,23],d=[1,29],p=[1,30],g=[1,31],m=[1,32],y=[1,33],v=[1,34],b=[1,37],_=[1,38],x=[1,39],w=[1,40],k=[1,41],C=[1,42],E=[1,45],S=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],T=[1,58],A=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],M=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],N=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],D=[55,56,57],O=[1,4,5,7,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],L={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,activate:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,text2:31,loop:32,end:33,rect:34,opt:35,alt:36,else_sections:37,par:38,par_sections:39,and:40,else:41,note:42,placement:43,over:44,actor_pair:45,links:46,link:47,properties:48,details:49,spaceList:50,",":51,left_of:52,right_of:53,signaltype:54,"+":55,"-":56,ACTOR:57,SOLID_OPEN_ARROW:58,DOTTED_OPEN_ARROW:59,SOLID_ARROW:60,DOTTED_ARROW:61,SOLID_CROSS:62,DOTTED_CROSS:63,SOLID_POINT:64,DOTTED_POINT:65,TXT:66,open_directive:67,type_directive:68,arg_directive:69,close_directive:70,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"activate",24:"deactivate",30:"title",32:"loop",33:"end",34:"rect",35:"opt",36:"alt",38:"par",40:"and",41:"else",42:"note",44:"over",46:"links",47:"link",48:"properties",49:"details",51:",",52:"left_of",53:"right_of",55:"+",56:"-",57:"ACTOR",58:"SOLID_OPEN_ARROW",59:"DOTTED_OPEN_ARROW",60:"SOLID_ARROW",61:"DOTTED_ARROW",62:"SOLID_CROSS",63:"DOTTED_CROSS",64:"SOLID_POINT",65:"DOTTED_POINT",66:"TXT",67:"open_directive",68:"type_directive",69:"arg_directive",70:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[39,1],[39,4],[37,1],[37,4],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[50,2],[50,1],[45,3],[45,1],[43,1],[43,1],[21,5],[21,5],[21,4],[17,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[31,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.apply(a[s]),a[s];case 5:case 9:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 45:this.$=a[s];break;case 12:a[s-3].type="addParticipant",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 13:a[s-1].type="addParticipant",this.$=a[s-1];break;case 14:a[s-3].type="addActor",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 15:a[s-1].type="addActor",this.$=a[s-1];break;case 17:r.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 19:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 25:this.$=[{type:"setTitle",text:a[s-1]}];break;case 26:a[s-1].unshift({type:"loopStart",loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 27:a[s-1].unshift({type:"rectStart",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 28:a[s-1].unshift({type:"optStart",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 29:a[s-1].unshift({type:"altStart",altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 30:a[s-1].unshift({type:"parStart",parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 33:this.$=a[s-3].concat([{type:"and",parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 35:this.$=a[s-3].concat([{type:"else",altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 36:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 37:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 38:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 39:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 40:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 41:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 44:this.$=[a[s-2],a[s]];break;case 46:this.$=r.PLACEMENT.LEFTOF;break;case 47:this.$=r.PLACEMENT.RIGHTOF;break;case 48:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 49:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 50:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 51:this.$={type:"addParticipant",actor:a[s]};break;case 52:this.$=r.LINETYPE.SOLID_OPEN;break;case 53:this.$=r.LINETYPE.DOTTED_OPEN;break;case 54:this.$=r.LINETYPE.SOLID;break;case 55:this.$=r.LINETYPE.DOTTED;break;case 56:this.$=r.LINETYPE.SOLID_CROSS;break;case 57:this.$=r.LINETYPE.DOTTED_CROSS;break;case 58:this.$=r.LINETYPE.SOLID_POINT;break;case 59:this.$=r.LINETYPE.DOTTED_POINT;break;case 60:this.$=r.parseMessage(a[s].trim().substring(1));break;case 61:r.parseDirective("%%{","open_directive");break;case 62:r.parseDirective(a[s],"type_directive");break;case 63:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 64:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:r,11:6,67:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,11:6,67:i},{3:9,4:e,5:n,6:4,7:r,11:6,67:i},{3:10,4:e,5:n,6:4,7:r,11:6,67:i},t([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],a,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:m,36:y,38:v,42:b,46:_,47:x,48:w,49:k,57:C,67:i},{13:43,14:[1,44],70:E},t([14,70],[2,62]),t(S,[2,6]),{6:35,10:46,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:m,36:y,38:v,42:b,46:_,47:x,48:w,49:k,57:C,67:i},t(S,[2,8]),t(S,[2,9]),{17:47,57:C},{17:48,57:C},{5:[1,49]},t(S,[2,17]),{17:50,57:C},{17:51,57:C},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:T},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},t(S,[2,31]),{54:64,58:[1,65],59:[1,66],60:[1,67],61:[1,68],62:[1,69],63:[1,70],64:[1,71],65:[1,72]},{43:73,44:[1,74],52:[1,75],53:[1,76]},{17:77,57:C},{17:78,57:C},{17:79,57:C},{17:80,57:C},t([5,18,51,58,59,60,61,62,63,64,65,66],[2,51]),{5:[1,81]},{15:82,69:[1,83]},{5:[2,64]},t(S,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},t(S,[2,16]),{5:[1,88]},{5:[1,89]},t(S,[2,20]),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),{5:[1,90]},{5:[2,60]},t(A,a,{8:91}),t(A,a,{8:92}),t(A,a,{8:93}),t(M,a,{37:94,8:95}),t(N,a,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:C},t(D,[2,52]),t(D,[2,53]),t(D,[2,54]),t(D,[2,55]),t(D,[2,56]),t(D,[2,57]),t(D,[2,58]),t(D,[2,59]),{17:101,57:C},{17:103,45:102,57:C},{57:[2,46]},{57:[2,47]},{31:104,66:T},{31:105,66:T},{31:106,66:T},{31:107,66:T},t(O,[2,10]),{13:108,70:E},{70:[2,63]},{19:[1,109]},t(S,[2,13]),{19:[1,110]},t(S,[2,15]),t(S,[2,18]),t(S,[2,19]),t(S,[2,25]),{4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,111],34:g,35:m,36:y,38:v,42:b,46:_,47:x,48:w,49:k,57:C,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,112],34:g,35:m,36:y,38:v,42:b,46:_,47:x,48:w,49:k,57:C,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,113],34:g,35:m,36:y,38:v,42:b,46:_,47:x,48:w,49:k,57:C,67:i},{33:[1,114]},{4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,34],34:g,35:m,36:y,38:v,41:[1,115],42:b,46:_,47:x,48:w,49:k,57:C,67:i},{33:[1,116]},{4:o,5:s,6:35,9:14,10:16,11:6,16:l,17:36,20:c,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,32],34:g,35:m,36:y,38:v,40:[1,117],42:b,46:_,47:x,48:w,49:k,57:C,67:i},{17:118,57:C},{17:119,57:C},{31:120,66:T},{31:121,66:T},{31:122,66:T},{51:[1,123],66:[2,45]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},{5:[1,124]},{5:[1,125]},{5:[1,126]},t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),{19:[1,127]},t(S,[2,30]),{19:[1,128]},{31:129,66:T},{31:130,66:T},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:C},t(O,[2,11]),t(S,[2,12]),t(S,[2,14]),t(M,a,{8:95,37:132}),t(N,a,{8:97,39:133}),{5:[2,48]},{5:[2,49]},{66:[2,44]},{33:[2,35]},{33:[2,33]}],defaultActions:{7:[2,61],8:[2,1],9:[2,2],10:[2,3],45:[2,64],58:[2,60],75:[2,46],76:[2,47],83:[2,63],104:[2,38],105:[2,39],106:[2,40],107:[2,41],120:[2,50],121:[2,36],122:[2,37],129:[2,48],130:[2,49],131:[2,44],132:[2,35],133:[2,33]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},B={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),67;case 1:return this.begin("type_directive"),68;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),70;case 4:return 69;case 5:case 39:case 52:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return this.begin("ID"),16;case 12:return this.begin("ID"),20;case 13:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),57;case 14:return this.popState(),this.popState(),this.begin("LINE"),18;case 15:return this.popState(),this.popState(),5;case 16:return this.begin("LINE"),32;case 17:return this.begin("LINE"),34;case 18:return this.begin("LINE"),35;case 19:return this.begin("LINE"),36;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),38;case 22:return this.begin("LINE"),40;case 23:return this.popState(),19;case 24:return 33;case 25:return 52;case 26:return 53;case 27:return 46;case 28:return 47;case 29:return 48;case 30:return 49;case 31:return 44;case 32:return 42;case 33:return this.begin("ID"),23;case 34:return this.begin("ID"),24;case 35:return 30;case 36:return 7;case 37:return 22;case 38:return 51;case 40:return e.yytext=e.yytext.trim(),57;case 41:return 60;case 42:return 61;case 43:return 58;case 44:return 59;case 45:return 62;case 46:return 63;case 47:return 64;case 48:return 65;case 49:return 66;case 50:return 55;case 51:return 56;case 53:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,13],inclusive:!1},ALIAS:{rules:[7,8,14,15],inclusive:!1},LINE:{rules:[7,8,23],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function I(){this.yy={}}return L.lexer=B,I.prototype=L,L.Parser=I,new I}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1993).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3584:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],l=[1,19],c=[1,20],u=[1,21],h=[1,22],f=[1,30],d=[1,23],p=[1,24],g=[1,25],m=[1,26],y=[1,27],v=[1,32],b=[1,33],_=[1,34],x=[1,35],w=[1,31],k=[1,38],C=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],E=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],S=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],T=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],A={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"--\x3e":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,openDirective:31,typeDirective:32,closeDirective:33,":":34,argDirective:35,direction_tb:36,direction_bt:37,direction_rl:38,direction_lr:39,eol:40,";":41,EDGE_STATE:42,left_of:43,right_of:44,open_directive:45,type_directive:46,arg_directive:47,close_directive:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"--\x3e",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",34:":",36:"direction_tb",37:"direction_bt",38:"direction_rl",39:"direction_lr",41:";",42:"EDGE_STATE",43:"left_of",44:"right_of",45:"open_directive",46:"type_directive",47:"arg_directive",48:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[40,1],[40,1],[11,1],[11,1],[28,1],[28,1],[31,1],[32,1],[35,1],[33,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 36:case 37:this.$=a[s];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:a[s],type:"default",description:""};break;case 11:this.$={stmt:"state",id:a[s-1],type:"default",description:r.trimColon(a[s])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-2],type:"default",description:""},state2:{stmt:"state",id:a[s],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-3],type:"default",description:""},state2:{stmt:"state",id:a[s-1],type:"default",description:""},description:a[s].substr(1).trim()};break;case 17:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 18:var l=a[s],c=a[s-2].trim();if(a[s].match(":")){var u=a[s].split(":");l=u[0],c=[c,u[1]]}this.$={stmt:"state",id:l,type:"default",description:c};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 20:this.$={stmt:"state",id:a[s],type:"fork"};break;case 21:this.$={stmt:"state",id:a[s],type:"join"};break;case 22:this.$={stmt:"state",id:a[s],type:"choice"};break;case 23:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:r.parseDirective("%%{","open_directive");break;case 41:r.parseDirective(a[s],"type_directive");break;case 42:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 43:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:r,31:6,45:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,31:6,45:i},{3:9,4:e,5:n,6:4,7:r,31:6,45:i},{3:10,4:e,5:n,6:4,7:r,31:6,45:i},t([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],a,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:28,9:14,10:16,11:18,14:l,15:c,17:u,20:h,22:f,23:d,24:p,25:g,26:m,27:y,30:29,31:6,36:v,37:b,38:_,39:x,42:w,45:i},{33:36,34:[1,37],48:k},t([34,48],[2,41]),t(C,[2,6]),{6:28,10:39,11:18,14:l,15:c,17:u,20:h,22:f,23:d,24:p,25:g,26:m,27:y,30:29,31:6,36:v,37:b,38:_,39:x,42:w,45:i},t(C,[2,8]),t(C,[2,9]),t(C,[2,10],{12:[1,40],13:[1,41]}),t(C,[2,14]),{16:[1,42]},t(C,[2,16],{18:[1,43]}),{21:[1,44]},t(C,[2,20]),t(C,[2,21]),t(C,[2,22]),t(C,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},t(C,[2,26]),t(C,[2,27]),t(E,[2,36]),t(E,[2,37]),t(C,[2,30]),t(C,[2,31]),t(C,[2,32]),t(C,[2,33]),t(S,[2,28]),{35:49,47:[1,50]},t(S,[2,43]),t(C,[2,7]),t(C,[2,11]),{11:51,22:f,42:w},t(C,[2,15]),t(T,a,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:k},{48:[2,42]},t(C,[2,12],{12:[1,57]}),{4:o,5:s,6:28,9:14,10:16,11:18,14:l,15:c,17:u,19:[1,58],20:h,22:f,23:d,24:p,25:g,26:m,27:y,30:29,31:6,36:v,37:b,38:_,39:x,42:w,45:i},t(C,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},t(S,[2,29]),t(C,[2,13]),t(C,[2,17]),t(T,a,{8:62}),t(C,[2,24]),t(C,[2,25]),{4:o,5:s,6:28,9:14,10:16,11:18,14:l,15:c,17:u,19:[1,63],20:h,22:f,23:d,24:p,25:g,26:m,27:y,30:29,31:6,36:v,37:b,38:_,39:x,42:w,45:i},t(C,[2,19])],defaultActions:{7:[2,40],8:[2,1],9:[2,2],10:[2,3],47:[2,38],48:[2,39],50:[2,42]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},M={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:case 26:return 36;case 1:case 27:return 37;case 2:case 28:return 38;case 3:case 29:return 39;case 4:return this.begin("open_directive"),45;case 5:return this.begin("type_directive"),46;case 6:return this.popState(),this.begin("arg_directive"),34;case 7:return this.popState(),this.popState(),48;case 8:return 47;case 9:case 10:case 12:case 13:case 14:case 15:case 39:case 45:break;case 11:case 59:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 33:case 36:this.popState();break;case 19:this.pushState("STATE");break;case 20:case 23:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),25;case 30:this.begin("STATE_STRING");break;case 31:return this.popState(),this.pushState("STATE_ID"),"AS";case 32:case 47:return this.popState(),"ID";case 34:return"STATE_DESCR";case 35:return 17;case 37:return this.popState(),this.pushState("struct"),18;case 38:return this.popState(),19;case 40:return this.begin("NOTE"),27;case 41:return this.popState(),this.pushState("NOTE_ID"),43;case 42:return this.popState(),this.pushState("NOTE_ID"),44;case 43:this.popState(),this.pushState("FLOATING_NOTE");break;case 44:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 46:return"NOTE_TEXT";case 48:return this.popState(),this.pushState("NOTE_TEXT"),22;case 49:return this.popState(),e.yytext=e.yytext.substr(2).trim(),29;case 50:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),29;case 51:case 52:return 7;case 53:return 14;case 54:return 42;case 55:return 22;case 56:return e.yytext=e.yytext.trim(),12;case 57:return 13;case 58:return 26;case 60:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,19,26,27,28,29,38,39,40,54,55,56,57,58],inclusive:!1},FLOATING_NOTE_ID:{rules:[47],inclusive:!1},FLOATING_NOTE:{rules:[44,45,46],inclusive:!1},NOTE_TEXT:{rules:[49,50],inclusive:!1},NOTE_ID:{rules:[48],inclusive:!1},NOTE:{rules:[41,42,43],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[32],inclusive:!1},STATE_STRING:{rules:[33,34],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,20,21,22,23,24,25,30,31,35,36,37],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,37,40,51,52,53,54,55,56,57,59,60],inclusive:!0}}};function N(){this.yy={}}return A.lexer=M,N.prototype=A,A.Parser=N,new N}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(3069).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9763:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,17,18,19,21],i=[1,15],a=[1,16],o=[1,17],s=[1,21],l=[4,6,9,11,17,18,19,21],c={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,section:18,taskName:19,taskData:20,open_directive:21,type_directive:22,arg_directive:23,close_directive:24,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"section",19:"taskName",20:"taskData",21:"open_directive",22:"type_directive",23:"arg_directive",24:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$="task";break;case 15:r.parseDirective("%%{","open_directive");break;case 16:r.parseDirective(a[s],"type_directive");break;case 17:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 18:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,21:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,21:n},{13:8,22:[1,9]},{22:[2,15]},{6:[1,10],7:18,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:a,19:o,21:n},{1:[2,2]},{14:19,15:[1,20],24:s},t([15,24],[2,16]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:18,10:22,12:4,17:i,18:a,19:o,21:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,12]),{20:[1,23]},t(r,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},t(r,[2,5]),t(r,[2,13]),t(l,[2,9]),{14:27,24:s},{24:[2,17]},{11:[1,28]},t(l,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,c=0,u=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),p={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(p.yy[g]=this.yy[g]);d.setInput(t,p.yy),p.yy.lexer=d,p.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var m=d.yylloc;a.push(m);var y=d.options&&d.options.ranges;function v(){var t;return"number"!=typeof(t=r.pop()||d.lex()||h)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,x,w,k,C,E,S,T,A={};;){if(x=n[n.length-1],this.defaultActions[x]?w=this.defaultActions[x]:(null==b&&(b=v()),w=o[x]&&o[x][b]),void 0===w||!w.length||!w[0]){var M="";for(C in T=[],o[x])this.terminals_[C]&&C>u&&T.push("'"+this.terminals_[C]+"'");M=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==h?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:m,expected:T})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+b);switch(w[0]){case 1:n.push(b),i.push(d.yytext),a.push(d.yylloc),n.push(w[1]),b=null,_?(b=_,_=null):(c=d.yyleng,s=d.yytext,l=d.yylineno,m=d.yylloc);break;case 2:if(E=this.productions_[w[1]][1],A.$=i[i.length-E],A._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},y&&(A._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(A,[s,c,l,p.yy,w[1],i,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),i=i.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[w[1]][0]),i.push(A.$),a.push(A._$),S=o[n[n.length-2]][n[n.length-1]],n.push(S);break;case 3:return!0}}return!0}},u={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),21;case 1:return this.begin("type_directive"),22;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),24;case 4:return 23;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 15:return 15;case 16:return 6;case 17:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};function h(){this.yy={}}return c.lexer=u,h.prototype=c,c.Parser=h,new h}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(9143).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9609:t=>{var e=/^(%20|\s)*(javascript|data)/im,n=/[^\x20-\x7E]/gim,r=/^([^:]+):/gm,i=[".","/"];t.exports={sanitizeUrl:function(t){if(!t)return"about:blank";var a,o,s=t.replace(n,"").trim();return function(t){return i.indexOf(t[0])>-1}(s)?s:(o=s.match(r))?(a=o[0],e.test(a)?"about:blank":s):"about:blank"}}},3841:t=>{t.exports=function(t,e){return t.intersect(e)}},7458:(t,e,n)=>{n.d(e,{Z:()=>AE});var r=n(1941),i=n.n(r),a={debug:1,info:2,warn:3,error:4,fatal:5},o={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal";isNaN(t)&&(t=t.toLowerCase(),void 0!==a[t]&&(t=a[t])),o.trace=function(){},o.debug=function(){},o.info=function(){},o.warn=function(){},o.error=function(){},o.fatal=function(){},t<=a.fatal&&(o.fatal=console.error?console.error.bind(console,l("FATAL"),"color: orange"):console.log.bind(console,"",l("FATAL"))),t<=a.error&&(o.error=console.error?console.error.bind(console,l("ERROR"),"color: orange"):console.log.bind(console,"",l("ERROR"))),t<=a.warn&&(o.warn=console.warn?console.warn.bind(console,l("WARN"),"color: orange"):console.log.bind(console,"",l("WARN"))),t<=a.info&&(o.info=console.info?console.info.bind(console,l("INFO"),"color: lightblue"):console.log.bind(console,"",l("INFO"))),t<=a.debug&&(o.debug=console.debug?console.debug.bind(console,l("DEBUG"),"color: lightgreen"):console.log.bind(console,"",l("DEBUG")))},l=function(t){var e=i()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function c(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function u(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function h(t){return t}var f=1e-6;function d(t){return"translate("+t+",0)"}function p(t){return"translate(0,"+t+")"}function g(t){return e=>+t(e)}function m(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function y(){return!this.__axis}function v(t,e){var n=[],r=null,i=null,a=6,o=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=1===t||4===t?-1:1,u=4===t||2===t?"x":"y",v=1===t||3===t?d:p;function b(d){var p=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,b=null==i?e.tickFormat?e.tickFormat.apply(e,n):h:i,_=Math.max(a,0)+s,x=e.range(),w=+x[0]+l,k=+x[x.length-1]+l,C=(e.bandwidth?m:g)(e.copy(),l),E=d.selection?d.selection():d,S=E.selectAll(".domain").data([null]),T=E.selectAll(".tick").data(p,e).order(),A=T.exit(),M=T.enter().append("g").attr("class","tick"),N=T.select("line"),D=T.select("text");S=S.merge(S.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(M),N=N.merge(M.append("line").attr("stroke","currentColor").attr(u+"2",c*a)),D=D.merge(M.append("text").attr("fill","currentColor").attr(u,c*_).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),d!==E&&(S=S.transition(d),T=T.transition(d),N=N.transition(d),D=D.transition(d),A=A.transition(d).attr("opacity",f).attr("transform",(function(t){return isFinite(t=C(t))?v(t+l):this.getAttribute("transform")})),M.attr("opacity",f).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:C(t))+l)}))),A.remove(),S.attr("d",4===t||2===t?o?"M"+c*o+","+w+"H"+l+"V"+k+"H"+c*o:"M"+l+","+w+"V"+k:o?"M"+w+","+c*o+"V"+l+"H"+k+"V"+c*o:"M"+w+","+l+"H"+k),T.attr("opacity",1).attr("transform",(function(t){return v(C(t)+l)})),N.attr(u+"2",c*a),D.attr(u,c*_).text(b),E.filter(y).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),E.each((function(){this.__axis=C}))}return b.scale=function(t){return arguments.length?(e=t,b):e},b.ticks=function(){return n=Array.from(arguments),b},b.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),b):n.slice()},b.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),b):r&&r.slice()},b.tickFormat=function(t){return arguments.length?(i=t,b):i},b.tickSize=function(t){return arguments.length?(a=o=+t,b):a},b.tickSizeInner=function(t){return arguments.length?(a=+t,b):a},b.tickSizeOuter=function(t){return arguments.length?(o=+t,b):o},b.tickPadding=function(t){return arguments.length?(s=+t,b):s},b.offset=function(t){return arguments.length?(l=+t,b):l},b}function b(){}function _(t){return null==t?b:function(){return this.querySelector(t)}}function x(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function w(){return[]}function k(t){return null==t?w:function(){return this.querySelectorAll(t)}}function C(t){return function(){return this.matches(t)}}function E(t){return function(e){return e.matches(t)}}var S=Array.prototype.find;function T(){return this.firstElementChild}var A=Array.prototype.filter;function M(){return Array.from(this.children)}function N(t){return new Array(t.length)}function D(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function O(t){return function(){return t}}function L(t,e,n,r,i,a){for(var o,s=0,l=e.length,c=a.length;se?1:t>=e?0:NaN}D.prototype={constructor:D,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var P="http://www.w3.org/1999/xhtml";const z={svg:"http://www.w3.org/2000/svg",xhtml:P,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function q(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),z.hasOwnProperty(e)?{space:z[e],local:t}:t}function j(t){return function(){this.removeAttribute(t)}}function H(t){return function(){this.removeAttributeNS(t.space,t.local)}}function U(t,e){return function(){this.setAttribute(t,e)}}function $(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Y(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function V(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function G(t){return function(){this.style.removeProperty(t)}}function X(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Z(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function K(t,e){return t.style.getPropertyValue(e)||V(t).getComputedStyle(t,null).getPropertyValue(e)}function Q(t){return function(){delete this[t]}}function J(t,e){return function(){this[t]=e}}function tt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function et(t){return t.trim().split(/^|\s+/)}function nt(t){return t.classList||new rt(t)}function rt(t){this._node=t,this._names=et(t.getAttribute("class")||"")}function it(t,e){for(var n=nt(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Et(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Nt=[null];function Dt(t,e){this._groups=t,this._parents=e}function Ot(){return new Dt([[document.documentElement]],Nt)}Dt.prototype=Ot.prototype={constructor:Dt,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=_+1);!(b=m[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=F);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?G:"function"==typeof e?Z:X)(t,e,null==n?"":n)):K(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Q:"function"==typeof e?tt:J)(t,e)):this.node()[t]},classed:function(t,e){var n=et(t+"");if(arguments.length<2){for(var r=nt(this.node()),i=-1,a=n.length;++i{}};function It(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Pt(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--Ut}()}finally{Ut=0,function(){for(var t,e,n=jt,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:jt=e);Ht=t,re(r)}(),Vt=0}}function ne(){var t=Xt.now(),e=t-Yt;e>1e3&&(Gt-=e,Yt=t)}function re(t){Ut||($t&&($t=clearTimeout($t)),t-Vt>24?(t<1/0&&($t=setTimeout(ee,t-Xt.now()-Gt)),Wt&&(Wt=clearInterval(Wt))):(Wt||(Yt=Xt.now(),Wt=setInterval(ne,1e3)),Ut=1,Zt(ee)))}function ie(t,e,n){var r=new Jt;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Jt.prototype=te.prototype={constructor:Jt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Kt():+n)+(null==e?0:+e),this._next||Ht===this||(Ht?Ht._next=this:jt=this,Ht=this),this._call=t,this._time=n,re()},stop:function(){this._call&&(this._call=null,this._time=1/0,re())}};var ae=qt("start","end","cancel","interrupt"),oe=[];function se(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(l){var c,u,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return ie(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function ce(t,e){var n=ue(t,e);if(n.state>3)throw new Error("too late; already running");return n}function ue(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function he(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var fe,de=180/Math.PI,pe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ge(t,e,n,r,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:he(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,l),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:he(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,l),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:he(t,n)},{i:s-2,x:he(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,n=-1,r=l.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?He(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?He(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=De.exec(t))?new We(e[1],e[2],e[3],1):(e=Oe.exec(t))?new We(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Le.exec(t))?He(e[1],e[2],e[3],e[4]):(e=Be.exec(t))?He(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ie.exec(t))?Xe(e[1],e[2]/100,e[3]/100,1):(e=Re.exec(t))?Xe(e[1],e[2]/100,e[3]/100,e[4]):Fe.hasOwnProperty(t)?je(Fe[t]):"transparent"===t?new We(NaN,NaN,NaN,0):null}function je(t){return new We(t>>16&255,t>>8&255,255&t,1)}function He(t,e,n,r){return r<=0&&(t=e=n=NaN),new We(t,e,n,r)}function Ue(t){return t instanceof Ce||(t=qe(t)),t?new We((t=t.rgb()).r,t.g,t.b,t.opacity):new We}function $e(t,e,n,r){return 1===arguments.length?Ue(t):new We(t,e,n,null==r?1:r)}function We(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ye(){return"#"+Ge(this.r)+Ge(this.g)+Ge(this.b)}function Ve(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ge(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Xe(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,n,r)}function Ze(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof Ce||(t=qe(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new Ke(o,s,l,t.opacity)}function Ke(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Qe(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}we(Ce,qe,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Pe,formatHex:Pe,formatHsl:function(){return Ze(this).formatHsl()},formatRgb:ze,toString:ze}),we(We,$e,ke(Ce,{brighter:function(t){return t=null==t?Se:Math.pow(Se,t),new We(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ee:Math.pow(Ee,t),new We(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatRgb:Ve,toString:Ve})),we(Ke,(function(t,e,n,r){return 1===arguments.length?Ze(t):new Ke(t,e,n,null==r?1:r)}),ke(Ce,{brighter:function(t){return t=null==t?Se:Math.pow(Se,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ee:Math.pow(Ee,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new We(Qe(t>=240?t-240:t+120,i,r),Qe(t,i,r),Qe(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const Je=t=>()=>t;function tn(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Je(isNaN(t)?e:t)}const en=function t(e){var n=function(t){return 1==(t=+t)?tn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Je(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=$e(t)).r,(e=$e(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=tn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);var nn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rn=new RegExp(nn.source,"g");function an(t,e){var n,r,i,a=nn.lastIndex=rn.lastIndex=0,o=-1,s=[],l=[];for(t+="",e+="";(n=nn.exec(t))&&(r=rn.exec(e));)(i=r.index)>a&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:he(n,r)})),a=rn.lastIndex;return a=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?le:ce;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var kn=Lt.prototype.constructor;function Cn(t){return function(){this.style.removeProperty(t)}}function En(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Sn(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&En(t,a,n)),r}return a._value=e,a}function Tn(t){return function(e){this.textContent=t.call(this,e)}}function An(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Tn(r)),e}return r._value=t,r}var Mn=0;function Nn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Dn(){return++Mn}var On=Lt.prototype;Nn.prototype={constructor:Nn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Lt.prototype.transition=function(t){var e,n;t instanceof Nn?(e=t._id,t=t._name):(e=Dn(),(n=Ln).time=Kt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?er(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?er(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=$n.exec(t))?new ir(e[1],e[2],e[3],1):(e=Wn.exec(t))?new ir(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Yn.exec(t))?er(e[1],e[2],e[3],e[4]):(e=Vn.exec(t))?er(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Gn.exec(t))?lr(e[1],e[2]/100,e[3]/100,1):(e=Xn.exec(t))?lr(e[1],e[2]/100,e[3]/100,e[4]):Zn.hasOwnProperty(t)?tr(Zn[t]):"transparent"===t?new ir(NaN,NaN,NaN,0):null}function tr(t){return new ir(t>>16&255,t>>8&255,255&t,1)}function er(t,e,n,r){return r<=0&&(t=e=n=NaN),new ir(t,e,n,r)}function nr(t){return t instanceof Fn||(t=Jn(t)),t?new ir((t=t.rgb()).r,t.g,t.b,t.opacity):new ir}function rr(t,e,n,r){return 1===arguments.length?nr(t):new ir(t,e,n,null==r?1:r)}function ir(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ar(){return"#"+sr(this.r)+sr(this.g)+sr(this.b)}function or(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function sr(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function lr(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ur(t,e,n,r)}function cr(t){if(t instanceof ur)return new ur(t.h,t.s,t.l,t.opacity);if(t instanceof Fn||(t=Jn(t)),!t)return new ur;if(t instanceof ur)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new ur(o,s,l,t.opacity)}function ur(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function hr(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}In(Fn,Jn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Kn,formatHex:Kn,formatHsl:function(){return cr(this).formatHsl()},formatRgb:Qn,toString:Qn}),In(ir,rr,Rn(Fn,{brighter:function(t){return t=null==t?zn:Math.pow(zn,t),new ir(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Pn:Math.pow(Pn,t),new ir(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ar,formatHex:ar,formatRgb:or,toString:or})),In(ur,(function(t,e,n,r){return 1===arguments.length?cr(t):new ur(t,e,n,null==r?1:r)}),Rn(Fn,{brighter:function(t){return t=null==t?zn:Math.pow(zn,t),new ur(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Pn:Math.pow(Pn,t),new ur(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new ir(hr(t>=240?t-240:t+120,i,r),hr(t,i,r),hr(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const fr=Math.PI/180,dr=180/Math.PI,pr=.96422,gr=.82521,mr=4/29,yr=6/29,vr=3*yr*yr;function br(t){if(t instanceof _r)return new _r(t.l,t.a,t.b,t.opacity);if(t instanceof Tr)return Ar(t);t instanceof ir||(t=nr(t));var e,n,r=Cr(t.r),i=Cr(t.g),a=Cr(t.b),o=xr((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?e=n=o:(e=xr((.4360747*r+.3850649*i+.1430804*a)/pr),n=xr((.0139322*r+.0971045*i+.7141733*a)/gr)),new _r(116*o-16,500*(e-o),200*(o-n),t.opacity)}function _r(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function xr(t){return t>.008856451679035631?Math.pow(t,1/3):t/vr+mr}function wr(t){return t>yr?t*t*t:vr*(t-mr)}function kr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Cr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Er(t){if(t instanceof Tr)return new Tr(t.h,t.c,t.l,t.opacity);if(t instanceof _r||(t=br(t)),0===t.a&&0===t.b)return new Tr(NaN,0()=>t;function Nr(t,e){return function(n){return t+n*e}}function Dr(t,e){var n=e-t;return n?Nr(t,n):Mr(isNaN(t)?e:t)}function Or(t){return function(e,n){var r=t((e=Sr(e)).h,(n=Sr(n)).h),i=Dr(e.c,n.c),a=Dr(e.l,n.l),o=Dr(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}const Lr=Or((function(t,e){var n=e-t;return n?Nr(t,n>180||n<-180?n-360*Math.round(n/360):n):Mr(isNaN(t)?e:t)}));var Br=Math.sqrt(50),Ir=Math.sqrt(10),Rr=Math.sqrt(2);function Fr(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=Br?10:a>=Ir?5:a>=Rr?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=Br?10:a>=Ir?5:a>=Rr?2:1)}function Pr(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=Br?i*=10:a>=Ir?i*=5:a>=Rr&&(i*=2),ee?1:t>=e?0:NaN}function qr(t){let e=t,n=t,r=t;function i(t,e,i=0,a=t.length){if(i>>1;r(t[n],e)<0?i=n+1:a=n}while(it(e)-n,n=zr,r=(e,n)=>zr(t(e),n)),{left:i,center:function(t,n,r=0,a=t.length){const o=i(t,n,r,a-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,i=0,a=t.length){if(i>>1;r(t[n],e)<=0?i=n+1:a=n}while(i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ui(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ui(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Jr.exec(t))?new di(e[1],e[2],e[3],1):(e=ti.exec(t))?new di(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ei.exec(t))?ui(e[1],e[2],e[3],e[4]):(e=ni.exec(t))?ui(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ri.exec(t))?yi(e[1],e[2]/100,e[3]/100,1):(e=ii.exec(t))?yi(e[1],e[2]/100,e[3]/100,e[4]):ai.hasOwnProperty(t)?ci(ai[t]):"transparent"===t?new di(NaN,NaN,NaN,0):null}function ci(t){return new di(t>>16&255,t>>8&255,255&t,1)}function ui(t,e,n,r){return r<=0&&(t=e=n=NaN),new di(t,e,n,r)}function hi(t){return t instanceof Yr||(t=li(t)),t?new di((t=t.rgb()).r,t.g,t.b,t.opacity):new di}function fi(t,e,n,r){return 1===arguments.length?hi(t):new di(t,e,n,null==r?1:r)}function di(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function pi(){return"#"+mi(this.r)+mi(this.g)+mi(this.b)}function gi(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function mi(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function yi(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new bi(t,e,n,r)}function vi(t){if(t instanceof bi)return new bi(t.h,t.s,t.l,t.opacity);if(t instanceof Yr||(t=li(t)),!t)return new bi;if(t instanceof bi)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new bi(o,s,l,t.opacity)}function bi(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function _i(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}$r(Yr,li,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:oi,formatHex:oi,formatHsl:function(){return vi(this).formatHsl()},formatRgb:si,toString:si}),$r(di,fi,Wr(Yr,{brighter:function(t){return t=null==t?Gr:Math.pow(Gr,t),new di(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Vr:Math.pow(Vr,t),new di(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:pi,formatHex:pi,formatRgb:gi,toString:gi})),$r(bi,(function(t,e,n,r){return 1===arguments.length?vi(t):new bi(t,e,n,null==r?1:r)}),Wr(Yr,{brighter:function(t){return t=null==t?Gr:Math.pow(Gr,t),new bi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Vr:Math.pow(Vr,t),new bi(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new di(_i(t>=240?t-240:t+120,i,r),_i(t,i,r),_i(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const xi=t=>()=>t;function wi(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):xi(isNaN(t)?e:t)}const ki=function t(e){var n=function(t){return 1==(t=+t)?wi:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):xi(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=fi(t)).r,(e=fi(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=wi(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function Ci(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;na&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:Si(n,r)})),a=Mi.lastIndex;return ae&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=l>2?zi:Pi,i=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(o.map(t),s,l)))(t(c(e)))}return h.invert=function(n){return c(e((a||(a=r(s,o.map(t),Si)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Bi),u()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),u()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),l=Li,u()},h.clamp=function(t){return arguments.length?(c=!!t||Ri,u()):c!==Ri},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}()(Ri,Ri)}function Hi(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Ui,$i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Wi(t){if(!(e=$i.exec(t)))throw new Error("invalid format: "+t);var e;return new Yi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Yi(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Vi(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Gi(t){return(t=Vi(Math.abs(t)))?t[1]:NaN}function Xi(t,e){var n=Vi(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Wi.prototype=Yi.prototype,Yi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Zi={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Xi(100*t,e),r:Xi,s:function(t,e){var n=Vi(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(Ui=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Vi(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ki(t){return t}var Qi,Ji,ta,ea=Array.prototype.map,na=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ra(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){var r,i,a,o,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e0){let n=Math.round(t/o),r=Math.round(e/o);for(n*oe&&--r,a=new Array(i=r-n+1);++se&&--r,a=new Array(i=r-n+1);++s0;){if((i=Fr(l,c,n))===r)return a[o]=l,a[s]=c,e(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function ia(){var t=ji();return t.copy=function(){return qi(t,ia())},Hi.apply(t,arguments),ra(t)}Qi=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Ki:(e=ea.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Ki:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ea.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=Wi(t)).fill,n=t.align,h=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):Zi[v]||(void 0===m&&(m=12),y=!0,v="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===f?i:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===f?a:/[%p]/.test(v)?l:"",x=Zi[v],w=/[defgprs%]/.test(v);function k(t){var i,a,l,f=b,k=_;if("c"===v)k=x(t)+k,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:x(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),C&&0==+t&&"+"!==h&&(C=!1),f=(C?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===v?na[8+Ui/3]:"")+k+(C&&"("===h?")":""),w)for(i=-1,a=t.length;++i(l=t.charCodeAt(i))||l>57){k=(46===l?o+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var E=f.length+t.length+k.length,S=E>1)+f+t+k+S.slice(E);break;default:t=S+f+t+k}return s(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=Wi(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Gi(e)/3))),i=Math.pow(10,-r),a=na[8+r/3];return function(t){return n(i*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ji=Qi.format,ta=Qi.formatPrefix;class aa extends Map{constructor(t,e=sa){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(oa(this,t))}has(t){return super.has(oa(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function oa({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function sa(t){return null!==t&&"object"==typeof t?t.valueOf():t}const la=Symbol("implicit");function ca(){var t=new aa,e=[],n=[],r=la;function i(i){let a=t.get(i);if(void 0===a){if(r!==la)return r;t.set(i,a=e.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new aa;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return ca(e,n).unknown(r)},Hi.apply(i,arguments),i}const ua=1e3,ha=6e4,fa=36e5,da=864e5,pa=6048e5,ga=31536e6;var ma=new Date,ya=new Date;function va(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return ma.setTime(+e),ya.setTime(+r),t(ma),t(ya),Math.floor(n(ma,ya))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var ba=va((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));ba.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?va((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):ba:null};const _a=ba;var xa=va((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*ua)}),(function(t,e){return(e-t)/ua}),(function(t){return t.getUTCSeconds()}));const wa=xa;var ka=va((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ua)}),(function(t,e){t.setTime(+t+e*ha)}),(function(t,e){return(e-t)/ha}),(function(t){return t.getMinutes()}));const Ca=ka;var Ea=va((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*ua-t.getMinutes()*ha)}),(function(t,e){t.setTime(+t+e*fa)}),(function(t,e){return(e-t)/fa}),(function(t){return t.getHours()}));const Sa=Ea;var Ta=va((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ha)/da),(t=>t.getDate()-1));const Aa=Ta;function Ma(t){return va((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ha)/pa}))}var Na=Ma(0),Da=Ma(1);Ma(2),Ma(3);var Oa=Ma(4);Ma(5),Ma(6);var La=va((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const Ba=La;var Ia=va((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Ia.every=function(t){return isFinite(t=Math.floor(t))&&t>0?va((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const Ra=Ia;va((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*ha)}),(function(t,e){return(e-t)/ha}),(function(t){return t.getUTCMinutes()})),va((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*fa)}),(function(t,e){return(e-t)/fa}),(function(t){return t.getUTCHours()}));var Fa=va((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/da}),(function(t){return t.getUTCDate()-1}));const Pa=Fa;function za(t){return va((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/pa}))}var qa=za(0),ja=za(1);za(2),za(3);var Ha=za(4);za(5),za(6),va((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));var Ua=va((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Ua.every=function(t){return isFinite(t=Math.floor(t))&&t>0?va((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const $a=Ua;function Wa(t,e,n,r,i,a){const o=[[wa,1,ua],[wa,5,5e3],[wa,15,15e3],[wa,30,3e4],[a,1,ha],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,fa],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,da],[r,2,1728e5],[n,1,pa],[e,1,2592e6],[e,3,7776e6],[t,1,ga]];function s(e,n,r){const i=Math.abs(n-e)/r,a=qr((([,,t])=>t)).right(o,i);if(a===o.length)return t.every(Pr(e/ga,n/ga,r));if(0===a)return _a.every(Math.max(Pr(e,n,r),1));const[s,l]=o[i/o[a-1][2][t.toLowerCase(),e])))}function so(t,e,n){var r=to.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function lo(t,e,n){var r=to.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function co(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function uo(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function ho(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function fo(t,e,n){var r=to.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function po(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function go(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function mo(t,e,n){var r=to.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function yo(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function vo(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function bo(t,e,n){var r=to.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function _o(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function xo(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function wo(t,e,n){var r=to.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ko(t,e,n){var r=to.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Co(t,e,n){var r=to.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Eo(t,e,n){var r=eo.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function So(t,e,n){var r=to.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function To(t,e,n){var r=to.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ao(t,e){return ro(t.getDate(),e,2)}function Mo(t,e){return ro(t.getHours(),e,2)}function No(t,e){return ro(t.getHours()%12||12,e,2)}function Do(t,e){return ro(1+Aa.count(Ra(t),t),e,3)}function Oo(t,e){return ro(t.getMilliseconds(),e,3)}function Lo(t,e){return Oo(t,e)+"000"}function Bo(t,e){return ro(t.getMonth()+1,e,2)}function Io(t,e){return ro(t.getMinutes(),e,2)}function Ro(t,e){return ro(t.getSeconds(),e,2)}function Fo(t){var e=t.getDay();return 0===e?7:e}function Po(t,e){return ro(Na.count(Ra(t)-1,t),e,2)}function zo(t){var e=t.getDay();return e>=4||0===e?Oa(t):Oa.ceil(t)}function qo(t,e){return t=zo(t),ro(Oa.count(Ra(t),t)+(4===Ra(t).getDay()),e,2)}function jo(t){return t.getDay()}function Ho(t,e){return ro(Da.count(Ra(t)-1,t),e,2)}function Uo(t,e){return ro(t.getFullYear()%100,e,2)}function $o(t,e){return ro((t=zo(t)).getFullYear()%100,e,2)}function Wo(t,e){return ro(t.getFullYear()%1e4,e,4)}function Yo(t,e){var n=t.getDay();return ro((t=n>=4||0===n?Oa(t):Oa.ceil(t)).getFullYear()%1e4,e,4)}function Vo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ro(e/60|0,"0",2)+ro(e%60,"0",2)}function Go(t,e){return ro(t.getUTCDate(),e,2)}function Xo(t,e){return ro(t.getUTCHours(),e,2)}function Zo(t,e){return ro(t.getUTCHours()%12||12,e,2)}function Ko(t,e){return ro(1+Pa.count($a(t),t),e,3)}function Qo(t,e){return ro(t.getUTCMilliseconds(),e,3)}function Jo(t,e){return Qo(t,e)+"000"}function ts(t,e){return ro(t.getUTCMonth()+1,e,2)}function es(t,e){return ro(t.getUTCMinutes(),e,2)}function ns(t,e){return ro(t.getUTCSeconds(),e,2)}function rs(t){var e=t.getUTCDay();return 0===e?7:e}function is(t,e){return ro(qa.count($a(t)-1,t),e,2)}function as(t){var e=t.getUTCDay();return e>=4||0===e?Ha(t):Ha.ceil(t)}function os(t,e){return t=as(t),ro(Ha.count($a(t),t)+(4===$a(t).getUTCDay()),e,2)}function ss(t){return t.getUTCDay()}function ls(t,e){return ro(ja.count($a(t)-1,t),e,2)}function cs(t,e){return ro(t.getUTCFullYear()%100,e,2)}function us(t,e){return ro((t=as(t)).getUTCFullYear()%100,e,2)}function hs(t,e){return ro(t.getUTCFullYear()%1e4,e,4)}function fs(t,e){var n=t.getUTCDay();return ro((t=n>=4||0===n?Ha(t):Ha.ceil(t)).getUTCFullYear()%1e4,e,4)}function ds(){return"+0000"}function ps(){return"%"}function gs(t){return+t}function ms(t){return Math.floor(+t/1e3)}function ys(t){return new Date(t)}function vs(t){return t instanceof Date?+t:+new Date(+t)}function bs(t,e,n,r,i,a,o,s,l,c){var u=ji(),h=u.invert,f=u.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),_=c("%Y");function x(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:gs,s:ms,S:Ro,u:Fo,U:Po,V:qo,w:jo,W:Ho,x:null,X:null,y:Uo,Y:Wo,Z:Vo,"%":ps},_={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Go,e:Go,f:Jo,g:us,G:fs,H:Xo,I:Zo,j:Ko,L:Qo,m:ts,M:es,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:gs,s:ms,S:ns,u:rs,U:is,V:os,w:ss,W:ls,x:null,X:null,y:cs,Y:hs,Z:ds,"%":ps},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:vo,e:vo,f:Co,g:po,G:fo,H:_o,I:_o,j:bo,L:ko,m:yo,M:xo,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:mo,Q:So,s:To,S:wo,u:lo,U:co,V:uo,w:so,W:ho,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:po,Y:fo,Z:go,"%":Eo};function w(t,e){return function(n){var r,i,a,o=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=Xa(Za(a.y,0,1))).getUTCDay(),r=i>4||0===i?ja.ceil(r):ja(r),r=Pa.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=Ga(Za(a.y,0,1))).getDay(),r=i>4||0===i?Da.ceil(r):Da(r),r=Aa.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?Xa(Za(a.y,0,1)).getUTCDay():Ga(Za(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Xa(a)):Ga(a)}}function C(t,e,n,r){for(var i,a,o=0,s=e.length,l=n.length;o=l)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in Ja?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),_.x=w(n,_),_.X=w(r,_),_.c=w(e,_),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Qa=Ka.format,Ka.parse,Ka.utcFormat,Ka.utcParse;var Ts=Array.prototype.find;function As(){return this.firstElementChild}var Ms=Array.prototype.filter;function Ns(){return Array.from(this.children)}function Ds(t){return new Array(t.length)}function Os(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Ls(t){return function(){return t}}function Bs(t,e,n,r,i,a){for(var o,s=0,l=e.length,c=a.length;se?1:t>=e?0:NaN}Os.prototype={constructor:Os,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var zs="http://www.w3.org/1999/xhtml";const qs={svg:"http://www.w3.org/2000/svg",xhtml:zs,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function js(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),qs.hasOwnProperty(e)?{space:qs[e],local:t}:t}function Hs(t){return function(){this.removeAttribute(t)}}function Us(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $s(t,e){return function(){this.setAttribute(t,e)}}function Ws(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ys(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Vs(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Gs(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Xs(t){return function(){this.style.removeProperty(t)}}function Zs(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ks(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Qs(t,e){return t.style.getPropertyValue(e)||Gs(t).getComputedStyle(t,null).getPropertyValue(e)}function Js(t){return function(){delete this[t]}}function tl(t,e){return function(){this[t]=e}}function el(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function nl(t){return t.trim().split(/^|\s+/)}function rl(t){return t.classList||new il(t)}function il(t){this._node=t,this._names=nl(t.getAttribute("class")||"")}function al(t,e){for(var n=rl(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Sl(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Dl=[null];function Ol(t,e){this._groups=t,this._parents=e}function Ll(){return new Ol([[document.documentElement]],Dl)}Ol.prototype=Ll.prototype={constructor:Ol,select:function(t){"function"!=typeof t&&(t=xs(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=_+1);!(b=m[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Ps);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?Xs:"function"==typeof e?Ks:Zs)(t,e,null==n?"":n)):Qs(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Js:"function"==typeof e?el:tl)(t,e)):this.node()[t]},classed:function(t,e){var n=nl(t+"");if(arguments.length<2){for(var r=rl(this.node()),i=-1,a=n.length;++izl)if(Math.abs(u*s-l*c)>zl&&i){var f=n-a,d=r-o,p=s*s+l*l,g=f*f+d*d,m=Math.sqrt(p),y=Math.sqrt(h),v=i*Math.tan((Fl-Math.acos((p+h-g)/(2*m*y)))/2),b=v/y,_=v/m;Math.abs(b-1)>zl&&(this._+="L"+(t+b*c)+","+(e+b*u)),this._+="A"+i+","+i+",0,0,"+ +(u*f>c*d)+","+(this._x1=t+_*s)+","+(this._y1=e+_*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+o,c=e+s,u=1^a,h=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>zl||Math.abs(this._y1-c)>zl)&&(this._+="L"+l+","+c),n&&(h<0&&(h=h%Pl+Pl),h>ql?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>zl&&(this._+="A"+n+","+n+",0,"+ +(h>=Fl)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const Ul=Hl;function $l(t){return function(){return t}}var Wl=Math.abs,Yl=Math.atan2,Vl=Math.cos,Gl=Math.max,Xl=Math.min,Zl=Math.sin,Kl=Math.sqrt,Ql=1e-12,Jl=Math.PI,tc=Jl/2,ec=2*Jl;function nc(t){return t>1?0:t<-1?Jl:Math.acos(t)}function rc(t){return t>=1?tc:t<=-1?-tc:Math.asin(t)}function ic(t){return t.innerRadius}function ac(t){return t.outerRadius}function oc(t){return t.startAngle}function sc(t){return t.endAngle}function lc(t){return t&&t.padAngle}function cc(t,e,n,r,i,a,o,s){var l=n-t,c=r-e,u=o-i,h=s-a,f=h*l-u*c;if(!(f*fN*N+D*D&&(C=S,E=T),{cx:C,cy:E,x01:-u,y01:-h,x11:C*(i/x-1),y11:E*(i/x-1)}}function hc(){var t=ic,e=ac,n=$l(0),r=null,i=oc,a=sc,o=lc,s=null;function l(){var l,c,u=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-tc,d=a.apply(this,arguments)-tc,p=Wl(d-f),g=d>f;if(s||(s=l=Ul()),hQl)if(p>ec-Ql)s.moveTo(h*Vl(f),h*Zl(f)),s.arc(0,0,h,f,d,!g),u>Ql&&(s.moveTo(u*Vl(d),u*Zl(d)),s.arc(0,0,u,d,f,g));else{var m,y,v=f,b=d,_=f,x=d,w=p,k=p,C=o.apply(this,arguments)/2,E=C>Ql&&(r?+r.apply(this,arguments):Kl(u*u+h*h)),S=Xl(Wl(h-u)/2,+n.apply(this,arguments)),T=S,A=S;if(E>Ql){var M=rc(E/u*Zl(C)),N=rc(E/h*Zl(C));(w-=2*M)>Ql?(_+=M*=g?1:-1,x-=M):(w=0,_=x=(f+d)/2),(k-=2*N)>Ql?(v+=N*=g?1:-1,b-=N):(k=0,v=b=(f+d)/2)}var D=h*Vl(v),O=h*Zl(v),L=u*Vl(x),B=u*Zl(x);if(S>Ql){var I,R=h*Vl(b),F=h*Zl(b),P=u*Vl(_),z=u*Zl(_);if(pQl?A>Ql?(m=uc(P,z,D,O,h,A,g),y=uc(R,F,L,B,h,A,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),AQl&&w>Ql?T>Ql?(m=uc(L,B,R,F,u,-T,g),y=uc(D,O,P,z,u,-T,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),Tt?1:e>=t?0:NaN}function bc(t){return t}function _c(){}function xc(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function wc(t){this._context=t}function kc(t){return new wc(t)}function Cc(t){this._context=t}function Ec(t){this._context=t}function Sc(t){this._context=t}function Tc(t){return t<0?-1:1}function Ac(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Tc(a)+Tc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Mc(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Nc(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function Dc(t){this._context=t}function Oc(t){this._context=new Lc(t)}function Lc(t){this._context=t}function Bc(t){this._context=t}function Ic(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var Fc=new Date,Pc=new Date;function zc(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Fc.setTime(+e),Pc.setTime(+r),t(Fc),t(Pc),Math.floor(n(Fc,Pc))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}const qc=864e5,jc=6048e5;function Hc(t){return zc((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/jc}))}var Uc=Hc(0),$c=Hc(1);Hc(2),Hc(3);var Wc=Hc(4);Hc(5),Hc(6);var Yc=zc((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/qc}),(function(t){return t.getUTCDate()-1}));const Vc=Yc;function Gc(t){return zc((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/jc}))}var Xc=Gc(0),Zc=Gc(1);Gc(2),Gc(3);var Kc=Gc(4);Gc(5),Gc(6);var Qc=zc((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/qc),(t=>t.getDate()-1));const Jc=Qc;var tu=zc((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));tu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?zc((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const eu=tu;var nu=zc((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));nu.every=function(t){return isFinite(t=Math.floor(t))&&t>0?zc((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const ru=nu;function iu(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function au(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ou(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var su,lu,cu={"-":"",_:" ",0:"0"},uu=/^\s*\d+/,hu=/^%/,fu=/[\\^$*+?|[\]().{}]/g;function du(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[t.toLowerCase(),e])))}function yu(t,e,n){var r=uu.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function vu(t,e,n){var r=uu.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function bu(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function _u(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function xu(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function wu(t,e,n){var r=uu.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ku(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Cu(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Eu(t,e,n){var r=uu.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Su(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Tu(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Au(t,e,n){var r=uu.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Mu(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nu(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Du(t,e,n){var r=uu.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Ou(t,e,n){var r=uu.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Lu(t,e,n){var r=uu.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Bu(t,e,n){var r=hu.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Iu(t,e,n){var r=uu.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Ru(t,e,n){var r=uu.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Fu(t,e){return du(t.getDate(),e,2)}function Pu(t,e){return du(t.getHours(),e,2)}function zu(t,e){return du(t.getHours()%12||12,e,2)}function qu(t,e){return du(1+Jc.count(eu(t),t),e,3)}function ju(t,e){return du(t.getMilliseconds(),e,3)}function Hu(t,e){return ju(t,e)+"000"}function Uu(t,e){return du(t.getMonth()+1,e,2)}function $u(t,e){return du(t.getMinutes(),e,2)}function Wu(t,e){return du(t.getSeconds(),e,2)}function Yu(t){var e=t.getDay();return 0===e?7:e}function Vu(t,e){return du(Xc.count(eu(t)-1,t),e,2)}function Gu(t){var e=t.getDay();return e>=4||0===e?Kc(t):Kc.ceil(t)}function Xu(t,e){return t=Gu(t),du(Kc.count(eu(t),t)+(4===eu(t).getDay()),e,2)}function Zu(t){return t.getDay()}function Ku(t,e){return du(Zc.count(eu(t)-1,t),e,2)}function Qu(t,e){return du(t.getFullYear()%100,e,2)}function Ju(t,e){return du((t=Gu(t)).getFullYear()%100,e,2)}function th(t,e){return du(t.getFullYear()%1e4,e,4)}function eh(t,e){var n=t.getDay();return du((t=n>=4||0===n?Kc(t):Kc.ceil(t)).getFullYear()%1e4,e,4)}function nh(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+du(e/60|0,"0",2)+du(e%60,"0",2)}function rh(t,e){return du(t.getUTCDate(),e,2)}function ih(t,e){return du(t.getUTCHours(),e,2)}function ah(t,e){return du(t.getUTCHours()%12||12,e,2)}function oh(t,e){return du(1+Vc.count(ru(t),t),e,3)}function sh(t,e){return du(t.getUTCMilliseconds(),e,3)}function lh(t,e){return sh(t,e)+"000"}function ch(t,e){return du(t.getUTCMonth()+1,e,2)}function uh(t,e){return du(t.getUTCMinutes(),e,2)}function hh(t,e){return du(t.getUTCSeconds(),e,2)}function fh(t){var e=t.getUTCDay();return 0===e?7:e}function dh(t,e){return du(Uc.count(ru(t)-1,t),e,2)}function ph(t){var e=t.getUTCDay();return e>=4||0===e?Wc(t):Wc.ceil(t)}function gh(t,e){return t=ph(t),du(Wc.count(ru(t),t)+(4===ru(t).getUTCDay()),e,2)}function mh(t){return t.getUTCDay()}function yh(t,e){return du($c.count(ru(t)-1,t),e,2)}function vh(t,e){return du(t.getUTCFullYear()%100,e,2)}function bh(t,e){return du((t=ph(t)).getUTCFullYear()%100,e,2)}function _h(t,e){return du(t.getUTCFullYear()%1e4,e,4)}function xh(t,e){var n=t.getUTCDay();return du((t=n>=4||0===n?Wc(t):Wc.ceil(t)).getUTCFullYear()%1e4,e,4)}function wh(){return"+0000"}function kh(){return"%"}function Ch(t){return+t}function Eh(t){return Math.floor(+t/1e3)}su=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,c=gu(i),u=mu(i),h=gu(a),f=mu(a),d=gu(o),p=mu(o),g=gu(s),m=mu(s),y=gu(l),v=mu(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Fu,e:Fu,f:Hu,g:Ju,G:eh,H:Pu,I:zu,j:qu,L:ju,m:Uu,M:$u,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ch,s:Eh,S:Wu,u:Yu,U:Vu,V:Xu,w:Zu,W:Ku,x:null,X:null,y:Qu,Y:th,Z:nh,"%":kh},_={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:rh,e:rh,f:lh,g:bh,G:xh,H:ih,I:ah,j:oh,L:sh,m:ch,M:uh,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ch,s:Eh,S:hh,u:fh,U:dh,V:gh,w:mh,W:yh,x:null,X:null,y:vh,Y:_h,Z:wh,"%":kh},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:Tu,e:Tu,f:Lu,g:ku,G:wu,H:Mu,I:Mu,j:Au,L:Ou,m:Su,M:Nu,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Eu,Q:Iu,s:Ru,S:Du,u:vu,U:bu,V:_u,w:yu,W:xu,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:ku,Y:wu,Z:Cu,"%":Bu};function w(t,e){return function(n){var r,i,a,o=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=au(ou(a.y,0,1))).getUTCDay(),r=i>4||0===i?$c.ceil(r):$c(r),r=Vc.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=iu(ou(a.y,0,1))).getDay(),r=i>4||0===i?Zc.ceil(r):Zc(r),r=Jc.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?au(ou(a.y,0,1)).getUTCDay():iu(ou(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,au(a)):iu(a)}}function C(t,e,n,r){for(var i,a,o=0,s=e.length,l=n.length;o=l)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in cu?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),_.x=w(n,_),_.X=w(r,_),_.c=w(e,_),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),lu=su.format,su.parse,su.utcFormat,su.utcParse;var Sh={value:()=>{}};function Th(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Nh(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--Ih}()}finally{Ih=0,function(){for(var t,e,n=Lh,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Lh=e);Bh=t,Xh(r)}(),zh=0}}function Gh(){var t=jh.now(),e=t-Ph;e>1e3&&(qh-=e,Ph=t)}function Xh(t){Ih||(Rh&&(Rh=clearTimeout(Rh)),t-zh>24?(t<1/0&&(Rh=setTimeout(Vh,t-jh.now()-qh)),Fh&&(Fh=clearInterval(Fh))):(Fh||(Ph=jh.now(),Fh=setInterval(Gh,1e3)),Ih=1,Hh(Vh)))}function Zh(t,e,n){var r=new Wh;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Wh.prototype=Yh.prototype={constructor:Wh,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Uh():+n)+(null==e?0:+e),this._next||Bh===this||(Bh?Bh._next=this:Lh=this,Bh=this),this._call=t,this._time=n,Xh()},stop:function(){this._call&&(this._call=null,this._time=1/0,Xh())}};var Kh=Oh("start","end","cancel","interrupt"),Qh=[];function Jh(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(l){var c,u,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return Zh(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function ef(t,e){var n=nf(t,e);if(n.state>3)throw new Error("too late; already running");return n}function nf(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function rf(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var af,of=180/Math.PI,sf={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function lf(t,e,n,r,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:rf(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,l),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:rf(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,l),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:rf(t,n)},{i:s-2,x:rf(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,n=-1,r=l.length;++na&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:rf(n,r)})),a=yf.lastIndex;return a=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?tf:ef;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Rf=Bl.prototype.constructor;function Ff(t){return function(){this.style.removeProperty(t)}}function Pf(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function zf(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Pf(t,a,n)),r}return a._value=e,a}function qf(t){return function(e){this.textContent=t.call(this,e)}}function jf(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&qf(r)),e}return r._value=t,r}var Hf=0;function Uf(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $f(){return++Hf}var Wf=Bl.prototype;Uf.prototype={constructor:Uf,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=xs(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},Bl.prototype.transition=function(t){var e,n;t instanceof Uf?(e=t._id,t=t._name):(e=$f(),(n=Yf).time=Uh(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;ae?1:t>=e?0:NaN}od.prototype={constructor:od,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var dd="http://www.w3.org/1999/xhtml";const pd={svg:"http://www.w3.org/2000/svg",xhtml:dd,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function gd(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pd.hasOwnProperty(e)?{space:pd[e],local:t}:t}function md(t){return function(){this.removeAttribute(t)}}function yd(t){return function(){this.removeAttributeNS(t.space,t.local)}}function vd(t,e){return function(){this.setAttribute(t,e)}}function bd(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function _d(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function xd(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function wd(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function kd(t){return function(){this.style.removeProperty(t)}}function Cd(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ed(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Sd(t,e){return t.style.getPropertyValue(e)||wd(t).getComputedStyle(t,null).getPropertyValue(e)}function Td(t){return function(){delete this[t]}}function Ad(t,e){return function(){this[t]=e}}function Md(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Nd(t){return t.trim().split(/^|\s+/)}function Dd(t){return t.classList||new Od(t)}function Od(t){this._node=t,this._names=Nd(t.getAttribute("class")||"")}function Ld(t,e){for(var n=Dd(t),r=-1,i=e.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function tp(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ap=[null];function op(t,e){this._groups=t,this._parents=e}function sp(){return new op([[document.documentElement]],ap)}op.prototype=sp.prototype={constructor:op,select:function(t){"function"!=typeof t&&(t=Xf(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=x&&(x=_+1);!(b=m[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=fd);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?kd:"function"==typeof e?Ed:Cd)(t,e,null==n?"":n)):Sd(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Td:"function"==typeof e?Md:Ad)(t,e)):this.node()[t]},classed:function(t,e){var n=Nd(t+"");if(arguments.length<2){for(var r=Dd(this.node()),i=-1,a=n.length;++i{}};function up(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function dp(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--vp}()}finally{vp=0,function(){for(var t,e,n=mp,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:mp=e);yp=t,Op(r)}(),wp=0}}function Dp(){var t=Cp.now(),e=t-xp;e>1e3&&(kp-=e,xp=t)}function Op(t){vp||(bp&&(bp=clearTimeout(bp)),t-wp>24?(t<1/0&&(bp=setTimeout(Np,t-Cp.now()-kp)),_p&&(_p=clearInterval(_p))):(_p||(xp=Cp.now(),_p=setInterval(Dp,1e3)),vp=1,Ep(Np)))}function Lp(t,e,n){var r=new Ap;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}Ap.prototype=Mp.prototype={constructor:Ap,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Sp():+n)+(null==e?0:+e),this._next||yp===this||(yp?yp._next=this:mp=this,yp=this),this._call=t,this._time=n,Op()},stop:function(){this._call&&(this._call=null,this._time=1/0,Op())}};var Bp=gp("start","end","cancel","interrupt"),Ip=[];function Rp(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(l){var c,u,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return Lp(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function Pp(t,e){var n=zp(t,e);if(n.state>3)throw new Error("too late; already running");return n}function zp(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function qp(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var jp,Hp=180/Math.PI,Up={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function $p(t,e,n,r,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:qp(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,l),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:qp(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,l),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:qp(t,n)},{i:s-2,x:qp(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,n=-1,r=l.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?yg(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?yg(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=og.exec(t))?new _g(e[1],e[2],e[3],1):(e=sg.exec(t))?new _g(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=lg.exec(t))?yg(e[1],e[2],e[3],e[4]):(e=cg.exec(t))?yg(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ug.exec(t))?Cg(e[1],e[2]/100,e[3]/100,1):(e=hg.exec(t))?Cg(e[1],e[2]/100,e[3]/100,e[4]):fg.hasOwnProperty(t)?mg(fg[t]):"transparent"===t?new _g(NaN,NaN,NaN,0):null}function mg(t){return new _g(t>>16&255,t>>8&255,255&t,1)}function yg(t,e,n,r){return r<=0&&(t=e=n=NaN),new _g(t,e,n,r)}function vg(t){return t instanceof Jp||(t=gg(t)),t?new _g((t=t.rgb()).r,t.g,t.b,t.opacity):new _g}function bg(t,e,n,r){return 1===arguments.length?vg(t):new _g(t,e,n,null==r?1:r)}function _g(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function xg(){return"#"+kg(this.r)+kg(this.g)+kg(this.b)}function wg(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function kg(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Cg(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Sg(t,e,n,r)}function Eg(t){if(t instanceof Sg)return new Sg(t.h,t.s,t.l,t.opacity);if(t instanceof Jp||(t=gg(t)),!t)return new Sg;if(t instanceof Sg)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new Sg(o,s,l,t.opacity)}function Sg(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Tg(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Kp(Jp,gg,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:dg,formatHex:dg,formatHsl:function(){return Eg(this).formatHsl()},formatRgb:pg,toString:pg}),Kp(_g,bg,Qp(Jp,{brighter:function(t){return t=null==t?eg:Math.pow(eg,t),new _g(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?tg:Math.pow(tg,t),new _g(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:xg,formatHex:xg,formatRgb:wg,toString:wg})),Kp(Sg,(function(t,e,n,r){return 1===arguments.length?Eg(t):new Sg(t,e,n,null==r?1:r)}),Qp(Jp,{brighter:function(t){return t=null==t?eg:Math.pow(eg,t),new Sg(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?tg:Math.pow(tg,t),new Sg(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new _g(Tg(t>=240?t-240:t+120,i,r),Tg(t,i,r),Tg(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const Ag=t=>()=>t;function Mg(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):Ag(isNaN(t)?e:t)}const Ng=function t(e){var n=function(t){return 1==(t=+t)?Mg:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ag(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=bg(t)).r,(e=bg(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=Mg(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);var Dg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Og=new RegExp(Dg.source,"g");function Lg(t,e){var n,r,i,a=Dg.lastIndex=Og.lastIndex=0,o=-1,s=[],l=[];for(t+="",e+="";(n=Dg.exec(t))&&(r=Og.exec(e));)(i=r.index)>a&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:qp(n,r)})),a=Og.lastIndex;return a=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Fp:Pp;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Kg=lp.prototype.constructor;function Qg(t){return function(){this.style.removeProperty(t)}}function Jg(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function tm(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Jg(t,a,n)),r}return a._value=e,a}function em(t){return function(e){this.textContent=t.call(this,e)}}function nm(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&em(r)),e}return r._value=t,r}var rm=0;function im(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function am(){return++rm}var om=lp.prototype;im.prototype={constructor:im,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Xf(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)}))},lp.prototype.transition=function(t){var e,n;t instanceof im?(e=t._id,t=t._name):(e=am(),(n=sm).time=Sp(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a0?ym(Mm,--Tm):0,Em--,10===Am&&(Em=1,Cm--),Am}function Om(){return Am=Tm2||Rm(Am)>3?"":" "}function zm(t,e){for(;--e&&Om()&&!(Am<48||Am>102||Am>57&&Am<65||Am>70&&Am<97););return Im(t,Bm()+(e<6&&32==Lm()&&32==Om()))}function qm(t){for(;Om();)switch(Am){case t:return Tm;case 34:case 39:34!==t&&39!==t&&qm(Am);break;case 40:41===t&&qm(t);break;case 92:Om()}return Tm}function jm(t,e){for(;Om()&&t+Am!==57&&(t+Am!==84||47!==Lm()););return"/*"+Im(e,Tm-1)+"*"+dm(47===t?t:Om())}function Hm(t){for(;!Rm(Lm());)Om();return Im(t,Tm)}function Um(t){return function(t){return Mm="",t}($m("",null,null,null,[""],t=function(t){return Cm=Em=1,Sm=bm(Mm=t),Tm=0,[]}(t),0,[0],t))}function $m(t,e,n,r,i,a,o,s,l){for(var c=0,u=0,h=o,f=0,d=0,p=0,g=1,m=1,y=1,v=0,b="",_=i,x=a,w=r,k=b;m;)switch(p=v,v=Om()){case 40:if(108!=p&&58==k.charCodeAt(h-1)){-1!=mm(k+=gm(Fm(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=Fm(v);break;case 9:case 10:case 13:case 32:k+=Pm(p);break;case 92:k+=zm(Bm()-1,7);continue;case 47:switch(Lm()){case 42:case 47:xm(Ym(jm(Om(),Bm()),e,n),l);break;default:k+="/"}break;case 123*g:s[c++]=bm(k)*y;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:d>0&&bm(k)-h&&xm(d>32?Vm(k+";",r,n,h-1):Vm(gm(k," ","")+";",r,n,h-2),l);break;case 59:k+=";";default:if(xm(w=Wm(k,e,n,c,u,i,s,b,_=[],x=[],h),a),123===v)if(0===u)$m(k,e,w,w,_,a,h,s,x);else switch(f){case 100:case 109:case 115:$m(t,w,w,r&&xm(Wm(t,w,w,0,0,i,s,b,i,_=[],h),x),i,x,h,s,r?_:x);break;default:$m(k,w,w,w,[""],x,0,s,x)}}c=u=d=0,g=y=1,b=k="",h=o;break;case 58:h=1+bm(k),d=p;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Dm())continue;switch(k+=dm(v),v*g){case 38:y=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(bm(k)-1)*y,y=1;break;case 64:45===Lm()&&(k+=Fm(Om())),f=Lm(),u=h=bm(b=k+=Hm(Bm())),v++;break;case 45:45===p&&2==bm(k)&&(g=0)}}return a}function Wm(t,e,n,r,i,a,o,s,l,c,u){for(var h=i-1,f=0===i?a:[""],d=_m(f),p=0,g=0,m=0;p0?f[y]+" "+v:gm(v,/&\f/g,f[y])))&&(l[m++]=b);return Nm(t,e,n,0===i?um:s,l,c,u)}function Ym(t,e,n){return Nm(t,e,n,cm,dm(Am),vm(t,2,-2),0)}function Vm(t,e,n,r){return Nm(t,e,n,hm,vm(t,0,r),vm(t,r+1,-1),r)}const Gm="8.14.0";var Xm=n(9609),Zm=n(7856),Km=n.n(Zm),Qm=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,(function(t){return String.fromCharCode(parseInt(t.replace(/\\u/g,""),16))}));return(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,(function(t,e){return String.fromCharCode(parseInt(e,16))}))).replace(/\\[\d\d\d]{3}/gi,(function(t){return String.fromCharCode(parseInt(t.replace(/\\/g,""),8))}))).replace(/\\[\d\d\d]{2}/gi,(function(t){return String.fromCharCode(parseInt(t.replace(/\\/g,""),8))}))},Jm=function(t){for(var e="",n=0;n>=0;){if(!((n=t.indexOf("=0)){e+=t,n=-1;break}e+=t.substr(0,n),(n=(t=t.substr(n+1)).indexOf("<\/script>"))>=0&&(n+=9,t=t.substr(n))}var r=Qm(e);return(r=(r=(r=r.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/')}if(void 0!==n)switch(g){case"flowchart":case"flowchart-v2":n(C,L_.bindFunctions);break;case"gantt":n(C,Fx.bindFunctions);break;case"class":case"classDiagram":n(C,Rv.bindFunctions);break;default:n(C)}else o.debug("CB = undefined!");vk.forEach((function(t){t()})),vk=[];var T="sandbox"===s.securityLevel?"#i"+t:"#d"+t,A=Il(T).node();return null!==A&&"function"==typeof A.remove&&Il(T).node().remove(),C},parse:function(t){var e=mv(),n=sv.detectInit(t,e);n&&o.debug("reinit ",n);var r,i=sv.detectType(t,e);switch(o.debug("Type "+i),i){case"git":(r=iw()).parser.yy=ew;break;case"flowchart":case"flowchart-v2":L_.clear(),(r=I_()).parser.yy=L_;break;case"sequence":(r=Zw()).parser.yy=yk;break;case"gantt":(r=jx()).parser.yy=Fx;break;case"class":case"classDiagram":(r=Hv()).parser.yy=Rv;break;case"state":case"stateDiagram":(r=cC()).parser.yy=CC;break;case"info":o.debug("info info info"),(r=bw()).parser.yy=yw;break;case"pie":o.debug("pie"),(r=kw()).parser.yy=Tw;break;case"er":o.debug("er"),(r=Jb()).parser.yy=Kb;break;case"journey":o.debug("Journey"),(r=QC()).parser.yy=ZC;break;case"requirement":case"requirementDiagram":o.debug("RequirementDiagram"),(r=Ow()).parser.yy=Pw}return r.parser.yy.graphType=i,r.parser.yy.parseError=function(t,e){throw{str:t,hash:e}},r.parse(t),r},parseDirective:function(t,e,n,r){try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":wE={};break;case"type_directive":wE.type=e.toLowerCase();break;case"arg_directive":wE.args=JSON.parse(e);break;case"close_directive":(function(t,e,n){switch(o.debug("Directive type=".concat(e.type," with args:"),e.args),e.type){case"init":case"initialize":["config"].forEach((function(t){void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),o.debug("sanitize in handleDirective",e.args),av(e.args),o.debug("sanitize in handleDirective (done)",e.args),e.args,vv(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":o.warn("themeCss encountered");break;default:o.warn("Unhandled directive: source: '%%{".concat(e.type,": ").concat(JSON.stringify(e.args?e.args:{}),"}%%"),e)}})(t,wE,r),wE=null}}catch(i){o.error("Error while rendering sequenceDiagram directive: ".concat(e," jison context: ").concat(n)),o.error(i.message)}},initialize:function(t){t&&t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),function(t){cv=Ky({},t)}(t),t&&t.theme&&ky[t.theme]?t.themeVariables=ky[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=ky.default.getThemeVariables(t.themeVariables));var e="object"===_E(t)?function(t){return hv=Ky({},uv),hv=Ky(hv,t),t.theme&&(hv.themeVariables=ky[t.theme].getThemeVariables(t.themeVariables)),dv=pv(hv,fv),hv}(t):gv();kE(e),s(e.logLevel)},reinitialize:function(){},getConfig:mv,setConfig:function(t){return Ky(dv,t),mv()},getSiteConfig:gv,updateSiteConfig:function(t){return hv=Ky(hv,t),pv(hv,fv),hv},reset:function(){bv()},globalReset:function(){bv(),kE(mv())},defaultConfig:uv});s(mv().logLevel),bv(mv());const EE=CE;var SE=function(){TE.startOnLoad?EE.getConfig().startOnLoad&&TE.init():void 0===TE.startOnLoad&&(o.debug("In start, no config"),EE.getConfig().startOnLoad&&TE.init())};"undefined"!=typeof document&&window.addEventListener("load",(function(){SE()}),!1);var TE={startOnLoad:!0,htmlLabels:!0,mermaidAPI:EE,parse:EE.parse,render:EE.render,init:function(){var t,e,n=this,r=EE.getConfig();arguments.length>=2?(void 0!==arguments[0]&&(TE.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],"function"==typeof arguments[arguments.length-1]?(e=arguments[arguments.length-1],o.debug("Callback function found")):void 0!==r.mermaid&&("function"==typeof r.mermaid.callback?(e=r.mermaid.callback,o.debug("Callback function found")):o.debug("No Callback function found")),t=void 0===t?document.querySelectorAll(".mermaid"):"string"==typeof t?document.querySelectorAll(t):t instanceof window.Node?[t]:t,o.debug("Start On Load before: "+TE.startOnLoad),void 0!==TE.startOnLoad&&(o.debug("Start On Load inner: "+TE.startOnLoad),EE.updateSiteConfig({startOnLoad:TE.startOnLoad})),void 0!==TE.ganttConfig&&EE.updateSiteConfig({gantt:TE.ganttConfig});for(var i,a=new sv.initIdGeneratior(r.deterministicIds,r.deterministicIDSeed),s=function(r){var s=t[r];if(s.getAttribute("data-processed"))return"continue";s.setAttribute("data-processed",!0);var l="mermaid-".concat(a.next());i=s.innerHTML,i=sv.entityDecode(i).trim().replace(//gi,"
    ");var c=sv.detectInit(i);c&&o.debug("Detected early reinit: ",c);try{EE.render(l,i,(function(t,n){s.innerHTML=t,void 0!==e&&e(l),n&&n(s)}),s)}catch(u){o.warn("Syntax Error rendering"),o.warn(u),n.parseError&&n.parseError(u)}},l=0;l{t.exports={graphlib:n(6614),dagre:n(1463),intersect:n(8114),render:n(5787),util:n(8355),version:n(5689)}},9144:(t,e,n)=>{var r=n(8355);function i(t,e,n,i){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])}t.exports={default:i,normal:i,vee:function(t,e,n,i){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])},undirected:function(t,e,n,i){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])}}},5632:(t,e,n)=>{var r=n(8355),i=n(4322),a=n(1322);t.exports=function(t,e){var n,o=e.nodes().filter((function(t){return r.isSubgraph(e,t)})),s=t.selectAll("g.cluster").data(o,(function(t){return t}));return s.selectAll("*").remove(),s.enter().append("g").attr("class","cluster").attr("id",(function(t){return e.node(t).id})).style("opacity",0),s=t.selectAll("g.cluster"),r.applyTransition(s,e).style("opacity",1),s.each((function(t){var n=e.node(t),r=i.select(this);i.select(this).append("rect");var o=r.append("g").attr("class","label");a(o,n,n.clusterLabelPos)})),s.selectAll("rect").each((function(t){var n=e.node(t),a=i.select(this);r.applyStyle(a,n.style)})),n=s.exit?s.exit():s.selectAll(null),r.applyTransition(n,e).style("opacity",0).remove(),s}},6315:(t,e,n)=>{var r=n(1034),i=n(1322),a=n(8355),o=n(4322);t.exports=function(t,e){var n,s=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return a.edgeToId(t)})).classed("update",!0);return s.exit().remove(),s.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(s=t.selectAll("g.edgeLabel")).each((function(t){var n=o.select(this);n.select(".label").remove();var a=e.edge(t),s=i(n,e.edge(t),0,0).classed("label",!0),l=s.node().getBBox();a.labelId&&s.attr("id",a.labelId),r.has(a,"width")||(a.width=l.width),r.has(a,"height")||(a.height=l.height)})),n=s.exit?s.exit():s.selectAll(null),a.applyTransition(n,e).style("opacity",0).remove(),s}},940:(t,e,n)=>{var r=n(1034),i=n(7584),a=n(8355),o=n(4322);function s(t,e){var n=(o.line||o.svg.line)().x((function(t){return t.x})).y((function(t){return t.y}));return(n.curve||n.interpolate)(t.curve),n(e)}t.exports=function(t,e,n){var l=t.selectAll("g.edgePath").data(e.edges(),(function(t){return a.edgeToId(t)})).classed("update",!0),c=function(t,e){var n=t.enter().append("g").attr("class","edgePath").style("opacity",0);return n.append("path").attr("class","path").attr("d",(function(t){var n=e.edge(t),i=e.node(t.v).elem;return s(n,r.range(n.points.length).map((function(){return e=(t=i).getBBox(),{x:(n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2)).e,y:n.f};var t,e,n})))})),n.append("defs"),n}(l,e);!function(t,e){var n=t.exit();a.applyTransition(n,e).style("opacity",0).remove()}(l,e);var u=void 0!==l.merge?l.merge(c):l;return a.applyTransition(u,e).style("opacity",1),u.each((function(t){var n=o.select(this),r=e.edge(t);r.elem=this,r.id&&n.attr("id",r.id),a.applyClass(n,r.class,(n.classed("update")?"update ":"")+"edgePath")})),u.selectAll("path.path").each((function(t){var n=e.edge(t);n.arrowheadId=r.uniqueId("arrowhead");var l=o.select(this).attr("marker-end",(function(){return"url("+(t=location.href,e=n.arrowheadId,t.split("#")[0]+"#"+e+")");var t,e})).style("fill","none");a.applyTransition(l,e).attr("d",(function(t){return function(t,e){var n=t.edge(e),r=t.node(e.v),a=t.node(e.w),o=n.points.slice(1,n.points.length-1);return o.unshift(i(r,o[0])),o.push(i(a,o[o.length-1])),s(n,o)}(e,t)})),a.applyStyle(l,n.style)})),u.selectAll("defs *").remove(),u.selectAll("defs").each((function(t){var r=e.edge(t);(0,n[r.arrowhead])(o.select(this),r.arrowheadId,r,"arrowhead")})),u}},607:(t,e,n)=>{var r=n(1034),i=n(1322),a=n(8355),o=n(4322);t.exports=function(t,e,n){var s,l=e.nodes().filter((function(t){return!a.isSubgraph(e,t)})),c=t.selectAll("g.node").data(l,(function(t){return t})).classed("update",!0);return c.exit().remove(),c.enter().append("g").attr("class","node").style("opacity",0),(c=t.selectAll("g.node")).each((function(t){var s=e.node(t),l=o.select(this);a.applyClass(l,s.class,(l.classed("update")?"update ":"")+"node"),l.select("g.label").remove();var c=l.append("g").attr("class","label"),u=i(c,s),h=n[s.shape],f=r.pick(u.node().getBBox(),"width","height");s.elem=this,s.id&&l.attr("id",s.id),s.labelId&&c.attr("id",s.labelId),r.has(s,"width")&&(f.width=s.width),r.has(s,"height")&&(f.height=s.height),f.width+=s.paddingLeft+s.paddingRight,f.height+=s.paddingTop+s.paddingBottom,c.attr("transform","translate("+(s.paddingLeft-s.paddingRight)/2+","+(s.paddingTop-s.paddingBottom)/2+")");var d=o.select(this);d.select(".label-container").remove();var p=h(d,f,s).classed("label-container",!0);a.applyStyle(p,s.style);var g=p.node().getBBox();s.width=g.width,s.height=g.height})),s=c.exit?c.exit():c.selectAll(null),a.applyTransition(s,e).style("opacity",0).remove(),c}},4322:(t,e,n)=>{var r;if(!r)try{r=n(7188)}catch(i){}r||(r=window.d3),t.exports=r},1463:(t,e,n)=>{var r;try{r=n(681)}catch(i){}r||(r=window.dagre),t.exports=r},6614:(t,e,n)=>{var r;try{r=n(8282)}catch(i){}r||(r=window.graphlib),t.exports=r},8114:(t,e,n)=>{t.exports={node:n(7584),circle:n(6587),ellipse:n(3260),polygon:n(5337),rect:n(8049)}},6587:(t,e,n)=>{var r=n(3260);t.exports=function(t,e,n){return r(t,e,e,n)}},3260:t=>{t.exports=function(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,s=a-r.y,l=Math.sqrt(e*e*s*s+n*n*o*o),c=Math.abs(e*n*o/l);r.x{function e(t,e){return t*e>0}t.exports=function(t,n,r,i){var a,o,s,l,c,u,h,f,d,p,g,m,y;if(a=n.y-t.y,s=t.x-n.x,c=n.x*t.y-t.x*n.y,d=a*r.x+s*r.y+c,p=a*i.x+s*i.y+c,!(0!==d&&0!==p&&e(d,p)||(o=i.y-r.y,l=r.x-i.x,u=i.x*r.y-r.x*i.y,h=o*t.x+l*t.y+u,f=o*n.x+l*n.y+u,0!==h&&0!==f&&e(h,f)||0==(g=a*l-o*s))))return m=Math.abs(g/2),{x:(y=s*u-l*c)<0?(y-m)/g:(y+m)/g,y:(y=o*c-a*u)<0?(y-m)/g:(y+m)/g}}},7584:t=>{t.exports=function(t,e){return t.intersect(e)}},5337:(t,e,n)=>{var r=n(6808);t.exports=function(t,e,n){var i=t.x,a=t.y,o=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)}));for(var c=i-t.width/2-s,u=a-t.height/2-l,h=0;h1&&o.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,s=e.y-n.y,l=Math.sqrt(o*o+s*s);return a{t.exports=function(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,l=t.width/2,c=t.height/2;return Math.abs(s)*l>Math.abs(o)*c?(s<0&&(c=-c),n=0===s?0:c*o/s,r=c):(o<0&&(l=-l),n=l,r=0===o?0:l*s/o),{x:i+n,y:a+r}}},8284:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(typeof a){case"function":i.insert(a);break;case"object":i.insert((function(){return a}));break;default:i.html(a)}r.applyStyle(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var o=i.node().getBoundingClientRect();return n.attr("width",o.width).attr("height",o.height),n}},1322:(t,e,n)=>{var r=n(7318),i=n(8284),a=n(8287);t.exports=function(t,e,n){var o=e.label,s=t.append("g");"svg"===e.labelType?a(s,e):"string"!=typeof o||"html"===e.labelType?i(s,e):r(s,e);var l,c=s.node().getBBox();switch(n){case"top":l=-e.height/2;break;case"bottom":l=e.height/2-c.height;break;default:l=-c.height/2}return s.attr("transform","translate("+-c.width/2+","+l+")"),s}},8287:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){var n=t;return n.node().appendChild(e.label),r.applyStyle(n,e.labelStyle),n}},7318:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){for(var n=t.append("text"),i=function(t){for(var e,n="",r=!1,i=0;i{var r;try{r={defaults:n(1747),each:n(6073),isFunction:n(3560),isPlainObject:n(8630),pick:n(9722),has:n(8721),range:n(6026),uniqueId:n(3955)}}catch(i){}r||(r=window._),t.exports=r},6381:(t,e,n)=>{var r=n(8355),i=n(4322);t.exports=function(t,e){var n=t.filter((function(){return!i.select(this).classed("update")}));function a(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}n.attr("transform",a),r.applyTransition(t,e).style("opacity",1).attr("transform",a),r.applyTransition(n.selectAll("rect"),e).attr("width",(function(t){return e.node(t).width})).attr("height",(function(t){return e.node(t).height})).attr("x",(function(t){return-e.node(t).width/2})).attr("y",(function(t){return-e.node(t).height/2}))}},4577:(t,e,n)=>{var r=n(8355),i=n(4322),a=n(1034);t.exports=function(t,e){function n(t){var n=e.edge(t);return a.has(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},4849:(t,e,n)=>{var r=n(8355),i=n(4322);t.exports=function(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},5787:(t,e,n)=>{var r=n(1034),i=n(4322),a=n(1463).layout;t.exports=function(){var t=n(607),e=n(5632),i=n(6315),c=n(940),u=n(4849),h=n(4577),f=n(6381),d=n(4418),p=n(9144),g=function(n,g){!function(t){t.nodes().forEach((function(e){var n=t.node(e);r.has(n,"label")||t.children(e).length||(n.label=e),r.has(n,"paddingX")&&r.defaults(n,{paddingLeft:n.paddingX,paddingRight:n.paddingX}),r.has(n,"paddingY")&&r.defaults(n,{paddingTop:n.paddingY,paddingBottom:n.paddingY}),r.has(n,"padding")&&r.defaults(n,{paddingLeft:n.padding,paddingRight:n.padding,paddingTop:n.padding,paddingBottom:n.padding}),r.defaults(n,o),r.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){n[t]=Number(n[t])})),r.has(n,"width")&&(n._prevWidth=n.width),r.has(n,"height")&&(n._prevHeight=n.height)})),t.edges().forEach((function(e){var n=t.edge(e);r.has(n,"label")||(n.label=""),r.defaults(n,s)}))}(g);var m=l(n,"output"),y=l(m,"clusters"),v=l(m,"edgePaths"),b=i(l(m,"edgeLabels"),g),_=t(l(m,"nodes"),g,d);a(g),u(_,g),h(b,g),c(v,g,p);var x=e(y,g);f(x,g),function(t){r.each(t.nodes(),(function(e){var n=t.node(e);r.has(n,"_prevWidth")?n.width=n._prevWidth:delete n.width,r.has(n,"_prevHeight")?n.height=n._prevHeight:delete n.height,delete n._prevWidth,delete n._prevHeight}))}(g)};return g.createNodes=function(e){return arguments.length?(t=e,g):t},g.createClusters=function(t){return arguments.length?(e=t,g):e},g.createEdgeLabels=function(t){return arguments.length?(i=t,g):i},g.createEdgePaths=function(t){return arguments.length?(c=t,g):c},g.shapes=function(t){return arguments.length?(d=t,g):d},g.arrows=function(t){return arguments.length?(p=t,g):p},g};var o={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},s={arrowhead:"normal",curve:i.curveLinear};function l(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}},4418:(t,e,n)=>{var r=n(8049),i=n(3260),a=n(6587),o=n(5337);t.exports={rect:function(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return r(n,t)},i},ellipse:function(t,e,n){var r=e.width/2,a=e.height/2,o=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",a);return n.intersect=function(t){return i(n,r,a,t)},o},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return a(n,r,t)},i},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,a=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return o(n,a,t)},s}}},8355:(t,e,n)=>{var r=n(1034);t.exports={isSubgraph:function(t,e){return!!t.children(e).length},edgeToId:function(t){return a(t.v)+":"+a(t.w)+":"+a(t.name)},applyStyle:function(t,e){e&&t.attr("style",e)},applyClass:function(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))},applyTransition:function(t,e){var n=e.graph();if(r.isPlainObject(n)){var i=n.transition;if(r.isFunction(i))return i(t)}return t}};var i=/:/g;function a(t){return t?String(t).replace(i,"\\:"):""}},5689:t=>{t.exports="0.6.4"},7188:(t,e,n)=>{n.r(e),n.d(e,{FormatSpecifier:()=>cl,active:()=>Jr,arc:()=>fx,area:()=>vx,areaRadial:()=>Tx,ascending:()=>i,autoType:()=>Fo,axisBottom:()=>it,axisLeft:()=>at,axisRight:()=>rt,axisTop:()=>nt,bisect:()=>c,bisectLeft:()=>l,bisectRight:()=>s,bisector:()=>a,blob:()=>ys,brush:()=>Ai,brushSelection:()=>Ei,brushX:()=>Si,brushY:()=>Ti,buffer:()=>bs,chord:()=>Fi,clientPoint:()=>Dn,cluster:()=>Td,color:()=>Ve,contourDensity:()=>oo,contours:()=>to,create:()=>z_,creator:()=>ie,cross:()=>f,csv:()=>Cs,csvFormat:()=>Co,csvFormatBody:()=>Eo,csvFormatRow:()=>To,csvFormatRows:()=>So,csvFormatValue:()=>Ao,csvParse:()=>wo,csvParseRows:()=>ko,cubehelix:()=>$a,curveBasis:()=>sw,curveBasisClosed:()=>cw,curveBasisOpen:()=>hw,curveBundle:()=>dw,curveCardinal:()=>mw,curveCardinalClosed:()=>vw,curveCardinalOpen:()=>_w,curveCatmullRom:()=>kw,curveCatmullRomClosed:()=>Ew,curveCatmullRomOpen:()=>Tw,curveLinear:()=>px,curveLinearClosed:()=>Mw,curveMonotoneX:()=>Fw,curveMonotoneY:()=>Pw,curveNatural:()=>jw,curveStep:()=>Uw,curveStepAfter:()=>Ww,curveStepBefore:()=>$w,customEvent:()=>me,descending:()=>d,deviation:()=>m,dispatch:()=>ft,drag:()=>po,dragDisable:()=>Te,dragEnable:()=>Ae,dsv:()=>ks,dsvFormat:()=>_o,easeBack:()=>hs,easeBackIn:()=>cs,easeBackInOut:()=>hs,easeBackOut:()=>us,easeBounce:()=>os,easeBounceIn:()=>as,easeBounceInOut:()=>ss,easeBounceOut:()=>os,easeCircle:()=>rs,easeCircleIn:()=>es,easeCircleInOut:()=>rs,easeCircleOut:()=>ns,easeCubic:()=>Xr,easeCubicIn:()=>Vr,easeCubicInOut:()=>Xr,easeCubicOut:()=>Gr,easeElastic:()=>ps,easeElasticIn:()=>ds,easeElasticInOut:()=>gs,easeElasticOut:()=>ps,easeExp:()=>ts,easeExpIn:()=>Qo,easeExpInOut:()=>ts,easeExpOut:()=>Jo,easeLinear:()=>zo,easePoly:()=>Wo,easePolyIn:()=>Uo,easePolyInOut:()=>Wo,easePolyOut:()=>$o,easeQuad:()=>Ho,easeQuadIn:()=>qo,easeQuadInOut:()=>Ho,easeQuadOut:()=>jo,easeSin:()=>Zo,easeSinIn:()=>Go,easeSinInOut:()=>Zo,easeSinOut:()=>Xo,entries:()=>pa,event:()=>ue,extent:()=>y,forceCenter:()=>Ls,forceCollide:()=>Ys,forceLink:()=>Xs,forceManyBody:()=>tl,forceRadial:()=>el,forceSimulation:()=>Js,forceX:()=>nl,forceY:()=>rl,format:()=>pl,formatDefaultLocale:()=>bl,formatLocale:()=>vl,formatPrefix:()=>gl,formatSpecifier:()=>ll,geoAlbers:()=>Hf,geoAlbersUsa:()=>Uf,geoArea:()=>gc,geoAzimuthalEqualArea:()=>Vf,geoAzimuthalEqualAreaRaw:()=>Yf,geoAzimuthalEquidistant:()=>Xf,geoAzimuthalEquidistantRaw:()=>Gf,geoBounds:()=>su,geoCentroid:()=>bu,geoCircle:()=>Nu,geoClipAntimeridian:()=>Hu,geoClipCircle:()=>Uu,geoClipExtent:()=>Vu,geoClipRectangle:()=>Yu,geoConicConformal:()=>ed,geoConicConformalRaw:()=>td,geoConicEqualArea:()=>jf,geoConicEqualAreaRaw:()=>qf,geoConicEquidistant:()=>ad,geoConicEquidistantRaw:()=>id,geoContains:()=>ph,geoDistance:()=>ah,geoEqualEarth:()=>fd,geoEqualEarthRaw:()=>hd,geoEquirectangular:()=>rd,geoEquirectangularRaw:()=>nd,geoGnomonic:()=>pd,geoGnomonicRaw:()=>dd,geoGraticule:()=>yh,geoGraticule10:()=>vh,geoIdentity:()=>gd,geoInterpolate:()=>bh,geoLength:()=>nh,geoMercator:()=>Kf,geoMercatorRaw:()=>Zf,geoNaturalEarth1:()=>yd,geoNaturalEarth1Raw:()=>md,geoOrthographic:()=>bd,geoOrthographicRaw:()=>vd,geoPath:()=>kf,geoProjection:()=>Ff,geoProjectionMutator:()=>Pf,geoRotation:()=>Tu,geoStereographic:()=>xd,geoStereographicRaw:()=>_d,geoStream:()=>nc,geoTransform:()=>Cf,geoTransverseMercator:()=>kd,geoTransverseMercatorRaw:()=>wd,gray:()=>ka,hcl:()=>Oa,hierarchy:()=>Md,histogram:()=>D,hsl:()=>an,html:()=>Ds,image:()=>Ss,interpolate:()=>Mn,interpolateArray:()=>xn,interpolateBasis:()=>cn,interpolateBasisClosed:()=>un,interpolateBlues:()=>f_,interpolateBrBG:()=>Cb,interpolateBuGn:()=>Hb,interpolateBuPu:()=>$b,interpolateCividis:()=>k_,interpolateCool:()=>S_,interpolateCubehelix:()=>jp,interpolateCubehelixDefault:()=>C_,interpolateCubehelixLong:()=>Hp,interpolateDate:()=>kn,interpolateDiscrete:()=>Tp,interpolateGnBu:()=>Yb,interpolateGreens:()=>p_,interpolateGreys:()=>m_,interpolateHcl:()=>Pp,interpolateHclLong:()=>zp,interpolateHsl:()=>Bp,interpolateHslLong:()=>Ip,interpolateHue:()=>Ap,interpolateInferno:()=>F_,interpolateLab:()=>Rp,interpolateMagma:()=>R_,interpolateNumber:()=>Cn,interpolateNumberArray:()=>bn,interpolateObject:()=>En,interpolateOrRd:()=>Gb,interpolateOranges:()=>w_,interpolatePRGn:()=>Sb,interpolatePiYG:()=>Ab,interpolatePlasma:()=>P_,interpolatePuBu:()=>Qb,interpolatePuBuGn:()=>Zb,interpolatePuOr:()=>Nb,interpolatePuRd:()=>t_,interpolatePurples:()=>v_,interpolateRainbow:()=>A_,interpolateRdBu:()=>Ob,interpolateRdGy:()=>Bb,interpolateRdPu:()=>n_,interpolateRdYlBu:()=>Rb,interpolateRdYlGn:()=>Pb,interpolateReds:()=>__,interpolateRgb:()=>gn,interpolateRgbBasis:()=>yn,interpolateRgbBasisClosed:()=>vn,interpolateRound:()=>Mp,interpolateSinebow:()=>O_,interpolateSpectral:()=>qb,interpolateString:()=>An,interpolateTransformCss:()=>pr,interpolateTransformSvg:()=>gr,interpolateTurbo:()=>L_,interpolateViridis:()=>I_,interpolateWarm:()=>E_,interpolateYlGn:()=>o_,interpolateYlGnBu:()=>i_,interpolateYlOrBr:()=>l_,interpolateYlOrRd:()=>u_,interpolateZoom:()=>Op,interrupt:()=>ar,interval:()=>fk,isoFormat:()=>ck,isoParse:()=>hk,json:()=>As,keys:()=>fa,lab:()=>Ca,lch:()=>Da,line:()=>yx,lineRadial:()=>Sx,linkHorizontal:()=>Rx,linkRadial:()=>Px,linkVertical:()=>Fx,local:()=>j_,map:()=>na,matcher:()=>yt,max:()=>I,mean:()=>R,median:()=>F,merge:()=>P,min:()=>z,mouse:()=>Ln,namespace:()=>Et,namespaces:()=>Ct,nest:()=>ra,now:()=>$n,pack:()=>tp,packEnclose:()=>Id,packSiblings:()=>Gd,pairs:()=>u,partition:()=>op,path:()=>Yi,permute:()=>q,pie:()=>xx,piecewise:()=>Up,pointRadial:()=>Ax,polygonArea:()=>Wp,polygonCentroid:()=>Yp,polygonContains:()=>Kp,polygonHull:()=>Zp,polygonLength:()=>Qp,precisionFixed:()=>_l,precisionPrefix:()=>xl,precisionRound:()=>wl,quadtree:()=>qs,quantile:()=>O,quantize:()=>$p,radialArea:()=>Tx,radialLine:()=>Sx,randomBates:()=>ig,randomExponential:()=>ag,randomIrwinHall:()=>rg,randomLogNormal:()=>ng,randomNormal:()=>eg,randomUniform:()=>tg,range:()=>k,rgb:()=>Ke,ribbon:()=>Qi,scaleBand:()=>dg,scaleDiverging:()=>ob,scaleDivergingLog:()=>sb,scaleDivergingPow:()=>cb,scaleDivergingSqrt:()=>ub,scaleDivergingSymlog:()=>lb,scaleIdentity:()=>Mg,scaleImplicit:()=>hg,scaleLinear:()=>Ag,scaleLog:()=>Pg,scaleOrdinal:()=>fg,scalePoint:()=>gg,scalePow:()=>Vg,scaleQuantile:()=>Xg,scaleQuantize:()=>Zg,scaleSequential:()=>Jv,scaleSequentialLog:()=>tb,scaleSequentialPow:()=>nb,scaleSequentialQuantile:()=>ib,scaleSequentialSqrt:()=>rb,scaleSequentialSymlog:()=>eb,scaleSqrt:()=>Gg,scaleSymlog:()=>Hg,scaleThreshold:()=>Kg,scaleTime:()=>qv,scaleUtc:()=>Zv,scan:()=>j,schemeAccent:()=>db,schemeBlues:()=>h_,schemeBrBG:()=>kb,schemeBuGn:()=>jb,schemeBuPu:()=>Ub,schemeCategory10:()=>fb,schemeDark2:()=>pb,schemeGnBu:()=>Wb,schemeGreens:()=>d_,schemeGreys:()=>g_,schemeOrRd:()=>Vb,schemeOranges:()=>x_,schemePRGn:()=>Eb,schemePaired:()=>gb,schemePastel1:()=>mb,schemePastel2:()=>yb,schemePiYG:()=>Tb,schemePuBu:()=>Kb,schemePuBuGn:()=>Xb,schemePuOr:()=>Mb,schemePuRd:()=>Jb,schemePurples:()=>y_,schemeRdBu:()=>Db,schemeRdGy:()=>Lb,schemeRdPu:()=>e_,schemeRdYlBu:()=>Ib,schemeRdYlGn:()=>Fb,schemeReds:()=>b_,schemeSet1:()=>vb,schemeSet2:()=>bb,schemeSet3:()=>_b,schemeSpectral:()=>zb,schemeTableau10:()=>xb,schemeYlGn:()=>a_,schemeYlGnBu:()=>r_,schemeYlOrBr:()=>s_,schemeYlOrRd:()=>c_,select:()=>Ce,selectAll:()=>U_,selection:()=>ke,selector:()=>pt,selectorAll:()=>mt,set:()=>ha,shuffle:()=>H,stack:()=>Xw,stackOffsetDiverging:()=>Kw,stackOffsetExpand:()=>Zw,stackOffsetNone:()=>Yw,stackOffsetSilhouette:()=>Qw,stackOffsetWiggle:()=>Jw,stackOrderAppearance:()=>tk,stackOrderAscending:()=>nk,stackOrderDescending:()=>ik,stackOrderInsideOut:()=>ak,stackOrderNone:()=>Vw,stackOrderReverse:()=>ok,stratify:()=>hp,style:()=>Rt,sum:()=>U,svg:()=>Os,symbol:()=>rw,symbolCircle:()=>zx,symbolCross:()=>qx,symbolDiamond:()=>Ux,symbolSquare:()=>Gx,symbolStar:()=>Vx,symbolTriangle:()=>Zx,symbolWye:()=>ew,symbols:()=>nw,text:()=>xs,thresholdFreedmanDiaconis:()=>L,thresholdScott:()=>B,thresholdSturges:()=>N,tickFormat:()=>Sg,tickIncrement:()=>A,tickStep:()=>M,ticks:()=>T,timeDay:()=>Am,timeDays:()=>Mm,timeFormat:()=>py,timeFormatDefaultLocale:()=>Iv,timeFormatLocale:()=>fy,timeFriday:()=>vm,timeFridays:()=>Em,timeHour:()=>Dm,timeHours:()=>Om,timeInterval:()=>tm,timeMillisecond:()=>qm,timeMilliseconds:()=>jm,timeMinute:()=>Bm,timeMinutes:()=>Im,timeMonday:()=>pm,timeMondays:()=>xm,timeMonth:()=>am,timeMonths:()=>om,timeParse:()=>gy,timeSaturday:()=>bm,timeSaturdays:()=>Sm,timeSecond:()=>Fm,timeSeconds:()=>Pm,timeSunday:()=>dm,timeSundays:()=>_m,timeThursday:()=>ym,timeThursdays:()=>Cm,timeTuesday:()=>gm,timeTuesdays:()=>wm,timeWednesday:()=>mm,timeWednesdays:()=>km,timeWeek:()=>dm,timeWeeks:()=>_m,timeYear:()=>nm,timeYears:()=>rm,timeout:()=>Qn,timer:()=>Vn,timerFlush:()=>Gn,touch:()=>On,touches:()=>$_,transition:()=>$r,transpose:()=>$,tree:()=>vp,treemap:()=>kp,treemapBinary:()=>Cp,treemapDice:()=>ap,treemapResquarify:()=>Sp,treemapSlice:()=>bp,treemapSliceDice:()=>Ep,treemapSquarify:()=>wp,tsv:()=>Es,tsvFormat:()=>Oo,tsvFormatBody:()=>Lo,tsvFormatRow:()=>Io,tsvFormatRows:()=>Bo,tsvFormatValue:()=>Ro,tsvParse:()=>No,tsvParseRows:()=>Do,utcDay:()=>iy,utcDays:()=>ay,utcFormat:()=>my,utcFriday:()=>Gm,utcFridays:()=>ey,utcHour:()=>Wv,utcHours:()=>Yv,utcMillisecond:()=>qm,utcMilliseconds:()=>jm,utcMinute:()=>Gv,utcMinutes:()=>Xv,utcMonday:()=>$m,utcMondays:()=>Km,utcMonth:()=>Hv,utcMonths:()=>Uv,utcParse:()=>yy,utcSaturday:()=>Xm,utcSaturdays:()=>ny,utcSecond:()=>Fm,utcSeconds:()=>Pm,utcSunday:()=>Um,utcSundays:()=>Zm,utcThursday:()=>Vm,utcThursdays:()=>ty,utcTuesday:()=>Wm,utcTuesdays:()=>Qm,utcWednesday:()=>Ym,utcWednesdays:()=>Jm,utcWeek:()=>Um,utcWeeks:()=>Zm,utcYear:()=>sy,utcYears:()=>ly,values:()=>da,variance:()=>g,version:()=>r,voronoi:()=>Qk,window:()=>Ot,xml:()=>Ns,zip:()=>Y,zoom:()=>fC,zoomIdentity:()=>nC,zoomTransform:()=>rC});var r="5.16.0";function i(t,e){return te?1:t>=e?0:NaN}function a(t){var e;return 1===t.length&&(e=t,t=function(t,n){return i(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[a],n)>0?i=a:r=a+1}return r}}}var o=a(i),s=o.right,l=o.left;const c=s;function u(t,e){null==e&&(e=h);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);nt?1:e>=t?0:NaN}function p(t){return null===t?NaN:+t}function g(t,e){var n,r,i=t.length,a=0,o=-1,s=0,l=0;if(null==e)for(;++o1)return l/(a-1)}function m(t,e){var n=g(t,e);return n?Math.sqrt(n):n}function y(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o=n)for(r=i=n;++on&&(r=n),i=n)for(r=i=n;++on&&(r=n),i0)return[t];if((r=e0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++s=0?(a>=C?10:a>=E?5:a>=S?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=C?10:a>=E?5:a>=S?2:1)}function M(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=C?i*=10:a>=E?i*=5:a>=S&&(i*=2),eh;)f.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?f[i-1]:u,p.x1=i=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(+n(t[a+1],a+1,t)-o)*(i-a)}}function L(t,e,n){return t=_.call(t,p).sort(i),Math.ceil((n-e)/(2*(O(t,.75)-O(t,.25))*Math.pow(t.length,-1/3)))}function B(t,e,n){return Math.ceil((n-e)/(3.5*m(t)*Math.pow(t.length,-1/3)))}function I(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a=n)for(r=n;++ar&&(r=n)}else for(;++a=n)for(r=n;++ar&&(r=n);return r}function R(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n}function z(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a=n)for(r=n;++an&&(r=n)}else for(;++a=n)for(r=n;++an&&(r=n);return r}function q(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}function j(t,e){if(n=t.length){var n,r,a=0,o=0,s=t[o];for(null==e&&(e=i);++a=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ut(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;ae?1:t>=e?0:NaN}bt.prototype={constructor:bt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var kt="http://www.w3.org/1999/xhtml";const Ct={svg:"http://www.w3.org/2000/svg",xhtml:kt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Et(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Ct.hasOwnProperty(e)?{space:Ct[e],local:t}:t}function St(t){return function(){this.removeAttribute(t)}}function Tt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function At(t,e){return function(){this.setAttribute(t,e)}}function Mt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Nt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Dt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Ot(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Lt(t){return function(){this.style.removeProperty(t)}}function Bt(t,e,n){return function(){this.style.setProperty(t,e,n)}}function It(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Rt(t,e){return t.style.getPropertyValue(e)||Ot(t).getComputedStyle(t,null).getPropertyValue(e)}function Ft(t){return function(){delete this[t]}}function Pt(t,e){return function(){this[t]=e}}function zt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function qt(t){return t.trim().split(/^|\s+/)}function jt(t){return t.classList||new Ht(t)}function Ht(t){this._node=t,this._names=qt(t.getAttribute("class")||"")}function Ut(t,e){for(var n=jt(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ce={},ue=null;function he(t,e,n){return t=fe(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function fe(t,e,n){return function(r){var i=ue;ue=r;try{t.call(this,this.__data__,e,n)}finally{ue=i}}}function de(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function pe(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=x&&(x=_+1);!(b=y[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=wt);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?Lt:"function"==typeof e?It:Bt)(t,e,null==n?"":n)):Rt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Ft:"function"==typeof e?zt:Pt)(t,e)):this.node()[t]},classed:function(t,e){var n=qt(t+"");if(arguments.length<2){for(var r=jt(this.node()),i=-1,a=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Xe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Xe(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Pe.exec(t))?new Qe(e[1],e[2],e[3],1):(e=ze.exec(t))?new Qe(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=qe.exec(t))?Xe(e[1],e[2],e[3],e[4]):(e=je.exec(t))?Xe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=He.exec(t))?nn(e[1],e[2]/100,e[3]/100,1):(e=Ue.exec(t))?nn(e[1],e[2]/100,e[3]/100,e[4]):$e.hasOwnProperty(t)?Ge($e[t]):"transparent"===t?new Qe(NaN,NaN,NaN,0):null}function Ge(t){return new Qe(t>>16&255,t>>8&255,255&t,1)}function Xe(t,e,n,r){return r<=0&&(t=e=n=NaN),new Qe(t,e,n,r)}function Ze(t){return t instanceof De||(t=Ve(t)),t?new Qe((t=t.rgb()).r,t.g,t.b,t.opacity):new Qe}function Ke(t,e,n,r){return 1===arguments.length?Ze(t):new Qe(t,e,n,null==r?1:r)}function Qe(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Je(){return"#"+en(this.r)+en(this.g)+en(this.b)}function tn(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function en(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function nn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new on(t,e,n,r)}function rn(t){if(t instanceof on)return new on(t.h,t.s,t.l,t.opacity);if(t instanceof De||(t=Ve(t)),!t)return new on;if(t instanceof on)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new on(o,s,l,t.opacity)}function an(t,e,n,r){return 1===arguments.length?rn(t):new on(t,e,n,null==r?1:r)}function on(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function sn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function ln(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}function cn(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r180||n<-180?n-360*Math.round(n/360):n):hn(isNaN(t)?e:t)}function pn(t,e){var n=e-t;return n?fn(t,n):hn(isNaN(t)?e:t)}Me(De,Ve,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:We,formatHex:We,formatHsl:function(){return rn(this).formatHsl()},formatRgb:Ye,toString:Ye}),Me(Qe,Ke,Ne(De,{brighter:function(t){return t=null==t?Le:Math.pow(Le,t),new Qe(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Oe:Math.pow(Oe,t),new Qe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Je,formatHex:Je,formatRgb:tn,toString:tn})),Me(on,an,Ne(De,{brighter:function(t){return t=null==t?Le:Math.pow(Le,t),new on(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Oe:Math.pow(Oe,t),new on(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Qe(sn(t>=240?t-240:t+120,i,r),sn(t,i,r),sn(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));const gn=function t(e){var n=function(t){return 1==(t=+t)?pn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):hn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=Ke(t)).r,(e=Ke(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=pn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function mn(t){return function(e){var n,r,i=e.length,a=new Array(i),o=new Array(i),s=new Array(i);for(n=0;na&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:Cn(n,r)})),a=Tn.lastIndex;return a=0&&e._call.call(null,t),e=e._next;--Rn}function Xn(){qn=(zn=Hn.now())+jn,Rn=Fn=0;try{Gn()}finally{Rn=0,function(){for(var t,e,n=Bn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Bn=e);In=t,Kn(r)}(),qn=0}}function Zn(){var t=Hn.now(),e=t-zn;e>1e3&&(jn-=e,zn=t)}function Kn(t){Rn||(Fn&&(Fn=clearTimeout(Fn)),t-qn>24?(t<1/0&&(Fn=setTimeout(Xn,t-Hn.now()-jn)),Pn&&(Pn=clearInterval(Pn))):(Pn||(zn=Hn.now(),Pn=setInterval(Zn,1e3)),Rn=1,Un(Xn)))}function Qn(t,e,n){var r=new Yn;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}Yn.prototype=Vn.prototype={constructor:Yn,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?$n():+n)+(null==e?0:+e),this._next||In===this||(In?In._next=this:Bn=this,In=this),this._call=t,this._time=n,Kn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Kn())}};var Jn=ft("start","end","cancel","interrupt"),tr=[];function er(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(l){var c,u,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return Qn(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function rr(t,e){var n=ir(t,e);if(n.state>3)throw new Error("too late; already running");return n}function ir(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ar(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}var or,sr,lr,cr,ur=180/Math.PI,hr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function fr(t,e,n,r,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Cn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,l),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Cn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,l),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Cn(t,n)},{i:s-2,x:Cn(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,n=-1,r=l.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?nr:rr;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Rr=ke.prototype.constructor;function Fr(t){return function(){this.style.removeProperty(t)}}function Pr(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function zr(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Pr(t,a,n)),r}return a._value=e,a}function qr(t){return function(e){this.textContent=t.call(this,e)}}function jr(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&qr(r)),e}return r._value=t,r}var Hr=0;function Ur(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function $r(t){return ke().transition(t)}function Wr(){return++Hr}var Yr=ke.prototype;function Vr(t){return t*t*t}function Gr(t){return--t*t*t+1}function Xr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Ur.prototype=$r.prototype={constructor:Ur,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=pt(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o1&&n.name===e)return new Ur([[t]],Qr,e,+r);return null}function ti(t){return function(){return t}}function ei(t,e,n){this.target=t,this.type=e,this.selection=n}function ni(){ue.stopImmediatePropagation()}function ri(){ue.preventDefault(),ue.stopImmediatePropagation()}var ii={name:"drag"},ai={name:"space"},oi={name:"handle"},si={name:"center"};function li(t){return[+t[0],+t[1]]}function ci(t){return[li(t[0]),li(t[1])]}function ui(t){return function(e){return On(e,ue.touches,t)}}var hi={name:"x",handles:["w","e"].map(bi),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},fi={name:"y",handles:["n","s"].map(bi),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},di={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(bi),input:function(t){return null==t?null:ci(t)},output:function(t){return t}},pi={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},gi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},mi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},yi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},vi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function bi(t){return{type:t}}function _i(){return!ue.ctrlKey&&!ue.button}function xi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function wi(){return navigator.maxTouchPoints||"ontouchstart"in this}function ki(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ci(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Ei(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Si(){return Mi(hi)}function Ti(){return Mi(fi)}function Ai(){return Mi(di)}function Mi(t){var e,n=xi,r=_i,i=wi,a=!0,o=ft("start","brush","end"),s=6;function l(e){var n=e.property("__brush",g).selectAll(".overlay").data([bi("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",pi.overlay).merge(n).each((function(){var t=ki(this).extent;Ce(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([bi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",pi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return pi[t.type]})),e.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var t=Ce(this),e=ki(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new h(t,e,n):r}function h(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function f(){if((!e||ue.touches)&&r.apply(this,arguments)){var n,i,o,s,l,h,f,d,p,g,m,y=this,v=ue.target.__data__.type,b="selection"===(a&&ue.metaKey?v="overlay":v)?ii:a&&ue.altKey?si:oi,_=t===fi?null:yi[v],x=t===hi?null:vi[v],w=ki(y),k=w.extent,C=w.selection,E=k[0][0],S=k[0][1],T=k[1][0],A=k[1][1],M=0,N=0,D=_&&x&&a&&ue.shiftKey,O=ue.touches?ui(ue.changedTouches[0].identifier):Ln,L=O(y),B=L,I=u(y,arguments,!0).beforestart();"overlay"===v?(C&&(p=!0),w.selection=C=[[n=t===fi?E:L[0],o=t===hi?S:L[1]],[l=t===fi?T:n,f=t===hi?A:o]]):(n=C[0][0],o=C[0][1],l=C[1][0],f=C[1][1]),i=n,s=o,h=l,d=f;var R=Ce(y).attr("pointer-events","none"),F=R.selectAll(".overlay").attr("cursor",pi[v]);if(ue.touches)I.moved=z,I.ended=j;else{var P=Ce(ue.view).on("mousemove.brush",z,!0).on("mouseup.brush",j,!0);a&&P.on("keydown.brush",H,!0).on("keyup.brush",U,!0),Te(ue.view)}ni(),ar(y),c.call(y),I.start()}function z(){var t=O(y);!D||g||m||(Math.abs(t[0]-B[0])>Math.abs(t[1]-B[1])?m=!0:g=!0),B=t,p=!0,ri(),q()}function q(){var t;switch(M=B[0]-L[0],N=B[1]-L[1],b){case ai:case ii:_&&(M=Math.max(E-n,Math.min(T-l,M)),i=n+M,h=l+M),x&&(N=Math.max(S-o,Math.min(A-f,N)),s=o+N,d=f+N);break;case oi:_<0?(M=Math.max(E-n,Math.min(T-n,M)),i=n+M,h=l):_>0&&(M=Math.max(E-l,Math.min(T-l,M)),i=n,h=l+M),x<0?(N=Math.max(S-o,Math.min(A-o,N)),s=o+N,d=f):x>0&&(N=Math.max(S-f,Math.min(A-f,N)),s=o,d=f+N);break;case si:_&&(i=Math.max(E,Math.min(T,n-M*_)),h=Math.max(E,Math.min(T,l+M*_))),x&&(s=Math.max(S,Math.min(A,o-N*x)),d=Math.max(S,Math.min(A,f+N*x)))}h0&&(n=i-M),x<0?f=d-N:x>0&&(o=s-N),b=ai,F.attr("cursor",pi.selection),q());break;default:return}ri()}function U(){switch(ue.keyCode){case 16:D&&(g=m=D=!1,q());break;case 18:b===si&&(_<0?l=h:_>0&&(n=i),x<0?f=d:x>0&&(o=s),b=oi,q());break;case 32:b===ai&&(ue.altKey?(_&&(l=h-M*_,n=i+M*_),x&&(f=d-N*x,o=s+N*x),b=si):(_<0?l=h:_>0&&(n=i),x<0?f=d:x>0&&(o=s),b=oi),F.attr("cursor",pi[v]),q());break;default:return}ri()}}function d(){u(this,arguments).moved()}function p(){u(this,arguments).ended()}function g(){var e=this.__brush||{selection:null};return e.extent=ci(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.selection?e.on("start.brush",(function(){u(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){u(this,arguments).end()})).tween("brush",(function(){var e=this,r=e.__brush,i=u(e,arguments),a=r.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=Mn(a,o);function l(t){r.selection=1===t&&null===o?null:s(t),c.call(e),i.brush()}return null!==a&&null!==o?l:l(1)})):e.each((function(){var e=this,r=arguments,i=e.__brush,a=t.input("function"==typeof n?n.apply(e,r):n,i.extent),o=u(e,r).beforestart();ar(e),i.selection=null===a?null:a,c.call(e),o.start().brush().end()}))},l.clear=function(t){l.move(t,null)},h.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){me(new ei(l,e,t.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},l.extent=function(t){return arguments.length?(n="function"==typeof t?t:ti(ci(t)),l):n},l.filter=function(t){return arguments.length?(r="function"==typeof t?t:ti(!!t),l):r},l.touchable=function(t){return arguments.length?(i="function"==typeof t?t:ti(!!t),l):i},l.handleSize=function(t){return arguments.length?(s=+t,l):s},l.keyModifiers=function(t){return arguments.length?(a=!!t,l):a},l.on=function(){var t=o.on.apply(o,arguments);return t===o?l:t},l}var Ni=Math.cos,Di=Math.sin,Oi=Math.PI,Li=Oi/2,Bi=2*Oi,Ii=Math.max;function Ri(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}function Fi(){var t=0,e=null,n=null,r=null;function i(i){var a,o,s,l,c,u,h=i.length,f=[],d=k(h),p=[],g=[],m=g.groups=new Array(h),y=new Array(h*h);for(a=0,c=-1;++cHi)if(Math.abs(u*s-l*c)>Hi&&i){var f=n-a,d=r-o,p=s*s+l*l,g=f*f+d*d,m=Math.sqrt(p),y=Math.sqrt(h),v=i*Math.tan((qi-Math.acos((p+h-g)/(2*m*y)))/2),b=v/y,_=v/m;Math.abs(b-1)>Hi&&(this._+="L"+(t+b*c)+","+(e+b*u)),this._+="A"+i+","+i+",0,0,"+ +(u*f>c*d)+","+(this._x1=t+_*s)+","+(this._y1=e+_*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+o,c=e+s,u=1^a,h=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>Hi||Math.abs(this._y1-c)>Hi)&&(this._+="L"+l+","+c),n&&(h<0&&(h=h%ji+ji),h>Ui?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>Hi&&(this._+="A"+n+","+n+",0,"+ +(h>=qi)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};const Yi=Wi;function Vi(t){return t.source}function Gi(t){return t.target}function Xi(t){return t.radius}function Zi(t){return t.startAngle}function Ki(t){return t.endAngle}function Qi(){var t=Vi,e=Gi,n=Xi,r=Zi,i=Ki,a=null;function o(){var o,s=Pi.call(arguments),l=t.apply(this,s),c=e.apply(this,s),u=+n.apply(this,(s[0]=l,s)),h=r.apply(this,s)-Li,f=i.apply(this,s)-Li,d=u*Ni(h),p=u*Di(h),g=+n.apply(this,(s[0]=c,s)),m=r.apply(this,s)-Li,y=i.apply(this,s)-Li;if(a||(a=o=Yi()),a.moveTo(d,p),a.arc(0,0,u,h,f),h===m&&f===y||(a.quadraticCurveTo(0,0,g*Ni(m),g*Di(m)),a.arc(0,0,g,m,y)),a.quadraticCurveTo(0,0,d,p),a.closePath(),o)return a=null,o+""||null}return o.radius=function(t){return arguments.length?(n="function"==typeof t?t:zi(+t),o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:zi(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:zi(+t),o):i},o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(t){return arguments.length?(e=t,o):e},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}var Ji="$";function ta(){}function ea(t,e){var n=new ta;if(t instanceof ta)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,a=t.length;if(null==e)for(;++i=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var l,c,u,h=-1,f=n.length,d=r[i++],p=na(),g=o();++hr.length)return t;var a,s=i[n-1];return null!=e&&n>=r.length?a=t.entries():(a=[],t.each((function(t,e){a.push({key:e,values:o(t,n)})}))),null!=s?a.sort((function(t,e){return s(t.key,e.key)})):a}return n={object:function(t){return a(t,0,ia,aa)},map:function(t){return a(t,0,oa,sa)},entries:function(t){return o(a(t,0,oa,sa),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}function ia(){return{}}function aa(t,e,n){t[e]=n}function oa(){return na()}function sa(t,e,n){t.set(e,n)}function la(){}var ca=na.prototype;function ua(t,e){var n=new la;if(t instanceof la)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r.008856451679035631?Math.pow(t,1/3):t/xa+ba}function Ta(t){return t>_a?t*t*t:xa*(t-ba)}function Aa(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Ma(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Na(t){if(t instanceof La)return new La(t.h,t.c,t.l,t.opacity);if(t instanceof Ea||(t=wa(t)),0===t.a&&0===t.b)return new La(NaN,0r!=d>r&&n<(f-c)*(r-u)/(d-u)+c&&(i=-i)}return i}function Ka(t,e,n){var r,i,a,o;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],a=n[r],o=e[r],i<=a&&a<=o||o<=a&&a<=i)}function Qa(){}var Ja=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function to(){var t=1,e=1,n=N,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(Va);else{var r=y(t),i=r[0],o=r[1];e=M(i,o,e),e=k(Math.floor(i/e)*e,Math.floor(o/e)*e,e)}return e.map((function(e){return a(t,e)}))}function a(n,i){var a=[],s=[];return function(n,r,i){var a,s,l,c,u,h,f=new Array,d=new Array;for(a=s=-1,c=n[0]>=r,Ja[c<<1].forEach(p);++a=r,Ja[l|c<<1].forEach(p);for(Ja[c<<0].forEach(p);++s=r,u=n[s*t]>=r,Ja[c<<1|u<<2].forEach(p);++a=r,h=u,u=n[s*t+a+1]>=r,Ja[l|c<<1|u<<2|h<<3].forEach(p);Ja[c|u<<3].forEach(p)}for(a=-1,u=n[s*t]>=r,Ja[u<<2].forEach(p);++a=r,Ja[u<<2|h<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+a,t[0][1]+s],l=[t[1][0]+a,t[1][1]+s],c=o(r),u=o(l);(e=d[c])?(n=f[u])?(delete d[e.end],delete f[n.start],e===n?(e.ring.push(l),i(e.ring)):f[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(l),d[e.end=u]=e):(e=f[u])?(n=d[c])?(delete f[e.start],delete d[n.end],e===n?(e.ring.push(l),i(e.ring)):f[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete f[e.start],e.ring.unshift(r),f[e.start=c]=e):f[c]=d[u]={start:c,end:u,ring:[r,l]}}Ja[u<<3].forEach(p)}(n,i,(function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e0?a.push([t]):s.push(t)})),s.forEach((function(t){for(var e,n=0,r=a.length;n0&&o0&&s0&&a>0))throw new Error("invalid size");return t=r,e=a,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Ga(Ya.call(t)):Ga(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:Qa,i):r===s},i}function eo(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o=n&&(s>=a&&(l-=t.data[s-a+o*r]),e.data[s-n+o*r]=l/Math.min(s+1,r-1+a-s,a))}function no(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o=n&&(s>=a&&(l-=t.data[o+(s-a)*r]),e.data[o+(s-n)*r]=l/Math.min(s+1,i-1+a-s,a))}function ro(t){return t[0]}function io(t){return t[1]}function ao(){return 1}function oo(){var t=ro,e=io,n=ao,r=960,i=500,a=20,o=2,s=3*a,l=r+2*s>>o,c=i+2*s>>o,u=Ga(20);function h(r){var i=new Float32Array(l*c),h=new Float32Array(l*c);r.forEach((function(r,a,u){var h=+t(r,a,u)+s>>o,f=+e(r,a,u)+s>>o,d=+n(r,a,u);h>=0&&h=0&&f>o),no({width:l,height:c,data:h},{width:l,height:c,data:i},a>>o),eo({width:l,height:c,data:i},{width:l,height:c,data:h},a>>o),no({width:l,height:c,data:h},{width:l,height:c,data:i},a>>o),eo({width:l,height:c,data:i},{width:l,height:c,data:h},a>>o),no({width:l,height:c,data:h},{width:l,height:c,data:i},a>>o);var d=u(i);if(!Array.isArray(d)){var p=I(i);d=M(0,p,d),(d=k(0,Math.floor(p/d)*d,d)).shift()}return to().thresholds(d).size([l,c])(i).map(f)}function f(t){return t.value*=Math.pow(2,-2*o),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,o)-s,t[1]=t[1]*Math.pow(2,o)-s}function m(){return l=r+2*(s=3*a)>>o,c=i+2*s>>o,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:Ga(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:Ga(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:Ga(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return r=e,i=n,m()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return o=Math.floor(Math.log(t)/Math.LN2),m()},h.thresholds=function(t){return arguments.length?(u="function"==typeof t?t:Array.isArray(t)?Ga(Ya.call(t)):Ga(t),h):u},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return a=Math.round((Math.sqrt(4*t*t+1)-1)/2),m()},h}function so(t){return function(){return t}}function lo(t,e,n,r,i,a,o,s,l,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=a,this.y=o,this.dx=s,this.dy=l,this._=c}function co(){return!ue.ctrlKey&&!ue.button}function uo(){return this.parentNode}function ho(t){return null==t?{x:ue.x,y:ue.y}:t}function fo(){return navigator.maxTouchPoints||"ontouchstart"in this}function po(){var t,e,n,r,i=co,a=uo,o=ho,s=fo,l={},c=ft("start","drag","end"),u=0,h=0;function f(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",m).on("touchmove.drag",y).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var o=b("mouse",a.apply(this,arguments),Ln,this,arguments);o&&(Ce(ue.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),Te(ue.view),Ee(),n=!1,t=ue.clientX,e=ue.clientY,o("start"))}}function p(){if(Se(),!n){var r=ue.clientX-t,i=ue.clientY-e;n=r*r+i*i>h}l.mouse("drag")}function g(){Ce(ue.view).on("mousemove.drag mouseup.drag",null),Ae(ue.view,n),Se(),l.mouse("end")}function m(){if(i.apply(this,arguments)){var t,e,n=ue.changedTouches,r=a.apply(this,arguments),o=n.length;for(t=0;t=a?l=!0:10===(r=t.charCodeAt(o++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(o)&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o9999?"+"+bo(t,6):bo(t,4)}(t.getUTCFullYear())+"-"+bo(t.getUTCMonth()+1,2)+"-"+bo(t.getUTCDate(),2)+(i?"T"+bo(e,2)+":"+bo(n,2)+":"+bo(r,2)+"."+bo(i,3)+"Z":r?"T"+bo(e,2)+":"+bo(n,2)+":"+bo(r,2)+"Z":n||e?"T"+bo(e,2)+":"+bo(n,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,(function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=yo(t);return function(r,i){return e(n(r),i,t)}}(t,e):yo(t)}));return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=vo(e)),[n.map(o).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=vo(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(a).join("\n")},formatRow:a,formatValue:o}}var xo=_o(","),wo=xo.parse,ko=xo.parseRows,Co=xo.format,Eo=xo.formatBody,So=xo.formatRows,To=xo.formatRow,Ao=xo.formatValue,Mo=_o("\t"),No=Mo.parse,Do=Mo.parseRows,Oo=Mo.format,Lo=Mo.formatBody,Bo=Mo.formatRows,Io=Mo.formatRow,Ro=Mo.formatValue;function Fo(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Po&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}var Po=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function zo(t){return+t}function qo(t){return t*t}function jo(t){return t*(2-t)}function Ho(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Uo=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),$o=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Wo=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Yo=Math.PI,Vo=Yo/2;function Go(t){return 1==+t?1:1-Math.cos(t*Vo)}function Xo(t){return Math.sin(t*Vo)}function Zo(t){return(1-Math.cos(Yo*t))/2}function Ko(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function Qo(t){return Ko(1-+t)}function Jo(t){return 1-Ko(t)}function ts(t){return((t*=2)<=1?Ko(1-t):2-Ko(t-1))/2}function es(t){return 1-Math.sqrt(1-t*t)}function ns(t){return Math.sqrt(1- --t*t)}function rs(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var is=7.5625;function as(t){return 1-os(1-t)}function os(t){return(t=+t)<.36363636363636365?is*t*t:t<.7272727272727273?is*(t-=.5454545454545454)*t+.75:t<.9090909090909091?is*(t-=.8181818181818182)*t+.9375:is*(t-=.9545454545454546)*t+.984375}function ss(t){return((t*=2)<=1?1-os(1-t):os(t-1)+1)/2}var ls=1.70158,cs=function t(e){function n(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,n.overshoot=t,n}(ls),us=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e=+e,n.overshoot=t,n}(ls),hs=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(ls),fs=2*Math.PI,ds=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=fs);function i(t){return e*Ko(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*fs)},i.period=function(n){return t(e,n)},i}(1,.3),ps=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=fs);function i(t){return 1-e*Ko(t=+t)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*fs)},i.period=function(n){return t(e,n)},i}(1,.3),gs=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=fs);function i(t){return((t=2*t-1)<0?e*Ko(-t)*Math.sin((r-t)/n):2-e*Ko(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*fs)},i.period=function(n){return t(e,n)},i}(1,.3);function ms(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function ys(t,e){return fetch(t,e).then(ms)}function vs(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function bs(t,e){return fetch(t,e).then(vs)}function _s(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function xs(t,e){return fetch(t,e).then(_s)}function ws(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),xs(e,n).then((function(e){return t(e,r)}))}}function ks(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=_o(t);return xs(e,n).then((function(t){return i.parse(t,r)}))}var Cs=ws(wo),Es=ws(No);function Ss(t,e){return new Promise((function(n,r){var i=new Image;for(var a in e)i[a]=e[a];i.onerror=r,i.onload=function(){n(i)},i.src=t}))}function Ts(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function As(t,e){return fetch(t,e).then(Ts)}function Ms(t){return function(e,n){return xs(e,n).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}const Ns=Ms("application/xml");var Ds=Ms("text/html"),Os=Ms("image/svg+xml");function Ls(t,e){var n;function r(){var r,i,a=n.length,o=0,s=0;for(r=0;r=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o,i=d,!(d=d[h=u<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,d.data),l=+t._y.call(null,d.data),e===s&&n===l)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(a=(g+y)/2))?g=a:y=a,(u=n>=(o=(m+v)/2))?m=o:v=o}while((h=u<<1|c)==(f=(l>=o)<<1|s>=a));return i[f]=d,i[h]=p,t}function Fs(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function Ps(t){return t[0]}function zs(t){return t[1]}function qs(t,e,n){var r=new js(null==e?Ps:e,null==n?zs:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function js(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Hs(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Us=qs.prototype=js.prototype;function $s(t){return t.x+t.vx}function Ws(t){return t.y+t.vy}function Ys(t){var e,n,r=1,i=1;function a(){for(var t,a,s,l,c,u,h,f=e.length,d=0;dl+d||ic+d||as.index){var p=l-o.x-o.vx,g=c-o.y-o.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,a=e.length;for(n=new Array(a),r=0;ru&&(u=r),ih&&(h=i));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),n=0;nt||t>=i||r>e||e>=a;)switch(s=(ef||(a=l.y0)>d||(o=l.x1)=y)<<1|t>=m)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var v=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),_=v*v+b*b;if(_=(s=(p+m)/2))?p=s:m=s,(u=o>=(l=(g+y)/2))?g=l:y=l,e=d,!(d=d[h=u<<1|c]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Us.removeAll=function(t){for(var e=0,n=t.length;e1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,a,o,s,l,c=0,u=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}}function tl(){var t,e,n,r,i=Bs(-30),a=1,o=1/0,s=.81;function l(r){var i,a=t.length,o=qs(t,Zs,Ks).visitAfter(u);for(n=r,i=0;i=o)){(t.data!==e||t.next)&&(0===u&&(d+=(u=Is())*u),0===h&&(d+=(h=Is())*h),d1?r[0]+r.slice(2):r,+t.slice(n+1)]}function al(t){return(t=il(Math.abs(t)))?t[1]:NaN}var ol,sl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ll(t){if(!(e=sl.exec(t)))throw new Error("invalid format: "+t);var e;return new cl({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function cl(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ul(t,e){var n=il(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ll.prototype=cl.prototype,cl.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const hl={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return ul(100*t,e)},r:ul,s:function(t,e){var n=il(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(ol=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+il(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function fl(t){return t}var dl,pl,gl,ml=Array.prototype.map,yl=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function vl(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?fl:(e=ml.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?fl:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ml.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=ll(t)).fill,n=t.align,h=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,v=t.type;"n"===v?(g=!0,v="g"):hl[v]||(void 0===m&&(m=12),y=!0,v="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===f?i:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===f?a:/[%p]/.test(v)?l:"",x=hl[v],w=/[defgprs%]/.test(v);function k(t){var i,a,l,f=b,k=_;if("c"===v)k=x(t)+k,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:x(Math.abs(t),m),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),C&&0==+t&&"+"!==h&&(C=!1),f=(C?"("===h?h:c:"-"===h||"("===h?"":h)+f,k=("s"===v?yl[8+ol/3]:"")+k+(C&&"("===h?")":""),w)for(i=-1,a=t.length;++i(l=t.charCodeAt(i))||l>57){k=(46===l?o+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var E=f.length+t.length+k.length,S=E>1)+f+t+k+S.slice(E);break;default:t=S+f+t+k}return s(t)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=ll(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(al(e)/3))),i=Math.pow(10,-r),a=yl[8+r/3];return function(t){return n(i*t)+a}}}}function bl(t){return dl=vl(t),pl=dl.format,gl=dl.formatPrefix,dl}function _l(t){return Math.max(0,-al(Math.abs(t)))}function xl(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(al(e)/3)))-al(Math.abs(t)))}function wl(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,al(e)-al(t))+1}function kl(){return new Cl}function Cl(){this.reset()}bl({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Cl.prototype={constructor:Cl,reset:function(){this.s=this.t=0},add:function(t){Sl(El,t,this.t),Sl(this,El.s,this.s),this.s?this.t+=El.t:this.s=El.t},valueOf:function(){return this.s}};var El=new Cl;function Sl(t,e,n){var r=t.s=e+n,i=r-e,a=r-i;t.t=e-a+(n-i)}var Tl=1e-6,Al=1e-12,Ml=Math.PI,Nl=Ml/2,Dl=Ml/4,Ol=2*Ml,Ll=180/Ml,Bl=Ml/180,Il=Math.abs,Rl=Math.atan,Fl=Math.atan2,Pl=Math.cos,zl=Math.ceil,ql=Math.exp,jl=Math.log,Hl=Math.pow,Ul=Math.sin,$l=Math.sign||function(t){return t>0?1:t<0?-1:0},Wl=Math.sqrt,Yl=Math.tan;function Vl(t){return t>1?0:t<-1?Ml:Math.acos(t)}function Gl(t){return t>1?Nl:t<-1?-Nl:Math.asin(t)}function Xl(t){return(t=Ul(t/2))*t}function Zl(){}function Kl(t,e){t&&Jl.hasOwnProperty(t.type)&&Jl[t.type](t,e)}var Ql={Feature:function(t,e){Kl(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,a=Pl(e=(e*=Bl)/2+Dl),o=Ul(e),s=sc*o,l=oc*a+s*Pl(i),c=s*r*Ul(i);lc.add(Fl(c,l)),ac=t,oc=a,sc=o}function gc(t){return cc.reset(),nc(t,uc),2*cc}function mc(t){return[Fl(t[1],t[0]),Gl(t[2])]}function yc(t){var e=t[0],n=t[1],r=Pl(n);return[r*Pl(e),r*Ul(e),Ul(n)]}function vc(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function bc(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function _c(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function xc(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function wc(t){var e=Wl(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var kc,Cc,Ec,Sc,Tc,Ac,Mc,Nc,Dc,Oc,Lc,Bc,Ic,Rc,Fc,Pc,zc,qc,jc,Hc,Uc,$c,Wc,Yc,Vc,Gc,Xc=kl(),Zc={point:Kc,lineStart:Jc,lineEnd:tu,polygonStart:function(){Zc.point=eu,Zc.lineStart=nu,Zc.lineEnd=ru,Xc.reset(),uc.polygonStart()},polygonEnd:function(){uc.polygonEnd(),Zc.point=Kc,Zc.lineStart=Jc,Zc.lineEnd=tu,lc<0?(kc=-(Ec=180),Cc=-(Sc=90)):Xc>Tl?Sc=90:Xc<-1e-6&&(Cc=-90),Oc[0]=kc,Oc[1]=Ec},sphere:function(){kc=-(Ec=180),Cc=-(Sc=90)}};function Kc(t,e){Dc.push(Oc=[kc=t,Ec=t]),eSc&&(Sc=e)}function Qc(t,e){var n=yc([t*Bl,e*Bl]);if(Nc){var r=bc(Nc,n),i=bc([r[1],-r[0],0],r);wc(i),i=mc(i);var a,o=t-Tc,s=o>0?1:-1,l=i[0]*Ll*s,c=Il(o)>180;c^(s*TcSc&&(Sc=a):c^(s*Tc<(l=(l+360)%360-180)&&lSc&&(Sc=e)),c?tiu(kc,Ec)&&(Ec=t):iu(t,Ec)>iu(kc,Ec)&&(kc=t):Ec>=kc?(tEc&&(Ec=t)):t>Tc?iu(kc,t)>iu(kc,Ec)&&(Ec=t):iu(t,Ec)>iu(kc,Ec)&&(kc=t)}else Dc.push(Oc=[kc=t,Ec=t]);eSc&&(Sc=e),Nc=n,Tc=t}function Jc(){Zc.point=Qc}function tu(){Oc[0]=kc,Oc[1]=Ec,Zc.point=Kc,Nc=null}function eu(t,e){if(Nc){var n=t-Tc;Xc.add(Il(n)>180?n+(n>0?360:-360):n)}else Ac=t,Mc=e;uc.point(t,e),Qc(t,e)}function nu(){uc.lineStart()}function ru(){eu(Ac,Mc),uc.lineEnd(),Il(Xc)>Tl&&(kc=-(Ec=180)),Oc[0]=kc,Oc[1]=Ec,Nc=null}function iu(t,e){return(e-=t)<0?e+360:e}function au(t,e){return t[0]-e[0]}function ou(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eiu(r[0],r[1])&&(r[1]=i[1]),iu(i[0],r[1])>iu(r[0],r[1])&&(r[0]=i[0])):a.push(r=i);for(o=-1/0,e=0,r=a[n=a.length-1];e<=n;r=i,++e)i=a[e],(s=iu(r[1],i[0]))>o&&(o=s,kc=i[0],Ec=r[1])}return Dc=Oc=null,kc===1/0||Cc===1/0?[[NaN,NaN],[NaN,NaN]]:[[kc,Cc],[Ec,Sc]]}var lu={sphere:Zl,point:cu,lineStart:hu,lineEnd:pu,polygonStart:function(){lu.lineStart=gu,lu.lineEnd=mu},polygonEnd:function(){lu.lineStart=hu,lu.lineEnd=pu}};function cu(t,e){t*=Bl;var n=Pl(e*=Bl);uu(n*Pl(t),n*Ul(t),Ul(e))}function uu(t,e,n){++Lc,Ic+=(t-Ic)/Lc,Rc+=(e-Rc)/Lc,Fc+=(n-Fc)/Lc}function hu(){lu.point=fu}function fu(t,e){t*=Bl;var n=Pl(e*=Bl);Yc=n*Pl(t),Vc=n*Ul(t),Gc=Ul(e),lu.point=du,uu(Yc,Vc,Gc)}function du(t,e){t*=Bl;var n=Pl(e*=Bl),r=n*Pl(t),i=n*Ul(t),a=Ul(e),o=Fl(Wl((o=Vc*a-Gc*i)*o+(o=Gc*r-Yc*a)*o+(o=Yc*i-Vc*r)*o),Yc*r+Vc*i+Gc*a);Bc+=o,Pc+=o*(Yc+(Yc=r)),zc+=o*(Vc+(Vc=i)),qc+=o*(Gc+(Gc=a)),uu(Yc,Vc,Gc)}function pu(){lu.point=cu}function gu(){lu.point=yu}function mu(){vu($c,Wc),lu.point=cu}function yu(t,e){$c=t,Wc=e,t*=Bl,e*=Bl,lu.point=vu;var n=Pl(e);Yc=n*Pl(t),Vc=n*Ul(t),Gc=Ul(e),uu(Yc,Vc,Gc)}function vu(t,e){t*=Bl;var n=Pl(e*=Bl),r=n*Pl(t),i=n*Ul(t),a=Ul(e),o=Vc*a-Gc*i,s=Gc*r-Yc*a,l=Yc*i-Vc*r,c=Wl(o*o+s*s+l*l),u=Gl(c),h=c&&-u/c;jc+=h*o,Hc+=h*s,Uc+=h*l,Bc+=u,Pc+=u*(Yc+(Yc=r)),zc+=u*(Vc+(Vc=i)),qc+=u*(Gc+(Gc=a)),uu(Yc,Vc,Gc)}function bu(t){Lc=Bc=Ic=Rc=Fc=Pc=zc=qc=jc=Hc=Uc=0,nc(t,lu);var e=jc,n=Hc,r=Uc,i=e*e+n*n+r*r;return iMl?t+Math.round(-t/Ol)*Ol:t,e]}function ku(t,e,n){return(t%=Ol)?e||n?xu(Eu(t),Su(e,n)):Eu(t):e||n?Su(e,n):wu}function Cu(t){return function(e,n){return[(e+=t)>Ml?e-Ol:e<-Ml?e+Ol:e,n]}}function Eu(t){var e=Cu(t);return e.invert=Cu(-t),e}function Su(t,e){var n=Pl(t),r=Ul(t),i=Pl(e),a=Ul(e);function o(t,e){var o=Pl(e),s=Pl(t)*o,l=Ul(t)*o,c=Ul(e),u=c*n+s*r;return[Fl(l*i-u*a,s*n-c*r),Gl(u*i+l*a)]}return o.invert=function(t,e){var o=Pl(e),s=Pl(t)*o,l=Ul(t)*o,c=Ul(e),u=c*i-l*a;return[Fl(l*i+c*a,s*n+u*r),Gl(u*n-s*r)]},o}function Tu(t){function e(e){return(e=t(e[0]*Bl,e[1]*Bl))[0]*=Ll,e[1]*=Ll,e}return t=ku(t[0]*Bl,t[1]*Bl,t.length>2?t[2]*Bl:0),e.invert=function(e){return(e=t.invert(e[0]*Bl,e[1]*Bl))[0]*=Ll,e[1]*=Ll,e},e}function Au(t,e,n,r,i,a){if(n){var o=Pl(e),s=Ul(e),l=r*n;null==i?(i=e+r*Ol,a=e-l/2):(i=Mu(o,i),a=Mu(o,a),(r>0?ia)&&(i+=r*Ol));for(var c,u=i;r>0?u>a:u1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function Ou(t,e){return Il(t[0]-e[0])=0;--a)i.point((u=c[a])[0],u[1]);else r(f.x,f.p.x,-1,i);f=f.p}c=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}}function Iu(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,E=C*k,S=E>Ml,T=g*x;if(Ru.add(Fl(T*C*Ul(E),m*w+T*Pl(E))),o+=S?k+C*Ol:k,S^d>=n^b>=n){var A=bc(yc(f),yc(v));wc(A);var M=bc(a,A);wc(M);var N=(S^k>=0?-1:1)*Gl(M[2]);(r>N||r===N&&(A[0]||A[1]))&&(s+=S^k>=0?1:-1)}}return(o<-1e-6||o0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t1&&2&l&&f.push(f.pop().concat(f.shift())),o.push(f.filter(qu))}return f}}function qu(t){return t.length>1}function ju(t,e){return((t=t.x)[0]<0?t[1]-Nl-Tl:Nl-t[1])-((e=e.x)[0]<0?e[1]-Nl-Tl:Nl-e[1])}const Hu=zu((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var s=a>0?Ml:-Ml,l=Il(a-n);Il(l-Ml)0?Nl:-Nl),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(a,r),e=0):i!==s&&l>=Ml&&(Il(n-i)Tl?Rl((Ul(e)*(a=Pl(r))*Ul(n)-Ul(r)*(i=Pl(e))*Ul(t))/(i*a*o)):(e+r)/2}(n,r,a,o),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=a,r=o),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*Nl,r.point(-Ml,i),r.point(0,i),r.point(Ml,i),r.point(Ml,0),r.point(Ml,-i),r.point(0,-i),r.point(-Ml,-i),r.point(-Ml,0),r.point(-Ml,i);else if(Il(t[0]-e[0])>Tl){var a=t[0]0,i=Il(e)>Tl;function a(t,n){return Pl(t)*Pl(n)>e}function o(t,n,r){var i=[1,0,0],a=bc(yc(t),yc(n)),o=vc(a,a),s=a[0],l=o-s*s;if(!l)return!r&&t;var c=e*o/l,u=-e*s/l,h=bc(i,a),f=xc(i,c);_c(f,xc(a,u));var d=h,p=vc(f,d),g=vc(d,d),m=p*p-g*(vc(f,f)-1);if(!(m<0)){var y=Wl(m),v=xc(d,(-p-y)/g);if(_c(v,f),v=mc(v),!r)return v;var b,_=t[0],x=n[0],w=t[1],k=n[1];x<_&&(b=_,_=x,x=b);var C=x-_,E=Il(C-Ml)0^v[1]<(Il(v[0]-_)Ml^(_<=v[0]&&v[0]<=x)){var S=xc(d,(-p+y)/g);return _c(S,f),[v,mc(S)]}}}function s(e,n){var i=r?t:Ml-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return zu(a,(function(t){var e,n,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,f){var d,p=[h,f],g=a(h,f),m=r?g?0:s(h,f):g?s(h+(h<0?Ml:-Ml),f):0;if(!e&&(c=l=g)&&t.lineStart(),g!==l&&(!(d=o(e,p))||Ou(e,d)||Ou(p,d))&&(p[2]=1),g!==l)u=0,g?(t.lineStart(),d=o(p,e),t.point(d[0],d[1])):(d=o(e,p),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&r^g){var y;m&n||!(y=o(p,e,!0))||(u=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1],3)))}!g||e&&Ou(e,p)||t.point(p[0],p[1]),e=p,l=g,n=m},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return u|(c&&l)<<1}}}),(function(e,r,i,a){Au(a,t,n,i,e,r)}),r?[0,-t]:[-Ml,t-Ml])}var $u=1e9,Wu=-$u;function Yu(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,s,c){var u=0,h=0;if(null==i||(u=o(i,s))!==(h=o(a,s))||l(i,a)<0^s>0)do{c.point(0===u||3===u?t:n,u>1?r:e)}while((u=(u+s+4)%4)!==h);else c.point(a[0],a[1])}function o(r,i){return Il(r[0]-t)0?0:3:Il(r[0]-n)0?2:1:Il(r[1]-e)0?1:0:i>0?3:2}function s(t,e){return l(t.x,e.x)}function l(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var l,c,u,h,f,d,p,g,m,y,v,b=o,_=Du(),x={point:w,lineStart:function(){x.point=k,c&&c.push(u=[]),y=!0,m=!1,p=g=NaN},lineEnd:function(){l&&(k(h,f),d&&m&&_.rejoin(),l.push(_.result())),x.point=w,m&&b.lineEnd()},polygonStart:function(){b=_,l=[],c=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;nr&&(f-a)*(r-o)>(d-o)*(t-a)&&++e:d<=r&&(f-a)*(r-o)<(d-o)*(t-a)&&--e;return e}(),n=v&&e,i=(l=P(l)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&Bu(l,s,e,a,o),o.polygonEnd()),b=o,l=c=u=null}};function w(t,e){i(t,e)&&b.point(t,e)}function k(a,o){var s=i(a,o);if(c&&u.push([a,o]),y)h=a,f=o,d=s,y=!1,s&&(b.lineStart(),b.point(a,o));else if(s&&m)b.point(a,o);else{var l=[p=Math.max(Wu,Math.min($u,p)),g=Math.max(Wu,Math.min($u,g))],_=[a=Math.max(Wu,Math.min($u,a)),o=Math.max(Wu,Math.min($u,o))];!function(t,e,n,r,i,a){var o,s=t[0],l=t[1],c=0,u=1,h=e[0]-s,f=e[1]-l;if(o=n-s,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>u)return;o>c&&(c=o)}if(o=i-s,h||!(o<0)){if(o/=h,h<0){if(o>u)return;o>c&&(c=o)}else if(h>0){if(o0)){if(o/=f,f<0){if(o0){if(o>u)return;o>c&&(c=o)}if(o=a-l,f||!(o<0)){if(o/=f,f<0){if(o>u)return;o>c&&(c=o)}else if(f>0){if(o0&&(t[0]=s+c*h,t[1]=l+c*f),u<1&&(e[0]=s+u*h,e[1]=l+u*f),!0}}}}}(l,_,t,e,n,r)?s&&(b.lineStart(),b.point(a,o),v=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(_[0],_[1]),s||b.lineEnd(),v=!1)}p=a,g=o,m=s}return x}}function Vu(){var t,e,n,r=0,i=0,a=960,o=500;return n={stream:function(n){return t&&e===n?t:t=Yu(r,i,a,o)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],a=+s[1][0],o=+s[1][1],t=e=null,n):[[r,i],[a,o]]}}}var Gu,Xu,Zu,Ku=kl(),Qu={sphere:Zl,point:Zl,lineStart:function(){Qu.point=th,Qu.lineEnd=Ju},lineEnd:Zl,polygonStart:Zl,polygonEnd:Zl};function Ju(){Qu.point=Qu.lineEnd=Zl}function th(t,e){Gu=t*=Bl,Xu=Ul(e*=Bl),Zu=Pl(e),Qu.point=eh}function eh(t,e){t*=Bl;var n=Ul(e*=Bl),r=Pl(e),i=Il(t-Gu),a=Pl(i),o=r*Ul(i),s=Zu*n-Xu*r*a,l=Xu*n+Zu*r*a;Ku.add(Fl(Wl(o*o+s*s),l)),Gu=t,Xu=n,Zu=r}function nh(t){return Ku.reset(),nc(t,Qu),+Ku}var rh=[null,null],ih={type:"LineString",coordinates:rh};function ah(t,e){return rh[0]=t,rh[1]=e,nh(ih)}var oh={Feature:function(t,e){return lh(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r0&&(i=ah(t[a],t[a-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))Tl})).map(l)).concat(k(zl(a/d)*d,i,d).filter((function(t){return Il(t%g)>Tl})).map(c))}return y.lines=function(){return v().map((function(t){return{type:"LineString",coordinates:t}}))},y.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(h(o).slice(1),u(n).reverse().slice(1),h(s).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),s>o&&(t=s,s=o,o=t),y.precision(m)):[[r,s],[n,o]]},y.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),y.precision(m)):[[e,a],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(f=+t[0],d=+t[1],y):[f,d]},y.precision=function(f){return arguments.length?(m=+f,l=gh(a,i,90),c=mh(e,t,m),u=gh(s,o,90),h=mh(r,n,m),y):m},y.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function vh(){return yh()()}function bh(t,e){var n=t[0]*Bl,r=t[1]*Bl,i=e[0]*Bl,a=e[1]*Bl,o=Pl(r),s=Ul(r),l=Pl(a),c=Ul(a),u=o*Pl(n),h=o*Ul(n),f=l*Pl(i),d=l*Ul(i),p=2*Gl(Wl(Xl(a-r)+o*l*Xl(i-n))),g=Ul(p),m=p?function(t){var e=Ul(t*=p)/g,n=Ul(p-t)/g,r=n*u+e*f,i=n*h+e*d,a=n*s+e*c;return[Fl(i,r)*Ll,Fl(a,Wl(r*r+i*i))*Ll]}:function(){return[n*Ll,r*Ll]};return m.distance=p,m}function _h(t){return t}var xh,wh,kh,Ch,Eh=kl(),Sh=kl(),Th={point:Zl,lineStart:Zl,lineEnd:Zl,polygonStart:function(){Th.lineStart=Ah,Th.lineEnd=Dh},polygonEnd:function(){Th.lineStart=Th.lineEnd=Th.point=Zl,Eh.add(Il(Sh)),Sh.reset()},result:function(){var t=Eh/2;return Eh.reset(),t}};function Ah(){Th.point=Mh}function Mh(t,e){Th.point=Nh,xh=kh=t,wh=Ch=e}function Nh(t,e){Sh.add(Ch*t-kh*e),kh=t,Ch=e}function Dh(){Nh(xh,wh)}const Oh=Th;var Lh=1/0,Bh=Lh,Ih=-Lh,Rh=Ih,Fh={point:function(t,e){tIh&&(Ih=t),eRh&&(Rh=e)},lineStart:Zl,lineEnd:Zl,polygonStart:Zl,polygonEnd:Zl,result:function(){var t=[[Lh,Bh],[Ih,Rh]];return Ih=Rh=-(Bh=Lh=1/0),t}};const Ph=Fh;var zh,qh,jh,Hh,Uh=0,$h=0,Wh=0,Yh=0,Vh=0,Gh=0,Xh=0,Zh=0,Kh=0,Qh={point:Jh,lineStart:tf,lineEnd:rf,polygonStart:function(){Qh.lineStart=af,Qh.lineEnd=of},polygonEnd:function(){Qh.point=Jh,Qh.lineStart=tf,Qh.lineEnd=rf},result:function(){var t=Kh?[Xh/Kh,Zh/Kh]:Gh?[Yh/Gh,Vh/Gh]:Wh?[Uh/Wh,$h/Wh]:[NaN,NaN];return Uh=$h=Wh=Yh=Vh=Gh=Xh=Zh=Kh=0,t}};function Jh(t,e){Uh+=t,$h+=e,++Wh}function tf(){Qh.point=ef}function ef(t,e){Qh.point=nf,Jh(jh=t,Hh=e)}function nf(t,e){var n=t-jh,r=e-Hh,i=Wl(n*n+r*r);Yh+=i*(jh+t)/2,Vh+=i*(Hh+e)/2,Gh+=i,Jh(jh=t,Hh=e)}function rf(){Qh.point=Jh}function af(){Qh.point=sf}function of(){lf(zh,qh)}function sf(t,e){Qh.point=lf,Jh(zh=jh=t,qh=Hh=e)}function lf(t,e){var n=t-jh,r=e-Hh,i=Wl(n*n+r*r);Yh+=i*(jh+t)/2,Vh+=i*(Hh+e)/2,Gh+=i,Xh+=(i=Hh*t-jh*e)*(jh+t),Zh+=i*(Hh+e),Kh+=3*i,Jh(jh=t,Hh=e)}const cf=Qh;function uf(t){this._context=t}uf.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,Ol)}},result:Zl};var hf,ff,df,pf,gf,mf=kl(),yf={point:Zl,lineStart:function(){yf.point=vf},lineEnd:function(){hf&&bf(ff,df),yf.point=Zl},polygonStart:function(){hf=!0},polygonEnd:function(){hf=null},result:function(){var t=+mf;return mf.reset(),t}};function vf(t,e){yf.point=bf,ff=pf=t,df=gf=e}function bf(t,e){pf-=t,gf-=e,mf.add(Wl(pf*pf+gf*gf)),pf=t,gf=e}const _f=yf;function xf(){this._string=[]}function wf(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function kf(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),nc(t,n(r))),r.result()}return a.area=function(t){return nc(t,n(Oh)),Oh.result()},a.measure=function(t){return nc(t,n(_f)),_f.result()},a.bounds=function(t){return nc(t,n(Ph)),Ph.result()},a.centroid=function(t){return nc(t,n(cf)),cf.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,_h):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new xf):new uf(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)}function Cf(t){return{stream:Ef(t)}}function Ef(t){return function(e){var n=new Sf;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Sf(){}function Tf(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),nc(n,t.stream(Ph)),e(Ph.result()),null!=r&&t.clipExtent(r),t}function Af(t,e,n){return Tf(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,s])}),n)}function Mf(t,e,n){return Af(t,[[0,0],e],n)}function Nf(t,e,n){return Tf(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])}),n)}function Df(t,e,n){return Tf(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])}),n)}xf.prototype={_radius:4.5,_circle:wf(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=wf(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Sf.prototype={constructor:Sf,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Of=Pl(30*Bl);function Lf(t,e){return+e?function(t,e){function n(r,i,a,o,s,l,c,u,h,f,d,p,g,m){var y=c-r,v=u-i,b=y*y+v*v;if(b>4*e&&g--){var _=o+f,x=s+d,w=l+p,k=Wl(_*_+x*x+w*w),C=Gl(w/=k),E=Il(Il(w)-1)e||Il((y*M+v*N)/b-.5)>.3||o*f+s*d+l*p2?t[2]%360*Bl:0,M()):[m*Ll,y*Ll,v*Ll]},T.angle=function(t){return arguments.length?(b=t%360*Bl,M()):b*Ll},T.reflectX=function(t){return arguments.length?(_=t?-1:1,M()):_<0},T.reflectY=function(t){return arguments.length?(x=t?-1:1,M()):x<0},T.precision=function(t){return arguments.length?(o=Lf(s,S=t*t),N()):Wl(S)},T.fitExtent=function(t,e){return Af(T,t,e)},T.fitSize=function(t,e){return Mf(T,t,e)},T.fitWidth=function(t,e){return Nf(T,t,e)},T.fitHeight=function(t,e){return Df(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&A,M()}}function zf(t){var e=0,n=Ml/3,r=Pf(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*Bl,n=t[1]*Bl):[e*Ll,n*Ll]},i}function qf(t,e){var n=Ul(t),r=(n+Ul(e))/2;if(Il(r)=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:o).invert(t)},u.stream=function(n){return t&&e===n?t:(r=[o.stream(e=n),s.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n0?e<-Nl+Tl&&(e=-Nl+Tl):e>Nl-Tl&&(e=Nl-Tl);var n=i/Hl(Jf(e),r);return[n*Ul(r*t),i-n*Pl(r*t)]}return a.invert=function(t,e){var n=i-e,a=$l(r)*Wl(t*t+n*n),o=Fl(t,Il(n))*$l(n);return n*r<0&&(o-=Ml*$l(t)*$l(n)),[o/r,2*Rl(Hl(i/a,1/r))-Nl]},a}function ed(){return zf(td).scale(109.5).parallels([30,30])}function nd(t,e){return[t,e]}function rd(){return Ff(nd).scale(152.63)}function id(t,e){var n=Pl(t),r=t===e?Ul(t):(n-Pl(e))/(e-t),i=n/r+t;if(Il(r)2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}function Cd(t,e){return t.parent===e.parent?1:2}function Ed(t,e){return t+e.x}function Sd(t,e){return Math.max(t,e.y)}function Td(){var t=Cd,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(Ed,0)/t.length}(n),e.y=function(t){return 1+t.reduce(Sd,0)}(n)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),l=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=s.x-t(s,l)/2,u=l.x+t(l,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function Ad(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function Md(t,e){var n,r,i,a,o,s=new Ld(t),l=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=Nd);n=c.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)c.push(r=n.children[a]=new Ld(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Od)}function Nd(t){return t.children}function Dd(t){t.data=t.data.data}function Od(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Ld(t){this.data=t,this.depth=this.height=0,this.parent=null}hd.invert=function(t,e){for(var n,r=e,i=r*r,a=i*i*i,o=0;o<12&&(a=(i=(r-=n=(r*(od+sd*i+a*(ld+cd*i))-e)/(od+3*sd*i+a*(7*ld+9*cd*i)))*r)*i*i,!(Il(n)Tl&&--i>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},vd.invert=Wf(Gl),_d.invert=Wf((function(t){return 2*Rl(t)})),wd.invert=function(t,e){return[-e,2*Rl(ql(t))-Nl]},Ld.prototype=Md.prototype={constructor:Ld,count:function(){return this.eachAfter(Ad)},each:function(t){var e,n,r,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return Md(this).eachBefore(Dd)}};var Bd=Array.prototype.slice;function Id(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(Bd.call(t))).length,a=[];r0&&n*n>r*r+i*i}function zd(t,e){for(var n=0;n(o*=o)?(r=(c+o-i)/(2*c),a=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x-r*s-a*l,n.y=t.y-r*l+a*s):(r=(c+i-o)/(2*c),a=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*s-a*l,n.y=e.y+r*l+a*s)):(n.x=e.x+n.r,n.y=e.y)}function $d(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function Wd(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function Yd(t){this._=t,this.next=null,this.previous=null}function Vd(t){if(!(i=t.length))return 0;var e,n,r,i,a,o,s,l,c,u,h;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;Ud(n,e,r=t[2]),e=new Yd(e),n=new Yd(n),r=new Yd(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s0)throw new Error("cycle");return a}return n.id=function(e){return arguments.length?(t=Zd(e),n):t},n.parentId=function(t){return arguments.length?(e=Zd(t),n):e},n}function fp(t,e){return t.parent===e.parent?1:2}function dp(t){var e=t.children;return e?e[0]:t.t}function pp(t){var e=t.children;return e?e[e.length-1]:t.t}function gp(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function mp(t,e,n){return t.a.parent===e.parent?t.a:n}function yp(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function vp(){var t=fp,e=1,n=1,r=null;function i(i){var l=function(t){for(var e,n,r,i,a,o=new yp(t,0),s=[o];e=s.pop();)if(r=e._.children)for(e.children=new Array(a=r.length),i=a-1;i>=0;--i)s.push(n=e.children[i]=new yp(r[i],i)),n.parent=e;return(o.parent=new yp(null,0)).children=[o],o}(i);if(l.eachAfter(a),l.parent.m=-l.z,l.eachBefore(o),r)i.eachBefore(s);else{var c=i,u=i,h=i;i.eachBefore((function(t){t.xu.x&&(u=t),t.depth>h.depth&&(h=t)}));var f=c===u?1:t(c,u)/2,d=f-c.x,p=e/(u.x+f+d),g=n/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)(e=i[a]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a=e,o=e,s=n,l=a.parent.children[0],c=a.m,u=o.m,h=s.m,f=l.m;s=pp(s),a=dp(a),s&&a;)l=dp(l),(o=pp(o)).a=e,(i=s.z+h-a.z-c+t(s._,a._))>0&&(gp(mp(s,e,r),e,i),c+=i,u+=i),h+=s.m,c+=a.m,f+=l.m,u+=o.m;s&&!pp(o)&&(o.t=s,o.m+=h-u),a&&!dp(l)&&(l.t=a,l.m+=c-f,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function bp(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,c=t.value&&(i-n)/t.value;++sf&&(f=s),m=u*u*g,(d=Math.max(f/m,m/h))>p){u-=s;break}p=d}y.push(o={value:u,dice:l1?e:1)},n}(_p);function kp(){var t=wp,e=!1,n=1,r=1,i=[0],a=Kd,o=Kd,s=Kd,l=Kd,c=Kd;function u(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(h),i=[0],e&&t.eachBefore(ip),t}function h(e){var n=i[e.depth],r=e.x0+n,u=e.y0+n,h=e.x1-n,f=e.y1-n;h=n-1){var u=s[e];return u.x0=i,u.y0=a,u.x1=o,void(u.y1=l)}for(var h=c[e],f=r/2+h,d=e+1,p=n-1;d>>1;c[g]l-a){var v=(i*y+o*m)/r;t(e,d,m,i,a,v,l),t(d,n,y,v,a,o,l)}else{var b=(a*y+l*m)/r;t(e,d,m,i,a,o,b),t(d,n,y,i,b,o,l)}}(0,l,t.value,e,n,r,i)}function Ep(t,e,n,r,i){(1&t.depth?bp:ap)(t,e,n,r,i)}const Sp=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,s,l,c,u,h=-1,f=o.length,d=t.value;++h1?e:1)},n}(_p);function Tp(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function Ap(t,e){var n=dn(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}function Mp(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Np=Math.SQRT2;function Dp(t){return((t=Math.exp(t))+1/t)/2}function Op(t,e){var n,r,i=t[0],a=t[1],o=t[2],s=e[0],l=e[1],c=e[2],u=s-i,h=l-a,f=u*u+h*h;if(f<1e-12)r=Math.log(c/o)/Np,n=function(t){return[i+t*u,a+t*h,o*Math.exp(Np*t*r)]};else{var d=Math.sqrt(f),p=(c*c-o*o+4*f)/(2*o*2*d),g=(c*c-o*o-4*f)/(2*c*2*d),m=Math.log(Math.sqrt(p*p+1)-p),y=Math.log(Math.sqrt(g*g+1)-g);r=(y-m)/Np,n=function(t){var e,n=t*r,s=Dp(m),l=o/(2*d)*(s*(e=Np*n+m,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[i+l*u,a+l*h,o*s/Dp(Np*n+m)]}}return n.duration=1e3*r,n}function Lp(t){return function(e,n){var r=t((e=an(e)).h,(n=an(n)).h),i=pn(e.s,n.s),a=pn(e.l,n.l),o=pn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=a(t),e.opacity=o(t),e+""}}}const Bp=Lp(dn);var Ip=Lp(pn);function Rp(t,e){var n=pn((t=Ca(t)).l,(e=Ca(e)).l),r=pn(t.a,e.a),i=pn(t.b,e.b),a=pn(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=a(e),t+""}}function Fp(t){return function(e,n){var r=t((e=Oa(e)).h,(n=Oa(n)).h),i=pn(e.c,n.c),a=pn(e.l,n.l),o=pn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}const Pp=Fp(dn);var zp=Fp(pn);function qp(t){return function e(n){function r(e,r){var i=t((e=$a(e)).h,(r=$a(r)).h),a=pn(e.s,r.s),o=pn(e.l,r.l),s=pn(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}const jp=qp(dn);var Hp=qp(pn);function Up(t,e){for(var n=0,r=e.length-1,i=e[0],a=new Array(r<0?0:r);n1&&Vp(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function Zp(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e=0;--e)c.push(t[r[a[e]][2]]);for(e=+s;es!=c>s&&o<(l-n)*(s-r)/(c-r)+n&&(u=!u),l=n,c=r;return u}function Qp(t){for(var e,n,r=-1,i=t.length,a=t[i-1],o=a[0],s=a[1],l=0;++r1);return t+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Jp),ng=function t(e){function n(){var t=eg.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Jp),rg=function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function xg(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i2?wg:xg,i=a=null,h}function h(e){return isNaN(e=+e)?n:(i||(i=r(o.map(t),s,l)))(t(c(e)))}return h.invert=function(n){return c(e((a||(a=r(s,o.map(t),Cn)))(n)))},h.domain=function(t){return arguments.length?(o=cg.call(t,mg),c===vg||(c=_g(o)),u()):o.slice()},h.range=function(t){return arguments.length?(s=ug.call(t),u()):s.slice()},h.rangeRound=function(t){return s=ug.call(t),l=Mp,u()},h.clamp=function(t){return arguments.length?(c=t?_g(o):vg,h):c!==vg},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}function Eg(t,e){return Cg()(t,e)}function Sg(t,e,n,r){var i,a=M(t,e,n);switch((r=ll(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=xl(a,o))||(r.precision=i),gl(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=wl(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=_l(a))||(r.precision=i-2*("%"===r.type))}return pl(r)}function Tg(t){var e=t.domain;return t.ticks=function(t){var n=e();return T(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Sg(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,s=i[a],l=i[o];return l0?r=A(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=A(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[a]=Math.floor(s/r)*r,i[o]=Math.ceil(l/r)*r,e(i)):r<0&&(i[a]=Math.ceil(s*r)/r,i[o]=Math.floor(l*r)/r,e(i)),t},t}function Ag(){var t=Eg(vg,vg);return t.copy=function(){return kg(t,Ag())},og.apply(t,arguments),Tg(t)}function Mg(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=cg.call(e,mg),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return Mg(t).unknown(e)},t=arguments.length?cg.call(t,mg):[0,1],Tg(n)}function Ng(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o0){for(;fl)break;g.push(h)}}else for(;f=1;--u)if(!((h=c*u)l)break;g.push(h)}}else g=T(f,d,Math.min(d-f,p)).map(n);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===a?".0e":","),"function"!=typeof i&&(i=pl(i)),t===1/0)return i;null==t&&(t=10);var o=Math.max(1,a*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*a0?r[i-1]:e[0],i=r?[i[r-1],n]:[i[o-1],i[o]]},o.unknown=function(e){return arguments.length?(t=e,o):o},o.thresholds=function(){return i.slice()},o.copy=function(){return Zg().domain([e,n]).range(a).unknown(t)},og.apply(Tg(o),arguments)}function Kg(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[c(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=ug.call(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=ug.call(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Kg().domain(e).range(n).unknown(t)},og.apply(i,arguments)}var Qg=new Date,Jg=new Date;function tm(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Qg.setTime(+e),Jg.setTime(+r),t(Qg),t(Jg),Math.floor(n(Qg,Jg))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var em=tm((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));em.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tm((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const nm=em;var rm=em.range,im=tm((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const am=im;var om=im.range,sm=1e3,lm=6e4,cm=36e5,um=864e5,hm=6048e5;function fm(t){return tm((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*lm)/hm}))}var dm=fm(0),pm=fm(1),gm=fm(2),mm=fm(3),ym=fm(4),vm=fm(5),bm=fm(6),_m=dm.range,xm=pm.range,wm=gm.range,km=mm.range,Cm=ym.range,Em=vm.range,Sm=bm.range,Tm=tm((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*lm)/um}),(function(t){return t.getDate()-1}));const Am=Tm;var Mm=Tm.range,Nm=tm((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*sm-t.getMinutes()*lm)}),(function(t,e){t.setTime(+t+e*cm)}),(function(t,e){return(e-t)/cm}),(function(t){return t.getHours()}));const Dm=Nm;var Om=Nm.range,Lm=tm((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*sm)}),(function(t,e){t.setTime(+t+e*lm)}),(function(t,e){return(e-t)/lm}),(function(t){return t.getMinutes()}));const Bm=Lm;var Im=Lm.range,Rm=tm((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*sm)}),(function(t,e){return(e-t)/sm}),(function(t){return t.getUTCSeconds()}));const Fm=Rm;var Pm=Rm.range,zm=tm((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));zm.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?tm((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):zm:null};const qm=zm;var jm=zm.range;function Hm(t){return tm((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/hm}))}var Um=Hm(0),$m=Hm(1),Wm=Hm(2),Ym=Hm(3),Vm=Hm(4),Gm=Hm(5),Xm=Hm(6),Zm=Um.range,Km=$m.range,Qm=Wm.range,Jm=Ym.range,ty=Vm.range,ey=Gm.range,ny=Xm.range,ry=tm((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/um}),(function(t){return t.getUTCDate()-1}));const iy=ry;var ay=ry.range,oy=tm((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));oy.every=function(t){return isFinite(t=Math.floor(t))&&t>0?tm((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const sy=oy;var ly=oy.range;function cy(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function uy(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function hy(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function fy(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,c=Cy(i),u=Ey(i),h=Cy(a),f=Ey(a),d=Cy(o),p=Ey(o),g=Cy(s),m=Ey(s),y=Cy(l),v=Ey(l),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Yy,e:Yy,f:Ky,g:lv,G:uv,H:Vy,I:Gy,j:Xy,L:Zy,m:Qy,M:Jy,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Lv,s:Bv,S:tv,u:ev,U:nv,V:iv,w:av,W:ov,x:null,X:null,y:sv,Y:cv,Z:hv,"%":Ov},_={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:fv,e:fv,f:yv,g:Av,G:Nv,H:dv,I:pv,j:gv,L:mv,m:vv,M:bv,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Lv,s:Bv,S:_v,u:xv,U:wv,V:Cv,w:Ev,W:Sv,x:null,X:null,y:Tv,Y:Mv,Z:Dv,"%":Ov},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:Ry,e:Ry,f:Hy,g:Oy,G:Dy,H:Py,I:Py,j:Fy,L:jy,m:Iy,M:zy,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u[r[0].toLowerCase()],n+r[0].length):-1},q:By,Q:$y,s:Wy,S:qy,u:Ty,U:Ay,V:My,w:Sy,W:Ny,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:Oy,Y:Dy,Z:Ly,"%":Uy};function w(t,e){return function(n){var r,i,a,o=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=uy(hy(a.y,0,1))).getUTCDay(),r=i>4||0===i?$m.ceil(r):$m(r),r=iy.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=cy(hy(a.y,0,1))).getDay(),r=i>4||0===i?pm.ceil(r):pm(r),r=Am.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?uy(hy(a.y,0,1)).getUTCDay():cy(hy(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,uy(a)):cy(a)}}function C(t,e,n,r){for(var i,a,o=0,s=e.length,l=n.length;o=l)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in vy?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),_.x=w(n,_),_.X=w(r,_),_.c=w(e,_),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}var dy,py,gy,my,yy,vy={"-":"",_:" ",0:"0"},by=/^\s*\d+/,_y=/^%/,xy=/[\\^$*+?|[\]().{}]/g;function wy(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a68?1900:2e3),n+r[0].length):-1}function Ly(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function By(t,e,n){var r=by.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Iy(t,e,n){var r=by.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ry(t,e,n){var r=by.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Fy(t,e,n){var r=by.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Py(t,e,n){var r=by.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function zy(t,e,n){var r=by.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function qy(t,e,n){var r=by.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function jy(t,e,n){var r=by.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Hy(t,e,n){var r=by.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Uy(t,e,n){var r=_y.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function $y(t,e,n){var r=by.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Wy(t,e,n){var r=by.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Yy(t,e){return wy(t.getDate(),e,2)}function Vy(t,e){return wy(t.getHours(),e,2)}function Gy(t,e){return wy(t.getHours()%12||12,e,2)}function Xy(t,e){return wy(1+Am.count(nm(t),t),e,3)}function Zy(t,e){return wy(t.getMilliseconds(),e,3)}function Ky(t,e){return Zy(t,e)+"000"}function Qy(t,e){return wy(t.getMonth()+1,e,2)}function Jy(t,e){return wy(t.getMinutes(),e,2)}function tv(t,e){return wy(t.getSeconds(),e,2)}function ev(t){var e=t.getDay();return 0===e?7:e}function nv(t,e){return wy(dm.count(nm(t)-1,t),e,2)}function rv(t){var e=t.getDay();return e>=4||0===e?ym(t):ym.ceil(t)}function iv(t,e){return t=rv(t),wy(ym.count(nm(t),t)+(4===nm(t).getDay()),e,2)}function av(t){return t.getDay()}function ov(t,e){return wy(pm.count(nm(t)-1,t),e,2)}function sv(t,e){return wy(t.getFullYear()%100,e,2)}function lv(t,e){return wy((t=rv(t)).getFullYear()%100,e,2)}function cv(t,e){return wy(t.getFullYear()%1e4,e,4)}function uv(t,e){var n=t.getDay();return wy((t=n>=4||0===n?ym(t):ym.ceil(t)).getFullYear()%1e4,e,4)}function hv(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+wy(e/60|0,"0",2)+wy(e%60,"0",2)}function fv(t,e){return wy(t.getUTCDate(),e,2)}function dv(t,e){return wy(t.getUTCHours(),e,2)}function pv(t,e){return wy(t.getUTCHours()%12||12,e,2)}function gv(t,e){return wy(1+iy.count(sy(t),t),e,3)}function mv(t,e){return wy(t.getUTCMilliseconds(),e,3)}function yv(t,e){return mv(t,e)+"000"}function vv(t,e){return wy(t.getUTCMonth()+1,e,2)}function bv(t,e){return wy(t.getUTCMinutes(),e,2)}function _v(t,e){return wy(t.getUTCSeconds(),e,2)}function xv(t){var e=t.getUTCDay();return 0===e?7:e}function wv(t,e){return wy(Um.count(sy(t)-1,t),e,2)}function kv(t){var e=t.getUTCDay();return e>=4||0===e?Vm(t):Vm.ceil(t)}function Cv(t,e){return t=kv(t),wy(Vm.count(sy(t),t)+(4===sy(t).getUTCDay()),e,2)}function Ev(t){return t.getUTCDay()}function Sv(t,e){return wy($m.count(sy(t)-1,t),e,2)}function Tv(t,e){return wy(t.getUTCFullYear()%100,e,2)}function Av(t,e){return wy((t=kv(t)).getUTCFullYear()%100,e,2)}function Mv(t,e){return wy(t.getUTCFullYear()%1e4,e,4)}function Nv(t,e){var n=t.getUTCDay();return wy((t=n>=4||0===n?Vm(t):Vm.ceil(t)).getUTCFullYear()%1e4,e,4)}function Dv(){return"+0000"}function Ov(){return"%"}function Lv(t){return+t}function Bv(t){return Math.floor(+t/1e3)}function Iv(t){return dy=fy(t),py=dy.format,gy=dy.parse,my=dy.utcFormat,yy=dy.utcParse,dy}Iv({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Rv=31536e6;function Fv(t){return new Date(t)}function Pv(t){return t instanceof Date?+t:+new Date(+t)}function zv(t,e,n,r,i,o,s,l,c){var u=Eg(vg,vg),h=u.invert,f=u.domain,d=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),_=c("%Y"),x=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,Rv]];function w(a){return(s(a)1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return T_.h=360*t-100,T_.s=1.5-1.5*e,T_.l=.8-.9*e,T_+""}var M_=Ke(),N_=Math.PI/3,D_=2*Math.PI/3;function O_(t){var e;return t=(.5-t)*Math.PI,M_.r=255*(e=Math.sin(t))*e,M_.g=255*(e=Math.sin(t+N_))*e,M_.b=255*(e=Math.sin(t+D_))*e,M_+""}function L_(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function B_(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}const I_=B_(hb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var R_=B_(hb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),F_=B_(hb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),P_=B_(hb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function z_(t){return Ce(ie(t).call(document.documentElement))}var q_=0;function j_(){return new H_}function H_(){this._="@"+(++q_).toString(36)}function U_(t){return"string"==typeof t?new xe([document.querySelectorAll(t)],[document.documentElement]):new xe([null==t?[]:t],_e)}function $_(t,e){null==e&&(e=Nn().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n1?0:t<-1?tx:Math.acos(t)}function ix(t){return t>=1?ex:t<=-1?-ex:Math.asin(t)}function ax(t){return t.innerRadius}function ox(t){return t.outerRadius}function sx(t){return t.startAngle}function lx(t){return t.endAngle}function cx(t){return t&&t.padAngle}function ux(t,e,n,r,i,a,o,s){var l=n-t,c=r-e,u=o-i,h=s-a,f=h*l-u*c;if(!(f*fN*N+D*D&&(C=S,E=T),{cx:C,cy:E,x01:-u,y01:-h,x11:C*(i/x-1),y11:E*(i/x-1)}}function fx(){var t=ax,e=ox,n=W_(0),r=null,i=sx,a=lx,o=cx,s=null;function l(){var l,c,u=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-ex,d=a.apply(this,arguments)-ex,p=Y_(d-f),g=d>f;if(s||(s=l=Yi()),hJ_)if(p>nx-J_)s.moveTo(h*G_(f),h*K_(f)),s.arc(0,0,h,f,d,!g),u>J_&&(s.moveTo(u*G_(d),u*K_(d)),s.arc(0,0,u,d,f,g));else{var m,y,v=f,b=d,_=f,x=d,w=p,k=p,C=o.apply(this,arguments)/2,E=C>J_&&(r?+r.apply(this,arguments):Q_(u*u+h*h)),S=Z_(Y_(h-u)/2,+n.apply(this,arguments)),T=S,A=S;if(E>J_){var M=ix(E/u*K_(C)),N=ix(E/h*K_(C));(w-=2*M)>J_?(_+=M*=g?1:-1,x-=M):(w=0,_=x=(f+d)/2),(k-=2*N)>J_?(v+=N*=g?1:-1,b-=N):(k=0,v=b=(f+d)/2)}var D=h*G_(v),O=h*K_(v),L=u*G_(x),B=u*K_(x);if(S>J_){var I,R=h*G_(b),F=h*K_(b),P=u*G_(_),z=u*K_(_);if(pJ_?A>J_?(m=hx(P,z,D,O,h,A,g),y=hx(R,F,L,B,h,A,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),AJ_&&w>J_?T>J_?(m=hx(L,B,R,F,u,-T,g),y=hx(D,O,P,z,u,-T,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),T=u;--h)s.point(m[h],y[h]);s.lineEnd(),s.areaEnd()}g&&(m[c]=+t(f,c,l),y[c]=+n(f,c,l),s.point(e?+e(f,c,l):m[c],r?+r(f,c,l):y[c]))}if(d)return s=null,d+""||null}function c(){return yx().defined(i).curve(o).context(a)}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:W_(+n),e=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:W_(+e),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:W_(+t),l):e},l.y=function(t){return arguments.length?(n="function"==typeof t?t:W_(+t),r=null,l):n},l.y0=function(t){return arguments.length?(n="function"==typeof t?t:W_(+t),l):n},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:W_(+t),l):r},l.lineX0=l.lineY0=function(){return c().x(t).y(n)},l.lineY1=function(){return c().x(t).y(r)},l.lineX1=function(){return c().x(e).y(n)},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:W_(!!t),l):i},l.curve=function(t){return arguments.length?(o=t,null!=a&&(s=o(a)),l):o},l.context=function(t){return arguments.length?(null==t?a=s=null:s=o(a=t),l):a},l}function bx(t,e){return et?1:e>=t?0:NaN}function _x(t){return t}function xx(){var t=_x,e=bx,n=null,r=W_(0),i=W_(nx),a=W_(0);function o(o){var s,l,c,u,h,f=o.length,d=0,p=new Array(f),g=new Array(f),m=+r.apply(this,arguments),y=Math.min(nx,Math.max(-nx,i.apply(this,arguments)-m)),v=Math.min(Math.abs(y)/f,a.apply(this,arguments)),b=v*(y<0?-1:1);for(s=0;s0&&(d+=h);for(null!=e?p.sort((function(t,n){return e(g[t],g[n])})):null!=n&&p.sort((function(t,e){return n(o[t],o[e])})),s=0,c=d?(y-f*b)/d:0;s0?h*c:0)+b,g[l]={data:o[l],index:s,value:h,startAngle:m,endAngle:u,padAngle:v};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:W_(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:W_(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:W_(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:W_(+t),o):a},o}dx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var wx=Cx(px);function kx(t){this._curve=t}function Cx(t){function e(e){return new kx(t(e))}return e._curve=t,e}function Ex(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Cx(t)):e()._curve},t}function Sx(){return Ex(yx().curve(wx))}function Tx(){var t=vx().curve(wx),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Ex(n())},delete t.lineX0,t.lineEndAngle=function(){return Ex(r())},delete t.lineX1,t.lineInnerRadius=function(){return Ex(i())},delete t.lineY0,t.lineOuterRadius=function(){return Ex(a())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Cx(t)):e()._curve},t}function Ax(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}kx.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Mx=Array.prototype.slice;function Nx(t){return t.source}function Dx(t){return t.target}function Ox(t){var e=Nx,n=Dx,r=gx,i=mx,a=null;function o(){var o,s=Mx.call(arguments),l=e.apply(this,s),c=n.apply(this,s);if(a||(a=o=Yi()),t(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:W_(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:W_(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function Lx(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function Bx(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function Ix(t,e,n,r,i){var a=Ax(e,n),o=Ax(e,n=(n+i)/2),s=Ax(r,n),l=Ax(r,i);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],s[0],s[1],l[0],l[1])}function Rx(){return Ox(Lx)}function Fx(){return Ox(Bx)}function Px(){var t=Ox(Ix);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}const zx={draw:function(t,e){var n=Math.sqrt(e/tx);t.moveTo(n,0),t.arc(0,0,n,0,nx)}},qx={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}};var jx=Math.sqrt(1/3),Hx=2*jx;const Ux={draw:function(t,e){var n=Math.sqrt(e/Hx),r=n*jx;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}};var $x=Math.sin(tx/10)/Math.sin(7*tx/10),Wx=Math.sin(nx/10)*$x,Yx=-Math.cos(nx/10)*$x;const Vx={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Wx*n,i=Yx*n;t.moveTo(0,-n),t.lineTo(r,i);for(var a=1;a<5;++a){var o=nx*a/5,s=Math.cos(o),l=Math.sin(o);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},Gx={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}};var Xx=Math.sqrt(3);const Zx={draw:function(t,e){var n=-Math.sqrt(e/(3*Xx));t.moveTo(0,2*n),t.lineTo(-Xx*n,-n),t.lineTo(Xx*n,-n),t.closePath()}};var Kx=-.5,Qx=Math.sqrt(3)/2,Jx=1/Math.sqrt(12),tw=3*(Jx/2+1);const ew={draw:function(t,e){var n=Math.sqrt(e/tw),r=n/2,i=n*Jx,a=r,o=n*Jx+n,s=-a,l=o;t.moveTo(r,i),t.lineTo(a,o),t.lineTo(s,l),t.lineTo(Kx*r-Qx*i,Qx*r+Kx*i),t.lineTo(Kx*a-Qx*o,Qx*a+Kx*o),t.lineTo(Kx*s-Qx*l,Qx*s+Kx*l),t.lineTo(Kx*r+Qx*i,Kx*i-Qx*r),t.lineTo(Kx*a+Qx*o,Kx*o-Qx*a),t.lineTo(Kx*s+Qx*l,Kx*l-Qx*s),t.closePath()}};var nw=[zx,qx,Ux,Gx,Vx,Zx,ew];function rw(){var t=W_(zx),e=W_(64),n=null;function r(){var r;if(n||(n=r=Yi()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:W_(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:W_(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}function iw(){}function aw(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function ow(t){this._context=t}function sw(t){return new ow(t)}function lw(t){this._context=t}function cw(t){return new lw(t)}function uw(t){this._context=t}function hw(t){return new uw(t)}function fw(t,e){this._basis=new ow(t),this._beta=e}ow.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:aw(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:aw(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},lw.prototype={areaStart:iw,areaEnd:iw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:aw(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},uw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:aw(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},fw.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],a=e[0],o=t[n]-i,s=e[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+r*o),this._beta*e[l]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const dw=function t(e){function n(t){return 1===e?new ow(t):new fw(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function pw(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function gw(t,e){this._context=t,this._k=(1-e)/6}gw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:pw(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:pw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const mw=function t(e){function n(t){return new gw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function yw(t,e){this._context=t,this._k=(1-e)/6}yw.prototype={areaStart:iw,areaEnd:iw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:pw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const vw=function t(e){function n(t){return new yw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function bw(t,e){this._context=t,this._k=(1-e)/6}bw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:pw(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const _w=function t(e){function n(t){return new bw(t,e)}return n.tension=function(e){return t(+e)},n}(0);function xw(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>J_){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>J_){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function ww(t,e){this._context=t,this._alpha=e}ww.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:xw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const kw=function t(e){function n(t){return e?new ww(t,e):new gw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Cw(t,e){this._context=t,this._alpha=e}Cw.prototype={areaStart:iw,areaEnd:iw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:xw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ew=function t(e){function n(t){return e?new Cw(t,e):new yw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Sw(t,e){this._context=t,this._alpha=e}Sw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:xw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Tw=function t(e){function n(t){return e?new Sw(t,e):new bw(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Aw(t){this._context=t}function Mw(t){return new Aw(t)}function Nw(t){return t<0?-1:1}function Dw(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Nw(a)+Nw(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Ow(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Lw(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function Bw(t){this._context=t}function Iw(t){this._context=new Rw(t)}function Rw(t){this._context=t}function Fw(t){return new Bw(t)}function Pw(t){return new Iw(t)}function zw(t){this._context=t}function qw(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e1)for(var n,r,i,a=1,o=t[e[0]],s=o.length;a=0;)n[e]=e;return n}function Gw(t,e){return t[e]}function Xw(){var t=W_([]),e=Vw,n=Yw,r=Gw;function i(i){var a,o,s=t.apply(this,arguments),l=i.length,c=s.length,u=new Array(c);for(a=0;a0){for(var n,r,i,a=0,o=t[0].length;a0)for(var n,r,i,a,o,s,l=0,c=t[e[0]].length;l0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):(r[0]=0,r[1]=i)}function Qw(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],a=i.length;r0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,a=0,o=1;oa&&(a=e,r=n);return r}function nk(t){var e=t.map(rk);return Vw(t).sort((function(t,n){return e[t]-e[n]}))}function rk(t){for(var e,n=0,r=-1,i=t.length;++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var sk="%Y-%m-%dT%H:%M:%S.%LZ",lk=Date.prototype.toISOString?function(t){return t.toISOString()}:my(sk);const ck=lk;var uk=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:yy(sk);const hk=uk;function fk(t,e,n){var r=new Yn,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?$n():+n,r.restart((function a(o){o+=i,r.restart(a,i+=e,n),t(o)}),e,n),r)}function dk(t){return function(){return t}}function pk(t){return t[0]}function gk(t){return t[1]}function mk(){this._=null}function yk(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function vk(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function bk(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function _k(t){for(;t.L;)t=t.L;return t}mk.prototype={constructor:mk,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=_k(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(vk(this,n),n=(t=n).U),n.C=!1,r.C=!0,bk(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(bk(this,n),n=(t=n).U),n.C=!1,r.C=!0,vk(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,a=t.L,o=t.R;if(n=a?o?_k(o):a:o,i?i.L===t?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=t.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,vk(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,bk(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,vk(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,bk(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,vk(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,bk(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};const xk=mk;function wk(t,e,n,r){var i=[null,null],a=Yk.push(i)-1;return i.left=t,i.right=e,n&&Ck(i,t,e,n),r&&Ck(i,e,t,r),$k[t.index].halfedges.push(a),$k[e.index].halfedges.push(a),i}function kk(t,e,n){var r=[e,n];return r.left=t,r}function Ck(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function Ek(t,e,n,r,i){var a,o=t[0],s=t[1],l=o[0],c=o[1],u=0,h=1,f=s[0]-l,d=s[1]-c;if(a=e-l,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>h)return;a>u&&(u=a)}if(a=r-l,f||!(a<0)){if(a/=f,f<0){if(a>h)return;a>u&&(u=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>u&&(u=a)}if(a=i-c,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>u&&(u=a)}else if(d>0){if(a0||h<1)||(u>0&&(t[0]=[l+u*f,c+u*d]),h<1&&(t[1]=[l+h*f,c+h*d]),!0)}}}}}function Sk(t,e,n,r,i){var a=t[1];if(a)return!0;var o,s,l=t[0],c=t.left,u=t.right,h=c[0],f=c[1],d=u[0],p=u[1],g=(h+d)/2,m=(f+p)/2;if(p===f){if(g=r)return;if(h>d){if(l){if(l[1]>=i)return}else l=[g,n];a=[g,i]}else{if(l){if(l[1]1)if(h>d){if(l){if(l[1]>=i)return}else l=[(n-s)/o,n];a=[(i-s)/o,i]}else{if(l){if(l[1]=r)return}else l=[e,o*e+s];a=[r,o*r+s]}else{if(l){if(l[0]=-Gk)){var d=l*l+c*c,p=u*u+h*h,g=(h*d-c*p)/f,m=(l*p-u*d)/f,y=Dk.pop()||new Ok;y.arc=t,y.site=i,y.x=g+o,y.y=(y.cy=m+s)+Math.sqrt(g*g+m*m),t.circle=y;for(var v=null,b=Wk._;b;)if(y.yVk)s=s.L;else{if(!((i=a-Hk(s,o))>Vk)){r>-Vk?(e=s.P,n=s):i>-Vk?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){$k[t.index]={site:t,halfedges:[]}}(t);var l=Fk(t);if(Uk.insert(e,l),e||n){if(e===n)return Bk(e),n=Fk(e.site),Uk.insert(l,n),l.edge=n.edge=wk(e.site,l.site),Lk(e),void Lk(n);if(n){Bk(e),Bk(n);var c=e.site,u=c[0],h=c[1],f=t[0]-u,d=t[1]-h,p=n.site,g=p[0]-u,m=p[1]-h,y=2*(f*m-d*g),v=f*f+d*d,b=g*g+m*m,_=[(m*v-d*b)/y+u,(f*b-g*v)/y+h];Ck(n.edge,c,p,_),l.edge=wk(c,t,null,_),n.edge=wk(t,p,null,_),Lk(e),Lk(n)}else l.edge=wk(e.site,l.site)}}function jk(t,e){var n=t.site,r=n[0],i=n[1],a=i-e;if(!a)return r;var o=t.P;if(!o)return-1/0;var s=(n=o.site)[0],l=n[1],c=l-e;if(!c)return s;var u=s-r,h=1/a-1/c,f=u/c;return h?(-f+Math.sqrt(f*f-2*h*(u*u/(-2*c)-l+c/2+i-a/2)))/h+r:(r+s)/2}function Hk(t,e){var n=t.N;if(n)return jk(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var Uk,$k,Wk,Yk,Vk=1e-6,Gk=1e-12;function Xk(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function Zk(t,e){return e[1]-t[1]||e[0]-t[0]}function Kk(t,e){var n,r,i,a=t.sort(Zk).pop();for(Yk=[],$k=new Array(t.length),Uk=new xk,Wk=new xk;;)if(i=Nk,a&&(!i||a[1]Vk||Math.abs(i[0][1]-i[1][1])>Vk)||delete Yk[a]}(o,s,l,c),function(t,e,n,r){var i,a,o,s,l,c,u,h,f,d,p,g,m=$k.length,y=!0;for(i=0;iVk||Math.abs(g-f)>Vk)&&(l.splice(s,0,Yk.push(kk(o,d,Math.abs(p-t)Vk?[t,Math.abs(h-t)Vk?[Math.abs(f-r)Vk?[n,Math.abs(h-n)Vk?[Math.abs(f-e)=s)return null;var l=t-i.site[0],c=e-i.site[1],u=l*l+c*c;do{i=a.cells[r=o],o=null,i.halfedges.forEach((function(n){var r=a.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=t-s[0],c=e-s[1],h=l*l+c*c;hr?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function fC(){var t,e,n=oC,r=sC,i=hC,a=cC,o=uC,s=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],c=250,u=Op,h=ft("start","zoom","end"),f=500,d=0;function p(t){t.property("__zoom",lC).on("wheel.zoom",x).on("mousedown.zoom",w).on("dblclick.zoom",k).filter(o).on("touchstart.zoom",C).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",S).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(t,e){return(e=Math.max(s[0],Math.min(s[1],e)))===t.k?t:new eC(e,t.x,t.y)}function m(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new eC(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function v(t,e,n){t.on("start.zoom",(function(){b(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){b(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,a=b(t,i),o=r.apply(t,i),s=null==n?y(o):"function"==typeof n?n.apply(t,i):n,l=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=t.__zoom,h="function"==typeof e?e.apply(t,i):e,f=u(c.invert(s).concat(l/c.k),h.invert(s).concat(l/h.k));return function(t){if(1===t)t=h;else{var e=f(t),n=l/e[2];t=new eC(n,s[0]-e[0]*n,s[1]-e[1]*n)}a.zoom(null,t)}}))}function b(t,e,n){return!n&&t.__zooming||new _(t,e)}function _(t,e){this.that=t,this.args=e,this.active=0,this.extent=r.apply(t,e),this.taps=0}function x(){if(n.apply(this,arguments)){var t=b(this,arguments),e=this.__zoom,r=Math.max(s[0],Math.min(s[1],e.k*Math.pow(2,a.apply(this,arguments)))),o=Ln(this);if(t.wheel)t.mouse[0][0]===o[0]&&t.mouse[0][1]===o[1]||(t.mouse[1]=e.invert(t.mouse[0]=o)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[o,e.invert(o)],ar(this),t.start()}aC(),t.wheel=setTimeout(c,150),t.zoom("mouse",i(m(g(e,r),t.mouse[0],t.mouse[1]),t.extent,l))}function c(){t.wheel=null,t.end()}}function w(){if(!e&&n.apply(this,arguments)){var t=b(this,arguments,!0),r=Ce(ue.view).on("mousemove.zoom",c,!0).on("mouseup.zoom",u,!0),a=Ln(this),o=ue.clientX,s=ue.clientY;Te(ue.view),iC(),t.mouse=[a,this.__zoom.invert(a)],ar(this),t.start()}function c(){if(aC(),!t.moved){var e=ue.clientX-o,n=ue.clientY-s;t.moved=e*e+n*n>d}t.zoom("mouse",i(m(t.that.__zoom,t.mouse[0]=Ln(t.that),t.mouse[1]),t.extent,l))}function u(){r.on("mousemove.zoom mouseup.zoom",null),Ae(ue.view,t.moved),aC(),t.end()}}function k(){if(n.apply(this,arguments)){var t=this.__zoom,e=Ln(this),a=t.invert(e),o=t.k*(ue.shiftKey?.5:2),s=i(m(g(t,o),e,a),r.apply(this,arguments),l);aC(),c>0?Ce(this).transition().duration(c).call(v,s,e):Ce(this).call(p.transform,s)}}function C(){if(n.apply(this,arguments)){var e,r,i,a,o=ue.touches,s=o.length,l=b(this,arguments,ue.changedTouches.length===s);for(iC(),r=0;r{t.exports={graphlib:n(574),layout:n(8123),debug:n(7570),util:{time:n(1138).time,notime:n(1138).notime},version:n(8177)}},1207:(t,e,n)=>{var r=n(8436),i=n(4079);t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function a(o){r.has(i,o)||(i[o]=!0,n[o]=!0,r.forEach(t.outEdges(o),(function(t){r.has(n,t.w)?e.push(t):a(t.w)})),delete n[o])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},1133:(t,e,n)=>{var r=n(8436),i=n(1138);function a(t,e,n,r,a,o){var s={width:0,height:0,rank:o,borderType:e},l=a[e][o-1],c=i.addDummyNode(t,"border",s,n);a[e][o]=c,t.setParent(c,r),l&&t.setEdge(l,c,{weight:1})}t.exports=function(t){r.forEach(t.children(),(function e(n){var i=t.children(n),o=t.node(n);if(i.length&&r.forEach(i,e),r.has(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var s=o.minRank,l=o.maxRank+1;s{var r=n(8436);function i(t){r.forEach(t.nodes(),(function(e){a(t.node(e))})),r.forEach(t.edges(),(function(e){a(t.edge(e))}))}function a(t){var e=t.width;t.width=t.height,t.height=e}function o(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),(function(e){o(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,o),r.has(n,"y")&&o(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){r.forEach(t.nodes(),(function(e){s(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)}))}(t),i(t))}}},7822:t=>{function e(){var t={};t._next=t._prev=t,this._sentinel=t}function n(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function r(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=e,e.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return n(e),e},e.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&n(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},e.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,r)),n=n._prev;return"["+t.join(", ")+"]"}},7570:(t,e,n)=>{var r=n(8436),i=n(1138),a=n(574).Graph;t.exports={debugOrdering:function(t){var e=i.buildLayerMatrix(t),n=new a({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)})),r.forEach(t.edges(),(function(t){n.setEdge(t.v,t.w,{},t.name)})),r.forEach(e,(function(t,e){var i="layer"+e;n.setNode(i,{rank:"same"}),r.reduce(t,(function(t,e){return n.setEdge(t,e,{style:"invis"}),e}))})),n}}},574:(t,e,n)=>{var r;try{r=n(8282)}catch(i){}r||(r=window.graphlib),t.exports=r},4079:(t,e,n)=>{var r=n(8436),i=n(574).Graph,a=n(7822);t.exports=function(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new i,o=0,s=0;r.forEach(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=n.edge(t.v,t.w)||0,i=e(t),a=r+i;n.setEdge(t.v,t.w,a),s=Math.max(s,n.node(t.v).out+=i),o=Math.max(o,n.node(t.w).in+=i)}));var c=r.range(s+o+3).map((function(){return new a})),u=o+1;return r.forEach(n.nodes(),(function(t){l(c,u,n.node(t))})),{graph:n,buckets:c,zeroIdx:u}}(t,e||o),c=function(t,e,n){for(var r,i=[],a=e[e.length-1],o=e[0];t.nodeCount();){for(;r=o.dequeue();)s(t,e,n,r);for(;r=a.dequeue();)s(t,e,n,r);if(t.nodeCount())for(var l=e.length-2;l>0;--l)if(r=e[l].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,(function(e){return t.outEdges(e.v,e.w)})),!0)};var o=r.constant(1);function s(t,e,n,i,a){var o=a?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);a&&o.push({v:r.v,w:r.w}),s.out-=i,l(e,n,s)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),a=r.w,o=t.node(a);o.in-=i,l(e,n,o)})),t.removeNode(i.v),o}function l(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},8123:(t,e,n)=>{var r=n(8436),i=n(1207),a=n(5995),o=n(8093),s=n(1138).normalizeRanks,l=n(4219),c=n(1138).removeEmptyRanks,u=n(2981),h=n(1133),f=n(3258),d=n(3408),p=n(7873),g=n(1138),m=n(574).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new m({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},v,E(n,y),r.pick(n,b))),r.forEach(t.nodes(),(function(n){var i=S(t.node(n));e.setNode(n,r.defaults(E(i,_),x)),e.setParent(n,t.parent(n))})),r.forEach(t.edges(),(function(n){var i=S(t.edge(n));e.setEdge(n,r.merge({},k,E(i,w),r.pick(i,C)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){r.forEach(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){i.run(t)})),e(" nestingGraph.run",(function(){u.run(t)})),e(" rank",(function(){o(g.asNonCompoundGraph(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};g.addDummyNode(t,"edge-proxy",i,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){c(t)})),e(" nestingGraph.cleanup",(function(){u.cleanup(t)})),e(" normalizeRanks",(function(){s(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;r.forEach(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=r.max(e,i.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){a.run(t)})),e(" parentDummyChains",(function(){l(t)})),e(" addBorderSegments",(function(){h(t)})),e(" order",(function(){d(t)})),e(" insertSelfEdges",(function(){!function(t){var e=g.buildLayerMatrix(t);r.forEach(e,(function(e){var n=0;r.forEach(e,(function(e,i){var a=t.node(e);a.order=i+n,r.forEach(a.selfEdges,(function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:a.rank,order:i+ ++n,e:e.e,label:e.label},"_se")})),delete a.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){f.adjust(t)})),e(" position",(function(){p(t)})),e(" positionSelfEdges",(function(){!function(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){r.forEach(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),a=t.node(n.borderBottom),o=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-o.x),n.height=Math.abs(a.y-i.y),n.x=o.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){a.undo(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){f.undo(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,a=0,o=t.graph(),s=o.marginx||0,l=o.marginy||0;function c(t){var r=t.x,o=t.y,s=t.width,l=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,o-l/2),a=Math.max(a,o+l/2)}r.forEach(t.nodes(),(function(e){c(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.has(n,"x")&&c(n)})),e-=s,i-=l,r.forEach(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=i})),r.forEach(t.edges(),(function(n){var a=t.edge(n);r.forEach(a.points,(function(t){t.x-=e,t.y-=i})),r.has(a,"x")&&(a.x-=e),r.has(a,"y")&&(a.y-=i)})),o.width=n-e+s,o.height=a-i+l}(t)})),e(" assignNodeIntersects",(function(){!function(t){r.forEach(t.edges(),(function(e){var n,r,i=t.edge(e),a=t.node(e.v),o=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=o,r=a),i.points.unshift(g.intersectRect(a,n)),i.points.push(g.intersectRect(o,r))}))}(t)})),e(" reversePoints",(function(){!function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}(t)})),e(" acyclic.undo",(function(){i.undo(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){r.forEach(t.nodes(),(function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(t.edges(),(function(n){var i=t.edge(n),a=e.edge(n);i.points=a.points,r.has(a,"x")&&(i.x=a.x,i.y=a.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))};var y=["nodesep","edgesep","ranksep","marginx","marginy"],v={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],_=["width","height"],x={width:0,height:0},w=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},C=["labelpos"];function E(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,(function(t,n){e[n.toLowerCase()]=t})),e}},8436:(t,e,n)=>{var r;try{r={cloneDeep:n(361),constant:n(5703),defaults:n(1747),each:n(6073),filter:n(3105),find:n(3311),flatten:n(5564),forEach:n(4486),forIn:n(2620),has:n(8721),isUndefined:n(2353),last:n(928),map:n(5161),mapValues:n(6604),max:n(6162),merge:n(3857),min:n(3632),minBy:n(2762),now:n(7771),pick:n(9722),range:n(6026),reduce:n(4061),sortBy:n(9734),uniqueId:n(3955),values:n(2628),zipObject:n(7287)}}catch(i){}r||(r=window._),t.exports=r},2981:(t,e,n)=>{var r=n(8436),i=n(1138);function a(t,e,n,o,s,l,c){var u=t.children(c);if(u.length){var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(c);t.setParent(h,c),d.borderTop=h,t.setParent(f,c),d.borderBottom=f,r.forEach(u,(function(r){a(t,e,n,o,s,l,r);var i=t.node(r),u=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?o:2*o,g=u!==d?1:s-l[c]+1;t.setEdge(h,u,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})})),t.parent(c)||t.setEdge(e,h,{weight:0,minlen:s+l[c]})}else c!==e&&t.setEdge(e,c,{weight:0,minlen:n})}t.exports={run:function(t){var e=i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(i,a){var o=t.children(i);o&&o.length&&r.forEach(o,(function(t){n(t,a+1)})),e[i]=a}return r.forEach(t.children(),(function(t){n(t,1)})),e}(t),o=r.max(r.values(n))-1,s=2*o+1;t.graph().nestingRoot=e,r.forEach(t.edges(),(function(e){t.edge(e).minlen*=s}));var l=function(t){return r.reduce(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;r.forEach(t.children(),(function(r){a(t,e,s,l,o,n,r)})),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}}},5995:(t,e,n)=>{var r=n(8436),i=n(1138);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(e){!function(t,e){var n,r,a,o=e.v,s=t.node(o).rank,l=e.w,c=t.node(l).rank,u=e.name,h=t.edge(e),f=h.labelRank;if(c!==s+1){for(t.removeEdge(e),a=0,++s;s{var r=n(8436);t.exports=function(t,e,n){var i,a={};r.forEach(n,(function(n){for(var r,o,s=t.parent(n);s;){if((r=t.parent(s))?(o=a[r],a[r]=s):(o=i,i=s),o&&o!==s)return void e.setEdge(o,s);s=r}}))}},5439:(t,e,n)=>{var r=n(8436);t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},3128:(t,e,n)=>{var r=n(8436),i=n(574).Graph;t.exports=function(t,e,n){var a=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),o=new i({compound:!0}).setGraph({root:a}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var s=t.node(i),l=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(o.setNode(i),o.setParent(i,l||a),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,a=o.edge(n,i),s=r.isUndefined(a)?0:a.weight;o.setEdge(n,i,{weight:t.edge(e).weight+s})})),r.has(s,"minRank")&&o.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),o}},6630:(t,e,n)=>{var r=n(8436);function i(t,e,n){for(var i=r.zipObject(n,r.map(n,(function(t,e){return e}))),a=r.flatten(r.map(e,(function(e){return r.sortBy(r.map(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")})),!0),o=1;o0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;c+=t.weight*n}))),c}t.exports=function(t,e){for(var n=0,r=1;r{var r=n(8436),i=n(2588),a=n(6630),o=n(1026),s=n(3128),l=n(5093),c=n(574).Graph,u=n(1138);function h(t,e,n){return r.map(e,(function(e){return s(t,e,n)}))}function f(t,e){var n=new c;r.forEach(t,(function(t){var i=t.graph().root,a=o(t,i,n,e);r.forEach(a.vs,(function(e,n){t.node(e).order=n})),l(t,n,a.vs)}))}function d(t,e){r.forEach(e,(function(e){r.forEach(e,(function(e,n){t.node(e).order=n}))}))}t.exports=function(t){var e=u.maxRank(t),n=h(t,r.range(1,e+1),"inEdges"),o=h(t,r.range(e-1,-1,-1),"outEdges"),s=i(t);d(t,s);for(var l,c=Number.POSITIVE_INFINITY,p=0,g=0;g<4;++p,++g){f(p%2?n:o,p%4>=2),s=u.buildLayerMatrix(t);var m=a(t,s);m{var r=n(8436);t.exports=function(t){var e={},n=r.filter(t.nodes(),(function(e){return!t.children(e).length})),i=r.max(r.map(n,(function(e){return t.node(e).rank}))),a=r.map(r.range(i+1),(function(){return[]})),o=r.sortBy(n,(function(e){return t.node(e).rank}));return r.forEach(o,(function n(i){if(!r.has(e,i)){e[i]=!0;var o=t.node(i);a[o.rank].push(i),r.forEach(t.successors(i),n)}})),a}},9567:(t,e,n)=>{var r=n(8436);t.exports=function(t,e){var n={};return r.forEach(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(e.edges(),(function(t){var e=n[t.v],i=n[t.w];r.isUndefined(e)||r.isUndefined(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){var n,i,a,o;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(i=e,a=0,o=0,(n=t).weight&&(a+=n.barycenter*n.weight,o+=n.weight),i.weight&&(a+=i.barycenter*i.weight,o+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=a/o,n.weight=o,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var a=t.pop();e.push(a),r.forEach(a.in.reverse(),n(a)),r.forEach(a.out,i(a))}return r.map(r.filter(e,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(t){return!t.indegree})))}},1026:(t,e,n)=>{var r=n(8436),i=n(5439),a=n(9567),o=n(7304);t.exports=function t(e,n,s,l){var c=e.children(n),u=e.node(n),h=u?u.borderLeft:void 0,f=u?u.borderRight:void 0,d={};h&&(c=r.filter(c,(function(t){return t!==h&&t!==f})));var p=i(e,c);r.forEach(p,(function(n){if(e.children(n.v).length){var i=t(e,n.v,s,l);d[n.v]=i,r.has(i,"barycenter")&&(a=n,o=i,r.isUndefined(a.barycenter)?(a.barycenter=o.barycenter,a.weight=o.weight):(a.barycenter=(a.barycenter*a.weight+o.barycenter*o.weight)/(a.weight+o.weight),a.weight+=o.weight))}var a,o}));var g=a(p,s);!function(t,e){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return e[t]?e[t].vs:t})),!0)}))}(g,d);var m=o(g,l);if(h&&(m.vs=r.flatten([h,m.vs,f],!0),e.predecessors(h).length)){var y=e.node(e.predecessors(h)[0]),v=e.node(e.predecessors(f)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+y.order+v.order)/(m.weight+2),m.weight+=2}return m}},7304:(t,e,n)=>{var r=n(8436),i=n(1138);function a(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,o=i.partition(t,(function(t){return r.has(t,"barycenter")})),s=o.lhs,l=r.sortBy(o.rhs,(function(t){return-t.i})),c=[],u=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),f=a(c,l,f),r.forEach(s,(function(t){f+=t.vs.length,c.push(t.vs),u+=t.barycenter*t.weight,h+=t.weight,f=a(c,l,f)}));var d={vs:r.flatten(c,!0)};return h&&(d.barycenter=u/h,d.weight=h),d}},4219:(t,e,n)=>{var r=n(8436);t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),(function i(a){var o=n;r.forEach(t.children(a),i),e[a]={low:o,lim:n++}})),e}(t);r.forEach(t.graph().dummyChains,(function(n){for(var r=t.node(n),i=r.edgeObj,a=function(t,e,n,r){var i,a,o=[],s=[],l=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),o.push(i)}while(i&&(e[i].low>l||c>e[i].lim));for(a=i,i=r;(i=t.parent(i))!==a;)s.push(i);return{path:o.concat(s.reverse()),lca:a}}(t,e,i.v,i.w),o=a.path,s=a.lca,l=0,c=o[l],u=!0;n!==i.w;){if(r=t.node(n),u){for(;(c=o[l])!==s&&t.node(c).maxRank{var r=n(8436),i=n(574).Graph,a=n(1138);function o(t,e){var n={};return r.reduce(e,(function(e,i){var a=0,o=0,s=e.length,c=r.last(i);return r.forEach(i,(function(e,u){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),f=h?t.node(h).order:s;(h||e===c)&&(r.forEach(i.slice(o,u+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),o=i.order;!(os)&&l(n,e,c)}))}))}return r.reduce(e,(function(e,n){var a,o=-1,s=0;return r.forEach(n,(function(r,l){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(a=t.node(c[0]).order,i(n,s,l,o,a),s=l,o=a)}i(n,s,n.length,a,e.length)})),n})),n}function l(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function u(t,e,n,i){var a={},o={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){a[t]=t,o[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var l=i(t);if(l.length){l=r.sortBy(l,(function(t){return s[t]}));for(var u=(l.length-1)/2,h=Math.floor(u),f=Math.ceil(u);h<=f;++h){var d=l[h];o[t]===t&&e{var r=n(8436),i=n(1138),a=n(3573).positionX;t.exports=function(t){(function(t){var e=i.buildLayerMatrix(t),n=t.graph().ranksep,a=0;r.forEach(e,(function(e){var i=r.max(r.map(e,(function(e){return t.node(e).height})));r.forEach(e,(function(e){t.node(e).y=a+i/2})),a+=i+n}))})(t=i.asNonCompoundGraph(t)),r.forEach(a(t),(function(e,n){t.node(n).x=e}))}},300:(t,e,n)=>{var r=n(8436),i=n(574).Graph,a=n(6681).slack;function o(t,e){return r.forEach(t.nodes(),(function n(i){r.forEach(e.nodeEdges(i),(function(r){var o=r.v,s=i===o?r.w:o;t.hasNode(s)||a(e,r)||(t.setNode(s,{}),t.setEdge(i,s,{}),n(s))}))})),t.nodeCount()}function s(t,e){return r.minBy(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return a(e,n)}))}function l(t,e,n){r.forEach(t.nodes(),(function(t){e.node(t).rank+=n}))}t.exports=function(t){var e,n,r=new i({directed:!1}),c=t.nodes()[0],u=t.nodeCount();for(r.setNode(c,{});o(r,t){var r=n(6681).longestPath,i=n(300),a=n(2472);t.exports=function(t){switch(t.graph().ranker){case"network-simplex":default:!function(t){a(t)}(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":o(t)}};var o=r},2472:(t,e,n)=>{var r=n(8436),i=n(300),a=n(6681).slack,o=n(6681).longestPath,s=n(574).alg.preorder,l=n(574).alg.postorder,c=n(1138).simplify;function u(t){t=c(t),o(t);var e,n=i(t);for(d(n),h(n,t);e=g(n);)y(n,t,e,m(n,t,e))}function h(t,e){var n=l(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(t,e,n){var r=t.node(n).parent;t.edge(n,r).cutvalue=f(t,e,n)}(t,e,n)}))}function f(t,e,n){var i=t.node(n).parent,a=!0,o=e.edge(n,i),s=0;return o||(a=!1,o=e.edge(i,n)),s=o.weight,r.forEach(e.nodeEdges(n),(function(r){var o,l,c=r.v===n,u=c?r.w:r.v;if(u!==i){var h=c===a,f=e.edge(r).weight;if(s+=h?f:-f,o=n,l=u,t.hasEdge(o,l)){var d=t.edge(n,u).cutvalue;s+=h?-d:d}}})),s}function d(t,e){arguments.length<2&&(e=t.nodes()[0]),p(t,{},1,e)}function p(t,e,n,i,a){var o=n,s=t.node(i);return e[i]=!0,r.forEach(t.neighbors(i),(function(a){r.has(e,a)||(n=p(t,e,n,a,i))})),s.low=o,s.lim=n++,a?s.parent=a:delete s.parent,n}function g(t){return r.find(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function m(t,e,n){var i=n.v,o=n.w;e.hasEdge(i,o)||(i=n.w,o=n.v);var s=t.node(i),l=t.node(o),c=s,u=!1;s.lim>l.lim&&(c=l,u=!0);var h=r.filter(e.edges(),(function(e){return u===v(0,t.node(e.v),c)&&u!==v(0,t.node(e.w),c)}));return r.minBy(h,(function(t){return a(e,t)}))}function y(t,e,n,i){var a=n.v,o=n.w;t.removeEdge(a,o),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),(function(t){return!e.node(t).parent})),i=s(t,n);i=i.slice(1),r.forEach(i,(function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)}))}(t,e)}function v(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=u,u.initLowLimValues=d,u.initCutValues=h,u.calcCutValue=f,u.leaveEdge=g,u.enterEdge=m,u.exchangeEdges=y},6681:(t,e,n)=>{var r=n(8436);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),(function n(i){var a=t.node(i);if(r.has(e,i))return a.rank;e[i]=!0;var o=r.min(r.map(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),a.rank=o}))},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},1138:(t,e,n)=>{var r=n(8436),i=n(574).Graph;function a(t,e,n,i){var a;do{a=r.uniqueId(i)}while(t.hasNode(a));return n.dummy=e,t.setNode(a,n),a}function o(t){return r.max(r.map(t.nodes(),(function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n})))}t.exports={addDummyNode:a,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e},successorWeights:function(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.outEdges(e),(function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.inEdges(e),(function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,l=t.width/2,c=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*l>Math.abs(o)*c?(s<0&&(c=-c),n=c*o/s,r=c):(o<0&&(l=-l),n=l,r=l*s/o),{x:i+n,y:a+r}},buildLayerMatrix:function(t){var e=r.map(r.range(o(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(n){var i=t.node(n),a=i.rank;r.isUndefined(a)||(e[a][i.order]=n)})),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank})));r.forEach(t.nodes(),(function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)}))},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,a=t.graph().nodeRankFactor;r.forEach(n,(function(e,n){r.isUndefined(e)&&n%a!=0?--i:i&&r.forEach(e,(function(e){t.node(e).rank+=i}))}))},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),a(t,"border",i,e)},maxRank:o,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},8177:t=>{t.exports="0.8.5"},7856:function(t){t.exports=function(){var t=Object.hasOwnProperty,e=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,o=Object.seal,s=Object.create,l="undefined"!=typeof Reflect&&Reflect,c=l.apply,u=l.construct;c||(c=function(t,e,n){return t.apply(e,n)}),a||(a=function(t){return t}),o||(o=function(t){return t}),u||(u=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1?n-1:0),i=1;i/gm),z=o(/^data-[\-\w.\u00B7-\uFFFF]/),q=o(/^aria-[\-\w]+$/),j=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),U=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function W(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:Y(),n=function(e){return t(e)};if(n.version="2.3.5",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,i=e.document,o=e.DocumentFragment,s=e.HTMLTemplateElement,l=e.Node,c=e.Element,u=e.NodeFilter,h=e.NamedNodeMap,w=void 0===h?e.NamedNodeMap||e.MozNamedAttrMap:h,G=e.HTMLFormElement,X=e.DOMParser,Z=e.trustedTypes,K=c.prototype,Q=E(K,"cloneNode"),J=E(K,"nextSibling"),tt=E(K,"childNodes"),et=E(K,"parentNode");if("function"==typeof s){var nt=i.createElement("template");nt.content&&nt.content.ownerDocument&&(i=nt.content.ownerDocument)}var rt=V(Z,r),it=rt?rt.createHTML(""):"",at=i,ot=at.implementation,st=at.createNodeIterator,lt=at.createDocumentFragment,ct=at.getElementsByTagName,ut=r.importNode,ht={};try{ht=C(i).documentMode?i.documentMode:{}}catch(ke){}var ft={};n.isSupported="function"==typeof et&&ot&&void 0!==ot.createHTMLDocument&&9!==ht;var dt=F,pt=P,gt=z,mt=q,yt=H,vt=U,bt=j,_t=null,xt=k({},[].concat(W(S),W(T),W(A),W(N),W(O))),wt=null,kt=k({},[].concat(W(L),W(B),W(I),W(R))),Ct=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Et=null,St=null,Tt=!0,At=!0,Mt=!1,Nt=!1,Dt=!1,Ot=!1,Lt=!1,Bt=!1,It=!1,Rt=!1,Ft=!0,Pt=!0,zt=!1,qt={},jt=null,Ht=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ut=null,$t=k({},["audio","video","img","source","image","track"]),Wt=null,Yt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Vt="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",Xt="http://www.w3.org/1999/xhtml",Zt=Xt,Kt=!1,Qt=void 0,Jt=["application/xhtml+xml","text/html"],te="text/html",ee=void 0,ne=null,re=i.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},ae=function(t){ne&&ne===t||(t&&"object"===(void 0===t?"undefined":$(t))||(t={}),t=C(t),_t="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS):xt,wt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR):kt,Wt="ADD_URI_SAFE_ATTR"in t?k(C(Yt),t.ADD_URI_SAFE_ATTR):Yt,Ut="ADD_DATA_URI_TAGS"in t?k(C($t),t.ADD_DATA_URI_TAGS):$t,jt="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS):Ht,Et="FORBID_TAGS"in t?k({},t.FORBID_TAGS):{},St="FORBID_ATTR"in t?k({},t.FORBID_ATTR):{},qt="USE_PROFILES"in t&&t.USE_PROFILES,Tt=!1!==t.ALLOW_ARIA_ATTR,At=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Nt=t.SAFE_FOR_TEMPLATES||!1,Dt=t.WHOLE_DOCUMENT||!1,Bt=t.RETURN_DOM||!1,It=t.RETURN_DOM_FRAGMENT||!1,Rt=t.RETURN_TRUSTED_TYPE||!1,Lt=t.FORCE_BODY||!1,Ft=!1!==t.SANITIZE_DOM,Pt=!1!==t.KEEP_CONTENT,zt=t.IN_PLACE||!1,bt=t.ALLOWED_URI_REGEXP||bt,Zt=t.NAMESPACE||Xt,t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ct.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ct.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ct.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Qt=Qt=-1===Jt.indexOf(t.PARSER_MEDIA_TYPE)?te:t.PARSER_MEDIA_TYPE,ee="application/xhtml+xml"===Qt?function(t){return t}:g,Nt&&(At=!1),It&&(Bt=!0),qt&&(_t=k({},[].concat(W(O))),wt=[],!0===qt.html&&(k(_t,S),k(wt,L)),!0===qt.svg&&(k(_t,T),k(wt,B),k(wt,R)),!0===qt.svgFilters&&(k(_t,A),k(wt,B),k(wt,R)),!0===qt.mathMl&&(k(_t,N),k(wt,I),k(wt,R))),t.ADD_TAGS&&(_t===xt&&(_t=C(_t)),k(_t,t.ADD_TAGS)),t.ADD_ATTR&&(wt===kt&&(wt=C(wt)),k(wt,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&k(Wt,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(jt===Ht&&(jt=C(jt)),k(jt,t.FORBID_CONTENTS)),Pt&&(_t["#text"]=!0),Dt&&k(_t,["html","head","body"]),_t.table&&(k(_t,["tbody"]),delete Et.tbody),a&&a(t),ne=t)},oe=k({},["mi","mo","mn","ms","mtext"]),se=k({},["foreignobject","desc","title","annotation-xml"]),le=k({},T);k(le,A),k(le,M);var ce=k({},N);k(ce,D);var ue=function(t){var e=et(t);e&&e.tagName||(e={namespaceURI:Xt,tagName:"template"});var n=g(t.tagName),r=g(e.tagName);if(t.namespaceURI===Gt)return e.namespaceURI===Xt?"svg"===n:e.namespaceURI===Vt?"svg"===n&&("annotation-xml"===r||oe[r]):Boolean(le[n]);if(t.namespaceURI===Vt)return e.namespaceURI===Xt?"math"===n:e.namespaceURI===Gt?"math"===n&&se[r]:Boolean(ce[n]);if(t.namespaceURI===Xt){if(e.namespaceURI===Gt&&!se[r])return!1;if(e.namespaceURI===Vt&&!oe[r])return!1;var i=k({},["title","style","font","a","script"]);return!ce[n]&&(i[n]||!le[n])}return!1},he=function(t){p(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=it}catch(r){t.remove()}}},fe=function(t,e){try{p(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(r){p(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!wt[t])if(Bt||It)try{he(e)}catch(r){}else try{e.setAttribute(t,"")}catch(r){}},de=function(t){var e=void 0,n=void 0;if(Lt)t=""+t;else{var r=m(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===Qt&&(t=''+t+"");var a=rt?rt.createHTML(t):t;if(Zt===Xt)try{e=(new X).parseFromString(a,Qt)}catch(s){}if(!e||!e.documentElement){e=ot.createDocument(Zt,"template",null);try{e.documentElement.innerHTML=Kt?"":a}catch(s){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),Zt===Xt?ct.call(e,Dt?"html":"body")[0]:Dt?e.documentElement:o},pe=function(t){return st.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},ge=function(t){return t instanceof G&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof w)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore)},me=function(t){return"object"===(void 0===l?"undefined":$(l))?t instanceof l:t&&"object"===(void 0===t?"undefined":$(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},ye=function(t,e,r){ft[t]&&f(ft[t],(function(t){t.call(n,e,r,ne)}))},ve=function(t){var e=void 0;if(ye("beforeSanitizeElements",t,null),ge(t))return he(t),!0;if(m(t.nodeName,/[\u0080-\uFFFF]/))return he(t),!0;var r=ee(t.nodeName);if(ye("uponSanitizeElement",t,{tagName:r,allowedTags:_t}),!me(t.firstElementChild)&&(!me(t.content)||!me(t.content.firstElementChild))&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return he(t),!0;if("select"===r&&_(/