qgb-process 0.1.87 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/qgb-process.common.js +227 -176
- package/lib/qgb-process.umd.js +227 -176
- package/lib/qgb-process.umd.min.js +19 -19
- package/package.json +148 -148
- package/src/api/apiCarRecord.js +2 -2
- package/src/api/apiFund/index.js +2 -1
- package/src/api/apiMachine/api.js +2 -3
- package/src/api/apiMachine/apiRentInfo.js +2 -1
- package/src/api/apiMachine/index.js +2 -1
- package/src/api/apiMaterials/quill-config.js +2 -1
- package/src/views/formBuilder/components/conditionConfig.js +21 -5
- package/src/views/formBuilder/components/nodeConditionConfig.vue +17 -3
- package/src/views/formBuilder/process.vue +4 -2
- package/src/views/formBuilder/workflow/nodeWrap.vue +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
//! moment.js locale configuration
|
|
3
3
|
var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"0158":function(e,t,n){var i=n("3769"),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},"015a":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
4
4
|
//! moment.js locale configuration
|
|
5
|
-
var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"0196":function(e,t,n){var i=n("92e1");e.exports=function(e){return"object"===typeof e?null!==e:i(e)}},"0260":function(e,t,n){"use strict";var i=n("28e0"),r=n("2d02"),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function c(e){return"string"===typeof e}function d(e){return"number"===typeof e}function h(e){return"undefined"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){return"[object Date]"===o.call(e)}function m(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function g(e){return"[object Function]"===o.call(e)}function y(e){return f(e)&&g(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function k(){var e={};function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=k(e[n],t):e[n]=t}for(var n=0,i=arguments.length;n<i;n++)x(arguments[n],t);return e}function M(e,t,n){return x(t,(function(t,r){e[r]=n&&"function"===typeof t?i(t,n):t})),e}e.exports={isArray:a,isArrayBuffer:s,isBuffer:r,isFormData:l,isArrayBufferView:u,isString:c,isNumber:d,isObject:f,isUndefined:h,isDate:p,isFile:m,isBlob:v,isFunction:g,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:w,forEach:x,merge:k,extend:M,trim:_}},"027f":function(e,t,n){"use strict";n("0fa8")},"02c8":function(e,t,n){"use strict";var i=n("0260");e.exports=function(e,t,n){return i.forEach(n,(function(n){e=n(e,t)})),e}},"03bf":function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},"0447":function(e,t,n){"use strict";t.__esModule=!0;n("e57c");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"046d":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0600":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
5
|
+
var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t}))},"0196":function(e,t,n){var i=n("92e1");e.exports=function(e){return"object"===typeof e?null!==e:i(e)}},"0260":function(e,t,n){"use strict";var i=n("28e0"),r=n("2d02"),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function c(e){return"string"===typeof e}function d(e){return"number"===typeof e}function h(e){return"undefined"===typeof e}function f(e){return null!==e&&"object"===typeof e}function p(e){return"[object Date]"===o.call(e)}function m(e){return"[object File]"===o.call(e)}function v(e){return"[object Blob]"===o.call(e)}function g(e){return"[object Function]"===o.call(e)}function y(e){return f(e)&&g(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function k(){var e={};function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=k(e[n],t):e[n]=t}for(var n=0,i=arguments.length;n<i;n++)x(arguments[n],t);return e}function M(e,t,n){return x(t,(function(t,r){e[r]=n&&"function"===typeof t?i(t,n):t})),e}e.exports={isArray:a,isArrayBuffer:s,isBuffer:r,isFormData:l,isArrayBufferView:u,isString:c,isNumber:d,isObject:f,isUndefined:h,isDate:p,isFile:m,isBlob:v,isFunction:g,isStream:y,isURLSearchParams:b,isStandardBrowserEnv:w,forEach:x,merge:k,extend:M,trim:_}},"027f":function(e,t,n){"use strict";n("0fa8")},"02c8":function(e,t,n){"use strict";var i=n("0260");e.exports=function(e,t,n){return i.forEach(n,(function(n){e=n(e,t)})),e}},"0373":function(e,t,n){t=e.exports=n("690e")(!1),t.push([e.i,'.from[data-v-3f73f7e6]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-3f73f7e6]{float:left;margin-right:20px}.from .fromitem span[data-v-3f73f7e6]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-3f73f7e6]{padding:15px 20px 20px}.talent-box .title[data-v-3f73f7e6]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-3f73f7e6]{color:#666}.offer-root .projectForm[data-v-3f73f7e6]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-3f73f7e6]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-3f73f7e6]{margin-bottom:0}.continue[data-v-3f73f7e6]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-3f73f7e6],.offer-pagination[data-v-3f73f7e6]{text-align:center}.offer-pagination .el-pagination[data-v-3f73f7e6]{margin:20px 0}.re-form .el-cascader[data-v-3f73f7e6],.re-form .el-date-editor[data-v-3f73f7e6],.re-form .el-input-number[data-v-3f73f7e6],.re-form .el-range-editor[data-v-3f73f7e6],.re-form .el-select[data-v-3f73f7e6]{width:100%}.re-form .el-input-number .el-input__inner[data-v-3f73f7e6]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-3f73f7e6]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-3f73f7e6]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-3f73f7e6]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-3f73f7e6]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-3f73f7e6]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-3f73f7e6]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-3f73f7e6]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-3f73f7e6]{text-align:center}.base-pagination .el-pagination[data-v-3f73f7e6]{margin:20px 0}.pointer[data-v-3f73f7e6]{cursor:pointer}.base-ellipsis[data-v-3f73f7e6]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-3f73f7e6]{margin-bottom:10px}.base-page-style[data-v-3f73f7e6]{padding:10px 10px}.base-page-style .btns-line[data-v-3f73f7e6]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-3f73f7e6]{color:red}.form-w100[data-v-3f73f7e6]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-3f73f7e6]{text-align:left}.base-info-title[data-v-3f73f7e6]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-3f73f7e6]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-3f73f7e6]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-3f73f7e6]{margin-bottom:10px}.form-btns[data-v-3f73f7e6]{text-align:center}.text-danger[data-v-3f73f7e6]{color:#ff4949}.text-warning[data-v-3f73f7e6]{color:#f7ba2a}.text-blue[data-v-3f73f7e6]{color:#2e90fe}.clearboth[data-v-3f73f7e6]{clear:both}.noselect[data-v-3f73f7e6]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-3f73f7e6]::-webkit-input-safebox-button{display:none}body[data-v-3f73f7e6]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-3f73f7e6]:hover{color:#0286df!important}.color-default[data-v-3f73f7e6]{color:#0286df}.line-width[data-v-3f73f7e6]{background:#ededed;width:896px;height:1px}.bg-default[data-v-3f73f7e6]{background:#0286df}.hover-color-default[data-v-3f73f7e6]:hover{color:#0286df}.hover-bg-default[data-v-3f73f7e6]:hover{background:#ffeeea!important}.default-color[data-v-3f73f7e6]{color:#0286df}.page-left[data-v-3f73f7e6]{float:left}.page-right[data-v-3f73f7e6]{float:right}.colordefault[data-v-3f73f7e6]{color:#0286df}.colorgrey[data-v-3f73f7e6]{color:#ccc}.colortheme[data-v-3f73f7e6]{color:#ff8b00}.colorff4[data-v-3f73f7e6]{color:#ff4e00}.color-orange[data-v-3f73f7e6]{color:#f60}.p20[data-v-3f73f7e6]{padding:20px}.pl20[data-v-3f73f7e6]{padding-left:20px}.pb20[data-v-3f73f7e6]{padding-bottom:20px}.mt10[data-v-3f73f7e6]{margin-top:10px}.mt20[data-v-3f73f7e6]{margin-top:20px}.ml26[data-v-3f73f7e6]{margin-left:26px}.ml400[data-v-3f73f7e6]{margin-left:400px}.mb10[data-v-3f73f7e6]{margin-bottom:10px}.mb20[data-v-3f73f7e6]{margin-bottom:20px}.ml10[data-v-3f73f7e6]{margin-left:10px}.text-center[data-v-3f73f7e6]{text-align:center}.clearfix[data-v-3f73f7e6]{overflow:hidden}.fl[data-v-3f73f7e6]{float:left}.fr[data-v-3f73f7e6]{float:right}.avatar-uploader .el-upload[data-v-3f73f7e6]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-3f73f7e6]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-3f73f7e6]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-3f73f7e6]:before{line-height:178px}.avatar[data-v-3f73f7e6]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-3f73f7e6]{color:#0286df!important}.cell-del-button[data-v-3f73f7e6]{color:#f60!important}.tableStyle[data-v-3f73f7e6]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-3f73f7e6]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-3f73f7e6]{color:#0286df}.tabs-box .el-tabs__item[data-v-3f73f7e6]{color:#333}.m-l-15[data-v-3f73f7e6]{margin-left:15px!important}.m-l-20[data-v-3f73f7e6]{margin-left:20px!important}.m-l-40[data-v-3f73f7e6]{margin-left:40px!important}.pagination-box[data-v-3f73f7e6]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-3f73f7e6]{margin-top:20px}.el-input__count[data-v-3f73f7e6]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-3f73f7e6],.el-tabs__item.is-active[data-v-3f73f7e6]{color:#0286df!important}.info2 .successinfo i[data-v-3f73f7e6]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-3f73f7e6]{background-color:#f5f7fa!important}.el-pager li.active[data-v-3f73f7e6]{color:#0286df!important}.el-loading-mask[data-v-3f73f7e6]{z-index:9999}.el-icon-loading[data-v-3f73f7e6]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-3f73f7e6]{font-size:14px}.el-tooltip__popper[data-v-3f73f7e6]{max-width:80%}li[data-v-3f73f7e6],ul[data-v-3f73f7e6]{list-style:none}a[data-v-3f73f7e6]{outline:medium none;text-decoration:none}.colorff66[data-v-3f73f7e6]{color:#f60}.color02[data-v-3f73f7e6]{color:#0286df}.color33[data-v-3f73f7e6]{color:#333}.colorff[data-v-3f73f7e6]{color:#fff}.color00[data-v-3f73f7e6]{color:#000}.color66[data-v-3f73f7e6]{color:#666}.color96[data-v-3f73f7e6]{color:#969696}.colorbf[data-v-3f73f7e6]{color:#bfbfbf}.color59[data-v-3f73f7e6]{color:#595959}.color5e[data-v-3f73f7e6]{color:#5e5e5e}.colorcc[data-v-3f73f7e6]{color:#ccc}.color6f[data-v-3f73f7e6]{color:#6f6f6f}.color2c[data-v-3f73f7e6]{color:#2c2c2b}.color8d[data-v-3f73f7e6]{color:#8d8d8d}.h-green[data-v-3f73f7e6]{color:#78c06e}.h-red[data-v-3f73f7e6]{color:#f60}.h-orange[data-v-3f73f7e6]{color:#f7ab01}.color-link[data-v-3f73f7e6],.h-blue[data-v-3f73f7e6]{color:#0286df}.bgf5[data-v-3f73f7e6]{background:#f5f5f5}.bgc9[data-v-3f73f7e6]{background:#c9c9c9}.bgff[data-v-3f73f7e6]{background:#fff}.bg02[data-v-3f73f7e6]{background:#0286df}.bg66[data-v-3f73f7e6]{background:#666}.bgb3[data-v-3f73f7e6]{background:#b3b3b3}.font10[data-v-3f73f7e6]{font-size:10px}.font12[data-v-3f73f7e6]{font-size:12px}.font14[data-v-3f73f7e6]{font-size:14px}.font16[data-v-3f73f7e6]{font-size:16px}.font18[data-v-3f73f7e6]{font-size:18px}.font20[data-v-3f73f7e6]{font-size:20px}.font22[data-v-3f73f7e6]{font-size:22px}.font24[data-v-3f73f7e6]{font-size:24px}.font28[data-v-3f73f7e6]{font-size:28px}.font36[data-v-3f73f7e6]{font-size:36px}.overflow[data-v-3f73f7e6]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-3f73f7e6]{border:1px solid #0286df}.tc-1[data-v-3f73f7e6]{width:100%;height:1px}.tc-2[data-v-3f73f7e6]{width:100%;height:2px}.tc-3[data-v-3f73f7e6]{width:100%;height:3px}.tc-4[data-v-3f73f7e6]{width:100%;height:4px}.tc-5[data-v-3f73f7e6]{width:100%;height:5px}.tc-6[data-v-3f73f7e6]{width:100%;height:6px}.tc-7[data-v-3f73f7e6]{width:100%;height:7px}.tc-8[data-v-3f73f7e6]{width:100%;height:8px}.tc-9[data-v-3f73f7e6]{width:100%;height:9px}.tc-10[data-v-3f73f7e6]{width:100%;height:10px}.tc-13[data-v-3f73f7e6]{width:100%;height:13px}.tc-15[data-v-3f73f7e6]{width:100%;height:15px}.tc-20[data-v-3f73f7e6]{width:100%;height:20px}.tc-30[data-v-3f73f7e6]{width:100%;height:30px}.tc-40[data-v-3f73f7e6]{width:100%;height:40px}.tc-45[data-v-3f73f7e6]{width:100%;height:45px}.tc-50[data-v-3f73f7e6]{width:100%;height:50px}.tc-70[data-v-3f73f7e6]{width:100%;height:70px}.tc-80[data-v-3f73f7e6]{width:100%;height:80px}.tc-100[data-v-3f73f7e6]{width:100%;height:100px}.tc-200[data-v-3f73f7e6]{width:100%;height:200px}.cursor[data-v-3f73f7e6]{cursor:pointer}[data-v-3f73f7e6]::-webkit-scrollbar{width:9px;height:9px}[data-v-3f73f7e6]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-3f73f7e6]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-3f73f7e6]{padding-left:0}.el-button.h-btn-reset[data-v-3f73f7e6]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-3f73f7e6]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-3f73f7e6]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-3f73f7e6]{margin-right:10px}.btn-submit-box[data-v-3f73f7e6]{margin-top:40px;text-align:center}.list-table-td-a[data-v-3f73f7e6]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-3f73f7e6]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-3f73f7e6]{padding:10px}.h-main-box-tab[data-v-3f73f7e6]{padding:5px}.h-tab-content[data-v-3f73f7e6]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-3f73f7e6]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-3f73f7e6]{border-left:3px solid #0286df;padding-left:10px}.nodeConditionModal[data-v-3f73f7e6] .content{overflow-y:scroll;overflow-x:initial}[data-v-3f73f7e6] .el-drawer__header{display:none}[data-v-3f73f7e6] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[data-v-3f73f7e6] .el-radio-group .el-radio{margin-bottom:15px}[data-v-3f73f7e6] .el-radio-group .el-radio:last-child{margin-bottom:0}[data-v-3f73f7e6] :focus{outline:0}[data-v-3f73f7e6] .el-drawer{width:25%!important}[data-v-3f73f7e6] .el-form-item{margin-bottom:10px}[data-v-3f73f7e6] .el-form-item__label{text-align:left}.content[data-v-3f73f7e6]{height:80vh;overflow-y:scroll}.conditionSelect[data-v-3f73f7e6] .el-dialog__header{padding:15px 20px;border-bottom:1px solid #eaeaea}.conditionSelect[data-v-3f73f7e6] .el-dialog__header .el-dialog__title{font-size:16px}.conditionSelect[data-v-3f73f7e6] .el-dialog__footer{padding:15px 20px;border-top:1px solid #eaeaea}.userHandle[data-v-3f73f7e6]{padding:0 25px}.wrapper-mask[data-v-3f73f7e6]{background-color:rgba(0,0,0,.4);cursor:pointer;z-index:1999}.wrapper[data-v-3f73f7e6]{width:100%}.wrapper .title[data-v-3f73f7e6]{padding-left:25px;height:60px;border-bottom:1px solid #dfe4ea;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:16px}.wrapper .title .el-icon-edit[data-v-3f73f7e6]{cursor:pointer;margin-left:10px}.wrapper .form-box[data-v-3f73f7e6]{padding:0 25px 0 25px}.wrapper .btn-group[data-v-3f73f7e6]{position:absolute;bottom:0;left:0;right:0;text-align:left;border-top:1px solid #eaeaea;padding:15px 0 15px 25px;background-color:#fff;z-index:10000}.mar_t20[data-v-3f73f7e6]{margin-top:20px}.mar_l20[data-v-3f73f7e6]{margin-left:20px}.selector[data-v-3f73f7e6]{padding:0 4px;border:1px solid #d9d9d9;line-height:30px;border-radius:4px}.selector[data-v-3f73f7e6]:hover{border:1px solid #1890ff}[data-v-3f73f7e6] .selector .el-tag{height:22px;line-height:20px;padding:0 0 0 8px;font-size:14px;margin-right:4px}[data-v-3f73f7e6] .selector .el-tag .el-icon-close{right:2px}',""])},"03bf":function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},"0447":function(e,t,n){"use strict";t.__esModule=!0;n("e57c");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"046d":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0600":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
6
6
|
//! moment.js locale configuration
|
|
7
7
|
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},"0607":function(e,t,n){var i=n("e886");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"0655":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var n=!1,i=!1,r=0;function s(){n&&(n=!1,e()),i&&u()}function l(){o(s)}function u(){var e=Date.now();if(n){if(e-r<a)return;i=!0}else n=!0,i=!1,setTimeout(l,t);r=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=u.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r},p=M(0,0,0,0);function m(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var i=e["border-"+n+"-width"];return t+m(i)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},i=0,r=t;i<r.length;i++){var o=r[i],a=e["padding-"+o];n[o]=m(a)}return n}function y(e){var t=e.getBBox();return M(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var i=f(e).getComputedStyle(e),r=g(i),o=r.left+r.right,a=r.top+r.bottom,s=m(i.width),l=m(i.height);if("border-box"===i.boxSizing&&(Math.round(s+o)!==t&&(s-=v(i,"left","right")+o),Math.round(l+a)!==n&&(l-=v(i,"top","bottom")+a)),!w(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return M(r.left,r.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===f(e).document.documentElement}function x(e){return i?_(e)?y(e):b(e):p}function k(e){var t=e.x,n=e.y,i=e.width,r=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return h(a,{x:t,y:n,width:i,height:r,top:n,right:t+i,bottom:r+n,left:t}),a}function M(e,t,n,i){return{x:e,y:t,width:n,height:i}}var S=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var n=k(t);h(this,{target:e,contentRect:n})}return e}(),D=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new S(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),L="undefined"!==typeof WeakMap?new WeakMap:new n,T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),i=new D(t,n,this);L.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=L.get(this))[e].apply(t,arguments)}}));var E=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:T}();t["default"]=E}.call(this,n("2409"))},"0674":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
8
8
|
//! moment.js locale configuration
|
|
@@ -16,7 +16,7 @@ var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa
|
|
|
16
16
|
//! moment.js locale configuration
|
|
17
17
|
var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},"0f51":function(e,t,n){"use strict";var i=n("0260");function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},"0fa8":function(e,t,n){var i=n("6322");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("457b079e",i,!0,{sourceMap:!1,shadowMode:!1})},"100d":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},1062:function(e,t,n){"use strict";n("94fa")},"10a9":function(e,t,n){"use strict";var i=n("ca48"),r=n("cd07"),o=n("357f"),a=n("bdbe"),s=o("species");e.exports=function(e){var t=i(e),n=r.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"10ef":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
18
18
|
//! moment.js locale configuration
|
|
19
|
-
var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"112a":function(e,t,n){"use strict";n.r(t);var i,r={};(n.r(r),n.d(r,"leave",(function(){return XO})),n.d(r,"assetCollect",(function(){return ZO})),n.d(r,"consumableMaterialCollect",(function(){return QO})),n.d(r,"overTimeApply",(function(){return eI})),n.d(r,"trip",(function(){return tI})),n.d(r,"projectApproval",(function(){return nI})),n.d(r,"sealApproval",(function(){return rI})),n.d(r,"carApproval",(function(){return aI})),n.d(r,"employeeRegularization",(function(){return sI})),n.d(r,"employeeChangestation",(function(){return lI})),n.d(r,"notice",(function(){return uI})),n.d(r,"officialDocument",(function(){return cI})),n.d(r,"employeeChangesalary",(function(){return dI})),n.d(r,"employeeHonor",(function(){return hI})),n.d(r,"employeeTurnover",(function(){return fI})),n.d(r,"employeeturnoverhandover",(function(){return pI})),n.d(r,"lan",(function(){return mI})),n.d(r,"out",(function(){return vI})),n.d(r,"evection",(function(){return gI})),n.d(r,"reissueCard",(function(){return yI})),n.d(r,"loan",(function(){return bI})),n.d(r,"task",(function(){return _I})),n.d(r,"budgeting",(function(){return wI})),n.d(r,"costBudget",(function(){return xI})),n.d(r,"InvitationToOffer",(function(){return kI})),n.d(r,"businessDesign",(function(){return MI})),n.d(r,"purchaseApplication",(function(){return SI})),n.d(r,"subcontract",(function(){return CI})),n.d(r,"lease",(function(){return DI})),n.d(r,"workarea",(function(){return LI})),n.d(r,"acceptMaterial",(function(){return TI})),n.d(r,"rentAccept",(function(){return EI})),n.d(r,"quantityAccpet",(function(){return PI})),n.d(r,"purchaseAccept",(function(){return jI})),n.d(r,"payable",(function(){return OI})),"undefined"!==typeof window)&&(n("e67d"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("c2ec"),n("5fec"),n("f85a"),n("8697"),n("7e09"),n("a616");function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("e30c"),n("6ded");var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"fd-nav sidePadding"},[n("div",{staticClass:"fd-nav-left"},[n("div",{staticClass:"fd-nav-title"},[e._v(e._s(e.queryInfo.name)+"流程")])]),n("div",{staticClass:"fd-nav-center"}),n("div",{staticClass:"fd-nav-right"},[n("div",{staticClass:"switch fixWidth"},[n("span",[e._v("重复审批人自动通过:")]),n("el-switch",{model:{value:e.workFlowDef.automaticPass,callback:function(t){e.$set(e.workFlowDef,"automaticPass",t)},expression:"workFlowDef.automaticPass"}}),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"bottom"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._v("开通后,当同一审批人重复出现在多节点时,"),n("br"),e._v("若首个节点审批通过,则后续节点中该审批"),n("br"),e._v("人自动通过无需多次操作审批")]),n("el-button",{staticClass:"tooltipContent",attrs:{icon:"el-icon-question",circle:""}})],1)],1),n("div",{staticClass:"switch"},[n("span",[e._v("是否开启审批:")]),n("el-switch",{model:{value:e.workFlowDef.switchOn,callback:function(t){e.$set(e.workFlowDef,"switchOn",t)},expression:"workFlowDef.switchOn"}})],1),n("el-button",{attrs:{round:"",size:"medium"},on:{click:e.cancel}},[e._v("取消")]),n("el-button",{attrs:{round:"",type:"primary",size:"medium"},on:{click:e.saveSet}},[e._v("保存")]),e.isOldData?n("el-button",{attrs:{round:"",type:"warning",size:"medium"},on:{click:e.showOldModal}},[e._v("老数据参考")]):e._e()],1)]),n("div",{staticClass:"fd-nav-content"},[n("section",{staticClass:"dingflow-design"},[n("div",{staticClass:"zoom"},[n("div",{class:"zoom-out"+(50==e.nowVal?" disabled":""),on:{click:function(t){return e.zoomSize(1)}}}),n("span",[e._v(e._s(e.nowVal)+"%")]),n("div",{class:"zoom-in"+(300==e.nowVal?" disabled":""),on:{click:function(t){return e.zoomSize(2)}}})]),n("div",{staticClass:"box-scale",style:"transform: scale("+e.nowVal/100+"); transform-origin: 50% 0px 0px;",attrs:{id:"box-scale"}},[n("nodeWrap",{attrs:{nodeConfig:e.nodeConfig,flowPermission:e.flowPermission,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel,tableId:e.processConfig.processId,queryInfo:e.queryInfo},on:{"update:nodeConfig":function(t){e.nodeConfig=t},"update:node-config":function(t){e.nodeConfig=t},"update:flowPermission":function(t){e.flowPermission=t},"update:flow-permission":function(t){e.flowPermission=t},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}),e._m(0)],1)])]),n("el-dialog",{staticClass:"modalTips",attrs:{title:"提示",visible:e.tipVisible,width:"445px"},on:{"update:visible":function(t){e.tipVisible=t}}},[n("div",{staticClass:"ant-confirm-body"},[n("i",{staticClass:"anticon anticon-close-circle",staticStyle:{color:"#f00"}}),n("span",{staticClass:"ant-confirm-title"},[e._v("当前无法发布")]),n("div",{staticClass:"ant-confirm-content"},[n("div",[n("p",{staticClass:"error-modal-desc"},[e._v("以下内容不完善,需进行修改")]),n("div",{staticClass:"error-modal-list"},e._l(e.tipList,(function(t,i){return n("div",{key:i,staticClass:"error-modal-item"},[n("div",{staticClass:"error-modal-item-label"},[e._v("流程设计")]),n("div",{staticClass:"error-modal-item-content"},[e._v(e._s(t.name)+" 未选择"+e._s(t.type))])])})),0)])])]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.tipVisible=!1}}},[e._v("我知道了")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.tipVisible=!1}}},[e._v("前往修改")])],1)]),n("el-dialog",{attrs:{title:e.queryInfo.name+"老数据参考",visible:e.oldModal,width:"70%","before-close":e.showOldModal},on:{"update:visible":function(t){e.oldModal=t}}},[n("OldProcess",{attrs:{tools:!1,path:e.path,userInfo:e.userInfo,queryInfo:e.queryInfo}}),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.oldModal=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.oldModal=!1}}},[e._v("确 定")])],1)],1)],1)},u=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"end-node"},[n("div",{staticClass:"end-node-circle"}),n("div",{staticClass:"end-node-text"},[e._v("流程结束")])])}];n("e7dc"),n("3938");function c(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,r)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var o=e.apply(t,n);function a(e){c(o,i,r,a,s,"next",e)}function s(e){c(o,i,r,a,s,"throw",e)}a(void 0)}))}}n("e069"),n("e186");var h={code:"200",msg:"success",data:{processId:null,processName:"",switchOn:0,automaticPass:0,describe:"",creator:"",companyId:"",type:"",version:1,nodeConfig:{pkId:"sid-start-node",nodeName:"发起人",type:0,priority:"",setType:"",directorLevel:"",examineMode:"",authType:"",ccSelfSelectFlag:"",conditionList:[],nodeUserList:[],childNode:null,conditionNodes:[]}}},f=h,p=(n("e59c"),n("f753")),m=n.n(p),v=(n("993a"),n("5e87"),n("2327"),n("ba2a"),n("8bbf")),g=n.n(v),y=n("7736"),b=n("e04f"),w=n.n(b);function x(e,t,n){w.a.set(e,t,{expires:n,path:"/",domain:".qiguanbang.com"})}function k(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?w.a.get():w.a.get(e)}function M(e){w.a.remove(e),w.a.remove(e,{path:"/",domain:".qiguanbang.com"})}var S={cookieSet:x,cookieRead:k,cookieClear:M},C=S,D=n("5422"),L=window.localStorage;function T(e,t){L.setItem(e,t)}function E(e){e.forEach((function(e){return T(e.key,e.value)}))}function P(e){return L.getItem(e)}function j(e){return e.map((function(e){return P(e)}))}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?L.clear():L.removeItem(e)}function I(e){e.forEach((function(e){return O(e)}))}var Y={set:T,setMulti:E,read:P,readMulti:j,clear:O,clearMulti:I},A=Y,N=JSON.parse(localStorage.getItem("env")),H=N.VUE_APP_API_APISTORE,R=N.VUE_APP_APIMATERIALS,F=N.VUE_APP_APIUSER,z=N.VUE_APP_MEMBERCENTER,$={business:function(){return Nj.get("/api/auth/business")},businessByCompany:function(){return Nj.get("/api/auth/businessByCompany")},getCompanyAuthInfo:function(){return Nj.get("/api/auth/getCompanyAuthInfo")},companyAuth:function(e){return Nj.post("/api/auth/companyAuth",e)},storeInformation:function(e){return Nj.post("/v2/api/companyInfo/save",e)},getStoreInformation:function(){return Nj.post("/v2/api/companyInfo/details")},getStoreInformationOld:function(){return Nj.get(H+"/api/companyInfo")},getServiceTypeList:function(){return Nj.get("/v2/api/companyInfo/getServiceTypeList")},dict:function(){return Nj.get(R+"/dict/12")},logoAddImg:function(e){return Nj.post(F+"/file/add",e)},getRealName:function(e){return Nj.post(z+"/api/auth/userAuth",e)},getBusinessLicenseInfoByBase64:function(e){return Nj.post(z+"/file/getBusinessLicenseInfoByBase64",e)},queryUserAuthByPhone:function(e){return Nj.get(z+"/api/user/queryUserAuthByPhone/".concat(e))},companyAuthV1:function(e){return Nj.post(z+"/api/auth/companyAuthV1",e)}},B=$,W=JSON.parse(localStorage.getItem("env")),V=W.VUE_APP_MEMBERCENTER,U={getUserInfo:function(){return Nj.get(V+"/api/user/getCurrentUserInfo")},getCompanyInfo:function(){return Nj.get(V+"/api/auth/getCompanyInfo")},getCurrentUserCompanyInfo:function(){return Nj.get("api/user/getCurrentUserCompanyInfo")},getInvoiceDetail:function(){return Nj.get("/api/auth/getInvoice")},setInvoiceIsDefault:function(e){return Nj.post("/invoiceInfo/setDefault/".concat(e))},saveInvoiceDetail:function(e){return Nj.post("/invoiceInfo/saveOrUpdate",e)},getInvoiceInfo:function(e){return Nj.get("/invoiceInfo/".concat(e))},delInvoiceInfo:function(e){return Nj.delete("/invoiceInfo/".concat(e))},getCompanyAuthInfo:function(){return Nj.get("/api/auth/getCompanyAuthInfo")},saveInfo:function(e){return Nj.post("/api/user/basicInfo",e)},getInfoQualification:function(e){return Nj.get("/companyInfoQualification/findListByCompanyInfoNo",e)},postUpdate:function(e){return Nj.post("/companyInfoQualification/updateQualification",e)},delQualification:function(e){return Nj.delete("/companyInfoQualification/".concat(e))},getInvoiceList:function(e){return Nj.get("/invoiceInfo",e)},createQrCode:function(){return Nj.get("/api/qrscan/createQrCode")},queryQRCode:function(e){return Nj.get("/api/qrscan/queryQRCode",e)},setUserImg:function(e){return Nj.get("".concat(V,"/api/user/updateHeadImg?headImg=").concat(e))}},q=U;function G(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;var o=Array(r);while(++i<r)o[i]=e[i+t];return o}var K=G;function J(e,t){return e===t||e!==e&&t!==t}var X=J,Z=n("2004"),Q=Z["a"].Symbol,ee=Q,te=Object.prototype,ne=te.hasOwnProperty,ie=te.toString,re=ee?ee.toStringTag:void 0;function oe(e){var t=ne.call(e,re),n=e[re];try{e[re]=void 0;var i=!0}catch(o){}var r=ie.call(e);return i&&(t?e[re]=n:delete e[re]),r}var ae=oe,se=Object.prototype,le=se.toString;function ue(e){return le.call(e)}var ce=ue,de="[object Null]",he="[object Undefined]",fe=ee?ee.toStringTag:void 0;function pe(e){return null==e?void 0===e?he:de:fe&&fe in Object(e)?ae(e):ce(e)}var me=pe;function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var ge=ve,ye="[object AsyncFunction]",be="[object Function]",_e="[object GeneratorFunction]",we="[object Proxy]";function xe(e){if(!ge(e))return!1;var t=me(e);return t==be||t==_e||t==ye||t==we}var ke=xe,Me=9007199254740991;function Se(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Me}var Ce=Se;function De(e){return null!=e&&Ce(e.length)&&!ke(e)}var Le=De,Te=9007199254740991,Ee=/^(?:0|[1-9]\d*)$/;function Pe(e,t){var n=typeof e;return t=null==t?Te:t,!!t&&("number"==n||"symbol"!=n&&Ee.test(e))&&e>-1&&e%1==0&&e<t}var je=Pe;function Oe(e,t,n){if(!ge(n))return!1;var i=typeof t;return!!("number"==i?Le(n)&&je(t,n.length):"string"==i&&t in n)&&X(n[t],e)}var Ie=Oe,Ye=/\s/;function Ae(e){var t=e.length;while(t--&&Ye.test(e.charAt(t)));return t}var Ne=Ae,He=/^\s+/;function Re(e){return e?e.slice(0,Ne(e)+1).replace(He,""):e}var Fe=Re;function ze(e){return null!=e&&"object"==typeof e}var $e=ze,Be="[object Symbol]";function We(e){return"symbol"==typeof e||$e(e)&&me(e)==Be}var Ve=We,Ue=NaN,qe=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ke=/^0o[0-7]+$/i,Je=parseInt;function Xe(e){if("number"==typeof e)return e;if(Ve(e))return Ue;if(ge(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ge(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Fe(e);var n=Ge.test(e);return n||Ke.test(e)?Je(e.slice(2),n?2:8):qe.test(e)?Ue:+e}var Ze=Xe,Qe=1/0,et=17976931348623157e292;function tt(e){if(!e)return 0===e?e:0;if(e=Ze(e),e===Qe||e===-Qe){var t=e<0?-1:1;return t*et}return e===e?e:0}var nt=tt;function it(e){var t=nt(e),n=t%1;return t===t?n?t-n:t:0}var rt=it,ot=Math.ceil,at=Math.max;function st(e,t,n){t=(n?Ie(e,t,n):void 0===t)?1:at(rt(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var r=0,o=0,a=Array(ot(i/t));while(r<i)a[o++]=K(e,r,r+=t);return a}var lt=st;function ut(e){var t=-1,n=null==e?0:e.length,i=0,r=[];while(++t<n){var o=e[t];o&&(r[i++]=o)}return r}var ct=ut;function dt(e,t){var n=-1,i=t.length,r=e.length;while(++n<i)e[r+n]=t[n];return e}var ht=dt,ft="[object Arguments]";function pt(e){return $e(e)&&me(e)==ft}var mt=pt,vt=Object.prototype,gt=vt.hasOwnProperty,yt=vt.propertyIsEnumerable,bt=mt(function(){return arguments}())?mt:function(e){return $e(e)&>.call(e,"callee")&&!yt.call(e,"callee")},_t=bt,wt=Array.isArray,xt=wt,kt=ee?ee.isConcatSpreadable:void 0;function Mt(e){return xt(e)||_t(e)||!!(kt&&e&&e[kt])}var St=Mt;function Ct(e,t,n,i,r){var o=-1,a=e.length;n||(n=St),r||(r=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Ct(s,t-1,n,i,r):ht(r,s):i||(r[r.length]=s)}return r}var Dt=Ct;function Lt(e,t){var n=-1,i=e.length;t||(t=Array(i));while(++n<i)t[n]=e[n];return t}var Tt=Lt;function Et(){var e=arguments.length;if(!e)return[];var t=Array(e-1),n=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return ht(xt(n)?Tt(n):[n],Dt(t,1))}var Pt=Et,jt=Z["a"]["__core-js_shared__"],Ot=jt,It=function(){var e=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yt(e){return!!It&&It in e}var At=Yt,Nt=Function.prototype,Ht=Nt.toString;function Rt(e){if(null!=e){try{return Ht.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ft=Rt,zt=/[\\^$.*+?()[\]{}|]/g,$t=/^\[object .+?Constructor\]$/,Bt=Function.prototype,Wt=Object.prototype,Vt=Bt.toString,Ut=Wt.hasOwnProperty,qt=RegExp("^"+Vt.call(Ut).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gt(e){if(!ge(e)||At(e))return!1;var t=ke(e)?qt:$t;return t.test(Ft(e))}var Kt=Gt;function Jt(e,t){return null==e?void 0:e[t]}var Xt=Jt;function Zt(e,t){var n=Xt(e,t);return Kt(n)?n:void 0}var Qt=Zt,en=Qt(Object,"create"),tn=en;function nn(){this.__data__=tn?tn(null):{},this.size=0}var rn=nn;function on(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var an=on,sn="__lodash_hash_undefined__",ln=Object.prototype,un=ln.hasOwnProperty;function cn(e){var t=this.__data__;if(tn){var n=t[e];return n===sn?void 0:n}return un.call(t,e)?t[e]:void 0}var dn=cn,hn=Object.prototype,fn=hn.hasOwnProperty;function pn(e){var t=this.__data__;return tn?void 0!==t[e]:fn.call(t,e)}var mn=pn,vn="__lodash_hash_undefined__";function gn(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=tn&&void 0===t?vn:t,this}var yn=gn;function bn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}bn.prototype.clear=rn,bn.prototype["delete"]=an,bn.prototype.get=dn,bn.prototype.has=mn,bn.prototype.set=yn;var _n=bn;function wn(){this.__data__=[],this.size=0}var xn=wn;function kn(e,t){var n=e.length;while(n--)if(X(e[n][0],t))return n;return-1}var Mn=kn,Sn=Array.prototype,Cn=Sn.splice;function Dn(e){var t=this.__data__,n=Mn(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():Cn.call(t,n,1),--this.size,!0}var Ln=Dn;function Tn(e){var t=this.__data__,n=Mn(t,e);return n<0?void 0:t[n][1]}var En=Tn;function Pn(e){return Mn(this.__data__,e)>-1}var jn=Pn;function On(e,t){var n=this.__data__,i=Mn(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}var In=On;function Yn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}Yn.prototype.clear=xn,Yn.prototype["delete"]=Ln,Yn.prototype.get=En,Yn.prototype.has=jn,Yn.prototype.set=In;var An=Yn,Nn=Qt(Z["a"],"Map"),Hn=Nn;function Rn(){this.size=0,this.__data__={hash:new _n,map:new(Hn||An),string:new _n}}var Fn=Rn;function zn(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var $n=zn;function Bn(e,t){var n=e.__data__;return $n(t)?n["string"==typeof t?"string":"hash"]:n.map}var Wn=Bn;function Vn(e){var t=Wn(this,e)["delete"](e);return this.size-=t?1:0,t}var Un=Vn;function qn(e){return Wn(this,e).get(e)}var Gn=qn;function Kn(e){return Wn(this,e).has(e)}var Jn=Kn;function Xn(e,t){var n=Wn(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}var Zn=Xn;function Qn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}Qn.prototype.clear=Fn,Qn.prototype["delete"]=Un,Qn.prototype.get=Gn,Qn.prototype.has=Jn,Qn.prototype.set=Zn;var ei=Qn,ti="__lodash_hash_undefined__";function ni(e){return this.__data__.set(e,ti),this}var ii=ni;function ri(e){return this.__data__.has(e)}var oi=ri;function ai(e){var t=-1,n=null==e?0:e.length;this.__data__=new ei;while(++t<n)this.add(e[t])}ai.prototype.add=ai.prototype.push=ii,ai.prototype.has=oi;var si=ai;function li(e,t,n,i){var r=e.length,o=n+(i?1:-1);while(i?o--:++o<r)if(t(e[o],o,e))return o;return-1}var ui=li;function ci(e){return e!==e}var di=ci;function hi(e,t,n){var i=n-1,r=e.length;while(++i<r)if(e[i]===t)return i;return-1}var fi=hi;function pi(e,t,n){return t===t?fi(e,t,n):ui(e,di,n)}var mi=pi;function vi(e,t){var n=null==e?0:e.length;return!!n&&mi(e,t,0)>-1}var gi=vi;function yi(e,t,n){var i=-1,r=null==e?0:e.length;while(++i<r)if(n(t,e[i]))return!0;return!1}var bi=yi;function _i(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n<i)r[n]=t(e[n],n,e);return r}var wi=_i;function xi(e){return function(t){return e(t)}}var ki=xi;function Mi(e,t){return e.has(t)}var Si=Mi,Ci=200;function Di(e,t,n,i){var r=-1,o=gi,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=wi(t,ki(n))),i?(o=bi,a=!1):t.length>=Ci&&(o=Si,a=!1,t=new si(t));e:while(++r<s){var c=e[r],d=null==n?c:n(c);if(c=i||0!==c?c:0,a&&d===d){var h=u;while(h--)if(t[h]===d)continue e;l.push(c)}else o(t,d,i)||l.push(c)}return l}var Li=Di;function Ti(e){return e}var Ei=Ti;function Pi(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var ji=Pi,Oi=Math.max;function Ii(e,t,n){return t=Oi(void 0===t?e.length-1:t,0),function(){var i=arguments,r=-1,o=Oi(i.length-t,0),a=Array(o);while(++r<o)a[r]=i[t+r];r=-1;var s=Array(t+1);while(++r<t)s[r]=i[r];return s[t]=n(a),ji(e,this,s)}}var Yi=Ii;function Ai(e){return function(){return e}}var Ni=Ai,Hi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ri=Hi,Fi=Ri?function(e,t){return Ri(e,"toString",{configurable:!0,enumerable:!1,value:Ni(t),writable:!0})}:Ei,zi=Fi,$i=800,Bi=16,Wi=Date.now;function Vi(e){var t=0,n=0;return function(){var i=Wi(),r=Bi-(i-n);if(n=i,r>0){if(++t>=$i)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ui=Vi,qi=Ui(zi),Gi=qi;function Ki(e,t){return Gi(Yi(e,t,Ei),e+"")}var Ji=Ki;function Xi(e){return $e(e)&&Le(e)}var Zi=Xi,Qi=Ji((function(e,t){return Zi(e)?Li(e,Dt(t,1,Zi,!0)):[]})),er=Qi;function tr(){this.__data__=new An,this.size=0}var nr=tr;function ir(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var rr=ir;function or(e){return this.__data__.get(e)}var ar=or;function sr(e){return this.__data__.has(e)}var lr=sr,ur=200;function cr(e,t){var n=this.__data__;if(n instanceof An){var i=n.__data__;if(!Hn||i.length<ur-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new ei(i)}return n.set(e,t),this.size=n.size,this}var dr=cr;function hr(e){var t=this.__data__=new An(e);this.size=t.size}hr.prototype.clear=nr,hr.prototype["delete"]=rr,hr.prototype.get=ar,hr.prototype.has=lr,hr.prototype.set=dr;var fr=hr;function pr(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}var mr=pr,vr=1,gr=2;function yr(e,t,n,i,r,o){var a=n&vr,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,h=!0,f=n&gr?new si:void 0;o.set(e,t),o.set(t,e);while(++d<s){var p=e[d],m=t[d];if(i)var v=a?i(m,p,d,t,e,o):i(p,m,d,e,t,o);if(void 0!==v){if(v)continue;h=!1;break}if(f){if(!mr(t,(function(e,t){if(!Si(f,t)&&(p===e||r(p,e,n,i,o)))return f.push(t)}))){h=!1;break}}else if(p!==m&&!r(p,m,n,i,o)){h=!1;break}}return o["delete"](e),o["delete"](t),h}var br=yr,_r=Z["a"].Uint8Array,wr=_r;function xr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}var kr=xr;function Mr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Sr=Mr,Cr=1,Dr=2,Lr="[object Boolean]",Tr="[object Date]",Er="[object Error]",Pr="[object Map]",jr="[object Number]",Or="[object RegExp]",Ir="[object Set]",Yr="[object String]",Ar="[object Symbol]",Nr="[object ArrayBuffer]",Hr="[object DataView]",Rr=ee?ee.prototype:void 0,Fr=Rr?Rr.valueOf:void 0;function zr(e,t,n,i,r,o,a){switch(n){case Hr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Nr:return!(e.byteLength!=t.byteLength||!o(new wr(e),new wr(t)));case Lr:case Tr:case jr:return X(+e,+t);case Er:return e.name==t.name&&e.message==t.message;case Or:case Yr:return e==t+"";case Pr:var s=kr;case Ir:var l=i&Cr;if(s||(s=Sr),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;i|=Dr,a.set(e,t);var c=br(s(e),s(t),i,r,o,a);return a["delete"](e),c;case Ar:if(Fr)return Fr.call(e)==Fr.call(t)}return!1}var $r=zr;function Br(e,t,n){var i=t(e);return xt(e)?i:ht(i,n(e))}var Wr=Br;function Vr(e,t){var n=-1,i=null==e?0:e.length,r=0,o=[];while(++n<i){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}var Ur=Vr;function qr(){return[]}var Gr=qr,Kr=Object.prototype,Jr=Kr.propertyIsEnumerable,Xr=Object.getOwnPropertySymbols,Zr=Xr?function(e){return null==e?[]:(e=Object(e),Ur(Xr(e),(function(t){return Jr.call(e,t)})))}:Gr,Qr=Zr;function eo(e,t){var n=-1,i=Array(e);while(++n<e)i[n]=t(n);return i}var to=eo,no=n("fb45"),io="[object Arguments]",ro="[object Array]",oo="[object Boolean]",ao="[object Date]",so="[object Error]",lo="[object Function]",uo="[object Map]",co="[object Number]",ho="[object Object]",fo="[object RegExp]",po="[object Set]",mo="[object String]",vo="[object WeakMap]",go="[object ArrayBuffer]",yo="[object DataView]",bo="[object Float32Array]",_o="[object Float64Array]",wo="[object Int8Array]",xo="[object Int16Array]",ko="[object Int32Array]",Mo="[object Uint8Array]",So="[object Uint8ClampedArray]",Co="[object Uint16Array]",Do="[object Uint32Array]",Lo={};function To(e){return $e(e)&&Ce(e.length)&&!!Lo[me(e)]}Lo[bo]=Lo[_o]=Lo[wo]=Lo[xo]=Lo[ko]=Lo[Mo]=Lo[So]=Lo[Co]=Lo[Do]=!0,Lo[io]=Lo[ro]=Lo[go]=Lo[oo]=Lo[yo]=Lo[ao]=Lo[so]=Lo[lo]=Lo[uo]=Lo[co]=Lo[ho]=Lo[fo]=Lo[po]=Lo[mo]=Lo[vo]=!1;var Eo=To,Po=n("2f51"),jo=Po["a"]&&Po["a"].isTypedArray,Oo=jo?ki(jo):Eo,Io=Oo,Yo=Object.prototype,Ao=Yo.hasOwnProperty;function No(e,t){var n=xt(e),i=!n&&_t(e),r=!n&&!i&&Object(no["a"])(e),o=!n&&!i&&!r&&Io(e),a=n||i||r||o,s=a?to(e.length,String):[],l=s.length;for(var u in e)!t&&!Ao.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||je(u,l))||s.push(u);return s}var Ho=No,Ro=Object.prototype;function Fo(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Ro;return e===n}var zo=Fo;function $o(e,t){return function(n){return e(t(n))}}var Bo=$o,Wo=Bo(Object.keys,Object),Vo=Wo,Uo=Object.prototype,qo=Uo.hasOwnProperty;function Go(e){if(!zo(e))return Vo(e);var t=[];for(var n in Object(e))qo.call(e,n)&&"constructor"!=n&&t.push(n);return t}var Ko=Go;function Jo(e){return Le(e)?Ho(e):Ko(e)}var Xo=Jo;function Zo(e){return Wr(e,Xo,Qr)}var Qo=Zo,ea=1,ta=Object.prototype,na=ta.hasOwnProperty;function ia(e,t,n,i,r,o){var a=n&ea,s=Qo(e),l=s.length,u=Qo(t),c=u.length;if(l!=c&&!a)return!1;var d=l;while(d--){var h=s[d];if(!(a?h in t:na.call(t,h)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);var v=a;while(++d<l){h=s[d];var g=e[h],y=t[h];if(i)var b=a?i(y,g,h,t,e,o):i(g,y,h,e,t,o);if(!(void 0===b?g===y||r(g,y,n,i,o):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(m=!1)}return o["delete"](e),o["delete"](t),m}var ra=ia,oa=Qt(Z["a"],"DataView"),aa=oa,sa=Qt(Z["a"],"Promise"),la=sa,ua=Qt(Z["a"],"Set"),ca=ua,da=Qt(Z["a"],"WeakMap"),ha=da,fa="[object Map]",pa="[object Object]",ma="[object Promise]",va="[object Set]",ga="[object WeakMap]",ya="[object DataView]",ba=Ft(aa),_a=Ft(Hn),wa=Ft(la),xa=Ft(ca),ka=Ft(ha),Ma=me;(aa&&Ma(new aa(new ArrayBuffer(1)))!=ya||Hn&&Ma(new Hn)!=fa||la&&Ma(la.resolve())!=ma||ca&&Ma(new ca)!=va||ha&&Ma(new ha)!=ga)&&(Ma=function(e){var t=me(e),n=t==pa?e.constructor:void 0,i=n?Ft(n):"";if(i)switch(i){case ba:return ya;case _a:return fa;case wa:return ma;case xa:return va;case ka:return ga}return t});var Sa=Ma,Ca=1,Da="[object Arguments]",La="[object Array]",Ta="[object Object]",Ea=Object.prototype,Pa=Ea.hasOwnProperty;function ja(e,t,n,i,r,o){var a=xt(e),s=xt(t),l=a?La:Sa(e),u=s?La:Sa(t);l=l==Da?Ta:l,u=u==Da?Ta:u;var c=l==Ta,d=u==Ta,h=l==u;if(h&&Object(no["a"])(e)){if(!Object(no["a"])(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new fr),a||Io(e)?br(e,t,n,i,r,o):$r(e,t,l,n,i,r,o);if(!(n&Ca)){var f=c&&Pa.call(e,"__wrapped__"),p=d&&Pa.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,v=p?t.value():t;return o||(o=new fr),r(m,v,n,i,o)}}return!!h&&(o||(o=new fr),ra(e,t,n,i,r,o))}var Oa=ja;function Ia(e,t,n,i,r){return e===t||(null==e||null==t||!$e(e)&&!$e(t)?e!==e&&t!==t:Oa(e,t,n,i,Ia,r))}var Ya=Ia,Aa=1,Na=2;function Ha(e,t,n,i){var r=n.length,o=r,a=!i;if(null==e)return!o;e=Object(e);while(r--){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}while(++r<o){s=n[r];var l=s[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new fr;if(i)var h=i(u,c,l,e,t,d);if(!(void 0===h?Ya(c,u,Aa|Na,i,d):h))return!1}}return!0}var Ra=Ha;function Fa(e){return e===e&&!ge(e)}var za=Fa;function $a(e){var t=Xo(e),n=t.length;while(n--){var i=t[n],r=e[i];t[n]=[i,r,za(r)]}return t}var Ba=$a;function Wa(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}var Va=Wa;function Ua(e){var t=Ba(e);return 1==t.length&&t[0][2]?Va(t[0][0],t[0][1]):function(n){return n===e||Ra(n,e,t)}}var qa=Ua,Ga=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ka=/^\w*$/;function Ja(e,t){if(xt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ve(e))||(Ka.test(e)||!Ga.test(e)||null!=t&&e in Object(t))}var Xa=Ja,Za="Expected a function";function Qa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Za);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Qa.Cache||ei),n}Qa.Cache=ei;var es=Qa,ts=500;function ns(e){var t=es(e,(function(e){return n.size===ts&&n.clear(),e})),n=t.cache;return t}var is=ns,rs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,os=/\\(\\)?/g,as=is((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(rs,(function(e,n,i,r){t.push(i?r.replace(os,"$1"):n||e)})),t})),ss=as,ls=1/0,us=ee?ee.prototype:void 0,cs=us?us.toString:void 0;function ds(e){if("string"==typeof e)return e;if(xt(e))return wi(e,ds)+"";if(Ve(e))return cs?cs.call(e):"";var t=e+"";return"0"==t&&1/e==-ls?"-0":t}var hs=ds;function fs(e){return null==e?"":hs(e)}var ps=fs;function ms(e,t){return xt(e)?e:Xa(e,t)?[e]:ss(ps(e))}var vs=ms,gs=1/0;function ys(e){if("string"==typeof e||Ve(e))return e;var t=e+"";return"0"==t&&1/e==-gs?"-0":t}var bs=ys;function _s(e,t){t=vs(t,e);var n=0,i=t.length;while(null!=e&&n<i)e=e[bs(t[n++])];return n&&n==i?e:void 0}var ws=_s;function xs(e,t,n){var i=null==e?void 0:ws(e,t);return void 0===i?n:i}var ks=xs;function Ms(e,t){return null!=e&&t in Object(e)}var Ss=Ms;function Cs(e,t,n){t=vs(t,e);var i=-1,r=t.length,o=!1;while(++i<r){var a=bs(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:(r=null==e?0:e.length,!!r&&Ce(r)&&je(a,r)&&(xt(e)||_t(e)))}var Ds=Cs;function Ls(e,t){return null!=e&&Ds(e,t,Ss)}var Ts=Ls,Es=1,Ps=2;function js(e,t){return Xa(e)&&za(t)?Va(bs(e),t):function(n){var i=ks(n,e);return void 0===i&&i===t?Ts(n,e):Ya(t,i,Es|Ps)}}var Os=js;function Is(e){return function(t){return null==t?void 0:t[e]}}var Ys=Is;function As(e){return function(t){return ws(t,e)}}var Ns=As;function Hs(e){return Xa(e)?Ys(bs(e)):Ns(e)}var Rs=Hs;function Fs(e){return"function"==typeof e?e:null==e?Ei:"object"==typeof e?xt(e)?Os(e[0],e[1]):qa(e):Rs(e)}var zs=Fs;function $s(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bs=$s,Ws=Ji((function(e,t){var n=Bs(t);return Zi(n)&&(n=void 0),Zi(e)?Li(e,Dt(t,1,Zi,!0),zs(n,2)):[]})),Vs=Ws,Us=Ji((function(e,t){var n=Bs(t);return Zi(n)&&(n=void 0),Zi(e)?Li(e,Dt(t,1,Zi,!0),void 0,n):[]})),qs=Us;function Gs(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),K(e,t<0?0:t,i)):[]}var Ks=Gs;function Js(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),t=i-t,K(e,0,t<0?0:t)):[]}var Xs=Js;function Zs(e,t,n,i){var r=e.length,o=i?r:-1;while((i?o--:++o<r)&&t(e[o],o,e));return n?K(e,i?0:o,i?o+1:r):K(e,i?o+1:0,i?r:o)}var Qs=Zs;function el(e,t){return e&&e.length?Qs(e,zs(t,3),!0,!0):[]}var tl=el;function nl(e,t){return e&&e.length?Qs(e,zs(t,3),!0):[]}var il=nl;function rl(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}var ol=rl,al=4294967295;function sl(e){return e?ol(rt(e),0,al):0}var ll=sl;function ul(e,t,n,i){var r=e.length;n=rt(n),n<0&&(n=-n>r?0:r+n),i=void 0===i||i>r?r:rt(i),i<0&&(i+=r),i=n>i?0:ll(i);while(n<i)e[n++]=t;return e}var cl=ul;function dl(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ie(e,t,n)&&(n=0,i=r),cl(e,t,n,i)):[]}var hl=dl,fl=Math.max;function pl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:rt(n);return r<0&&(r=fl(i+r,0)),ui(e,zs(t,3),r)}var ml=pl,vl=Math.max,gl=Math.min;function yl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rt(n),r=n<0?vl(i+r,0):gl(r,i-1)),ui(e,zs(t,3),r,!0)}var bl=yl;function _l(e){return e&&e.length?e[0]:void 0}var wl=_l;function xl(e){var t=null==e?0:e.length;return t?Dt(e,1):[]}var kl=xl,Ml=1/0;function Sl(e){var t=null==e?0:e.length;return t?Dt(e,Ml):[]}var Cl=Sl;function Dl(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:rt(t),Dt(e,t)):[]}var Ll=Dl;function Tl(e){var t=-1,n=null==e?0:e.length,i={};while(++t<n){var r=e[t];i[r[0]]=r[1]}return i}var El=Tl,Pl=Math.max;function jl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:rt(n);return r<0&&(r=Pl(i+r,0)),mi(e,t,r)}var Ol=jl;function Il(e){var t=null==e?0:e.length;return t?K(e,0,-1):[]}var Yl=Il,Al=Math.min;function Nl(e,t,n){var i=n?bi:gi,r=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,u=[];while(a--){var c=e[a];a&&t&&(c=wi(c,ki(t))),l=Al(c.length,l),s[a]=!n&&(t||r>=120&&c.length>=120)?new si(a&&c):void 0}c=e[0];var d=-1,h=s[0];e:while(++d<r&&u.length<l){var f=c[d],p=t?t(f):f;if(f=n||0!==f?f:0,!(h?Si(h,p):i(u,p,n))){a=o;while(--a){var m=s[a];if(!(m?Si(m,p):i(e[a],p,n)))continue e}h&&h.push(p),u.push(f)}}return u}var Hl=Nl;function Rl(e){return Zi(e)?e:[]}var Fl=Rl,zl=Ji((function(e){var t=wi(e,Fl);return t.length&&t[0]===e[0]?Hl(t):[]})),$l=zl,Bl=Ji((function(e){var t=Bs(e),n=wi(e,Fl);return t===Bs(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?Hl(n,zs(t,2)):[]})),Wl=Bl,Vl=Ji((function(e){var t=Bs(e),n=wi(e,Fl);return t="function"==typeof t?t:void 0,t&&n.pop(),n.length&&n[0]===e[0]?Hl(n,void 0,t):[]})),Ul=Vl,ql=Array.prototype,Gl=ql.join;function Kl(e,t){return null==e?"":Gl.call(e,t)}var Jl=Kl;function Xl(e,t,n){var i=n+1;while(i--)if(e[i]===t)return i;return i}var Zl=Xl,Ql=Math.max,eu=Math.min;function tu(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return void 0!==n&&(r=rt(n),r=r<0?Ql(i+r,0):eu(r,i-1)),t===t?Zl(e,t,r):ui(e,di,r,!0)}var nu=tu;function iu(e,t){var n=e.length;if(n)return t+=t<0?n:0,je(t,n)?e[t]:void 0}var ru=iu;function ou(e,t){return e&&e.length?ru(e,rt(t)):void 0}var au=ou;function su(e,t,n,i){var r=n-1,o=e.length;while(++r<o)if(i(e[r],t))return r;return-1}var lu=su,uu=Array.prototype,cu=uu.splice;function du(e,t,n,i){var r=i?lu:mi,o=-1,a=t.length,s=e;e===t&&(t=Tt(t)),n&&(s=wi(e,ki(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=r(s,c,l,i))>-1)s!==e&&cu.call(s,l,1),cu.call(e,l,1)}return e}var hu=du;function fu(e,t){return e&&e.length&&t&&t.length?hu(e,t):e}var pu=fu,mu=Ji(pu),vu=mu;function gu(e,t,n){return e&&e.length&&t&&t.length?hu(e,t,zs(n,2)):e}var yu=gu;function bu(e,t,n){return e&&e.length&&t&&t.length?hu(e,t,void 0,n):e}var _u=bu;function wu(e,t){var n=-1,i=t.length,r=Array(i),o=null==e;while(++n<i)r[n]=o?void 0:ks(e,t[n]);return r}var xu=wu;function ku(e,t){return t.length<2?e:ws(e,K(t,0,-1))}var Mu=ku;function Su(e,t){return t=vs(t,e),e=Mu(e,t),null==e||delete e[bs(Bs(t))]}var Cu=Su,Du=Array.prototype,Lu=Du.splice;function Tu(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;je(r)?Lu.call(e,r,1):Cu(e,r)}}return e}var Eu=Tu;function Pu(e,t){if(e!==t){var n=void 0!==e,i=null===e,r=e===e,o=Ve(e),a=void 0!==t,s=null===t,l=t===t,u=Ve(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&e<t||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}var ju=Pu;function Ou(e){return Gi(Yi(e,void 0,kl),e+"")}var Iu=Ou,Yu=Iu((function(e,t){var n=null==e?0:e.length,i=xu(e,t);return Eu(e,wi(t,(function(e){return je(e,n)?+e:e})).sort(ju)),i})),Au=Yu;function Nu(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;t=zs(t,3);while(++i<o){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return Eu(e,r),n}var Hu=Nu,Ru=Array.prototype,Fu=Ru.reverse;function zu(e){return null==e?e:Fu.call(e)}var $u=zu;function Bu(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ie(e,t,n)?(t=0,n=i):(t=null==t?0:rt(t),n=void 0===n?i:rt(n)),K(e,t,n)):[]}var Wu=Bu,Vu=4294967295,Uu=Vu-1,qu=Math.floor,Gu=Math.min;function Ku(e,t,n,i){var r=0,o=null==e?0:e.length;if(0===o)return 0;t=n(t);var a=t!==t,s=null===t,l=Ve(t),u=void 0===t;while(r<o){var c=qu((r+o)/2),d=n(e[c]),h=void 0!==d,f=null===d,p=d===d,m=Ve(d);if(a)var v=i||p;else v=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):!f&&!m&&(i?d<=t:d<t);v?r=c+1:o=c}return Gu(o,Uu)}var Ju=Ku,Xu=4294967295,Zu=Xu>>>1;function Qu(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t===t&&r<=Zu){while(i<r){var o=i+r>>>1,a=e[o];null!==a&&!Ve(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return Ju(e,t,Ei,n)}var ec=Qu;function tc(e,t){return ec(e,t)}var nc=tc;function ic(e,t,n){return Ju(e,t,zs(n,2))}var rc=ic;function oc(e,t){var n=null==e?0:e.length;if(n){var i=ec(e,t);if(i<n&&X(e[i],t))return i}return-1}var ac=oc;function sc(e,t){return ec(e,t,!0)}var lc=sc;function uc(e,t,n){return Ju(e,t,zs(n,2),!0)}var cc=uc;function dc(e,t){var n=null==e?0:e.length;if(n){var i=ec(e,t,!0)-1;if(X(e[i],t))return i}return-1}var hc=dc;function fc(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n],s=t?t(a):a;if(!n||!X(s,l)){var l=s;o[r++]=0===a?0:a}}return o}var pc=fc;function mc(e){return e&&e.length?pc(e):[]}var vc=mc;function gc(e,t){return e&&e.length?pc(e,zs(t,2)):[]}var yc=gc;function bc(e){var t=null==e?0:e.length;return t?K(e,1,t):[]}var _c=bc;function wc(e,t,n){return e&&e.length?(t=n||void 0===t?1:rt(t),K(e,0,t<0?0:t)):[]}var xc=wc;function kc(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),t=i-t,K(e,t<0?0:t,i)):[]}var Mc=kc;function Sc(e,t){return e&&e.length?Qs(e,zs(t,3),!1,!0):[]}var Cc=Sc;function Dc(e,t){return e&&e.length?Qs(e,zs(t,3)):[]}var Lc=Dc;function Tc(){}var Ec=Tc,Pc=1/0,jc=ca&&1/Sr(new ca([,-0]))[1]==Pc?function(e){return new ca(e)}:Ec,Oc=jc,Ic=200;function Yc(e,t,n){var i=-1,r=gi,o=e.length,a=!0,s=[],l=s;if(n)a=!1,r=bi;else if(o>=Ic){var u=t?null:Oc(e);if(u)return Sr(u);a=!1,r=Si,l=new si}else l=t?[]:s;e:while(++i<o){var c=e[i],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){var h=l.length;while(h--)if(l[h]===d)continue e;t&&l.push(d),s.push(c)}else r(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}var Ac=Yc,Nc=Ji((function(e){return Ac(Dt(e,1,Zi,!0))})),Hc=Nc,Rc=Ji((function(e){var t=Bs(e);return Zi(t)&&(t=void 0),Ac(Dt(e,1,Zi,!0),zs(t,2))})),Fc=Rc,zc=Ji((function(e){var t=Bs(e);return t="function"==typeof t?t:void 0,Ac(Dt(e,1,Zi,!0),void 0,t)})),$c=zc;function Bc(e){return e&&e.length?Ac(e):[]}var Wc=Bc;function Vc(e,t){return e&&e.length?Ac(e,zs(t,2)):[]}var Uc=Vc;function qc(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Ac(e,void 0,t):[]}var Gc=qc,Kc=Math.max;function Jc(e){if(!e||!e.length)return[];var t=0;return e=Ur(e,(function(e){if(Zi(e))return t=Kc(e.length,t),!0})),to(t,(function(t){return wi(e,Ys(t))}))}var Xc=Jc;function Zc(e,t){if(!e||!e.length)return[];var n=Xc(e);return null==t?n:wi(n,(function(e){return ji(t,void 0,e)}))}var Qc=Zc,ed=Ji((function(e,t){return Zi(e)?Li(e,t):[]})),td=ed;function nd(e,t,n){var i=e.length;if(i<2)return i?Ac(e[0]):[];var r=-1,o=Array(i);while(++r<i){var a=e[r],s=-1;while(++s<i)s!=r&&(o[r]=Li(o[r]||a,e[s],t,n))}return Ac(Dt(o,1),t,n)}var id=nd,rd=Ji((function(e){return id(Ur(e,Zi))})),od=rd,ad=Ji((function(e){var t=Bs(e);return Zi(t)&&(t=void 0),id(Ur(e,Zi),zs(t,2))})),sd=ad,ld=Ji((function(e){var t=Bs(e);return t="function"==typeof t?t:void 0,id(Ur(e,Zi),void 0,t)})),ud=ld,cd=Ji(Xc),dd=cd;function hd(e,t,n){"__proto__"==t&&Ri?Ri(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var fd=hd,pd=Object.prototype,md=pd.hasOwnProperty;function vd(e,t,n){var i=e[t];md.call(e,t)&&X(i,n)&&(void 0!==n||t in e)||fd(e,t,n)}var gd=vd;function yd(e,t,n){var i=-1,r=e.length,o=t.length,a={};while(++i<r){var s=i<o?t[i]:void 0;n(a,e[i],s)}return a}var bd=yd;function _d(e,t){return bd(e||[],t||[],gd)}var wd=_d;function xd(e,t,n,i){if(!ge(e))return e;t=vs(t,e);var r=-1,o=t.length,a=o-1,s=e;while(null!=s&&++r<o){var l=bs(t[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=a){var c=s[l];u=i?i(c,l,s):void 0,void 0===u&&(u=ge(c)?c:je(t[r+1])?[]:{})}gd(s,l,u),s=s[l]}return e}var kd=xd;function Md(e,t){return bd(e||[],t||[],kd)}var Sd=Md,Cd=Ji((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Qc(e,n)})),Dd=Cd,Ld={chunk:lt,compact:ct,concat:Pt,difference:er,differenceBy:Vs,differenceWith:qs,drop:Ks,dropRight:Xs,dropRightWhile:tl,dropWhile:il,fill:hl,findIndex:ml,findLastIndex:bl,first:wl,flatten:kl,flattenDeep:Cl,flattenDepth:Ll,fromPairs:El,head:wl,indexOf:Ol,initial:Yl,intersection:$l,intersectionBy:Wl,intersectionWith:Ul,join:Jl,last:Bs,lastIndexOf:nu,nth:au,pull:vu,pullAll:pu,pullAllBy:yu,pullAllWith:_u,pullAt:Au,remove:Hu,reverse:$u,slice:Wu,sortedIndex:nc,sortedIndexBy:rc,sortedIndexOf:ac,sortedLastIndex:lc,sortedLastIndexBy:cc,sortedLastIndexOf:hc,sortedUniq:vc,sortedUniqBy:yc,tail:_c,take:xc,takeRight:Mc,takeRightWhile:Cc,takeWhile:Lc,union:Hc,unionBy:Fc,unionWith:$c,uniq:Wc,uniqBy:Uc,uniqWith:Gc,unzip:Xc,unzipWith:Qc,without:td,xor:od,xorBy:sd,xorWith:ud,zip:dd,zipObject:wd,zipObjectDeep:Sd,zipWith:Dd};function Td(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r<o){var a=e[r];t(i,a,n(a),e)}return i}var Ed=Td;function Pd(e){return function(t,n,i){var r=-1,o=Object(t),a=i(t),s=a.length;while(s--){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}var jd=Pd,Od=jd(),Id=Od;function Yd(e,t){return e&&Id(e,t,Xo)}var Ad=Yd;function Nd(e,t){return function(n,i){if(null==n)return n;if(!Le(n))return e(n,i);var r=n.length,o=t?r:-1,a=Object(n);while(t?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}var Hd=Nd,Rd=Hd(Ad),Fd=Rd;function zd(e,t,n,i){return Fd(e,(function(e,r,o){t(i,e,n(e),o)})),i}var $d=zd;function Bd(e,t){return function(n,i){var r=xt(n)?Ed:$d,o=t?t():{};return r(n,e,zs(i,2),o)}}var Wd=Bd,Vd=Object.prototype,Ud=Vd.hasOwnProperty,qd=Wd((function(e,t,n){Ud.call(e,n)?++e[n]:fd(e,n,1)})),Gd=qd;function Kd(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!1===t(e[n],n,e))break;return e}var Jd=Kd;function Xd(e){return"function"==typeof e?e:Ei}var Zd=Xd;function Qd(e,t){var n=xt(e)?Jd:Fd;return n(e,Zd(t))}var eh=Qd;function th(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}var nh=th,ih=jd(!0),rh=ih;function oh(e,t){return e&&rh(e,t,Xo)}var ah=oh,sh=Hd(ah,!0),lh=sh;function uh(e,t){var n=xt(e)?nh:lh;return n(e,Zd(t))}var ch=uh;function dh(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!t(e[n],n,e))return!1;return!0}var hh=dh;function fh(e,t){var n=!0;return Fd(e,(function(e,i,r){return n=!!t(e,i,r),n})),n}var ph=fh;function mh(e,t,n){var i=xt(e)?hh:ph;return n&&Ie(e,t,n)&&(t=void 0),i(e,zs(t,3))}var vh=mh;function gh(e,t){var n=[];return Fd(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}var yh=gh;function bh(e,t){var n=xt(e)?Ur:yh;return n(e,zs(t,3))}var _h=bh;function wh(e){return function(t,n,i){var r=Object(t);if(!Le(t)){var o=zs(n,3);t=Xo(t),n=function(e){return o(r[e],e,r)}}var a=e(t,n,i);return a>-1?r[o?t[a]:a]:void 0}}var xh=wh,kh=xh(ml),Mh=kh,Sh=xh(bl),Ch=Sh;function Dh(e,t){var n=-1,i=Le(e)?Array(e.length):[];return Fd(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}var Lh=Dh;function Th(e,t){var n=xt(e)?wi:Lh;return n(e,zs(t,3))}var Eh=Th;function Ph(e,t){return Dt(Eh(e,t),1)}var jh=Ph,Oh=1/0;function Ih(e,t){return Dt(Eh(e,t),Oh)}var Yh=Ih;function Ah(e,t,n){return n=void 0===n?1:rt(n),Dt(Eh(e,t),n)}var Nh=Ah,Hh=Object.prototype,Rh=Hh.hasOwnProperty,Fh=Wd((function(e,t,n){Rh.call(e,n)?e[n].push(t):fd(e,n,[t])})),zh=Fh,$h="[object String]";function Bh(e){return"string"==typeof e||!xt(e)&&$e(e)&&me(e)==$h}var Wh=Bh;function Vh(e,t){return wi(t,(function(t){return e[t]}))}var Uh=Vh;function qh(e){return null==e?[]:Uh(e,Xo(e))}var Gh=qh,Kh=Math.max;function Jh(e,t,n,i){e=Le(e)?e:Gh(e),n=n&&!i?rt(n):0;var r=e.length;return n<0&&(n=Kh(r+n,0)),Wh(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&mi(e,t,n)>-1}var Xh=Jh;function Zh(e,t,n){t=vs(t,e),e=Mu(e,t);var i=null==e?e:e[bs(Bs(t))];return null==i?void 0:ji(i,e,n)}var Qh=Zh,ef=Ji((function(e,t,n){var i=-1,r="function"==typeof t,o=Le(e)?Array(e.length):[];return Fd(e,(function(e){o[++i]=r?ji(t,e,n):Qh(e,t,n)})),o})),tf=ef,nf=Wd((function(e,t,n){fd(e,n,t)})),rf=nf;function of(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}var af=of;function sf(e,t,n){var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;while(++i<a){var l=ju(r[i],o[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}var lf=sf;function uf(e,t,n){t=t.length?wi(t,(function(e){return xt(e)?function(t){return ws(t,1===e.length?e[0]:e)}:e})):[Ei];var i=-1;t=wi(t,ki(zs));var r=Lh(e,(function(e,n,r){var o=wi(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return af(r,(function(e,t){return lf(e,t,n)}))}var cf=uf;function df(e,t,n,i){return null==e?[]:(xt(t)||(t=null==t?[]:[t]),n=i?void 0:n,xt(n)||(n=null==n?[]:[n]),cf(e,t,n))}var hf=df,ff=Wd((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),pf=ff;function mf(e,t,n,i){var r=-1,o=null==e?0:e.length;i&&o&&(n=e[++r]);while(++r<o)n=t(n,e[r],r,e);return n}var vf=mf;function gf(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}var yf=gf;function bf(e,t,n){var i=xt(e)?vf:yf,r=arguments.length<3;return i(e,zs(t,4),n,r,Fd)}var _f=bf;function wf(e,t,n,i){var r=null==e?0:e.length;i&&r&&(n=e[--r]);while(r--)n=t(n,e[r],r,e);return n}var xf=wf;function kf(e,t,n){var i=xt(e)?xf:yf,r=arguments.length<3;return i(e,zs(t,4),n,r,lh)}var Mf=kf,Sf="Expected a function";function Cf(e){if("function"!=typeof e)throw new TypeError(Sf);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Df=Cf;function Lf(e,t){var n=xt(e)?Ur:yh;return n(e,Df(zs(t,3)))}var Tf=Lf,Ef=Math.floor,Pf=Math.random;function jf(e,t){return e+Ef(Pf()*(t-e+1))}var Of=jf;function If(e){var t=e.length;return t?e[Of(0,t-1)]:void 0}var Yf=If;function Af(e){return Yf(Gh(e))}var Nf=Af;function Hf(e){var t=xt(e)?Yf:Nf;return t(e)}var Rf=Hf;function Ff(e,t){var n=-1,i=e.length,r=i-1;t=void 0===t?i:t;while(++n<t){var o=Of(n,r),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var zf=Ff;function $f(e,t){return zf(Tt(e),ol(t,0,e.length))}var Bf=$f;function Wf(e,t){var n=Gh(e);return zf(n,ol(t,0,n.length))}var Vf=Wf;function Uf(e,t,n){t=(n?Ie(e,t,n):void 0===t)?1:rt(t);var i=xt(e)?Bf:Vf;return i(e,t)}var qf=Uf;function Gf(e){return zf(Tt(e))}var Kf=Gf;function Jf(e){return zf(Gh(e))}var Xf=Jf;function Zf(e){var t=xt(e)?Kf:Xf;return t(e)}var Qf=Zf,ep=Ys("length"),tp=ep,np="\\ud800-\\udfff",ip="\\u0300-\\u036f",rp="\\ufe20-\\ufe2f",op="\\u20d0-\\u20ff",ap=ip+rp+op,sp="\\ufe0e\\ufe0f",lp="\\u200d",up=RegExp("["+lp+np+ap+sp+"]");function cp(e){return up.test(e)}var dp=cp,hp="\\ud800-\\udfff",fp="\\u0300-\\u036f",pp="\\ufe20-\\ufe2f",mp="\\u20d0-\\u20ff",vp=fp+pp+mp,gp="\\ufe0e\\ufe0f",yp="["+hp+"]",bp="["+vp+"]",_p="\\ud83c[\\udffb-\\udfff]",wp="(?:"+bp+"|"+_p+")",xp="[^"+hp+"]",kp="(?:\\ud83c[\\udde6-\\uddff]){2}",Mp="[\\ud800-\\udbff][\\udc00-\\udfff]",Sp="\\u200d",Cp=wp+"?",Dp="["+gp+"]?",Lp="(?:"+Sp+"(?:"+[xp,kp,Mp].join("|")+")"+Dp+Cp+")*",Tp=Dp+Cp+Lp,Ep="(?:"+[xp+bp+"?",bp,kp,Mp,yp].join("|")+")",Pp=RegExp(_p+"(?="+_p+")|"+Ep+Tp,"g");function jp(e){var t=Pp.lastIndex=0;while(Pp.test(e))++t;return t}var Op=jp;function Ip(e){return dp(e)?Op(e):tp(e)}var Yp=Ip,Ap="[object Map]",Np="[object Set]";function Hp(e){if(null==e)return 0;if(Le(e))return Wh(e)?Yp(e):e.length;var t=Sa(e);return t==Ap||t==Np?e.size:Ko(e).length}var Rp=Hp;function Fp(e,t){var n;return Fd(e,(function(e,i,r){return n=t(e,i,r),!n})),!!n}var zp=Fp;function $p(e,t,n){var i=xt(e)?mr:zp;return n&&Ie(e,t,n)&&(t=void 0),i(e,zs(t,3))}var Bp=$p,Wp=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ie(e,t[0],t[1])?t=[]:n>2&&Ie(t[0],t[1],t[2])&&(t=[t[0]]),cf(e,Dt(t,1),[])})),Vp=Wp,Up={countBy:Gd,each:eh,eachRight:ch,every:vh,filter:_h,find:Mh,findLast:Ch,flatMap:jh,flatMapDeep:Yh,flatMapDepth:Nh,forEach:eh,forEachRight:ch,groupBy:zh,includes:Xh,invokeMap:tf,keyBy:rf,map:Eh,orderBy:hf,partition:pf,reduce:_f,reduceRight:Mf,reject:Tf,sample:Rf,sampleSize:qf,shuffle:Qf,size:Rp,some:Bp,sortBy:Vp},qp=function(){return Z["a"].Date.now()},Gp=qp,Kp={now:Gp},Jp="Expected a function";function Xp(e,t){if("function"!=typeof t)throw new TypeError(Jp);return e=rt(e),function(){if(--e<1)return t.apply(this,arguments)}}var Zp=Xp,Qp=ha&&new ha,em=Qp,tm=em?function(e,t){return em.set(e,t),e}:Ei,nm=tm,im=Object.create,rm=function(){function e(){}return function(t){if(!ge(t))return{};if(im)return im(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),om=rm;function am(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=om(e.prototype),i=e.apply(n,t);return ge(i)?i:n}}var sm=am,lm=1;function um(e,t,n){var i=t&lm,r=sm(e);function o(){var t=this&&this!==Z["a"]&&this instanceof o?r:e;return t.apply(i?n:this,arguments)}return o}var cm=um,dm=Math.max;function hm(e,t,n,i){var r=-1,o=e.length,a=n.length,s=-1,l=t.length,u=dm(o-a,0),c=Array(l+u),d=!i;while(++s<l)c[s]=t[s];while(++r<a)(d||r<o)&&(c[n[r]]=e[r]);while(u--)c[s++]=e[r++];return c}var fm=hm,pm=Math.max;function mm(e,t,n,i){var r=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=pm(o-s,0),d=Array(c+u),h=!i;while(++r<c)d[r]=e[r];var f=r;while(++l<u)d[f+l]=t[l];while(++a<s)(h||r<o)&&(d[f+n[a]]=e[r++]);return d}var vm=mm;function gm(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ym=gm;function bm(){}var _m=bm,wm=4294967295;function xm(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=wm,this.__views__=[]}xm.prototype=om(_m.prototype),xm.prototype.constructor=xm;var km=xm,Mm=em?function(e){return em.get(e)}:Ec,Sm=Mm,Cm={},Dm=Cm,Lm=Object.prototype,Tm=Lm.hasOwnProperty;function Em(e){var t=e.name+"",n=Dm[t],i=Tm.call(Dm,t)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}var Pm=Em;function jm(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}jm.prototype=om(_m.prototype),jm.prototype.constructor=jm;var Om=jm;function Im(e){if(e instanceof km)return e.clone();var t=new Om(e.__wrapped__,e.__chain__);return t.__actions__=Tt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ym=Im,Am=Object.prototype,Nm=Am.hasOwnProperty;function Hm(e){if($e(e)&&!xt(e)&&!(e instanceof km)){if(e instanceof Om)return e;if(Nm.call(e,"__wrapped__"))return Ym(e)}return new Om(e)}Hm.prototype=_m.prototype,Hm.prototype.constructor=Hm;var Rm=Hm;function Fm(e){var t=Pm(e),n=Rm[t];if("function"!=typeof n||!(t in km.prototype))return!1;if(e===n)return!0;var i=Sm(n);return!!i&&e===i[0]}var zm=Fm,$m=Ui(nm),Bm=$m,Wm=/\{\n\/\* \[wrapped with (.+)\] \*/,Vm=/,? & /;function Um(e){var t=e.match(Wm);return t?t[1].split(Vm):[]}var qm=Um,Gm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Km(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Gm,"{\n/* [wrapped with "+t+"] */\n")}var Jm=Km,Xm=1,Zm=2,Qm=8,ev=16,tv=32,nv=64,iv=128,rv=256,ov=512,av=[["ary",iv],["bind",Xm],["bindKey",Zm],["curry",Qm],["curryRight",ev],["flip",ov],["partial",tv],["partialRight",nv],["rearg",rv]];function sv(e,t){return Jd(av,(function(n){var i="_."+n[0];t&n[1]&&!gi(e,i)&&e.push(i)})),e.sort()}var lv=sv;function uv(e,t,n){var i=t+"";return Gi(e,Jm(i,lv(qm(i),n)))}var cv=uv,dv=1,hv=2,fv=4,pv=8,mv=32,vv=64;function gv(e,t,n,i,r,o,a,s,l,u){var c=t&pv,d=c?a:void 0,h=c?void 0:a,f=c?o:void 0,p=c?void 0:o;t|=c?mv:vv,t&=~(c?vv:mv),t&fv||(t&=~(dv|hv));var m=[e,t,r,f,d,p,h,s,l,u],v=n.apply(void 0,m);return zm(e)&&Bm(v,m),v.placeholder=i,cv(v,e,t)}var yv=gv;function bv(e){var t=e;return t.placeholder}var _v=bv,wv=Math.min;function xv(e,t){var n=e.length,i=wv(t.length,n),r=Tt(e);while(i--){var o=t[i];e[i]=je(o,n)?r[o]:void 0}return e}var kv=xv,Mv="__lodash_placeholder__";function Sv(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n];a!==t&&a!==Mv||(e[n]=Mv,o[r++]=n)}return o}var Cv=Sv,Dv=1,Lv=2,Tv=8,Ev=16,Pv=128,jv=512;function Ov(e,t,n,i,r,o,a,s,l,u){var c=t&Pv,d=t&Dv,h=t&Lv,f=t&(Tv|Ev),p=t&jv,m=h?void 0:sm(e);function v(){var g=arguments.length,y=Array(g),b=g;while(b--)y[b]=arguments[b];if(f)var _=_v(v),w=ym(y,_);if(i&&(y=fm(y,i,r,f)),o&&(y=vm(y,o,a,f)),g-=w,f&&g<u){var x=Cv(y,_);return yv(e,t,Ov,v.placeholder,n,y,x,s,l,u-g)}var k=d?n:this,M=h?k[e]:e;return g=y.length,s?y=kv(y,s):p&&g>1&&y.reverse(),c&&l<g&&(y.length=l),this&&this!==Z["a"]&&this instanceof v&&(M=m||sm(M)),M.apply(k,y)}return v}var Iv=Ov;function Yv(e,t,n){var i=sm(e);function r(){var o=arguments.length,a=Array(o),s=o,l=_v(r);while(s--)a[s]=arguments[s];var u=o<3&&a[0]!==l&&a[o-1]!==l?[]:Cv(a,l);if(o-=u.length,o<n)return yv(e,t,Iv,r.placeholder,void 0,a,u,void 0,void 0,n-o);var c=this&&this!==Z["a"]&&this instanceof r?i:e;return ji(c,this,a)}return r}var Av=Yv,Nv=1;function Hv(e,t,n,i){var r=t&Nv,o=sm(e);function a(){var t=-1,s=arguments.length,l=-1,u=i.length,c=Array(u+s),d=this&&this!==Z["a"]&&this instanceof a?o:e;while(++l<u)c[l]=i[l];while(s--)c[l++]=arguments[++t];return ji(d,r?n:this,c)}return a}var Rv=Hv,Fv="__lodash_placeholder__",zv=1,$v=2,Bv=4,Wv=8,Vv=128,Uv=256,qv=Math.min;function Gv(e,t){var n=e[1],i=t[1],r=n|i,o=r<(zv|$v|Vv),a=i==Vv&&n==Wv||i==Vv&&n==Uv&&e[7].length<=t[8]||i==(Vv|Uv)&&t[7].length<=t[8]&&n==Wv;if(!o&&!a)return e;i&zv&&(e[2]=t[2],r|=n&zv?0:Bv);var s=t[3];if(s){var l=e[3];e[3]=l?fm(l,s,t[4]):s,e[4]=l?Cv(e[3],Fv):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?vm(l,s,t[6]):s,e[6]=l?Cv(e[5],Fv):t[6]),s=t[7],s&&(e[7]=s),i&Vv&&(e[8]=null==e[8]?t[8]:qv(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}var Kv=Gv,Jv="Expected a function",Xv=1,Zv=2,Qv=8,eg=16,tg=32,ng=64,ig=Math.max;function rg(e,t,n,i,r,o,a,s){var l=t&Zv;if(!l&&"function"!=typeof e)throw new TypeError(Jv);var u=i?i.length:0;if(u||(t&=~(tg|ng),i=r=void 0),a=void 0===a?a:ig(rt(a),0),s=void 0===s?s:rt(s),u-=r?r.length:0,t&ng){var c=i,d=r;i=r=void 0}var h=l?void 0:Sm(e),f=[e,t,n,i,r,c,d,o,a,s];if(h&&Kv(f,h),e=f[0],t=f[1],n=f[2],i=f[3],r=f[4],s=f[9]=void 0===f[9]?l?0:e.length:ig(f[9]-u,0),!s&&t&(Qv|eg)&&(t&=~(Qv|eg)),t&&t!=Xv)p=t==Qv||t==eg?Av(e,t,s):t!=tg&&t!=(Xv|tg)||r.length?Iv.apply(void 0,f):Rv(e,t,n,i);else var p=cm(e,t,n);var m=h?nm:Bm;return cv(m(p,f),e,t)}var og=rg,ag=128;function sg(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,og(e,ag,void 0,void 0,void 0,void 0,t)}var lg=sg,ug="Expected a function";function cg(e,t){var n;if("function"!=typeof t)throw new TypeError(ug);return e=rt(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var dg=cg,hg=1,fg=32,pg=Ji((function(e,t,n){var i=hg;if(n.length){var r=Cv(n,_v(pg));i|=fg}return og(e,i,t,n,r)}));pg.placeholder={};var mg=pg,vg=1,gg=2,yg=32,bg=Ji((function(e,t,n){var i=vg|gg;if(n.length){var r=Cv(n,_v(bg));i|=yg}return og(t,i,e,n,r)}));bg.placeholder={};var _g=bg,wg=8;function xg(e,t,n){t=n?void 0:t;var i=og(e,wg,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=xg.placeholder,i}xg.placeholder={};var kg=xg,Mg=16;function Sg(e,t,n){t=n?void 0:t;var i=og(e,Mg,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=Sg.placeholder,i}Sg.placeholder={};var Cg=Sg,Dg="Expected a function",Lg=Math.max,Tg=Math.min;function Eg(e,t,n){var i,r,o,a,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError(Dg);function f(t){var n=i,o=r;return i=r=void 0,u=t,a=e.apply(o,n),a}function p(e){return u=e,s=setTimeout(g,t),c?f(e):a}function m(e){var n=e-l,i=e-u,r=t-n;return d?Tg(r,o-i):r}function v(e){var n=e-l,i=e-u;return void 0===l||n>=t||n<0||d&&i>=o}function g(){var e=Gp();if(v(e))return y(e);s=setTimeout(g,m(e))}function y(e){return s=void 0,h&&i?f(e):(i=r=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,i=l=r=s=void 0}function _(){return void 0===s?a:y(Gp())}function w(){var e=Gp(),n=v(e);if(i=arguments,r=this,l=e,n){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(g,t),f(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=Ze(t)||0,ge(n)&&(c=!!n.leading,d="maxWait"in n,o=d?Lg(Ze(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),w.cancel=b,w.flush=_,w}var Pg=Eg,jg="Expected a function";function Og(e,t,n){if("function"!=typeof e)throw new TypeError(jg);return setTimeout((function(){e.apply(void 0,n)}),t)}var Ig=Og,Yg=Ji((function(e,t){return Ig(e,1,t)})),Ag=Yg,Ng=Ji((function(e,t,n){return Ig(e,Ze(t)||0,n)})),Hg=Ng,Rg=512;function Fg(e){return og(e,Rg)}var zg=Fg;function $g(e){return dg(2,e)}var Bg=$g,Wg=Ji,Vg=Wg,Ug=Math.min,qg=Vg((function(e,t){t=1==t.length&&xt(t[0])?wi(t[0],ki(zs)):wi(Dt(t,1),ki(zs));var n=t.length;return Ji((function(i){var r=-1,o=Ug(i.length,n);while(++r<o)i[r]=t[r].call(this,i[r]);return ji(e,this,i)}))})),Gg=qg,Kg=32,Jg=Ji((function(e,t){var n=Cv(t,_v(Jg));return og(e,Kg,void 0,t,n)}));Jg.placeholder={};var Xg=Jg,Zg=64,Qg=Ji((function(e,t){var n=Cv(t,_v(Qg));return og(e,Zg,void 0,t,n)}));Qg.placeholder={};var ey=Qg,ty=256,ny=Iu((function(e,t){return og(e,ty,void 0,void 0,void 0,t)})),iy=ny,ry="Expected a function";function oy(e,t){if("function"!=typeof e)throw new TypeError(ry);return t=void 0===t?t:rt(t),Ji(e,t)}var ay=oy;function sy(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:K(e,t,n)}var ly=sy,uy="Expected a function",cy=Math.max;function dy(e,t){if("function"!=typeof e)throw new TypeError(uy);return t=null==t?0:cy(rt(t),0),Ji((function(n){var i=n[t],r=ly(n,0,t);return i&&ht(r,i),ji(e,this,r)}))}var hy=dy,fy="Expected a function";function py(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(fy);return ge(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Pg(e,t,{leading:i,maxWait:t,trailing:r})}var my=py;function vy(e){return lg(e,1)}var gy=vy;function yy(e,t){return Xg(Zd(t),e)}var by=yy,_y={after:Zp,ary:lg,before:dg,bind:mg,bindKey:_g,curry:kg,curryRight:Cg,debounce:Pg,defer:Ag,delay:Hg,flip:zg,memoize:es,negate:Df,once:Bg,overArgs:Gg,partial:Xg,partialRight:ey,rearg:iy,rest:ay,spread:hy,throttle:my,unary:gy,wrap:by};function wy(){if(!arguments.length)return[];var e=arguments[0];return xt(e)?e:[e]}var xy=wy;function ky(e,t,n,i){var r=!n;n||(n={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?fd(n,s,l):gd(n,s,l)}return n}var My=ky;function Sy(e,t){return e&&My(t,Xo(t),e)}var Cy=Sy;function Dy(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var Ly=Dy,Ty=Object.prototype,Ey=Ty.hasOwnProperty;function Py(e){if(!ge(e))return Ly(e);var t=zo(e),n=[];for(var i in e)("constructor"!=i||!t&&Ey.call(e,i))&&n.push(i);return n}var jy=Py;function Oy(e){return Le(e)?Ho(e,!0):jy(e)}var Iy=Oy;function Yy(e,t){return e&&My(t,Iy(t),e)}var Ay=Yy,Ny=n("a571");function Hy(e,t){return My(e,Qr(e),t)}var Ry=Hy,Fy=Bo(Object.getPrototypeOf,Object),zy=Fy,$y=Object.getOwnPropertySymbols,By=$y?function(e){var t=[];while(e)ht(t,Qr(e)),e=zy(e);return t}:Gr,Wy=By;function Vy(e,t){return My(e,Wy(e),t)}var Uy=Vy;function qy(e){return Wr(e,Iy,Wy)}var Gy=qy,Ky=Object.prototype,Jy=Ky.hasOwnProperty;function Xy(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Jy.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Zy=Xy;function Qy(e){var t=new e.constructor(e.byteLength);return new wr(t).set(new wr(e)),t}var eb=Qy;function tb(e,t){var n=t?eb(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var nb=tb,ib=/\w*$/;function rb(e){var t=new e.constructor(e.source,ib.exec(e));return t.lastIndex=e.lastIndex,t}var ob=rb,ab=ee?ee.prototype:void 0,sb=ab?ab.valueOf:void 0;function lb(e){return sb?Object(sb.call(e)):{}}var ub=lb;function cb(e,t){var n=t?eb(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var db=cb,hb="[object Boolean]",fb="[object Date]",pb="[object Map]",mb="[object Number]",vb="[object RegExp]",gb="[object Set]",yb="[object String]",bb="[object Symbol]",_b="[object ArrayBuffer]",wb="[object DataView]",xb="[object Float32Array]",kb="[object Float64Array]",Mb="[object Int8Array]",Sb="[object Int16Array]",Cb="[object Int32Array]",Db="[object Uint8Array]",Lb="[object Uint8ClampedArray]",Tb="[object Uint16Array]",Eb="[object Uint32Array]";function Pb(e,t,n){var i=e.constructor;switch(t){case _b:return eb(e);case hb:case fb:return new i(+e);case wb:return nb(e,n);case xb:case kb:case Mb:case Sb:case Cb:case Db:case Lb:case Tb:case Eb:return db(e,n);case pb:return new i;case mb:case yb:return new i(e);case vb:return ob(e);case gb:return new i;case bb:return ub(e)}}var jb=Pb;function Ob(e){return"function"!=typeof e.constructor||zo(e)?{}:om(zy(e))}var Ib=Ob,Yb="[object Map]";function Ab(e){return $e(e)&&Sa(e)==Yb}var Nb=Ab,Hb=Po["a"]&&Po["a"].isMap,Rb=Hb?ki(Hb):Nb,Fb=Rb,zb="[object Set]";function $b(e){return $e(e)&&Sa(e)==zb}var Bb=$b,Wb=Po["a"]&&Po["a"].isSet,Vb=Wb?ki(Wb):Bb,Ub=Vb,qb=1,Gb=2,Kb=4,Jb="[object Arguments]",Xb="[object Array]",Zb="[object Boolean]",Qb="[object Date]",e_="[object Error]",t_="[object Function]",n_="[object GeneratorFunction]",i_="[object Map]",r_="[object Number]",o_="[object Object]",a_="[object RegExp]",s_="[object Set]",l_="[object String]",u_="[object Symbol]",c_="[object WeakMap]",d_="[object ArrayBuffer]",h_="[object DataView]",f_="[object Float32Array]",p_="[object Float64Array]",m_="[object Int8Array]",v_="[object Int16Array]",g_="[object Int32Array]",y_="[object Uint8Array]",b_="[object Uint8ClampedArray]",__="[object Uint16Array]",w_="[object Uint32Array]",x_={};function k_(e,t,n,i,r,o){var a,s=t&qb,l=t&Gb,u=t&Kb;if(n&&(a=r?n(e,i,r,o):n(e)),void 0!==a)return a;if(!ge(e))return e;var c=xt(e);if(c){if(a=Zy(e),!s)return Tt(e,a)}else{var d=Sa(e),h=d==t_||d==n_;if(Object(no["a"])(e))return Object(Ny["a"])(e,s);if(d==o_||d==Jb||h&&!r){if(a=l||h?{}:Ib(e),!s)return l?Uy(e,Ay(a,e)):Ry(e,Cy(a,e))}else{if(!x_[d])return r?e:{};a=jb(e,d,s)}}o||(o=new fr);var f=o.get(e);if(f)return f;o.set(e,a),Ub(e)?e.forEach((function(i){a.add(k_(i,t,n,i,e,o))})):Fb(e)&&e.forEach((function(i,r){a.set(r,k_(i,t,n,r,e,o))}));var p=u?l?Gy:Qo:l?Iy:Xo,m=c?void 0:p(e);return Jd(m||e,(function(i,r){m&&(r=i,i=e[r]),gd(a,r,k_(i,t,n,r,e,o))})),a}x_[Jb]=x_[Xb]=x_[d_]=x_[h_]=x_[Zb]=x_[Qb]=x_[f_]=x_[p_]=x_[m_]=x_[v_]=x_[g_]=x_[i_]=x_[r_]=x_[o_]=x_[a_]=x_[s_]=x_[l_]=x_[u_]=x_[y_]=x_[b_]=x_[__]=x_[w_]=!0,x_[e_]=x_[t_]=x_[c_]=!1;var M_=k_,S_=4;function C_(e){return M_(e,S_)}var D_=C_,L_=1,T_=4;function E_(e){return M_(e,L_|T_)}var P_=E_,j_=1,O_=4;function I_(e,t){return t="function"==typeof t?t:void 0,M_(e,j_|O_,t)}var Y_=I_,A_=4;function N_(e,t){return t="function"==typeof t?t:void 0,M_(e,A_,t)}var H_=N_;function R_(e,t,n){var i=n.length;if(null==e)return!i;e=Object(e);while(i--){var r=n[i],o=t[r],a=e[r];if(void 0===a&&!(r in e)||!o(a))return!1}return!0}var F_=R_;function z_(e,t){return null==t||F_(e,t,Xo(t))}var $_=z_;function B_(e,t){return e>t}var W_=B_;function V_(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ze(t),n=Ze(n)),e(t,n)}}var U_=V_,q_=U_(W_),G_=q_,K_=U_((function(e,t){return e>=t})),J_=K_,X_="[object ArrayBuffer]";function Z_(e){return $e(e)&&me(e)==X_}var Q_=Z_,ew=Po["a"]&&Po["a"].isArrayBuffer,tw=ew?ki(ew):Q_,nw=tw,iw="[object Boolean]";function rw(e){return!0===e||!1===e||$e(e)&&me(e)==iw}var ow=rw,aw="[object Date]";function sw(e){return $e(e)&&me(e)==aw}var lw=sw,uw=Po["a"]&&Po["a"].isDate,cw=uw?ki(uw):lw,dw=cw,hw="[object Object]",fw=Function.prototype,pw=Object.prototype,mw=fw.toString,vw=pw.hasOwnProperty,gw=mw.call(Object);function yw(e){if(!$e(e)||me(e)!=hw)return!1;var t=zy(e);if(null===t)return!0;var n=vw.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&mw.call(n)==gw}var bw=yw;function _w(e){return $e(e)&&1===e.nodeType&&!bw(e)}var ww=_w,xw="[object Map]",kw="[object Set]",Mw=Object.prototype,Sw=Mw.hasOwnProperty;function Cw(e){if(null==e)return!0;if(Le(e)&&(xt(e)||"string"==typeof e||"function"==typeof e.splice||Object(no["a"])(e)||Io(e)||_t(e)))return!e.length;var t=Sa(e);if(t==xw||t==kw)return!e.size;if(zo(e))return!Ko(e).length;for(var n in e)if(Sw.call(e,n))return!1;return!0}var Dw=Cw;function Lw(e,t){return Ya(e,t)}var Tw=Lw;function Ew(e,t,n){n="function"==typeof n?n:void 0;var i=n?n(e,t):void 0;return void 0===i?Ya(e,t,void 0,n):!!i}var Pw=Ew,jw="[object DOMException]",Ow="[object Error]";function Iw(e){if(!$e(e))return!1;var t=me(e);return t==Ow||t==jw||"string"==typeof e.message&&"string"==typeof e.name&&!bw(e)}var Yw=Iw,Aw=Z["a"].isFinite;function Nw(e){return"number"==typeof e&&Aw(e)}var Hw=Nw;function Rw(e){return"number"==typeof e&&e==rt(e)}var Fw=Rw;function zw(e,t){return e===t||Ra(e,t,Ba(t))}var $w=zw;function Bw(e,t,n){return n="function"==typeof n?n:void 0,Ra(e,t,Ba(t),n)}var Ww=Bw,Vw="[object Number]";function Uw(e){return"number"==typeof e||$e(e)&&me(e)==Vw}var qw=Uw;function Gw(e){return qw(e)&&e!=+e}var Kw=Gw,Jw=n("a158"),Xw=Ot?ke:Jw["a"],Zw=Xw,Qw="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function ex(e){if(Zw(e))throw new Error(Qw);return Kt(e)}var tx=ex;function nx(e){return null==e}var ix=nx;function rx(e){return null===e}var ox=rx,ax="[object RegExp]";function sx(e){return $e(e)&&me(e)==ax}var lx=sx,ux=Po["a"]&&Po["a"].isRegExp,cx=ux?ki(ux):lx,dx=cx,hx=9007199254740991;function fx(e){return Fw(e)&&e>=-hx&&e<=hx}var px=fx;function mx(e){return void 0===e}var vx=mx,gx="[object WeakMap]";function yx(e){return $e(e)&&Sa(e)==gx}var bx=yx,_x="[object WeakSet]";function wx(e){return $e(e)&&me(e)==_x}var xx=wx;function kx(e,t){return e<t}var Mx=kx,Sx=U_(Mx),Cx=Sx,Dx=U_((function(e,t){return e<=t})),Lx=Dx;function Tx(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}var Ex=Tx;function Px(e){return e.split("")}var jx=Px,Ox="\\ud800-\\udfff",Ix="\\u0300-\\u036f",Yx="\\ufe20-\\ufe2f",Ax="\\u20d0-\\u20ff",Nx=Ix+Yx+Ax,Hx="\\ufe0e\\ufe0f",Rx="["+Ox+"]",Fx="["+Nx+"]",zx="\\ud83c[\\udffb-\\udfff]",$x="(?:"+Fx+"|"+zx+")",Bx="[^"+Ox+"]",Wx="(?:\\ud83c[\\udde6-\\uddff]){2}",Vx="[\\ud800-\\udbff][\\udc00-\\udfff]",Ux="\\u200d",qx=$x+"?",Gx="["+Hx+"]?",Kx="(?:"+Ux+"(?:"+[Bx,Wx,Vx].join("|")+")"+Gx+qx+")*",Jx=Gx+qx+Kx,Xx="(?:"+[Bx+Fx+"?",Fx,Wx,Vx,Rx].join("|")+")",Zx=RegExp(zx+"(?="+zx+")|"+Xx+Jx,"g");function Qx(e){return e.match(Zx)||[]}var ek=Qx;function tk(e){return dp(e)?ek(e):jx(e)}var nk=tk,ik="[object Map]",rk="[object Set]",ok=ee?ee.iterator:void 0;function ak(e){if(!e)return[];if(Le(e))return Wh(e)?nk(e):Tt(e);if(ok&&e[ok])return Ex(e[ok]());var t=Sa(e),n=t==ik?kr:t==rk?Sr:Gh;return n(e)}var sk=ak;function lk(e){return My(e,Iy(e))}var uk=lk,ck=9007199254740991;function dk(e){return e?ol(rt(e),-ck,ck):0===e?e:0}var hk=dk,fk={castArray:xy,clone:D_,cloneDeep:P_,cloneDeepWith:Y_,cloneWith:H_,conformsTo:$_,eq:X,gt:G_,gte:J_,isArguments:_t,isArray:xt,isArrayBuffer:nw,isArrayLike:Le,isArrayLikeObject:Zi,isBoolean:ow,isBuffer:no["a"],isDate:dw,isElement:ww,isEmpty:Dw,isEqual:Tw,isEqualWith:Pw,isError:Yw,isFinite:Hw,isFunction:ke,isInteger:Fw,isLength:Ce,isMap:Fb,isMatch:$w,isMatchWith:Ww,isNaN:Kw,isNative:tx,isNil:ix,isNull:ox,isNumber:qw,isObject:ge,isObjectLike:$e,isPlainObject:bw,isRegExp:dx,isSafeInteger:px,isSet:Ub,isString:Wh,isSymbol:Ve,isTypedArray:Io,isUndefined:vx,isWeakMap:bx,isWeakSet:xx,lt:Cx,lte:Lx,toArray:sk,toFinite:nt,toInteger:rt,toLength:ll,toNumber:Ze,toPlainObject:uk,toSafeInteger:hk,toString:ps},pk=NaN;function mk(e){return"number"==typeof e?e:Ve(e)?pk:+e}var vk=mk;function gk(e,t){return function(n,i){var r;if(void 0===n&&void 0===i)return t;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=hs(n),i=hs(i)):(n=vk(n),i=vk(i)),r=e(n,i)}return r}}var yk=gk,bk=yk((function(e,t){return e+t}),0),_k=bk,wk=Z["a"].isFinite,xk=Math.min;function kk(e){var t=Math[e];return function(e,n){if(e=Ze(e),n=null==n?0:xk(rt(n),292),n&&wk(e)){var i=(ps(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=(ps(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}var Mk=kk,Sk=Mk("ceil"),Ck=Sk,Dk=yk((function(e,t){return e/t}),1),Lk=Dk,Tk=Mk("floor"),Ek=Tk;function Pk(e,t,n){var i=-1,r=e.length;while(++i<r){var o=e[i],a=t(o);if(null!=a&&(void 0===s?a===a&&!Ve(a):n(a,s)))var s=a,l=o}return l}var jk=Pk;function Ok(e){return e&&e.length?jk(e,Ei,W_):void 0}var Ik=Ok;function Yk(e,t){return e&&e.length?jk(e,zs(t,2),W_):void 0}var Ak=Yk;function Nk(e,t){var n,i=-1,r=e.length;while(++i<r){var o=t(e[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}var Hk=Nk,Rk=NaN;function Fk(e,t){var n=null==e?0:e.length;return n?Hk(e,t)/n:Rk}var zk=Fk;function $k(e){return zk(e,Ei)}var Bk=$k;function Wk(e,t){return zk(e,zs(t,2))}var Vk=Wk;function Uk(e){return e&&e.length?jk(e,Ei,Mx):void 0}var qk=Uk;function Gk(e,t){return e&&e.length?jk(e,zs(t,2),Mx):void 0}var Kk=Gk,Jk=yk((function(e,t){return e*t}),1),Xk=Jk,Zk=Mk("round"),Qk=Zk,eM=yk((function(e,t){return e-t}),0),tM=eM;function nM(e){return e&&e.length?Hk(e,Ei):0}var iM=nM;function rM(e,t){return e&&e.length?Hk(e,zs(t,2)):0}var oM=rM,aM={add:_k,ceil:Ck,divide:Lk,floor:Ek,max:Ik,maxBy:Ak,mean:Bk,meanBy:Vk,min:qk,minBy:Kk,multiply:Xk,round:Qk,subtract:tM,sum:iM,sumBy:oM};function sM(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=Ze(n),n=n===n?n:0),void 0!==t&&(t=Ze(t),t=t===t?t:0),ol(Ze(e),t,n)}var lM=sM,uM=Math.max,cM=Math.min;function dM(e,t,n){return e>=cM(t,n)&&e<uM(t,n)}var hM=dM;function fM(e,t,n){return t=nt(t),void 0===n?(n=t,t=0):n=nt(n),e=Ze(e),hM(e,t,n)}var pM=fM,mM=parseFloat,vM=Math.min,gM=Math.random;function yM(e,t,n){if(n&&"boolean"!=typeof n&&Ie(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=nt(e),void 0===t?(t=e,e=0):t=nt(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=gM();return vM(e+r*(t-e+mM("1e-"+((r+"").length-1))),t)}return Of(e,t)}var bM=yM,_M={clamp:lM,inRange:pM,random:bM};function wM(e){return Ji((function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(r--,o):void 0,a&&Ie(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);while(++i<r){var s=n[i];s&&e(t,s,i,o)}return t}))}var xM=wM,kM=Object.prototype,MM=kM.hasOwnProperty,SM=xM((function(e,t){if(zo(t)||Le(t))My(t,Xo(t),e);else for(var n in t)MM.call(t,n)&&gd(e,n,t[n])})),CM=SM,DM=xM((function(e,t){My(t,Iy(t),e)})),LM=DM,TM=xM((function(e,t,n,i){My(t,Iy(t),e,i)})),EM=TM,PM=xM((function(e,t,n,i){My(t,Xo(t),e,i)})),jM=PM,OM=Iu(xu),IM=OM;function YM(e,t){var n=om(e);return null==t?n:Cy(n,t)}var AM=YM,NM=Object.prototype,HM=NM.hasOwnProperty,RM=Ji((function(e,t){e=Object(e);var n=-1,i=t.length,r=i>2?t[2]:void 0;r&&Ie(t[0],t[1],r)&&(i=1);while(++n<i){var o=t[n],a=Iy(o),s=-1,l=a.length;while(++s<l){var u=a[s],c=e[u];(void 0===c||X(c,NM[u])&&!HM.call(e,u))&&(e[u]=o[u])}}return e})),FM=RM;function zM(e,t,n){(void 0!==n&&!X(e[t],n)||void 0===n&&!(t in e))&&fd(e,t,n)}var $M=zM;function BM(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var WM=BM;function VM(e,t,n,i,r,o,a){var s=WM(e,n),l=WM(t,n),u=a.get(l);if(u)$M(e,n,u);else{var c=o?o(s,l,n+"",e,t,a):void 0,d=void 0===c;if(d){var h=xt(l),f=!h&&Object(no["a"])(l),p=!h&&!f&&Io(l);c=l,h||f||p?xt(s)?c=s:Zi(s)?c=Tt(s):f?(d=!1,c=Object(Ny["a"])(l,!0)):p?(d=!1,c=db(l,!0)):c=[]:bw(l)||_t(l)?(c=s,_t(s)?c=uk(s):ge(s)&&!ke(s)||(c=Ib(l))):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a["delete"](l)),$M(e,n,c)}}var UM=VM;function qM(e,t,n,i,r){e!==t&&Id(t,(function(o,a){if(r||(r=new fr),ge(o))UM(e,t,a,n,qM,i,r);else{var s=i?i(WM(e,a),o,a+"",e,t,r):void 0;void 0===s&&(s=o),$M(e,a,s)}}),Iy)}var GM=qM;function KM(e,t,n,i,r,o){return ge(e)&&ge(t)&&(o.set(t,e),GM(e,t,void 0,KM,o),o["delete"](t)),e}var JM=KM,XM=xM((function(e,t,n,i){GM(e,t,n,i)})),ZM=XM,QM=Ji((function(e){return e.push(void 0,JM),ji(ZM,void 0,e)})),eS=QM;function tS(e,t){return wi(t,(function(t){return[t,e[t]]}))}var nS=tS;function iS(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}var rS=iS,oS="[object Map]",aS="[object Set]";function sS(e){return function(t){var n=Sa(t);return n==oS?kr(t):n==aS?rS(t):nS(t,e(t))}}var lS=sS,uS=lS(Xo),cS=uS,dS=lS(Iy),hS=dS;function fS(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}var pS=fS;function mS(e,t){return pS(e,zs(t,3),Ad)}var vS=mS;function gS(e,t){return pS(e,zs(t,3),ah)}var yS=gS;function bS(e,t){return null==e?e:Id(e,Zd(t),Iy)}var _S=bS;function wS(e,t){return null==e?e:rh(e,Zd(t),Iy)}var xS=wS;function kS(e,t){return e&&Ad(e,Zd(t))}var MS=kS;function SS(e,t){return e&&ah(e,Zd(t))}var CS=SS;function DS(e,t){return Ur(t,(function(t){return ke(e[t])}))}var LS=DS;function TS(e){return null==e?[]:LS(e,Xo(e))}var ES=TS;function PS(e){return null==e?[]:LS(e,Iy(e))}var jS=PS,OS=Object.prototype,IS=OS.hasOwnProperty;function YS(e,t){return null!=e&&IS.call(e,t)}var AS=YS;function NS(e,t){return null!=e&&Ds(e,t,AS)}var HS=NS;function RS(e,t,n,i){return Ad(e,(function(e,r,o){t(i,n(e),r,o)})),i}var FS=RS;function zS(e,t){return function(n,i){return FS(n,e,t(i),{})}}var $S=zS,BS=Object.prototype,WS=BS.toString,VS=$S((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=WS.call(t)),e[t]=n}),Ni(Ei)),US=VS,qS=Object.prototype,GS=qS.hasOwnProperty,KS=qS.toString,JS=$S((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=KS.call(t)),GS.call(e,t)?e[t].push(n):e[t]=[n]}),zs),XS=JS,ZS=Ji(Qh),QS=ZS;function eC(e,t){var n={};return t=zs(t,3),Ad(e,(function(e,i,r){fd(n,t(e,i,r),e)})),n}var tC=eC;function nC(e,t){var n={};return t=zs(t,3),Ad(e,(function(e,i,r){fd(n,i,t(e,i,r))})),n}var iC=nC,rC=xM((function(e,t,n){GM(e,t,n)})),oC=rC;function aC(e){return bw(e)?void 0:e}var sC=aC,lC=1,uC=2,cC=4,dC=Iu((function(e,t){var n={};if(null==e)return n;var i=!1;t=wi(t,(function(t){return t=vs(t,e),i||(i=t.length>1),t})),My(e,Gy(e),n),i&&(n=M_(n,lC|uC|cC,sC));var r=t.length;while(r--)Cu(n,t[r]);return n})),hC=dC;function fC(e,t,n){var i=-1,r=t.length,o={};while(++i<r){var a=t[i],s=ws(e,a);n(s,a)&&kd(o,vs(a,e),s)}return o}var pC=fC;function mC(e,t){if(null==e)return{};var n=wi(Gy(e),(function(e){return[e]}));return t=zs(t),pC(e,n,(function(e,n){return t(e,n[0])}))}var vC=mC;function gC(e,t){return vC(e,Df(zs(t)))}var yC=gC;function bC(e,t){return pC(e,t,(function(t,n){return Ts(e,n)}))}var _C=bC,wC=Iu((function(e,t){return null==e?{}:_C(e,t)})),xC=wC;function kC(e,t,n){t=vs(t,e);var i=-1,r=t.length;r||(r=1,e=void 0);while(++i<r){var o=null==e?void 0:e[bs(t[i])];void 0===o&&(i=r,o=n),e=ke(o)?o.call(e):o}return e}var MC=kC;function SC(e,t,n){return null==e?e:kd(e,t,n)}var CC=SC;function DC(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:kd(e,t,n,i)}var LC=DC;function TC(e,t,n){var i=xt(e),r=i||Object(no["a"])(e)||Io(e);if(t=zs(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ge(e)&&ke(o)?om(zy(e)):{}}return(r?Jd:Ad)(e,(function(e,i,r){return t(n,e,i,r)})),n}var EC=TC;function PC(e,t){return null==e||Cu(e,t)}var jC=PC;function OC(e,t,n,i){return kd(e,t,n(ws(e,t)),i)}var IC=OC;function YC(e,t,n){return null==e?e:IC(e,t,Zd(n))}var AC=YC;function NC(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:IC(e,t,Zd(n),i)}var HC=NC;function RC(e){return null==e?[]:Uh(e,Iy(e))}var FC=RC,zC={assign:CM,assignIn:LM,assignInWith:EM,assignWith:jM,at:IM,create:AM,defaults:FM,defaultsDeep:eS,entries:cS,entriesIn:hS,extend:LM,extendWith:EM,findKey:vS,findLastKey:yS,forIn:_S,forInRight:xS,forOwn:MS,forOwnRight:CS,functions:ES,functionsIn:jS,get:ks,has:HS,hasIn:Ts,invert:US,invertBy:XS,invoke:QS,keys:Xo,keysIn:Iy,mapKeys:tC,mapValues:iC,merge:oC,mergeWith:ZM,omit:hC,omitBy:yC,pick:xC,pickBy:vC,result:MC,set:CC,setWith:LC,toPairs:cS,toPairsIn:hS,transform:EC,unset:jC,update:AC,updateWith:HC,values:Gh,valuesIn:FC};function $C(e,t){return t(e)}var BC=$C,WC=Iu((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return xu(t,e)};return!(t>1||this.__actions__.length)&&i instanceof km&&je(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:BC,args:[r],thisArg:void 0}),new Om(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(r)})),VC=WC;function UC(e){var t=Rm(e);return t.__chain__=!0,t}var qC=UC;function GC(){return new Om(this.value(),this.__chain__)}var KC=GC;function JC(){void 0===this.__values__&&(this.__values__=sk(this.value()));var e=this.__index__>=this.__values__.length,t=e?void 0:this.__values__[this.__index__++];return{done:e,value:t}}var XC=JC;function ZC(e){var t,n=this;while(n instanceof _m){var i=Ym(n);i.__index__=0,i.__values__=void 0,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}var QC=ZC;function eD(){var e=this.__wrapped__;if(e instanceof km){var t=e;return this.__actions__.length&&(t=new km(this)),t=t.reverse(),t.__actions__.push({func:BC,args:[$u],thisArg:void 0}),new Om(t,this.__chain__)}return this.thru($u)}var tD=eD;function nD(e,t){return t(e),e}var iD=nD;function rD(){return this}var oD=rD;function aD(e,t){var n=e;return n instanceof km&&(n=n.value()),vf(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}var sD=aD;function lD(){return sD(this.__wrapped__,this.__actions__)}var uD=lD;function cD(){return qC(this)}var dD=cD,hD={at:VC,chain:qC,commit:KC,lodash:Rm,next:XC,plant:QC,reverse:tD,tap:iD,thru:BC,toIterator:oD,toJSON:uD,value:uD,valueOf:uD,wrapperChain:dD};function fD(e){return function(t){t=ps(t);var n=dp(t)?nk(t):void 0,i=n?n[0]:t.charAt(0),r=n?ly(n,1).join(""):t.slice(1);return i[e]()+r}}var pD=fD,mD=pD("toUpperCase"),vD=mD;function gD(e){return vD(ps(e).toLowerCase())}var yD=gD;function bD(e){return function(t){return null==e?void 0:e[t]}}var _D=bD,wD={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},xD=_D(wD),kD=xD,MD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,SD="\\u0300-\\u036f",CD="\\ufe20-\\ufe2f",DD="\\u20d0-\\u20ff",LD=SD+CD+DD,TD="["+LD+"]",ED=RegExp(TD,"g");function PD(e){return e=ps(e),e&&e.replace(MD,kD).replace(ED,"")}var jD=PD,OD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function ID(e){return e.match(OD)||[]}var YD=ID,AD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function ND(e){return AD.test(e)}var HD=ND,RD="\\ud800-\\udfff",FD="\\u0300-\\u036f",zD="\\ufe20-\\ufe2f",$D="\\u20d0-\\u20ff",BD=FD+zD+$D,WD="\\u2700-\\u27bf",VD="a-z\\xdf-\\xf6\\xf8-\\xff",UD="\\xac\\xb1\\xd7\\xf7",qD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",GD="\\u2000-\\u206f",KD=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",JD="A-Z\\xc0-\\xd6\\xd8-\\xde",XD="\\ufe0e\\ufe0f",ZD=UD+qD+GD+KD,QD="['’]",eL="["+ZD+"]",tL="["+BD+"]",nL="\\d+",iL="["+WD+"]",rL="["+VD+"]",oL="[^"+RD+ZD+nL+WD+VD+JD+"]",aL="\\ud83c[\\udffb-\\udfff]",sL="(?:"+tL+"|"+aL+")",lL="[^"+RD+"]",uL="(?:\\ud83c[\\udde6-\\uddff]){2}",cL="[\\ud800-\\udbff][\\udc00-\\udfff]",dL="["+JD+"]",hL="\\u200d",fL="(?:"+rL+"|"+oL+")",pL="(?:"+dL+"|"+oL+")",mL="(?:"+QD+"(?:d|ll|m|re|s|t|ve))?",vL="(?:"+QD+"(?:D|LL|M|RE|S|T|VE))?",gL=sL+"?",yL="["+XD+"]?",bL="(?:"+hL+"(?:"+[lL,uL,cL].join("|")+")"+yL+gL+")*",_L="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wL="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xL=yL+gL+bL,kL="(?:"+[iL,uL,cL].join("|")+")"+xL,ML=RegExp([dL+"?"+rL+"+"+mL+"(?="+[eL,dL,"$"].join("|")+")",pL+"+"+vL+"(?="+[eL,dL+fL,"$"].join("|")+")",dL+"?"+fL+"+"+mL,dL+"+"+vL,wL,_L,nL,kL].join("|"),"g");function SL(e){return e.match(ML)||[]}var CL=SL;function DL(e,t,n){return e=ps(e),t=n?void 0:t,void 0===t?HD(e)?CL(e):YD(e):e.match(t)||[]}var LL=DL,TL="['’]",EL=RegExp(TL,"g");function PL(e){return function(t){return vf(LL(jD(t).replace(EL,"")),e,"")}}var jL=PL,OL=jL((function(e,t,n){return t=t.toLowerCase(),e+(n?yD(t):t)})),IL=OL;function YL(e,t,n){e=ps(e),t=hs(t);var i=e.length;n=void 0===n?i:ol(rt(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}var AL=YL,NL={"&":"&","<":"<",">":">",'"':""","'":"'"},HL=_D(NL),RL=HL,FL=/[&<>"']/g,zL=RegExp(FL.source);function $L(e){return e=ps(e),e&&zL.test(e)?e.replace(FL,RL):e}var BL=$L,WL=/[\\^$.*+?()[\]{}|]/g,VL=RegExp(WL.source);function UL(e){return e=ps(e),e&&VL.test(e)?e.replace(WL,"\\$&"):e}var qL=UL,GL=jL((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),KL=GL,JL=jL((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),XL=JL,ZL=pD("toLowerCase"),QL=ZL,eT=9007199254740991,tT=Math.floor;function nT(e,t){var n="";if(!e||t<1||t>eT)return n;do{t%2&&(n+=e),t=tT(t/2),t&&(e+=e)}while(t);return n}var iT=nT,rT=Math.ceil;function oT(e,t){t=void 0===t?" ":hs(t);var n=t.length;if(n<2)return n?iT(t,e):t;var i=iT(t,rT(e/Yp(t)));return dp(t)?ly(nk(i),0,e).join(""):i.slice(0,e)}var aT=oT,sT=Math.ceil,lT=Math.floor;function uT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return aT(lT(r),n)+e+aT(sT(r),n)}var cT=uT;function dT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;return t&&i<t?e+aT(t-i,n):e}var hT=dT;function fT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;return t&&i<t?aT(t-i,n)+e:e}var pT=fT,mT=/^\s+/,vT=Z["a"].parseInt;function gT(e,t,n){return n||null==t?t=0:t&&(t=+t),vT(ps(e).replace(mT,""),t||0)}var yT=gT;function bT(e,t,n){return t=(n?Ie(e,t,n):void 0===t)?1:rt(t),iT(ps(e),t)}var _T=bT;function wT(){var e=arguments,t=ps(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var xT=wT,kT=jL((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),MT=kT,ST=4294967295;function CT(e,t,n){return n&&"number"!=typeof n&&Ie(e,t,n)&&(t=n=void 0),n=void 0===n?ST:n>>>0,n?(e=ps(e),e&&("string"==typeof t||null!=t&&!dx(t))&&(t=hs(t),!t&&dp(e))?ly(nk(e),0,n):e.split(t,n)):[]}var DT=CT,LT=jL((function(e,t,n){return e+(n?" ":"")+vD(t)})),TT=LT;function ET(e,t,n){return e=ps(e),n=null==n?0:ol(rt(n),0,e.length),t=hs(t),e.slice(n,n+t.length)==t}var PT=ET,jT=Ji((function(e,t){try{return ji(e,void 0,t)}catch(n){return Yw(n)?n:new Error(n)}})),OT=jT,IT=Object.prototype,YT=IT.hasOwnProperty;function AT(e,t,n,i){return void 0===e||X(e,IT[n])&&!YT.call(i,n)?t:e}var NT=AT,HT={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function RT(e){return"\\"+HT[e]}var FT=RT,zT=/<%=([\s\S]+?)%>/g,$T=zT,BT=/<%-([\s\S]+?)%>/g,WT=BT,VT=/<%([\s\S]+?)%>/g,UT=VT,qT={escape:WT,evaluate:UT,interpolate:$T,variable:"",imports:{_:{escape:BL}}},GT=qT,KT="Invalid `variable` option passed into `_.template`",JT=/\b__p \+= '';/g,XT=/\b(__p \+=) '' \+/g,ZT=/(__e\(.*?\)|\b__t\)) \+\n'';/g,QT=/[()=,{}\[\]\/\s]/,eE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tE=/($^)/,nE=/['\n\r\u2028\u2029\\]/g,iE=Object.prototype,rE=iE.hasOwnProperty;function oE(e,t,n){var i=GT.imports._.templateSettings||GT;n&&Ie(e,t,n)&&(t=void 0),e=ps(e),t=EM({},t,i,NT);var r,o,a=EM({},t.imports,i.imports,NT),s=Xo(a),l=Uh(a,s),u=0,c=t.interpolate||tE,d="__p += '",h=RegExp((t.escape||tE).source+"|"+c.source+"|"+(c===$T?eE:tE).source+"|"+(t.evaluate||tE).source+"|$","g"),f=rE.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(h,(function(t,n,i,a,s,l){return i||(i=a),d+=e.slice(u,l).replace(nE,FT),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(o=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),d+="';\n";var p=rE.call(t,"variable")&&t.variable;if(p){if(QT.test(p))throw new Error(KT)}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(JT,""):d).replace(XT,"$1").replace(ZT,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=OT((function(){return Function(s,f+"return "+d).apply(void 0,l)}));if(m.source=d,Yw(m))throw m;return m}var aE=oE;function sE(e){return ps(e).toLowerCase()}var lE=sE;function uE(e){return ps(e).toUpperCase()}var cE=uE;function dE(e,t){var n=e.length;while(n--&&mi(t,e[n],0)>-1);return n}var hE=dE;function fE(e,t){var n=-1,i=e.length;while(++n<i&&mi(t,e[n],0)>-1);return n}var pE=fE;function mE(e,t,n){if(e=ps(e),e&&(n||void 0===t))return Fe(e);if(!e||!(t=hs(t)))return e;var i=nk(e),r=nk(t),o=pE(i,r),a=hE(i,r)+1;return ly(i,o,a).join("")}var vE=mE;function gE(e,t,n){if(e=ps(e),e&&(n||void 0===t))return e.slice(0,Ne(e)+1);if(!e||!(t=hs(t)))return e;var i=nk(e),r=hE(i,nk(t))+1;return ly(i,0,r).join("")}var yE=gE,bE=/^\s+/;function _E(e,t,n){if(e=ps(e),e&&(n||void 0===t))return e.replace(bE,"");if(!e||!(t=hs(t)))return e;var i=nk(e),r=pE(i,nk(t));return ly(i,r).join("")}var wE=_E,xE=30,kE="...",ME=/\w*$/;function SE(e,t){var n=xE,i=kE;if(ge(t)){var r="separator"in t?t.separator:r;n="length"in t?rt(t.length):n,i="omission"in t?hs(t.omission):i}e=ps(e);var o=e.length;if(dp(e)){var a=nk(e);o=a.length}if(n>=o)return e;var s=n-Yp(i);if(s<1)return i;var l=a?ly(a,0,s).join(""):e.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),dx(r)){if(e.slice(s).search(r)){var u,c=l;r.global||(r=RegExp(r.source,ps(ME.exec(r))+"g")),r.lastIndex=0;while(u=r.exec(c))var d=u.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(hs(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}var CE=SE,DE={"&":"&","<":"<",">":">",""":'"',"'":"'"},LE=_D(DE),TE=LE,EE=/&(?:amp|lt|gt|quot|#39);/g,PE=RegExp(EE.source);function jE(e){return e=ps(e),e&&PE.test(e)?e.replace(EE,TE):e}var OE=jE,IE=jL((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),YE=IE,AE={camelCase:IL,capitalize:yD,deburr:jD,endsWith:AL,escape:BL,escapeRegExp:qL,kebabCase:KL,lowerCase:XL,lowerFirst:QL,pad:cT,padEnd:hT,padStart:pT,parseInt:yT,repeat:_T,replace:xT,snakeCase:MT,split:DT,startCase:TT,startsWith:PT,template:aE,templateSettings:GT,toLower:lE,toUpper:cE,trim:vE,trimEnd:yE,trimStart:wE,truncate:CE,unescape:OE,upperCase:YE,upperFirst:vD,words:LL},NE=Iu((function(e,t){return Jd(t,(function(t){t=bs(t),fd(e,t,mg(e[t],e))})),e})),HE=NE,RE="Expected a function";function FE(e){var t=null==e?0:e.length,n=zs;return e=t?wi(e,(function(e){if("function"!=typeof e[1])throw new TypeError(RE);return[n(e[0]),e[1]]})):[],Ji((function(n){var i=-1;while(++i<t){var r=e[i];if(ji(r[0],this,n))return ji(r[1],this,n)}}))}var zE=FE;function $E(e){var t=Xo(e);return function(n){return F_(n,e,t)}}var BE=$E,WE=1;function VE(e){return BE(M_(e,WE))}var UE=VE;function qE(e,t){return null==e||e!==e?t:e}var GE=qE,KE="Expected a function",JE=8,XE=32,ZE=128,QE=256;function eP(e){return Iu((function(t){var n=t.length,i=n,r=Om.prototype.thru;e&&t.reverse();while(i--){var o=t[i];if("function"!=typeof o)throw new TypeError(KE);if(r&&!a&&"wrapper"==Pm(o))var a=new Om([],!0)}i=a?i:n;while(++i<n){o=t[i];var s=Pm(o),l="wrapper"==s?Sm(o):void 0;a=l&&zm(l[0])&&l[1]==(ZE|JE|XE|QE)&&!l[4].length&&1==l[9]?a[Pm(l[0])].apply(a,l[3]):1==o.length&&zm(o)?a[s]():a.thru(o)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&xt(i))return a.plant(i).value();var r=0,o=n?t[r].apply(this,e):i;while(++r<n)o=t[r].call(this,o);return o}}))}var tP=eP,nP=tP(),iP=nP,rP=tP(!0),oP=rP,aP=1;function sP(e){return zs("function"==typeof e?e:M_(e,aP))}var lP=sP,uP=1;function cP(e){return qa(M_(e,uP))}var dP=cP,hP=1;function fP(e,t){return Os(e,M_(t,hP))}var pP=fP,mP=Ji((function(e,t){return function(n){return Qh(n,e,t)}})),vP=mP,gP=Ji((function(e,t){return function(n){return Qh(e,n,t)}})),yP=gP;function bP(e,t,n){var i=Xo(t),r=LS(t,i),o=!(ge(n)&&"chain"in n)||!!n.chain,a=ke(e);return Jd(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Tt(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,ht([this.value()],arguments))})})),e}var _P=bP;function wP(e){return e=rt(e),Ji((function(t){return ru(t,e)}))}var xP=wP;function kP(e){return Iu((function(t){return t=wi(t,ki(zs)),Ji((function(n){var i=this;return e(t,(function(e){return ji(e,i,n)}))}))}))}var MP=kP,SP=MP(wi),CP=SP,DP=MP(hh),LP=DP,TP=MP(mr),EP=TP;function PP(e){return function(t){return null==e?void 0:ws(e,t)}}var jP=PP,OP=Math.ceil,IP=Math.max;function YP(e,t,n,i){var r=-1,o=IP(OP((t-e)/(n||1)),0),a=Array(o);while(o--)a[i?o:++r]=e,e+=n;return a}var AP=YP;function NP(e){return function(t,n,i){return i&&"number"!=typeof i&&Ie(t,n,i)&&(n=i=void 0),t=nt(t),void 0===n?(n=t,t=0):n=nt(n),i=void 0===i?t<n?1:-1:nt(i),AP(t,n,i,e)}}var HP=NP,RP=HP(),FP=RP,zP=HP(!0),$P=zP;function BP(){return{}}var WP=BP;function VP(){return""}var UP=VP;function qP(){return!0}var GP=qP,KP=9007199254740991,JP=4294967295,XP=Math.min;function ZP(e,t){if(e=rt(e),e<1||e>KP)return[];var n=JP,i=XP(e,JP);t=Zd(t),e-=JP;var r=to(i,t);while(++n<e)t(n);return r}var QP=ZP;function ej(e){return xt(e)?wi(e,bs):Ve(e)?[e]:Tt(ss(ps(e)))}var tj=ej,nj=0;function ij(e){var t=++nj;return ps(e)+t}var rj=ij,oj={attempt:OT,bindAll:HE,cond:zE,conforms:UE,constant:Ni,defaultTo:GE,flow:iP,flowRight:oP,identity:Ei,iteratee:lP,matches:dP,matchesProperty:pP,method:vP,methodOf:yP,mixin:_P,noop:Ec,nthArg:xP,over:CP,overEvery:LP,overSome:EP,property:Rs,propertyOf:jP,range:FP,rangeRight:$P,stubArray:Gr,stubFalse:Jw["a"],stubObject:WP,stubString:UP,stubTrue:GP,times:QP,toPath:tj,uniqueId:rj};function aj(){var e=new km(this.__wrapped__);return e.__actions__=Tt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Tt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Tt(this.__views__),e}var sj=aj;function lj(){if(this.__filtered__){var e=new km(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var uj=lj,cj=Math.max,dj=Math.min;function hj(e,t,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=dj(t,e+a);break;case"takeRight":e=cj(e,t-a);break}}return{start:e,end:t}}var fj=hj,pj=1,mj=2,vj=Math.min;function gj(){var e=this.__wrapped__.value(),t=this.__dir__,n=xt(e),i=t<0,r=n?e.length:0,o=fj(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=vj(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return sD(e,this.__actions__);var p=[];e:while(l--&&h<f){u+=t;var m=-1,v=e[u];while(++m<d){var g=c[m],y=g.iteratee,b=g.type,_=y(v);if(b==mj)v=_;else if(!_){if(b==pj)continue e;break e}}p[h++]=v}return p}var yj=gj,bj="4.17.21",_j=2,wj=1,xj=3,kj=4294967295,Mj=Array.prototype,Sj=Object.prototype,Cj=Sj.hasOwnProperty,Dj=ee?ee.iterator:void 0,Lj=Math.max,Tj=Math.min,Ej=function(e){return function(t,n,i){if(null==i){var r=ge(n),o=r&&Xo(n),a=o&&o.length&&LS(n,o);(a?a.length:r)||(i=n,n=t,t=this)}return e(t,n,i)}}(_P);
|
|
19
|
+
var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t}))},"112a":function(e,t,n){"use strict";n.r(t);var i,r={};(n.r(r),n.d(r,"leave",(function(){return VO})),n.d(r,"assetCollect",(function(){return UO})),n.d(r,"consumableMaterialCollect",(function(){return qO})),n.d(r,"overTimeApply",(function(){return GO})),n.d(r,"trip",(function(){return KO})),n.d(r,"projectApproval",(function(){return JO})),n.d(r,"sealApproval",(function(){return QO})),n.d(r,"carApproval",(function(){return tI})),n.d(r,"employeeRegularization",(function(){return nI})),n.d(r,"employeeChangestation",(function(){return iI})),n.d(r,"notice",(function(){return rI})),n.d(r,"officialDocument",(function(){return oI})),n.d(r,"employeeChangesalary",(function(){return aI})),n.d(r,"employeeHonor",(function(){return sI})),n.d(r,"employeeTurnover",(function(){return lI})),n.d(r,"employeeturnoverhandover",(function(){return uI})),n.d(r,"lan",(function(){return cI})),n.d(r,"out",(function(){return dI})),n.d(r,"evection",(function(){return hI})),n.d(r,"reissueCard",(function(){return fI})),n.d(r,"loan",(function(){return pI})),n.d(r,"task",(function(){return mI})),n.d(r,"budgeting",(function(){return vI})),n.d(r,"costBudget",(function(){return gI})),n.d(r,"InvitationToOffer",(function(){return yI})),n.d(r,"businessDesign",(function(){return bI})),n.d(r,"purchaseApplication",(function(){return _I})),n.d(r,"subcontract",(function(){return wI})),n.d(r,"lease",(function(){return xI})),n.d(r,"workarea",(function(){return kI})),n.d(r,"acceptMaterial",(function(){return MI})),n.d(r,"rentAccept",(function(){return SI})),n.d(r,"quantityAccpet",(function(){return CI})),n.d(r,"purchaseAccept",(function(){return DI})),n.d(r,"payable",(function(){return LI})),"undefined"!==typeof window)&&(n("e67d"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("c2ec"),n("5fec"),n("f85a"),n("8697"),n("7e09"),n("a616");function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("e30c"),n("6ded");var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"fd-nav sidePadding"},[n("div",{staticClass:"fd-nav-left"},[n("div",{staticClass:"fd-nav-title"},[e._v(e._s(e.queryInfo.name)+"流程")])]),n("div",{staticClass:"fd-nav-center"}),n("div",{staticClass:"fd-nav-right"},[n("div",{staticClass:"switch fixWidth"},[n("span",[e._v("重复审批人自动通过:")]),n("el-switch",{model:{value:e.workFlowDef.automaticPass,callback:function(t){e.$set(e.workFlowDef,"automaticPass",t)},expression:"workFlowDef.automaticPass"}}),n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"bottom"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._v("开通后,当同一审批人重复出现在多节点时,"),n("br"),e._v("若首个节点审批通过,则后续节点中该审批"),n("br"),e._v("人自动通过无需多次操作审批")]),n("el-button",{staticClass:"tooltipContent",attrs:{icon:"el-icon-question",circle:""}})],1)],1),n("div",{staticClass:"switch"},[n("span",[e._v("是否开启审批:")]),n("el-switch",{model:{value:e.workFlowDef.switchOn,callback:function(t){e.$set(e.workFlowDef,"switchOn",t)},expression:"workFlowDef.switchOn"}})],1),n("el-button",{attrs:{round:"",size:"medium"},on:{click:e.cancel}},[e._v("取消")]),n("el-button",{attrs:{round:"",type:"primary",size:"medium"},on:{click:e.saveSet}},[e._v("保存")]),e.isOldData?n("el-button",{attrs:{round:"",type:"warning",size:"medium"},on:{click:e.showOldModal}},[e._v("老数据参考")]):e._e()],1)]),n("div",{staticClass:"fd-nav-content"},[n("section",{staticClass:"dingflow-design"},[n("div",{staticClass:"zoom"},[n("div",{class:"zoom-out"+(50==e.nowVal?" disabled":""),on:{click:function(t){return e.zoomSize(1)}}}),n("span",[e._v(e._s(e.nowVal)+"%")]),n("div",{class:"zoom-in"+(300==e.nowVal?" disabled":""),on:{click:function(t){return e.zoomSize(2)}}})]),n("div",{staticClass:"box-scale",style:"transform: scale("+e.nowVal/100+"); transform-origin: 50% 0px 0px;",attrs:{id:"box-scale"}},[n("nodeWrap",{attrs:{nodeConfig:e.nodeConfig,flowPermission:e.flowPermission,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel,tableId:e.processConfig.processId,queryInfo:e.queryInfo},on:{"update:nodeConfig":function(t){e.nodeConfig=t},"update:node-config":function(t){e.nodeConfig=t},"update:flowPermission":function(t){e.flowPermission=t},"update:flow-permission":function(t){e.flowPermission=t},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}),e._m(0)],1)])]),n("el-dialog",{staticClass:"modalTips",attrs:{title:"提示",visible:e.tipVisible,width:"445px"},on:{"update:visible":function(t){e.tipVisible=t}}},[n("div",{staticClass:"ant-confirm-body"},[n("i",{staticClass:"anticon anticon-close-circle",staticStyle:{color:"#f00"}}),n("span",{staticClass:"ant-confirm-title"},[e._v("当前无法发布")]),n("div",{staticClass:"ant-confirm-content"},[n("div",[n("p",{staticClass:"error-modal-desc"},[e._v("以下内容不完善,需进行修改")]),n("div",{staticClass:"error-modal-list"},e._l(e.tipList,(function(t,i){return n("div",{key:i,staticClass:"error-modal-item"},[n("div",{staticClass:"error-modal-item-label"},[e._v("流程设计")]),n("div",{staticClass:"error-modal-item-content"},[e._v(e._s(t.name)+" 未选择"+e._s(t.type))])])})),0)])])]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.tipVisible=!1}}},[e._v("我知道了")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.tipVisible=!1}}},[e._v("前往修改")])],1)]),n("el-dialog",{attrs:{title:e.queryInfo.name+"老数据参考",visible:e.oldModal,width:"70%","before-close":e.showOldModal},on:{"update:visible":function(t){e.oldModal=t}}},[n("OldProcess",{attrs:{tools:!1,path:e.path,userInfo:e.userInfo,queryInfo:e.queryInfo}}),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.oldModal=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){e.oldModal=!1}}},[e._v("确 定")])],1)],1)],1)},u=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"end-node"},[n("div",{staticClass:"end-node-circle"}),n("div",{staticClass:"end-node-text"},[e._v("流程结束")])])}];n("e7dc"),n("3938");function c(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,r)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var o=e.apply(t,n);function a(e){c(o,i,r,a,s,"next",e)}function s(e){c(o,i,r,a,s,"throw",e)}a(void 0)}))}}n("e069"),n("e186");var h={code:"200",msg:"success",data:{processId:null,processName:"",switchOn:0,automaticPass:0,describe:"",creator:"",companyId:"",type:"",version:1,nodeConfig:{pkId:"sid-start-node",nodeName:"发起人",type:0,priority:"",setType:"",directorLevel:"",examineMode:"",authType:"",ccSelfSelectFlag:"",conditionList:[],nodeUserList:[],childNode:null,conditionNodes:[]}}},f=h,p=(n("e59c"),n("f753")),m=n.n(p),v=(n("993a"),n("5e87"),n("2327"),n("ba2a"),n("8bbf")),g=n.n(v),y=n("7736"),b=n("e04f"),w=n.n(b);function x(e,t,n){w.a.set(e,t,{expires:n,path:"/",domain:".qiguanbang.com"})}function k(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?w.a.get():w.a.get(e)}function M(e){w.a.remove(e),w.a.remove(e,{path:"/",domain:".qiguanbang.com"})}var S={cookieSet:x,cookieRead:k,cookieClear:M},C=S,D=n("5422"),L=window.localStorage;function T(e,t){L.setItem(e,t)}function E(e){e.forEach((function(e){return T(e.key,e.value)}))}function P(e){return L.getItem(e)}function j(e){return e.map((function(e){return P(e)}))}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?L.clear():L.removeItem(e)}function I(e){e.forEach((function(e){return O(e)}))}var Y={set:T,setMulti:E,read:P,readMulti:j,clear:O,clearMulti:I},A=Y,N=JSON.parse(localStorage.getItem("env")),H=N.VUE_APP_API_APISTORE,R=N.VUE_APP_APIMATERIALS,F=N.VUE_APP_APIUSER,z=N.VUE_APP_MEMBERCENTER,$={business:function(){return Nj.get("/api/auth/business")},businessByCompany:function(){return Nj.get("/api/auth/businessByCompany")},getCompanyAuthInfo:function(){return Nj.get("/api/auth/getCompanyAuthInfo")},companyAuth:function(e){return Nj.post("/api/auth/companyAuth",e)},storeInformation:function(e){return Nj.post("/v2/api/companyInfo/save",e)},getStoreInformation:function(){return Nj.post("/v2/api/companyInfo/details")},getStoreInformationOld:function(){return Nj.get(H+"/api/companyInfo")},getServiceTypeList:function(){return Nj.get("/v2/api/companyInfo/getServiceTypeList")},dict:function(){return Nj.get(R+"/dict/12")},logoAddImg:function(e){return Nj.post(F+"/file/add",e)},getRealName:function(e){return Nj.post(z+"/api/auth/userAuth",e)},getBusinessLicenseInfoByBase64:function(e){return Nj.post(z+"/file/getBusinessLicenseInfoByBase64",e)},queryUserAuthByPhone:function(e){return Nj.get(z+"/api/user/queryUserAuthByPhone/".concat(e))},companyAuthV1:function(e){return Nj.post(z+"/api/auth/companyAuthV1",e)}},B=$,W=JSON.parse(localStorage.getItem("env")),V=W.VUE_APP_MEMBERCENTER,U={getUserInfo:function(){return Nj.get(V+"/api/user/getCurrentUserInfo")},getCompanyInfo:function(){return Nj.get(V+"/api/auth/getCompanyInfo")},getCurrentUserCompanyInfo:function(){return Nj.get("api/user/getCurrentUserCompanyInfo")},getInvoiceDetail:function(){return Nj.get("/api/auth/getInvoice")},setInvoiceIsDefault:function(e){return Nj.post("/invoiceInfo/setDefault/".concat(e))},saveInvoiceDetail:function(e){return Nj.post("/invoiceInfo/saveOrUpdate",e)},getInvoiceInfo:function(e){return Nj.get("/invoiceInfo/".concat(e))},delInvoiceInfo:function(e){return Nj.delete("/invoiceInfo/".concat(e))},getCompanyAuthInfo:function(){return Nj.get("/api/auth/getCompanyAuthInfo")},saveInfo:function(e){return Nj.post("/api/user/basicInfo",e)},getInfoQualification:function(e){return Nj.get("/companyInfoQualification/findListByCompanyInfoNo",e)},postUpdate:function(e){return Nj.post("/companyInfoQualification/updateQualification",e)},delQualification:function(e){return Nj.delete("/companyInfoQualification/".concat(e))},getInvoiceList:function(e){return Nj.get("/invoiceInfo",e)},createQrCode:function(){return Nj.get("/api/qrscan/createQrCode")},queryQRCode:function(e){return Nj.get("/api/qrscan/queryQRCode",e)},setUserImg:function(e){return Nj.get("".concat(V,"/api/user/updateHeadImg?headImg=").concat(e))}},q=U;function G(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;var o=Array(r);while(++i<r)o[i]=e[i+t];return o}var K=G;function J(e,t){return e===t||e!==e&&t!==t}var X=J,Z=n("2004"),Q=Z["a"].Symbol,ee=Q,te=Object.prototype,ne=te.hasOwnProperty,ie=te.toString,re=ee?ee.toStringTag:void 0;function oe(e){var t=ne.call(e,re),n=e[re];try{e[re]=void 0;var i=!0}catch(o){}var r=ie.call(e);return i&&(t?e[re]=n:delete e[re]),r}var ae=oe,se=Object.prototype,le=se.toString;function ue(e){return le.call(e)}var ce=ue,de="[object Null]",he="[object Undefined]",fe=ee?ee.toStringTag:void 0;function pe(e){return null==e?void 0===e?he:de:fe&&fe in Object(e)?ae(e):ce(e)}var me=pe;function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var ge=ve,ye="[object AsyncFunction]",be="[object Function]",_e="[object GeneratorFunction]",we="[object Proxy]";function xe(e){if(!ge(e))return!1;var t=me(e);return t==be||t==_e||t==ye||t==we}var ke=xe,Me=9007199254740991;function Se(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Me}var Ce=Se;function De(e){return null!=e&&Ce(e.length)&&!ke(e)}var Le=De,Te=9007199254740991,Ee=/^(?:0|[1-9]\d*)$/;function Pe(e,t){var n=typeof e;return t=null==t?Te:t,!!t&&("number"==n||"symbol"!=n&&Ee.test(e))&&e>-1&&e%1==0&&e<t}var je=Pe;function Oe(e,t,n){if(!ge(n))return!1;var i=typeof t;return!!("number"==i?Le(n)&&je(t,n.length):"string"==i&&t in n)&&X(n[t],e)}var Ie=Oe,Ye=/\s/;function Ae(e){var t=e.length;while(t--&&Ye.test(e.charAt(t)));return t}var Ne=Ae,He=/^\s+/;function Re(e){return e?e.slice(0,Ne(e)+1).replace(He,""):e}var Fe=Re;function ze(e){return null!=e&&"object"==typeof e}var $e=ze,Be="[object Symbol]";function We(e){return"symbol"==typeof e||$e(e)&&me(e)==Be}var Ve=We,Ue=NaN,qe=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ke=/^0o[0-7]+$/i,Je=parseInt;function Xe(e){if("number"==typeof e)return e;if(Ve(e))return Ue;if(ge(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ge(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Fe(e);var n=Ge.test(e);return n||Ke.test(e)?Je(e.slice(2),n?2:8):qe.test(e)?Ue:+e}var Ze=Xe,Qe=1/0,et=17976931348623157e292;function tt(e){if(!e)return 0===e?e:0;if(e=Ze(e),e===Qe||e===-Qe){var t=e<0?-1:1;return t*et}return e===e?e:0}var nt=tt;function it(e){var t=nt(e),n=t%1;return t===t?n?t-n:t:0}var rt=it,ot=Math.ceil,at=Math.max;function st(e,t,n){t=(n?Ie(e,t,n):void 0===t)?1:at(rt(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];var r=0,o=0,a=Array(ot(i/t));while(r<i)a[o++]=K(e,r,r+=t);return a}var lt=st;function ut(e){var t=-1,n=null==e?0:e.length,i=0,r=[];while(++t<n){var o=e[t];o&&(r[i++]=o)}return r}var ct=ut;function dt(e,t){var n=-1,i=t.length,r=e.length;while(++n<i)e[r+n]=t[n];return e}var ht=dt,ft="[object Arguments]";function pt(e){return $e(e)&&me(e)==ft}var mt=pt,vt=Object.prototype,gt=vt.hasOwnProperty,yt=vt.propertyIsEnumerable,bt=mt(function(){return arguments}())?mt:function(e){return $e(e)&>.call(e,"callee")&&!yt.call(e,"callee")},_t=bt,wt=Array.isArray,xt=wt,kt=ee?ee.isConcatSpreadable:void 0;function Mt(e){return xt(e)||_t(e)||!!(kt&&e&&e[kt])}var St=Mt;function Ct(e,t,n,i,r){var o=-1,a=e.length;n||(n=St),r||(r=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Ct(s,t-1,n,i,r):ht(r,s):i||(r[r.length]=s)}return r}var Dt=Ct;function Lt(e,t){var n=-1,i=e.length;t||(t=Array(i));while(++n<i)t[n]=e[n];return t}var Tt=Lt;function Et(){var e=arguments.length;if(!e)return[];var t=Array(e-1),n=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return ht(xt(n)?Tt(n):[n],Dt(t,1))}var Pt=Et,jt=Z["a"]["__core-js_shared__"],Ot=jt,It=function(){var e=/[^.]+$/.exec(Ot&&Ot.keys&&Ot.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yt(e){return!!It&&It in e}var At=Yt,Nt=Function.prototype,Ht=Nt.toString;function Rt(e){if(null!=e){try{return Ht.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ft=Rt,zt=/[\\^$.*+?()[\]{}|]/g,$t=/^\[object .+?Constructor\]$/,Bt=Function.prototype,Wt=Object.prototype,Vt=Bt.toString,Ut=Wt.hasOwnProperty,qt=RegExp("^"+Vt.call(Ut).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gt(e){if(!ge(e)||At(e))return!1;var t=ke(e)?qt:$t;return t.test(Ft(e))}var Kt=Gt;function Jt(e,t){return null==e?void 0:e[t]}var Xt=Jt;function Zt(e,t){var n=Xt(e,t);return Kt(n)?n:void 0}var Qt=Zt,en=Qt(Object,"create"),tn=en;function nn(){this.__data__=tn?tn(null):{},this.size=0}var rn=nn;function on(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var an=on,sn="__lodash_hash_undefined__",ln=Object.prototype,un=ln.hasOwnProperty;function cn(e){var t=this.__data__;if(tn){var n=t[e];return n===sn?void 0:n}return un.call(t,e)?t[e]:void 0}var dn=cn,hn=Object.prototype,fn=hn.hasOwnProperty;function pn(e){var t=this.__data__;return tn?void 0!==t[e]:fn.call(t,e)}var mn=pn,vn="__lodash_hash_undefined__";function gn(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=tn&&void 0===t?vn:t,this}var yn=gn;function bn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}bn.prototype.clear=rn,bn.prototype["delete"]=an,bn.prototype.get=dn,bn.prototype.has=mn,bn.prototype.set=yn;var _n=bn;function wn(){this.__data__=[],this.size=0}var xn=wn;function kn(e,t){var n=e.length;while(n--)if(X(e[n][0],t))return n;return-1}var Mn=kn,Sn=Array.prototype,Cn=Sn.splice;function Dn(e){var t=this.__data__,n=Mn(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():Cn.call(t,n,1),--this.size,!0}var Ln=Dn;function Tn(e){var t=this.__data__,n=Mn(t,e);return n<0?void 0:t[n][1]}var En=Tn;function Pn(e){return Mn(this.__data__,e)>-1}var jn=Pn;function On(e,t){var n=this.__data__,i=Mn(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}var In=On;function Yn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}Yn.prototype.clear=xn,Yn.prototype["delete"]=Ln,Yn.prototype.get=En,Yn.prototype.has=jn,Yn.prototype.set=In;var An=Yn,Nn=Qt(Z["a"],"Map"),Hn=Nn;function Rn(){this.size=0,this.__data__={hash:new _n,map:new(Hn||An),string:new _n}}var Fn=Rn;function zn(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}var $n=zn;function Bn(e,t){var n=e.__data__;return $n(t)?n["string"==typeof t?"string":"hash"]:n.map}var Wn=Bn;function Vn(e){var t=Wn(this,e)["delete"](e);return this.size-=t?1:0,t}var Un=Vn;function qn(e){return Wn(this,e).get(e)}var Gn=qn;function Kn(e){return Wn(this,e).has(e)}var Jn=Kn;function Xn(e,t){var n=Wn(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}var Zn=Xn;function Qn(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var i=e[t];this.set(i[0],i[1])}}Qn.prototype.clear=Fn,Qn.prototype["delete"]=Un,Qn.prototype.get=Gn,Qn.prototype.has=Jn,Qn.prototype.set=Zn;var ei=Qn,ti="__lodash_hash_undefined__";function ni(e){return this.__data__.set(e,ti),this}var ii=ni;function ri(e){return this.__data__.has(e)}var oi=ri;function ai(e){var t=-1,n=null==e?0:e.length;this.__data__=new ei;while(++t<n)this.add(e[t])}ai.prototype.add=ai.prototype.push=ii,ai.prototype.has=oi;var si=ai;function li(e,t,n,i){var r=e.length,o=n+(i?1:-1);while(i?o--:++o<r)if(t(e[o],o,e))return o;return-1}var ui=li;function ci(e){return e!==e}var di=ci;function hi(e,t,n){var i=n-1,r=e.length;while(++i<r)if(e[i]===t)return i;return-1}var fi=hi;function pi(e,t,n){return t===t?fi(e,t,n):ui(e,di,n)}var mi=pi;function vi(e,t){var n=null==e?0:e.length;return!!n&&mi(e,t,0)>-1}var gi=vi;function yi(e,t,n){var i=-1,r=null==e?0:e.length;while(++i<r)if(n(t,e[i]))return!0;return!1}var bi=yi;function _i(e,t){var n=-1,i=null==e?0:e.length,r=Array(i);while(++n<i)r[n]=t(e[n],n,e);return r}var wi=_i;function xi(e){return function(t){return e(t)}}var ki=xi;function Mi(e,t){return e.has(t)}var Si=Mi,Ci=200;function Di(e,t,n,i){var r=-1,o=gi,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=wi(t,ki(n))),i?(o=bi,a=!1):t.length>=Ci&&(o=Si,a=!1,t=new si(t));e:while(++r<s){var c=e[r],d=null==n?c:n(c);if(c=i||0!==c?c:0,a&&d===d){var h=u;while(h--)if(t[h]===d)continue e;l.push(c)}else o(t,d,i)||l.push(c)}return l}var Li=Di;function Ti(e){return e}var Ei=Ti;function Pi(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var ji=Pi,Oi=Math.max;function Ii(e,t,n){return t=Oi(void 0===t?e.length-1:t,0),function(){var i=arguments,r=-1,o=Oi(i.length-t,0),a=Array(o);while(++r<o)a[r]=i[t+r];r=-1;var s=Array(t+1);while(++r<t)s[r]=i[r];return s[t]=n(a),ji(e,this,s)}}var Yi=Ii;function Ai(e){return function(){return e}}var Ni=Ai,Hi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ri=Hi,Fi=Ri?function(e,t){return Ri(e,"toString",{configurable:!0,enumerable:!1,value:Ni(t),writable:!0})}:Ei,zi=Fi,$i=800,Bi=16,Wi=Date.now;function Vi(e){var t=0,n=0;return function(){var i=Wi(),r=Bi-(i-n);if(n=i,r>0){if(++t>=$i)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ui=Vi,qi=Ui(zi),Gi=qi;function Ki(e,t){return Gi(Yi(e,t,Ei),e+"")}var Ji=Ki;function Xi(e){return $e(e)&&Le(e)}var Zi=Xi,Qi=Ji((function(e,t){return Zi(e)?Li(e,Dt(t,1,Zi,!0)):[]})),er=Qi;function tr(){this.__data__=new An,this.size=0}var nr=tr;function ir(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}var rr=ir;function or(e){return this.__data__.get(e)}var ar=or;function sr(e){return this.__data__.has(e)}var lr=sr,ur=200;function cr(e,t){var n=this.__data__;if(n instanceof An){var i=n.__data__;if(!Hn||i.length<ur-1)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new ei(i)}return n.set(e,t),this.size=n.size,this}var dr=cr;function hr(e){var t=this.__data__=new An(e);this.size=t.size}hr.prototype.clear=nr,hr.prototype["delete"]=rr,hr.prototype.get=ar,hr.prototype.has=lr,hr.prototype.set=dr;var fr=hr;function pr(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}var mr=pr,vr=1,gr=2;function yr(e,t,n,i,r,o){var a=n&vr,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,h=!0,f=n&gr?new si:void 0;o.set(e,t),o.set(t,e);while(++d<s){var p=e[d],m=t[d];if(i)var v=a?i(m,p,d,t,e,o):i(p,m,d,e,t,o);if(void 0!==v){if(v)continue;h=!1;break}if(f){if(!mr(t,(function(e,t){if(!Si(f,t)&&(p===e||r(p,e,n,i,o)))return f.push(t)}))){h=!1;break}}else if(p!==m&&!r(p,m,n,i,o)){h=!1;break}}return o["delete"](e),o["delete"](t),h}var br=yr,_r=Z["a"].Uint8Array,wr=_r;function xr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}var kr=xr;function Mr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Sr=Mr,Cr=1,Dr=2,Lr="[object Boolean]",Tr="[object Date]",Er="[object Error]",Pr="[object Map]",jr="[object Number]",Or="[object RegExp]",Ir="[object Set]",Yr="[object String]",Ar="[object Symbol]",Nr="[object ArrayBuffer]",Hr="[object DataView]",Rr=ee?ee.prototype:void 0,Fr=Rr?Rr.valueOf:void 0;function zr(e,t,n,i,r,o,a){switch(n){case Hr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Nr:return!(e.byteLength!=t.byteLength||!o(new wr(e),new wr(t)));case Lr:case Tr:case jr:return X(+e,+t);case Er:return e.name==t.name&&e.message==t.message;case Or:case Yr:return e==t+"";case Pr:var s=kr;case Ir:var l=i&Cr;if(s||(s=Sr),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;i|=Dr,a.set(e,t);var c=br(s(e),s(t),i,r,o,a);return a["delete"](e),c;case Ar:if(Fr)return Fr.call(e)==Fr.call(t)}return!1}var $r=zr;function Br(e,t,n){var i=t(e);return xt(e)?i:ht(i,n(e))}var Wr=Br;function Vr(e,t){var n=-1,i=null==e?0:e.length,r=0,o=[];while(++n<i){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}var Ur=Vr;function qr(){return[]}var Gr=qr,Kr=Object.prototype,Jr=Kr.propertyIsEnumerable,Xr=Object.getOwnPropertySymbols,Zr=Xr?function(e){return null==e?[]:(e=Object(e),Ur(Xr(e),(function(t){return Jr.call(e,t)})))}:Gr,Qr=Zr;function eo(e,t){var n=-1,i=Array(e);while(++n<e)i[n]=t(n);return i}var to=eo,no=n("fb45"),io="[object Arguments]",ro="[object Array]",oo="[object Boolean]",ao="[object Date]",so="[object Error]",lo="[object Function]",uo="[object Map]",co="[object Number]",ho="[object Object]",fo="[object RegExp]",po="[object Set]",mo="[object String]",vo="[object WeakMap]",go="[object ArrayBuffer]",yo="[object DataView]",bo="[object Float32Array]",_o="[object Float64Array]",wo="[object Int8Array]",xo="[object Int16Array]",ko="[object Int32Array]",Mo="[object Uint8Array]",So="[object Uint8ClampedArray]",Co="[object Uint16Array]",Do="[object Uint32Array]",Lo={};function To(e){return $e(e)&&Ce(e.length)&&!!Lo[me(e)]}Lo[bo]=Lo[_o]=Lo[wo]=Lo[xo]=Lo[ko]=Lo[Mo]=Lo[So]=Lo[Co]=Lo[Do]=!0,Lo[io]=Lo[ro]=Lo[go]=Lo[oo]=Lo[yo]=Lo[ao]=Lo[so]=Lo[lo]=Lo[uo]=Lo[co]=Lo[ho]=Lo[fo]=Lo[po]=Lo[mo]=Lo[vo]=!1;var Eo=To,Po=n("2f51"),jo=Po["a"]&&Po["a"].isTypedArray,Oo=jo?ki(jo):Eo,Io=Oo,Yo=Object.prototype,Ao=Yo.hasOwnProperty;function No(e,t){var n=xt(e),i=!n&&_t(e),r=!n&&!i&&Object(no["a"])(e),o=!n&&!i&&!r&&Io(e),a=n||i||r||o,s=a?to(e.length,String):[],l=s.length;for(var u in e)!t&&!Ao.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||je(u,l))||s.push(u);return s}var Ho=No,Ro=Object.prototype;function Fo(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Ro;return e===n}var zo=Fo;function $o(e,t){return function(n){return e(t(n))}}var Bo=$o,Wo=Bo(Object.keys,Object),Vo=Wo,Uo=Object.prototype,qo=Uo.hasOwnProperty;function Go(e){if(!zo(e))return Vo(e);var t=[];for(var n in Object(e))qo.call(e,n)&&"constructor"!=n&&t.push(n);return t}var Ko=Go;function Jo(e){return Le(e)?Ho(e):Ko(e)}var Xo=Jo;function Zo(e){return Wr(e,Xo,Qr)}var Qo=Zo,ea=1,ta=Object.prototype,na=ta.hasOwnProperty;function ia(e,t,n,i,r,o){var a=n&ea,s=Qo(e),l=s.length,u=Qo(t),c=u.length;if(l!=c&&!a)return!1;var d=l;while(d--){var h=s[d];if(!(a?h in t:na.call(t,h)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);var v=a;while(++d<l){h=s[d];var g=e[h],y=t[h];if(i)var b=a?i(y,g,h,t,e,o):i(g,y,h,e,t,o);if(!(void 0===b?g===y||r(g,y,n,i,o):b)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(m=!1)}return o["delete"](e),o["delete"](t),m}var ra=ia,oa=Qt(Z["a"],"DataView"),aa=oa,sa=Qt(Z["a"],"Promise"),la=sa,ua=Qt(Z["a"],"Set"),ca=ua,da=Qt(Z["a"],"WeakMap"),ha=da,fa="[object Map]",pa="[object Object]",ma="[object Promise]",va="[object Set]",ga="[object WeakMap]",ya="[object DataView]",ba=Ft(aa),_a=Ft(Hn),wa=Ft(la),xa=Ft(ca),ka=Ft(ha),Ma=me;(aa&&Ma(new aa(new ArrayBuffer(1)))!=ya||Hn&&Ma(new Hn)!=fa||la&&Ma(la.resolve())!=ma||ca&&Ma(new ca)!=va||ha&&Ma(new ha)!=ga)&&(Ma=function(e){var t=me(e),n=t==pa?e.constructor:void 0,i=n?Ft(n):"";if(i)switch(i){case ba:return ya;case _a:return fa;case wa:return ma;case xa:return va;case ka:return ga}return t});var Sa=Ma,Ca=1,Da="[object Arguments]",La="[object Array]",Ta="[object Object]",Ea=Object.prototype,Pa=Ea.hasOwnProperty;function ja(e,t,n,i,r,o){var a=xt(e),s=xt(t),l=a?La:Sa(e),u=s?La:Sa(t);l=l==Da?Ta:l,u=u==Da?Ta:u;var c=l==Ta,d=u==Ta,h=l==u;if(h&&Object(no["a"])(e)){if(!Object(no["a"])(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new fr),a||Io(e)?br(e,t,n,i,r,o):$r(e,t,l,n,i,r,o);if(!(n&Ca)){var f=c&&Pa.call(e,"__wrapped__"),p=d&&Pa.call(t,"__wrapped__");if(f||p){var m=f?e.value():e,v=p?t.value():t;return o||(o=new fr),r(m,v,n,i,o)}}return!!h&&(o||(o=new fr),ra(e,t,n,i,r,o))}var Oa=ja;function Ia(e,t,n,i,r){return e===t||(null==e||null==t||!$e(e)&&!$e(t)?e!==e&&t!==t:Oa(e,t,n,i,Ia,r))}var Ya=Ia,Aa=1,Na=2;function Ha(e,t,n,i){var r=n.length,o=r,a=!i;if(null==e)return!o;e=Object(e);while(r--){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}while(++r<o){s=n[r];var l=s[0],u=e[l],c=s[1];if(a&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new fr;if(i)var h=i(u,c,l,e,t,d);if(!(void 0===h?Ya(c,u,Aa|Na,i,d):h))return!1}}return!0}var Ra=Ha;function Fa(e){return e===e&&!ge(e)}var za=Fa;function $a(e){var t=Xo(e),n=t.length;while(n--){var i=t[n],r=e[i];t[n]=[i,r,za(r)]}return t}var Ba=$a;function Wa(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}var Va=Wa;function Ua(e){var t=Ba(e);return 1==t.length&&t[0][2]?Va(t[0][0],t[0][1]):function(n){return n===e||Ra(n,e,t)}}var qa=Ua,Ga=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ka=/^\w*$/;function Ja(e,t){if(xt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ve(e))||(Ka.test(e)||!Ga.test(e)||null!=t&&e in Object(t))}var Xa=Ja,Za="Expected a function";function Qa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Za);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Qa.Cache||ei),n}Qa.Cache=ei;var es=Qa,ts=500;function ns(e){var t=es(e,(function(e){return n.size===ts&&n.clear(),e})),n=t.cache;return t}var is=ns,rs=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,os=/\\(\\)?/g,as=is((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(rs,(function(e,n,i,r){t.push(i?r.replace(os,"$1"):n||e)})),t})),ss=as,ls=1/0,us=ee?ee.prototype:void 0,cs=us?us.toString:void 0;function ds(e){if("string"==typeof e)return e;if(xt(e))return wi(e,ds)+"";if(Ve(e))return cs?cs.call(e):"";var t=e+"";return"0"==t&&1/e==-ls?"-0":t}var hs=ds;function fs(e){return null==e?"":hs(e)}var ps=fs;function ms(e,t){return xt(e)?e:Xa(e,t)?[e]:ss(ps(e))}var vs=ms,gs=1/0;function ys(e){if("string"==typeof e||Ve(e))return e;var t=e+"";return"0"==t&&1/e==-gs?"-0":t}var bs=ys;function _s(e,t){t=vs(t,e);var n=0,i=t.length;while(null!=e&&n<i)e=e[bs(t[n++])];return n&&n==i?e:void 0}var ws=_s;function xs(e,t,n){var i=null==e?void 0:ws(e,t);return void 0===i?n:i}var ks=xs;function Ms(e,t){return null!=e&&t in Object(e)}var Ss=Ms;function Cs(e,t,n){t=vs(t,e);var i=-1,r=t.length,o=!1;while(++i<r){var a=bs(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:(r=null==e?0:e.length,!!r&&Ce(r)&&je(a,r)&&(xt(e)||_t(e)))}var Ds=Cs;function Ls(e,t){return null!=e&&Ds(e,t,Ss)}var Ts=Ls,Es=1,Ps=2;function js(e,t){return Xa(e)&&za(t)?Va(bs(e),t):function(n){var i=ks(n,e);return void 0===i&&i===t?Ts(n,e):Ya(t,i,Es|Ps)}}var Os=js;function Is(e){return function(t){return null==t?void 0:t[e]}}var Ys=Is;function As(e){return function(t){return ws(t,e)}}var Ns=As;function Hs(e){return Xa(e)?Ys(bs(e)):Ns(e)}var Rs=Hs;function Fs(e){return"function"==typeof e?e:null==e?Ei:"object"==typeof e?xt(e)?Os(e[0],e[1]):qa(e):Rs(e)}var zs=Fs;function $s(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bs=$s,Ws=Ji((function(e,t){var n=Bs(t);return Zi(n)&&(n=void 0),Zi(e)?Li(e,Dt(t,1,Zi,!0),zs(n,2)):[]})),Vs=Ws,Us=Ji((function(e,t){var n=Bs(t);return Zi(n)&&(n=void 0),Zi(e)?Li(e,Dt(t,1,Zi,!0),void 0,n):[]})),qs=Us;function Gs(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),K(e,t<0?0:t,i)):[]}var Ks=Gs;function Js(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),t=i-t,K(e,0,t<0?0:t)):[]}var Xs=Js;function Zs(e,t,n,i){var r=e.length,o=i?r:-1;while((i?o--:++o<r)&&t(e[o],o,e));return n?K(e,i?0:o,i?o+1:r):K(e,i?o+1:0,i?r:o)}var Qs=Zs;function el(e,t){return e&&e.length?Qs(e,zs(t,3),!0,!0):[]}var tl=el;function nl(e,t){return e&&e.length?Qs(e,zs(t,3),!0):[]}var il=nl;function rl(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}var ol=rl,al=4294967295;function sl(e){return e?ol(rt(e),0,al):0}var ll=sl;function ul(e,t,n,i){var r=e.length;n=rt(n),n<0&&(n=-n>r?0:r+n),i=void 0===i||i>r?r:rt(i),i<0&&(i+=r),i=n>i?0:ll(i);while(n<i)e[n++]=t;return e}var cl=ul;function dl(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ie(e,t,n)&&(n=0,i=r),cl(e,t,n,i)):[]}var hl=dl,fl=Math.max;function pl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:rt(n);return r<0&&(r=fl(i+r,0)),ui(e,zs(t,3),r)}var ml=pl,vl=Math.max,gl=Math.min;function yl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return void 0!==n&&(r=rt(n),r=n<0?vl(i+r,0):gl(r,i-1)),ui(e,zs(t,3),r,!0)}var bl=yl;function _l(e){return e&&e.length?e[0]:void 0}var wl=_l;function xl(e){var t=null==e?0:e.length;return t?Dt(e,1):[]}var kl=xl,Ml=1/0;function Sl(e){var t=null==e?0:e.length;return t?Dt(e,Ml):[]}var Cl=Sl;function Dl(e,t){var n=null==e?0:e.length;return n?(t=void 0===t?1:rt(t),Dt(e,t)):[]}var Ll=Dl;function Tl(e){var t=-1,n=null==e?0:e.length,i={};while(++t<n){var r=e[t];i[r[0]]=r[1]}return i}var El=Tl,Pl=Math.max;function jl(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:rt(n);return r<0&&(r=Pl(i+r,0)),mi(e,t,r)}var Ol=jl;function Il(e){var t=null==e?0:e.length;return t?K(e,0,-1):[]}var Yl=Il,Al=Math.min;function Nl(e,t,n){var i=n?bi:gi,r=e[0].length,o=e.length,a=o,s=Array(o),l=1/0,u=[];while(a--){var c=e[a];a&&t&&(c=wi(c,ki(t))),l=Al(c.length,l),s[a]=!n&&(t||r>=120&&c.length>=120)?new si(a&&c):void 0}c=e[0];var d=-1,h=s[0];e:while(++d<r&&u.length<l){var f=c[d],p=t?t(f):f;if(f=n||0!==f?f:0,!(h?Si(h,p):i(u,p,n))){a=o;while(--a){var m=s[a];if(!(m?Si(m,p):i(e[a],p,n)))continue e}h&&h.push(p),u.push(f)}}return u}var Hl=Nl;function Rl(e){return Zi(e)?e:[]}var Fl=Rl,zl=Ji((function(e){var t=wi(e,Fl);return t.length&&t[0]===e[0]?Hl(t):[]})),$l=zl,Bl=Ji((function(e){var t=Bs(e),n=wi(e,Fl);return t===Bs(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?Hl(n,zs(t,2)):[]})),Wl=Bl,Vl=Ji((function(e){var t=Bs(e),n=wi(e,Fl);return t="function"==typeof t?t:void 0,t&&n.pop(),n.length&&n[0]===e[0]?Hl(n,void 0,t):[]})),Ul=Vl,ql=Array.prototype,Gl=ql.join;function Kl(e,t){return null==e?"":Gl.call(e,t)}var Jl=Kl;function Xl(e,t,n){var i=n+1;while(i--)if(e[i]===t)return i;return i}var Zl=Xl,Ql=Math.max,eu=Math.min;function tu(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return void 0!==n&&(r=rt(n),r=r<0?Ql(i+r,0):eu(r,i-1)),t===t?Zl(e,t,r):ui(e,di,r,!0)}var nu=tu;function iu(e,t){var n=e.length;if(n)return t+=t<0?n:0,je(t,n)?e[t]:void 0}var ru=iu;function ou(e,t){return e&&e.length?ru(e,rt(t)):void 0}var au=ou;function su(e,t,n,i){var r=n-1,o=e.length;while(++r<o)if(i(e[r],t))return r;return-1}var lu=su,uu=Array.prototype,cu=uu.splice;function du(e,t,n,i){var r=i?lu:mi,o=-1,a=t.length,s=e;e===t&&(t=Tt(t)),n&&(s=wi(e,ki(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=r(s,c,l,i))>-1)s!==e&&cu.call(s,l,1),cu.call(e,l,1)}return e}var hu=du;function fu(e,t){return e&&e.length&&t&&t.length?hu(e,t):e}var pu=fu,mu=Ji(pu),vu=mu;function gu(e,t,n){return e&&e.length&&t&&t.length?hu(e,t,zs(n,2)):e}var yu=gu;function bu(e,t,n){return e&&e.length&&t&&t.length?hu(e,t,void 0,n):e}var _u=bu;function wu(e,t){var n=-1,i=t.length,r=Array(i),o=null==e;while(++n<i)r[n]=o?void 0:ks(e,t[n]);return r}var xu=wu;function ku(e,t){return t.length<2?e:ws(e,K(t,0,-1))}var Mu=ku;function Su(e,t){return t=vs(t,e),e=Mu(e,t),null==e||delete e[bs(Bs(t))]}var Cu=Su,Du=Array.prototype,Lu=Du.splice;function Tu(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;je(r)?Lu.call(e,r,1):Cu(e,r)}}return e}var Eu=Tu;function Pu(e,t){if(e!==t){var n=void 0!==e,i=null===e,r=e===e,o=Ve(e),a=void 0!==t,s=null===t,l=t===t,u=Ve(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&e<t||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}var ju=Pu;function Ou(e){return Gi(Yi(e,void 0,kl),e+"")}var Iu=Ou,Yu=Iu((function(e,t){var n=null==e?0:e.length,i=xu(e,t);return Eu(e,wi(t,(function(e){return je(e,n)?+e:e})).sort(ju)),i})),Au=Yu;function Nu(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;t=zs(t,3);while(++i<o){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return Eu(e,r),n}var Hu=Nu,Ru=Array.prototype,Fu=Ru.reverse;function zu(e){return null==e?e:Fu.call(e)}var $u=zu;function Bu(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ie(e,t,n)?(t=0,n=i):(t=null==t?0:rt(t),n=void 0===n?i:rt(n)),K(e,t,n)):[]}var Wu=Bu,Vu=4294967295,Uu=Vu-1,qu=Math.floor,Gu=Math.min;function Ku(e,t,n,i){var r=0,o=null==e?0:e.length;if(0===o)return 0;t=n(t);var a=t!==t,s=null===t,l=Ve(t),u=void 0===t;while(r<o){var c=qu((r+o)/2),d=n(e[c]),h=void 0!==d,f=null===d,p=d===d,m=Ve(d);if(a)var v=i||p;else v=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!m):!f&&!m&&(i?d<=t:d<t);v?r=c+1:o=c}return Gu(o,Uu)}var Ju=Ku,Xu=4294967295,Zu=Xu>>>1;function Qu(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t===t&&r<=Zu){while(i<r){var o=i+r>>>1,a=e[o];null!==a&&!Ve(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return Ju(e,t,Ei,n)}var ec=Qu;function tc(e,t){return ec(e,t)}var nc=tc;function ic(e,t,n){return Ju(e,t,zs(n,2))}var rc=ic;function oc(e,t){var n=null==e?0:e.length;if(n){var i=ec(e,t);if(i<n&&X(e[i],t))return i}return-1}var ac=oc;function sc(e,t){return ec(e,t,!0)}var lc=sc;function uc(e,t,n){return Ju(e,t,zs(n,2),!0)}var cc=uc;function dc(e,t){var n=null==e?0:e.length;if(n){var i=ec(e,t,!0)-1;if(X(e[i],t))return i}return-1}var hc=dc;function fc(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n],s=t?t(a):a;if(!n||!X(s,l)){var l=s;o[r++]=0===a?0:a}}return o}var pc=fc;function mc(e){return e&&e.length?pc(e):[]}var vc=mc;function gc(e,t){return e&&e.length?pc(e,zs(t,2)):[]}var yc=gc;function bc(e){var t=null==e?0:e.length;return t?K(e,1,t):[]}var _c=bc;function wc(e,t,n){return e&&e.length?(t=n||void 0===t?1:rt(t),K(e,0,t<0?0:t)):[]}var xc=wc;function kc(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:rt(t),t=i-t,K(e,t<0?0:t,i)):[]}var Mc=kc;function Sc(e,t){return e&&e.length?Qs(e,zs(t,3),!1,!0):[]}var Cc=Sc;function Dc(e,t){return e&&e.length?Qs(e,zs(t,3)):[]}var Lc=Dc;function Tc(){}var Ec=Tc,Pc=1/0,jc=ca&&1/Sr(new ca([,-0]))[1]==Pc?function(e){return new ca(e)}:Ec,Oc=jc,Ic=200;function Yc(e,t,n){var i=-1,r=gi,o=e.length,a=!0,s=[],l=s;if(n)a=!1,r=bi;else if(o>=Ic){var u=t?null:Oc(e);if(u)return Sr(u);a=!1,r=Si,l=new si}else l=t?[]:s;e:while(++i<o){var c=e[i],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d===d){var h=l.length;while(h--)if(l[h]===d)continue e;t&&l.push(d),s.push(c)}else r(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}var Ac=Yc,Nc=Ji((function(e){return Ac(Dt(e,1,Zi,!0))})),Hc=Nc,Rc=Ji((function(e){var t=Bs(e);return Zi(t)&&(t=void 0),Ac(Dt(e,1,Zi,!0),zs(t,2))})),Fc=Rc,zc=Ji((function(e){var t=Bs(e);return t="function"==typeof t?t:void 0,Ac(Dt(e,1,Zi,!0),void 0,t)})),$c=zc;function Bc(e){return e&&e.length?Ac(e):[]}var Wc=Bc;function Vc(e,t){return e&&e.length?Ac(e,zs(t,2)):[]}var Uc=Vc;function qc(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Ac(e,void 0,t):[]}var Gc=qc,Kc=Math.max;function Jc(e){if(!e||!e.length)return[];var t=0;return e=Ur(e,(function(e){if(Zi(e))return t=Kc(e.length,t),!0})),to(t,(function(t){return wi(e,Ys(t))}))}var Xc=Jc;function Zc(e,t){if(!e||!e.length)return[];var n=Xc(e);return null==t?n:wi(n,(function(e){return ji(t,void 0,e)}))}var Qc=Zc,ed=Ji((function(e,t){return Zi(e)?Li(e,t):[]})),td=ed;function nd(e,t,n){var i=e.length;if(i<2)return i?Ac(e[0]):[];var r=-1,o=Array(i);while(++r<i){var a=e[r],s=-1;while(++s<i)s!=r&&(o[r]=Li(o[r]||a,e[s],t,n))}return Ac(Dt(o,1),t,n)}var id=nd,rd=Ji((function(e){return id(Ur(e,Zi))})),od=rd,ad=Ji((function(e){var t=Bs(e);return Zi(t)&&(t=void 0),id(Ur(e,Zi),zs(t,2))})),sd=ad,ld=Ji((function(e){var t=Bs(e);return t="function"==typeof t?t:void 0,id(Ur(e,Zi),void 0,t)})),ud=ld,cd=Ji(Xc),dd=cd;function hd(e,t,n){"__proto__"==t&&Ri?Ri(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var fd=hd,pd=Object.prototype,md=pd.hasOwnProperty;function vd(e,t,n){var i=e[t];md.call(e,t)&&X(i,n)&&(void 0!==n||t in e)||fd(e,t,n)}var gd=vd;function yd(e,t,n){var i=-1,r=e.length,o=t.length,a={};while(++i<r){var s=i<o?t[i]:void 0;n(a,e[i],s)}return a}var bd=yd;function _d(e,t){return bd(e||[],t||[],gd)}var wd=_d;function xd(e,t,n,i){if(!ge(e))return e;t=vs(t,e);var r=-1,o=t.length,a=o-1,s=e;while(null!=s&&++r<o){var l=bs(t[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=a){var c=s[l];u=i?i(c,l,s):void 0,void 0===u&&(u=ge(c)?c:je(t[r+1])?[]:{})}gd(s,l,u),s=s[l]}return e}var kd=xd;function Md(e,t){return bd(e||[],t||[],kd)}var Sd=Md,Cd=Ji((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Qc(e,n)})),Dd=Cd,Ld={chunk:lt,compact:ct,concat:Pt,difference:er,differenceBy:Vs,differenceWith:qs,drop:Ks,dropRight:Xs,dropRightWhile:tl,dropWhile:il,fill:hl,findIndex:ml,findLastIndex:bl,first:wl,flatten:kl,flattenDeep:Cl,flattenDepth:Ll,fromPairs:El,head:wl,indexOf:Ol,initial:Yl,intersection:$l,intersectionBy:Wl,intersectionWith:Ul,join:Jl,last:Bs,lastIndexOf:nu,nth:au,pull:vu,pullAll:pu,pullAllBy:yu,pullAllWith:_u,pullAt:Au,remove:Hu,reverse:$u,slice:Wu,sortedIndex:nc,sortedIndexBy:rc,sortedIndexOf:ac,sortedLastIndex:lc,sortedLastIndexBy:cc,sortedLastIndexOf:hc,sortedUniq:vc,sortedUniqBy:yc,tail:_c,take:xc,takeRight:Mc,takeRightWhile:Cc,takeWhile:Lc,union:Hc,unionBy:Fc,unionWith:$c,uniq:Wc,uniqBy:Uc,uniqWith:Gc,unzip:Xc,unzipWith:Qc,without:td,xor:od,xorBy:sd,xorWith:ud,zip:dd,zipObject:wd,zipObjectDeep:Sd,zipWith:Dd};function Td(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r<o){var a=e[r];t(i,a,n(a),e)}return i}var Ed=Td;function Pd(e){return function(t,n,i){var r=-1,o=Object(t),a=i(t),s=a.length;while(s--){var l=a[e?s:++r];if(!1===n(o[l],l,o))break}return t}}var jd=Pd,Od=jd(),Id=Od;function Yd(e,t){return e&&Id(e,t,Xo)}var Ad=Yd;function Nd(e,t){return function(n,i){if(null==n)return n;if(!Le(n))return e(n,i);var r=n.length,o=t?r:-1,a=Object(n);while(t?o--:++o<r)if(!1===i(a[o],o,a))break;return n}}var Hd=Nd,Rd=Hd(Ad),Fd=Rd;function zd(e,t,n,i){return Fd(e,(function(e,r,o){t(i,e,n(e),o)})),i}var $d=zd;function Bd(e,t){return function(n,i){var r=xt(n)?Ed:$d,o=t?t():{};return r(n,e,zs(i,2),o)}}var Wd=Bd,Vd=Object.prototype,Ud=Vd.hasOwnProperty,qd=Wd((function(e,t,n){Ud.call(e,n)?++e[n]:fd(e,n,1)})),Gd=qd;function Kd(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!1===t(e[n],n,e))break;return e}var Jd=Kd;function Xd(e){return"function"==typeof e?e:Ei}var Zd=Xd;function Qd(e,t){var n=xt(e)?Jd:Fd;return n(e,Zd(t))}var eh=Qd;function th(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}var nh=th,ih=jd(!0),rh=ih;function oh(e,t){return e&&rh(e,t,Xo)}var ah=oh,sh=Hd(ah,!0),lh=sh;function uh(e,t){var n=xt(e)?nh:lh;return n(e,Zd(t))}var ch=uh;function dh(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(!t(e[n],n,e))return!1;return!0}var hh=dh;function fh(e,t){var n=!0;return Fd(e,(function(e,i,r){return n=!!t(e,i,r),n})),n}var ph=fh;function mh(e,t,n){var i=xt(e)?hh:ph;return n&&Ie(e,t,n)&&(t=void 0),i(e,zs(t,3))}var vh=mh;function gh(e,t){var n=[];return Fd(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}var yh=gh;function bh(e,t){var n=xt(e)?Ur:yh;return n(e,zs(t,3))}var _h=bh;function wh(e){return function(t,n,i){var r=Object(t);if(!Le(t)){var o=zs(n,3);t=Xo(t),n=function(e){return o(r[e],e,r)}}var a=e(t,n,i);return a>-1?r[o?t[a]:a]:void 0}}var xh=wh,kh=xh(ml),Mh=kh,Sh=xh(bl),Ch=Sh;function Dh(e,t){var n=-1,i=Le(e)?Array(e.length):[];return Fd(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}var Lh=Dh;function Th(e,t){var n=xt(e)?wi:Lh;return n(e,zs(t,3))}var Eh=Th;function Ph(e,t){return Dt(Eh(e,t),1)}var jh=Ph,Oh=1/0;function Ih(e,t){return Dt(Eh(e,t),Oh)}var Yh=Ih;function Ah(e,t,n){return n=void 0===n?1:rt(n),Dt(Eh(e,t),n)}var Nh=Ah,Hh=Object.prototype,Rh=Hh.hasOwnProperty,Fh=Wd((function(e,t,n){Rh.call(e,n)?e[n].push(t):fd(e,n,[t])})),zh=Fh,$h="[object String]";function Bh(e){return"string"==typeof e||!xt(e)&&$e(e)&&me(e)==$h}var Wh=Bh;function Vh(e,t){return wi(t,(function(t){return e[t]}))}var Uh=Vh;function qh(e){return null==e?[]:Uh(e,Xo(e))}var Gh=qh,Kh=Math.max;function Jh(e,t,n,i){e=Le(e)?e:Gh(e),n=n&&!i?rt(n):0;var r=e.length;return n<0&&(n=Kh(r+n,0)),Wh(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&mi(e,t,n)>-1}var Xh=Jh;function Zh(e,t,n){t=vs(t,e),e=Mu(e,t);var i=null==e?e:e[bs(Bs(t))];return null==i?void 0:ji(i,e,n)}var Qh=Zh,ef=Ji((function(e,t,n){var i=-1,r="function"==typeof t,o=Le(e)?Array(e.length):[];return Fd(e,(function(e){o[++i]=r?ji(t,e,n):Qh(e,t,n)})),o})),tf=ef,nf=Wd((function(e,t,n){fd(e,n,t)})),rf=nf;function of(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}var af=of;function sf(e,t,n){var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;while(++i<a){var l=ju(r[i],o[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}var lf=sf;function uf(e,t,n){t=t.length?wi(t,(function(e){return xt(e)?function(t){return ws(t,1===e.length?e[0]:e)}:e})):[Ei];var i=-1;t=wi(t,ki(zs));var r=Lh(e,(function(e,n,r){var o=wi(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return af(r,(function(e,t){return lf(e,t,n)}))}var cf=uf;function df(e,t,n,i){return null==e?[]:(xt(t)||(t=null==t?[]:[t]),n=i?void 0:n,xt(n)||(n=null==n?[]:[n]),cf(e,t,n))}var hf=df,ff=Wd((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),pf=ff;function mf(e,t,n,i){var r=-1,o=null==e?0:e.length;i&&o&&(n=e[++r]);while(++r<o)n=t(n,e[r],r,e);return n}var vf=mf;function gf(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}var yf=gf;function bf(e,t,n){var i=xt(e)?vf:yf,r=arguments.length<3;return i(e,zs(t,4),n,r,Fd)}var _f=bf;function wf(e,t,n,i){var r=null==e?0:e.length;i&&r&&(n=e[--r]);while(r--)n=t(n,e[r],r,e);return n}var xf=wf;function kf(e,t,n){var i=xt(e)?xf:yf,r=arguments.length<3;return i(e,zs(t,4),n,r,lh)}var Mf=kf,Sf="Expected a function";function Cf(e){if("function"!=typeof e)throw new TypeError(Sf);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Df=Cf;function Lf(e,t){var n=xt(e)?Ur:yh;return n(e,Df(zs(t,3)))}var Tf=Lf,Ef=Math.floor,Pf=Math.random;function jf(e,t){return e+Ef(Pf()*(t-e+1))}var Of=jf;function If(e){var t=e.length;return t?e[Of(0,t-1)]:void 0}var Yf=If;function Af(e){return Yf(Gh(e))}var Nf=Af;function Hf(e){var t=xt(e)?Yf:Nf;return t(e)}var Rf=Hf;function Ff(e,t){var n=-1,i=e.length,r=i-1;t=void 0===t?i:t;while(++n<t){var o=Of(n,r),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var zf=Ff;function $f(e,t){return zf(Tt(e),ol(t,0,e.length))}var Bf=$f;function Wf(e,t){var n=Gh(e);return zf(n,ol(t,0,n.length))}var Vf=Wf;function Uf(e,t,n){t=(n?Ie(e,t,n):void 0===t)?1:rt(t);var i=xt(e)?Bf:Vf;return i(e,t)}var qf=Uf;function Gf(e){return zf(Tt(e))}var Kf=Gf;function Jf(e){return zf(Gh(e))}var Xf=Jf;function Zf(e){var t=xt(e)?Kf:Xf;return t(e)}var Qf=Zf,ep=Ys("length"),tp=ep,np="\\ud800-\\udfff",ip="\\u0300-\\u036f",rp="\\ufe20-\\ufe2f",op="\\u20d0-\\u20ff",ap=ip+rp+op,sp="\\ufe0e\\ufe0f",lp="\\u200d",up=RegExp("["+lp+np+ap+sp+"]");function cp(e){return up.test(e)}var dp=cp,hp="\\ud800-\\udfff",fp="\\u0300-\\u036f",pp="\\ufe20-\\ufe2f",mp="\\u20d0-\\u20ff",vp=fp+pp+mp,gp="\\ufe0e\\ufe0f",yp="["+hp+"]",bp="["+vp+"]",_p="\\ud83c[\\udffb-\\udfff]",wp="(?:"+bp+"|"+_p+")",xp="[^"+hp+"]",kp="(?:\\ud83c[\\udde6-\\uddff]){2}",Mp="[\\ud800-\\udbff][\\udc00-\\udfff]",Sp="\\u200d",Cp=wp+"?",Dp="["+gp+"]?",Lp="(?:"+Sp+"(?:"+[xp,kp,Mp].join("|")+")"+Dp+Cp+")*",Tp=Dp+Cp+Lp,Ep="(?:"+[xp+bp+"?",bp,kp,Mp,yp].join("|")+")",Pp=RegExp(_p+"(?="+_p+")|"+Ep+Tp,"g");function jp(e){var t=Pp.lastIndex=0;while(Pp.test(e))++t;return t}var Op=jp;function Ip(e){return dp(e)?Op(e):tp(e)}var Yp=Ip,Ap="[object Map]",Np="[object Set]";function Hp(e){if(null==e)return 0;if(Le(e))return Wh(e)?Yp(e):e.length;var t=Sa(e);return t==Ap||t==Np?e.size:Ko(e).length}var Rp=Hp;function Fp(e,t){var n;return Fd(e,(function(e,i,r){return n=t(e,i,r),!n})),!!n}var zp=Fp;function $p(e,t,n){var i=xt(e)?mr:zp;return n&&Ie(e,t,n)&&(t=void 0),i(e,zs(t,3))}var Bp=$p,Wp=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ie(e,t[0],t[1])?t=[]:n>2&&Ie(t[0],t[1],t[2])&&(t=[t[0]]),cf(e,Dt(t,1),[])})),Vp=Wp,Up={countBy:Gd,each:eh,eachRight:ch,every:vh,filter:_h,find:Mh,findLast:Ch,flatMap:jh,flatMapDeep:Yh,flatMapDepth:Nh,forEach:eh,forEachRight:ch,groupBy:zh,includes:Xh,invokeMap:tf,keyBy:rf,map:Eh,orderBy:hf,partition:pf,reduce:_f,reduceRight:Mf,reject:Tf,sample:Rf,sampleSize:qf,shuffle:Qf,size:Rp,some:Bp,sortBy:Vp},qp=function(){return Z["a"].Date.now()},Gp=qp,Kp={now:Gp},Jp="Expected a function";function Xp(e,t){if("function"!=typeof t)throw new TypeError(Jp);return e=rt(e),function(){if(--e<1)return t.apply(this,arguments)}}var Zp=Xp,Qp=ha&&new ha,em=Qp,tm=em?function(e,t){return em.set(e,t),e}:Ei,nm=tm,im=Object.create,rm=function(){function e(){}return function(t){if(!ge(t))return{};if(im)return im(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),om=rm;function am(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=om(e.prototype),i=e.apply(n,t);return ge(i)?i:n}}var sm=am,lm=1;function um(e,t,n){var i=t&lm,r=sm(e);function o(){var t=this&&this!==Z["a"]&&this instanceof o?r:e;return t.apply(i?n:this,arguments)}return o}var cm=um,dm=Math.max;function hm(e,t,n,i){var r=-1,o=e.length,a=n.length,s=-1,l=t.length,u=dm(o-a,0),c=Array(l+u),d=!i;while(++s<l)c[s]=t[s];while(++r<a)(d||r<o)&&(c[n[r]]=e[r]);while(u--)c[s++]=e[r++];return c}var fm=hm,pm=Math.max;function mm(e,t,n,i){var r=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=pm(o-s,0),d=Array(c+u),h=!i;while(++r<c)d[r]=e[r];var f=r;while(++l<u)d[f+l]=t[l];while(++a<s)(h||r<o)&&(d[f+n[a]]=e[r++]);return d}var vm=mm;function gm(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ym=gm;function bm(){}var _m=bm,wm=4294967295;function xm(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=wm,this.__views__=[]}xm.prototype=om(_m.prototype),xm.prototype.constructor=xm;var km=xm,Mm=em?function(e){return em.get(e)}:Ec,Sm=Mm,Cm={},Dm=Cm,Lm=Object.prototype,Tm=Lm.hasOwnProperty;function Em(e){var t=e.name+"",n=Dm[t],i=Tm.call(Dm,t)?n.length:0;while(i--){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}var Pm=Em;function jm(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}jm.prototype=om(_m.prototype),jm.prototype.constructor=jm;var Om=jm;function Im(e){if(e instanceof km)return e.clone();var t=new Om(e.__wrapped__,e.__chain__);return t.__actions__=Tt(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ym=Im,Am=Object.prototype,Nm=Am.hasOwnProperty;function Hm(e){if($e(e)&&!xt(e)&&!(e instanceof km)){if(e instanceof Om)return e;if(Nm.call(e,"__wrapped__"))return Ym(e)}return new Om(e)}Hm.prototype=_m.prototype,Hm.prototype.constructor=Hm;var Rm=Hm;function Fm(e){var t=Pm(e),n=Rm[t];if("function"!=typeof n||!(t in km.prototype))return!1;if(e===n)return!0;var i=Sm(n);return!!i&&e===i[0]}var zm=Fm,$m=Ui(nm),Bm=$m,Wm=/\{\n\/\* \[wrapped with (.+)\] \*/,Vm=/,? & /;function Um(e){var t=e.match(Wm);return t?t[1].split(Vm):[]}var qm=Um,Gm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Km(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Gm,"{\n/* [wrapped with "+t+"] */\n")}var Jm=Km,Xm=1,Zm=2,Qm=8,ev=16,tv=32,nv=64,iv=128,rv=256,ov=512,av=[["ary",iv],["bind",Xm],["bindKey",Zm],["curry",Qm],["curryRight",ev],["flip",ov],["partial",tv],["partialRight",nv],["rearg",rv]];function sv(e,t){return Jd(av,(function(n){var i="_."+n[0];t&n[1]&&!gi(e,i)&&e.push(i)})),e.sort()}var lv=sv;function uv(e,t,n){var i=t+"";return Gi(e,Jm(i,lv(qm(i),n)))}var cv=uv,dv=1,hv=2,fv=4,pv=8,mv=32,vv=64;function gv(e,t,n,i,r,o,a,s,l,u){var c=t&pv,d=c?a:void 0,h=c?void 0:a,f=c?o:void 0,p=c?void 0:o;t|=c?mv:vv,t&=~(c?vv:mv),t&fv||(t&=~(dv|hv));var m=[e,t,r,f,d,p,h,s,l,u],v=n.apply(void 0,m);return zm(e)&&Bm(v,m),v.placeholder=i,cv(v,e,t)}var yv=gv;function bv(e){var t=e;return t.placeholder}var _v=bv,wv=Math.min;function xv(e,t){var n=e.length,i=wv(t.length,n),r=Tt(e);while(i--){var o=t[i];e[i]=je(o,n)?r[o]:void 0}return e}var kv=xv,Mv="__lodash_placeholder__";function Sv(e,t){var n=-1,i=e.length,r=0,o=[];while(++n<i){var a=e[n];a!==t&&a!==Mv||(e[n]=Mv,o[r++]=n)}return o}var Cv=Sv,Dv=1,Lv=2,Tv=8,Ev=16,Pv=128,jv=512;function Ov(e,t,n,i,r,o,a,s,l,u){var c=t&Pv,d=t&Dv,h=t&Lv,f=t&(Tv|Ev),p=t&jv,m=h?void 0:sm(e);function v(){var g=arguments.length,y=Array(g),b=g;while(b--)y[b]=arguments[b];if(f)var _=_v(v),w=ym(y,_);if(i&&(y=fm(y,i,r,f)),o&&(y=vm(y,o,a,f)),g-=w,f&&g<u){var x=Cv(y,_);return yv(e,t,Ov,v.placeholder,n,y,x,s,l,u-g)}var k=d?n:this,M=h?k[e]:e;return g=y.length,s?y=kv(y,s):p&&g>1&&y.reverse(),c&&l<g&&(y.length=l),this&&this!==Z["a"]&&this instanceof v&&(M=m||sm(M)),M.apply(k,y)}return v}var Iv=Ov;function Yv(e,t,n){var i=sm(e);function r(){var o=arguments.length,a=Array(o),s=o,l=_v(r);while(s--)a[s]=arguments[s];var u=o<3&&a[0]!==l&&a[o-1]!==l?[]:Cv(a,l);if(o-=u.length,o<n)return yv(e,t,Iv,r.placeholder,void 0,a,u,void 0,void 0,n-o);var c=this&&this!==Z["a"]&&this instanceof r?i:e;return ji(c,this,a)}return r}var Av=Yv,Nv=1;function Hv(e,t,n,i){var r=t&Nv,o=sm(e);function a(){var t=-1,s=arguments.length,l=-1,u=i.length,c=Array(u+s),d=this&&this!==Z["a"]&&this instanceof a?o:e;while(++l<u)c[l]=i[l];while(s--)c[l++]=arguments[++t];return ji(d,r?n:this,c)}return a}var Rv=Hv,Fv="__lodash_placeholder__",zv=1,$v=2,Bv=4,Wv=8,Vv=128,Uv=256,qv=Math.min;function Gv(e,t){var n=e[1],i=t[1],r=n|i,o=r<(zv|$v|Vv),a=i==Vv&&n==Wv||i==Vv&&n==Uv&&e[7].length<=t[8]||i==(Vv|Uv)&&t[7].length<=t[8]&&n==Wv;if(!o&&!a)return e;i&zv&&(e[2]=t[2],r|=n&zv?0:Bv);var s=t[3];if(s){var l=e[3];e[3]=l?fm(l,s,t[4]):s,e[4]=l?Cv(e[3],Fv):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?vm(l,s,t[6]):s,e[6]=l?Cv(e[5],Fv):t[6]),s=t[7],s&&(e[7]=s),i&Vv&&(e[8]=null==e[8]?t[8]:qv(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r,e}var Kv=Gv,Jv="Expected a function",Xv=1,Zv=2,Qv=8,eg=16,tg=32,ng=64,ig=Math.max;function rg(e,t,n,i,r,o,a,s){var l=t&Zv;if(!l&&"function"!=typeof e)throw new TypeError(Jv);var u=i?i.length:0;if(u||(t&=~(tg|ng),i=r=void 0),a=void 0===a?a:ig(rt(a),0),s=void 0===s?s:rt(s),u-=r?r.length:0,t&ng){var c=i,d=r;i=r=void 0}var h=l?void 0:Sm(e),f=[e,t,n,i,r,c,d,o,a,s];if(h&&Kv(f,h),e=f[0],t=f[1],n=f[2],i=f[3],r=f[4],s=f[9]=void 0===f[9]?l?0:e.length:ig(f[9]-u,0),!s&&t&(Qv|eg)&&(t&=~(Qv|eg)),t&&t!=Xv)p=t==Qv||t==eg?Av(e,t,s):t!=tg&&t!=(Xv|tg)||r.length?Iv.apply(void 0,f):Rv(e,t,n,i);else var p=cm(e,t,n);var m=h?nm:Bm;return cv(m(p,f),e,t)}var og=rg,ag=128;function sg(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,og(e,ag,void 0,void 0,void 0,void 0,t)}var lg=sg,ug="Expected a function";function cg(e,t){var n;if("function"!=typeof t)throw new TypeError(ug);return e=rt(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var dg=cg,hg=1,fg=32,pg=Ji((function(e,t,n){var i=hg;if(n.length){var r=Cv(n,_v(pg));i|=fg}return og(e,i,t,n,r)}));pg.placeholder={};var mg=pg,vg=1,gg=2,yg=32,bg=Ji((function(e,t,n){var i=vg|gg;if(n.length){var r=Cv(n,_v(bg));i|=yg}return og(t,i,e,n,r)}));bg.placeholder={};var _g=bg,wg=8;function xg(e,t,n){t=n?void 0:t;var i=og(e,wg,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=xg.placeholder,i}xg.placeholder={};var kg=xg,Mg=16;function Sg(e,t,n){t=n?void 0:t;var i=og(e,Mg,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=Sg.placeholder,i}Sg.placeholder={};var Cg=Sg,Dg="Expected a function",Lg=Math.max,Tg=Math.min;function Eg(e,t,n){var i,r,o,a,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw new TypeError(Dg);function f(t){var n=i,o=r;return i=r=void 0,u=t,a=e.apply(o,n),a}function p(e){return u=e,s=setTimeout(g,t),c?f(e):a}function m(e){var n=e-l,i=e-u,r=t-n;return d?Tg(r,o-i):r}function v(e){var n=e-l,i=e-u;return void 0===l||n>=t||n<0||d&&i>=o}function g(){var e=Gp();if(v(e))return y(e);s=setTimeout(g,m(e))}function y(e){return s=void 0,h&&i?f(e):(i=r=void 0,a)}function b(){void 0!==s&&clearTimeout(s),u=0,i=l=r=s=void 0}function _(){return void 0===s?a:y(Gp())}function w(){var e=Gp(),n=v(e);if(i=arguments,r=this,l=e,n){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(g,t),f(l)}return void 0===s&&(s=setTimeout(g,t)),a}return t=Ze(t)||0,ge(n)&&(c=!!n.leading,d="maxWait"in n,o=d?Lg(Ze(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),w.cancel=b,w.flush=_,w}var Pg=Eg,jg="Expected a function";function Og(e,t,n){if("function"!=typeof e)throw new TypeError(jg);return setTimeout((function(){e.apply(void 0,n)}),t)}var Ig=Og,Yg=Ji((function(e,t){return Ig(e,1,t)})),Ag=Yg,Ng=Ji((function(e,t,n){return Ig(e,Ze(t)||0,n)})),Hg=Ng,Rg=512;function Fg(e){return og(e,Rg)}var zg=Fg;function $g(e){return dg(2,e)}var Bg=$g,Wg=Ji,Vg=Wg,Ug=Math.min,qg=Vg((function(e,t){t=1==t.length&&xt(t[0])?wi(t[0],ki(zs)):wi(Dt(t,1),ki(zs));var n=t.length;return Ji((function(i){var r=-1,o=Ug(i.length,n);while(++r<o)i[r]=t[r].call(this,i[r]);return ji(e,this,i)}))})),Gg=qg,Kg=32,Jg=Ji((function(e,t){var n=Cv(t,_v(Jg));return og(e,Kg,void 0,t,n)}));Jg.placeholder={};var Xg=Jg,Zg=64,Qg=Ji((function(e,t){var n=Cv(t,_v(Qg));return og(e,Zg,void 0,t,n)}));Qg.placeholder={};var ey=Qg,ty=256,ny=Iu((function(e,t){return og(e,ty,void 0,void 0,void 0,t)})),iy=ny,ry="Expected a function";function oy(e,t){if("function"!=typeof e)throw new TypeError(ry);return t=void 0===t?t:rt(t),Ji(e,t)}var ay=oy;function sy(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:K(e,t,n)}var ly=sy,uy="Expected a function",cy=Math.max;function dy(e,t){if("function"!=typeof e)throw new TypeError(uy);return t=null==t?0:cy(rt(t),0),Ji((function(n){var i=n[t],r=ly(n,0,t);return i&&ht(r,i),ji(e,this,r)}))}var hy=dy,fy="Expected a function";function py(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(fy);return ge(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Pg(e,t,{leading:i,maxWait:t,trailing:r})}var my=py;function vy(e){return lg(e,1)}var gy=vy;function yy(e,t){return Xg(Zd(t),e)}var by=yy,_y={after:Zp,ary:lg,before:dg,bind:mg,bindKey:_g,curry:kg,curryRight:Cg,debounce:Pg,defer:Ag,delay:Hg,flip:zg,memoize:es,negate:Df,once:Bg,overArgs:Gg,partial:Xg,partialRight:ey,rearg:iy,rest:ay,spread:hy,throttle:my,unary:gy,wrap:by};function wy(){if(!arguments.length)return[];var e=arguments[0];return xt(e)?e:[e]}var xy=wy;function ky(e,t,n,i){var r=!n;n||(n={});var o=-1,a=t.length;while(++o<a){var s=t[o],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),r?fd(n,s,l):gd(n,s,l)}return n}var My=ky;function Sy(e,t){return e&&My(t,Xo(t),e)}var Cy=Sy;function Dy(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}var Ly=Dy,Ty=Object.prototype,Ey=Ty.hasOwnProperty;function Py(e){if(!ge(e))return Ly(e);var t=zo(e),n=[];for(var i in e)("constructor"!=i||!t&&Ey.call(e,i))&&n.push(i);return n}var jy=Py;function Oy(e){return Le(e)?Ho(e,!0):jy(e)}var Iy=Oy;function Yy(e,t){return e&&My(t,Iy(t),e)}var Ay=Yy,Ny=n("a571");function Hy(e,t){return My(e,Qr(e),t)}var Ry=Hy,Fy=Bo(Object.getPrototypeOf,Object),zy=Fy,$y=Object.getOwnPropertySymbols,By=$y?function(e){var t=[];while(e)ht(t,Qr(e)),e=zy(e);return t}:Gr,Wy=By;function Vy(e,t){return My(e,Wy(e),t)}var Uy=Vy;function qy(e){return Wr(e,Iy,Wy)}var Gy=qy,Ky=Object.prototype,Jy=Ky.hasOwnProperty;function Xy(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Jy.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Zy=Xy;function Qy(e){var t=new e.constructor(e.byteLength);return new wr(t).set(new wr(e)),t}var eb=Qy;function tb(e,t){var n=t?eb(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var nb=tb,ib=/\w*$/;function rb(e){var t=new e.constructor(e.source,ib.exec(e));return t.lastIndex=e.lastIndex,t}var ob=rb,ab=ee?ee.prototype:void 0,sb=ab?ab.valueOf:void 0;function lb(e){return sb?Object(sb.call(e)):{}}var ub=lb;function cb(e,t){var n=t?eb(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var db=cb,hb="[object Boolean]",fb="[object Date]",pb="[object Map]",mb="[object Number]",vb="[object RegExp]",gb="[object Set]",yb="[object String]",bb="[object Symbol]",_b="[object ArrayBuffer]",wb="[object DataView]",xb="[object Float32Array]",kb="[object Float64Array]",Mb="[object Int8Array]",Sb="[object Int16Array]",Cb="[object Int32Array]",Db="[object Uint8Array]",Lb="[object Uint8ClampedArray]",Tb="[object Uint16Array]",Eb="[object Uint32Array]";function Pb(e,t,n){var i=e.constructor;switch(t){case _b:return eb(e);case hb:case fb:return new i(+e);case wb:return nb(e,n);case xb:case kb:case Mb:case Sb:case Cb:case Db:case Lb:case Tb:case Eb:return db(e,n);case pb:return new i;case mb:case yb:return new i(e);case vb:return ob(e);case gb:return new i;case bb:return ub(e)}}var jb=Pb;function Ob(e){return"function"!=typeof e.constructor||zo(e)?{}:om(zy(e))}var Ib=Ob,Yb="[object Map]";function Ab(e){return $e(e)&&Sa(e)==Yb}var Nb=Ab,Hb=Po["a"]&&Po["a"].isMap,Rb=Hb?ki(Hb):Nb,Fb=Rb,zb="[object Set]";function $b(e){return $e(e)&&Sa(e)==zb}var Bb=$b,Wb=Po["a"]&&Po["a"].isSet,Vb=Wb?ki(Wb):Bb,Ub=Vb,qb=1,Gb=2,Kb=4,Jb="[object Arguments]",Xb="[object Array]",Zb="[object Boolean]",Qb="[object Date]",e_="[object Error]",t_="[object Function]",n_="[object GeneratorFunction]",i_="[object Map]",r_="[object Number]",o_="[object Object]",a_="[object RegExp]",s_="[object Set]",l_="[object String]",u_="[object Symbol]",c_="[object WeakMap]",d_="[object ArrayBuffer]",h_="[object DataView]",f_="[object Float32Array]",p_="[object Float64Array]",m_="[object Int8Array]",v_="[object Int16Array]",g_="[object Int32Array]",y_="[object Uint8Array]",b_="[object Uint8ClampedArray]",__="[object Uint16Array]",w_="[object Uint32Array]",x_={};function k_(e,t,n,i,r,o){var a,s=t&qb,l=t&Gb,u=t&Kb;if(n&&(a=r?n(e,i,r,o):n(e)),void 0!==a)return a;if(!ge(e))return e;var c=xt(e);if(c){if(a=Zy(e),!s)return Tt(e,a)}else{var d=Sa(e),h=d==t_||d==n_;if(Object(no["a"])(e))return Object(Ny["a"])(e,s);if(d==o_||d==Jb||h&&!r){if(a=l||h?{}:Ib(e),!s)return l?Uy(e,Ay(a,e)):Ry(e,Cy(a,e))}else{if(!x_[d])return r?e:{};a=jb(e,d,s)}}o||(o=new fr);var f=o.get(e);if(f)return f;o.set(e,a),Ub(e)?e.forEach((function(i){a.add(k_(i,t,n,i,e,o))})):Fb(e)&&e.forEach((function(i,r){a.set(r,k_(i,t,n,r,e,o))}));var p=u?l?Gy:Qo:l?Iy:Xo,m=c?void 0:p(e);return Jd(m||e,(function(i,r){m&&(r=i,i=e[r]),gd(a,r,k_(i,t,n,r,e,o))})),a}x_[Jb]=x_[Xb]=x_[d_]=x_[h_]=x_[Zb]=x_[Qb]=x_[f_]=x_[p_]=x_[m_]=x_[v_]=x_[g_]=x_[i_]=x_[r_]=x_[o_]=x_[a_]=x_[s_]=x_[l_]=x_[u_]=x_[y_]=x_[b_]=x_[__]=x_[w_]=!0,x_[e_]=x_[t_]=x_[c_]=!1;var M_=k_,S_=4;function C_(e){return M_(e,S_)}var D_=C_,L_=1,T_=4;function E_(e){return M_(e,L_|T_)}var P_=E_,j_=1,O_=4;function I_(e,t){return t="function"==typeof t?t:void 0,M_(e,j_|O_,t)}var Y_=I_,A_=4;function N_(e,t){return t="function"==typeof t?t:void 0,M_(e,A_,t)}var H_=N_;function R_(e,t,n){var i=n.length;if(null==e)return!i;e=Object(e);while(i--){var r=n[i],o=t[r],a=e[r];if(void 0===a&&!(r in e)||!o(a))return!1}return!0}var F_=R_;function z_(e,t){return null==t||F_(e,t,Xo(t))}var $_=z_;function B_(e,t){return e>t}var W_=B_;function V_(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ze(t),n=Ze(n)),e(t,n)}}var U_=V_,q_=U_(W_),G_=q_,K_=U_((function(e,t){return e>=t})),J_=K_,X_="[object ArrayBuffer]";function Z_(e){return $e(e)&&me(e)==X_}var Q_=Z_,ew=Po["a"]&&Po["a"].isArrayBuffer,tw=ew?ki(ew):Q_,nw=tw,iw="[object Boolean]";function rw(e){return!0===e||!1===e||$e(e)&&me(e)==iw}var ow=rw,aw="[object Date]";function sw(e){return $e(e)&&me(e)==aw}var lw=sw,uw=Po["a"]&&Po["a"].isDate,cw=uw?ki(uw):lw,dw=cw,hw="[object Object]",fw=Function.prototype,pw=Object.prototype,mw=fw.toString,vw=pw.hasOwnProperty,gw=mw.call(Object);function yw(e){if(!$e(e)||me(e)!=hw)return!1;var t=zy(e);if(null===t)return!0;var n=vw.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&mw.call(n)==gw}var bw=yw;function _w(e){return $e(e)&&1===e.nodeType&&!bw(e)}var ww=_w,xw="[object Map]",kw="[object Set]",Mw=Object.prototype,Sw=Mw.hasOwnProperty;function Cw(e){if(null==e)return!0;if(Le(e)&&(xt(e)||"string"==typeof e||"function"==typeof e.splice||Object(no["a"])(e)||Io(e)||_t(e)))return!e.length;var t=Sa(e);if(t==xw||t==kw)return!e.size;if(zo(e))return!Ko(e).length;for(var n in e)if(Sw.call(e,n))return!1;return!0}var Dw=Cw;function Lw(e,t){return Ya(e,t)}var Tw=Lw;function Ew(e,t,n){n="function"==typeof n?n:void 0;var i=n?n(e,t):void 0;return void 0===i?Ya(e,t,void 0,n):!!i}var Pw=Ew,jw="[object DOMException]",Ow="[object Error]";function Iw(e){if(!$e(e))return!1;var t=me(e);return t==Ow||t==jw||"string"==typeof e.message&&"string"==typeof e.name&&!bw(e)}var Yw=Iw,Aw=Z["a"].isFinite;function Nw(e){return"number"==typeof e&&Aw(e)}var Hw=Nw;function Rw(e){return"number"==typeof e&&e==rt(e)}var Fw=Rw;function zw(e,t){return e===t||Ra(e,t,Ba(t))}var $w=zw;function Bw(e,t,n){return n="function"==typeof n?n:void 0,Ra(e,t,Ba(t),n)}var Ww=Bw,Vw="[object Number]";function Uw(e){return"number"==typeof e||$e(e)&&me(e)==Vw}var qw=Uw;function Gw(e){return qw(e)&&e!=+e}var Kw=Gw,Jw=n("a158"),Xw=Ot?ke:Jw["a"],Zw=Xw,Qw="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";function ex(e){if(Zw(e))throw new Error(Qw);return Kt(e)}var tx=ex;function nx(e){return null==e}var ix=nx;function rx(e){return null===e}var ox=rx,ax="[object RegExp]";function sx(e){return $e(e)&&me(e)==ax}var lx=sx,ux=Po["a"]&&Po["a"].isRegExp,cx=ux?ki(ux):lx,dx=cx,hx=9007199254740991;function fx(e){return Fw(e)&&e>=-hx&&e<=hx}var px=fx;function mx(e){return void 0===e}var vx=mx,gx="[object WeakMap]";function yx(e){return $e(e)&&Sa(e)==gx}var bx=yx,_x="[object WeakSet]";function wx(e){return $e(e)&&me(e)==_x}var xx=wx;function kx(e,t){return e<t}var Mx=kx,Sx=U_(Mx),Cx=Sx,Dx=U_((function(e,t){return e<=t})),Lx=Dx;function Tx(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}var Ex=Tx;function Px(e){return e.split("")}var jx=Px,Ox="\\ud800-\\udfff",Ix="\\u0300-\\u036f",Yx="\\ufe20-\\ufe2f",Ax="\\u20d0-\\u20ff",Nx=Ix+Yx+Ax,Hx="\\ufe0e\\ufe0f",Rx="["+Ox+"]",Fx="["+Nx+"]",zx="\\ud83c[\\udffb-\\udfff]",$x="(?:"+Fx+"|"+zx+")",Bx="[^"+Ox+"]",Wx="(?:\\ud83c[\\udde6-\\uddff]){2}",Vx="[\\ud800-\\udbff][\\udc00-\\udfff]",Ux="\\u200d",qx=$x+"?",Gx="["+Hx+"]?",Kx="(?:"+Ux+"(?:"+[Bx,Wx,Vx].join("|")+")"+Gx+qx+")*",Jx=Gx+qx+Kx,Xx="(?:"+[Bx+Fx+"?",Fx,Wx,Vx,Rx].join("|")+")",Zx=RegExp(zx+"(?="+zx+")|"+Xx+Jx,"g");function Qx(e){return e.match(Zx)||[]}var ek=Qx;function tk(e){return dp(e)?ek(e):jx(e)}var nk=tk,ik="[object Map]",rk="[object Set]",ok=ee?ee.iterator:void 0;function ak(e){if(!e)return[];if(Le(e))return Wh(e)?nk(e):Tt(e);if(ok&&e[ok])return Ex(e[ok]());var t=Sa(e),n=t==ik?kr:t==rk?Sr:Gh;return n(e)}var sk=ak;function lk(e){return My(e,Iy(e))}var uk=lk,ck=9007199254740991;function dk(e){return e?ol(rt(e),-ck,ck):0===e?e:0}var hk=dk,fk={castArray:xy,clone:D_,cloneDeep:P_,cloneDeepWith:Y_,cloneWith:H_,conformsTo:$_,eq:X,gt:G_,gte:J_,isArguments:_t,isArray:xt,isArrayBuffer:nw,isArrayLike:Le,isArrayLikeObject:Zi,isBoolean:ow,isBuffer:no["a"],isDate:dw,isElement:ww,isEmpty:Dw,isEqual:Tw,isEqualWith:Pw,isError:Yw,isFinite:Hw,isFunction:ke,isInteger:Fw,isLength:Ce,isMap:Fb,isMatch:$w,isMatchWith:Ww,isNaN:Kw,isNative:tx,isNil:ix,isNull:ox,isNumber:qw,isObject:ge,isObjectLike:$e,isPlainObject:bw,isRegExp:dx,isSafeInteger:px,isSet:Ub,isString:Wh,isSymbol:Ve,isTypedArray:Io,isUndefined:vx,isWeakMap:bx,isWeakSet:xx,lt:Cx,lte:Lx,toArray:sk,toFinite:nt,toInteger:rt,toLength:ll,toNumber:Ze,toPlainObject:uk,toSafeInteger:hk,toString:ps},pk=NaN;function mk(e){return"number"==typeof e?e:Ve(e)?pk:+e}var vk=mk;function gk(e,t){return function(n,i){var r;if(void 0===n&&void 0===i)return t;if(void 0!==n&&(r=n),void 0!==i){if(void 0===r)return i;"string"==typeof n||"string"==typeof i?(n=hs(n),i=hs(i)):(n=vk(n),i=vk(i)),r=e(n,i)}return r}}var yk=gk,bk=yk((function(e,t){return e+t}),0),_k=bk,wk=Z["a"].isFinite,xk=Math.min;function kk(e){var t=Math[e];return function(e,n){if(e=Ze(e),n=null==n?0:xk(rt(n),292),n&&wk(e)){var i=(ps(e)+"e").split("e"),r=t(i[0]+"e"+(+i[1]+n));return i=(ps(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return t(e)}}var Mk=kk,Sk=Mk("ceil"),Ck=Sk,Dk=yk((function(e,t){return e/t}),1),Lk=Dk,Tk=Mk("floor"),Ek=Tk;function Pk(e,t,n){var i=-1,r=e.length;while(++i<r){var o=e[i],a=t(o);if(null!=a&&(void 0===s?a===a&&!Ve(a):n(a,s)))var s=a,l=o}return l}var jk=Pk;function Ok(e){return e&&e.length?jk(e,Ei,W_):void 0}var Ik=Ok;function Yk(e,t){return e&&e.length?jk(e,zs(t,2),W_):void 0}var Ak=Yk;function Nk(e,t){var n,i=-1,r=e.length;while(++i<r){var o=t(e[i]);void 0!==o&&(n=void 0===n?o:n+o)}return n}var Hk=Nk,Rk=NaN;function Fk(e,t){var n=null==e?0:e.length;return n?Hk(e,t)/n:Rk}var zk=Fk;function $k(e){return zk(e,Ei)}var Bk=$k;function Wk(e,t){return zk(e,zs(t,2))}var Vk=Wk;function Uk(e){return e&&e.length?jk(e,Ei,Mx):void 0}var qk=Uk;function Gk(e,t){return e&&e.length?jk(e,zs(t,2),Mx):void 0}var Kk=Gk,Jk=yk((function(e,t){return e*t}),1),Xk=Jk,Zk=Mk("round"),Qk=Zk,eM=yk((function(e,t){return e-t}),0),tM=eM;function nM(e){return e&&e.length?Hk(e,Ei):0}var iM=nM;function rM(e,t){return e&&e.length?Hk(e,zs(t,2)):0}var oM=rM,aM={add:_k,ceil:Ck,divide:Lk,floor:Ek,max:Ik,maxBy:Ak,mean:Bk,meanBy:Vk,min:qk,minBy:Kk,multiply:Xk,round:Qk,subtract:tM,sum:iM,sumBy:oM};function sM(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=Ze(n),n=n===n?n:0),void 0!==t&&(t=Ze(t),t=t===t?t:0),ol(Ze(e),t,n)}var lM=sM,uM=Math.max,cM=Math.min;function dM(e,t,n){return e>=cM(t,n)&&e<uM(t,n)}var hM=dM;function fM(e,t,n){return t=nt(t),void 0===n?(n=t,t=0):n=nt(n),e=Ze(e),hM(e,t,n)}var pM=fM,mM=parseFloat,vM=Math.min,gM=Math.random;function yM(e,t,n){if(n&&"boolean"!=typeof n&&Ie(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=nt(e),void 0===t?(t=e,e=0):t=nt(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var r=gM();return vM(e+r*(t-e+mM("1e-"+((r+"").length-1))),t)}return Of(e,t)}var bM=yM,_M={clamp:lM,inRange:pM,random:bM};function wM(e){return Ji((function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(r--,o):void 0,a&&Ie(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),t=Object(t);while(++i<r){var s=n[i];s&&e(t,s,i,o)}return t}))}var xM=wM,kM=Object.prototype,MM=kM.hasOwnProperty,SM=xM((function(e,t){if(zo(t)||Le(t))My(t,Xo(t),e);else for(var n in t)MM.call(t,n)&&gd(e,n,t[n])})),CM=SM,DM=xM((function(e,t){My(t,Iy(t),e)})),LM=DM,TM=xM((function(e,t,n,i){My(t,Iy(t),e,i)})),EM=TM,PM=xM((function(e,t,n,i){My(t,Xo(t),e,i)})),jM=PM,OM=Iu(xu),IM=OM;function YM(e,t){var n=om(e);return null==t?n:Cy(n,t)}var AM=YM,NM=Object.prototype,HM=NM.hasOwnProperty,RM=Ji((function(e,t){e=Object(e);var n=-1,i=t.length,r=i>2?t[2]:void 0;r&&Ie(t[0],t[1],r)&&(i=1);while(++n<i){var o=t[n],a=Iy(o),s=-1,l=a.length;while(++s<l){var u=a[s],c=e[u];(void 0===c||X(c,NM[u])&&!HM.call(e,u))&&(e[u]=o[u])}}return e})),FM=RM;function zM(e,t,n){(void 0!==n&&!X(e[t],n)||void 0===n&&!(t in e))&&fd(e,t,n)}var $M=zM;function BM(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var WM=BM;function VM(e,t,n,i,r,o,a){var s=WM(e,n),l=WM(t,n),u=a.get(l);if(u)$M(e,n,u);else{var c=o?o(s,l,n+"",e,t,a):void 0,d=void 0===c;if(d){var h=xt(l),f=!h&&Object(no["a"])(l),p=!h&&!f&&Io(l);c=l,h||f||p?xt(s)?c=s:Zi(s)?c=Tt(s):f?(d=!1,c=Object(Ny["a"])(l,!0)):p?(d=!1,c=db(l,!0)):c=[]:bw(l)||_t(l)?(c=s,_t(s)?c=uk(s):ge(s)&&!ke(s)||(c=Ib(l))):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a["delete"](l)),$M(e,n,c)}}var UM=VM;function qM(e,t,n,i,r){e!==t&&Id(t,(function(o,a){if(r||(r=new fr),ge(o))UM(e,t,a,n,qM,i,r);else{var s=i?i(WM(e,a),o,a+"",e,t,r):void 0;void 0===s&&(s=o),$M(e,a,s)}}),Iy)}var GM=qM;function KM(e,t,n,i,r,o){return ge(e)&&ge(t)&&(o.set(t,e),GM(e,t,void 0,KM,o),o["delete"](t)),e}var JM=KM,XM=xM((function(e,t,n,i){GM(e,t,n,i)})),ZM=XM,QM=Ji((function(e){return e.push(void 0,JM),ji(ZM,void 0,e)})),eS=QM;function tS(e,t){return wi(t,(function(t){return[t,e[t]]}))}var nS=tS;function iS(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}var rS=iS,oS="[object Map]",aS="[object Set]";function sS(e){return function(t){var n=Sa(t);return n==oS?kr(t):n==aS?rS(t):nS(t,e(t))}}var lS=sS,uS=lS(Xo),cS=uS,dS=lS(Iy),hS=dS;function fS(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}var pS=fS;function mS(e,t){return pS(e,zs(t,3),Ad)}var vS=mS;function gS(e,t){return pS(e,zs(t,3),ah)}var yS=gS;function bS(e,t){return null==e?e:Id(e,Zd(t),Iy)}var _S=bS;function wS(e,t){return null==e?e:rh(e,Zd(t),Iy)}var xS=wS;function kS(e,t){return e&&Ad(e,Zd(t))}var MS=kS;function SS(e,t){return e&&ah(e,Zd(t))}var CS=SS;function DS(e,t){return Ur(t,(function(t){return ke(e[t])}))}var LS=DS;function TS(e){return null==e?[]:LS(e,Xo(e))}var ES=TS;function PS(e){return null==e?[]:LS(e,Iy(e))}var jS=PS,OS=Object.prototype,IS=OS.hasOwnProperty;function YS(e,t){return null!=e&&IS.call(e,t)}var AS=YS;function NS(e,t){return null!=e&&Ds(e,t,AS)}var HS=NS;function RS(e,t,n,i){return Ad(e,(function(e,r,o){t(i,n(e),r,o)})),i}var FS=RS;function zS(e,t){return function(n,i){return FS(n,e,t(i),{})}}var $S=zS,BS=Object.prototype,WS=BS.toString,VS=$S((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=WS.call(t)),e[t]=n}),Ni(Ei)),US=VS,qS=Object.prototype,GS=qS.hasOwnProperty,KS=qS.toString,JS=$S((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=KS.call(t)),GS.call(e,t)?e[t].push(n):e[t]=[n]}),zs),XS=JS,ZS=Ji(Qh),QS=ZS;function eC(e,t){var n={};return t=zs(t,3),Ad(e,(function(e,i,r){fd(n,t(e,i,r),e)})),n}var tC=eC;function nC(e,t){var n={};return t=zs(t,3),Ad(e,(function(e,i,r){fd(n,i,t(e,i,r))})),n}var iC=nC,rC=xM((function(e,t,n){GM(e,t,n)})),oC=rC;function aC(e){return bw(e)?void 0:e}var sC=aC,lC=1,uC=2,cC=4,dC=Iu((function(e,t){var n={};if(null==e)return n;var i=!1;t=wi(t,(function(t){return t=vs(t,e),i||(i=t.length>1),t})),My(e,Gy(e),n),i&&(n=M_(n,lC|uC|cC,sC));var r=t.length;while(r--)Cu(n,t[r]);return n})),hC=dC;function fC(e,t,n){var i=-1,r=t.length,o={};while(++i<r){var a=t[i],s=ws(e,a);n(s,a)&&kd(o,vs(a,e),s)}return o}var pC=fC;function mC(e,t){if(null==e)return{};var n=wi(Gy(e),(function(e){return[e]}));return t=zs(t),pC(e,n,(function(e,n){return t(e,n[0])}))}var vC=mC;function gC(e,t){return vC(e,Df(zs(t)))}var yC=gC;function bC(e,t){return pC(e,t,(function(t,n){return Ts(e,n)}))}var _C=bC,wC=Iu((function(e,t){return null==e?{}:_C(e,t)})),xC=wC;function kC(e,t,n){t=vs(t,e);var i=-1,r=t.length;r||(r=1,e=void 0);while(++i<r){var o=null==e?void 0:e[bs(t[i])];void 0===o&&(i=r,o=n),e=ke(o)?o.call(e):o}return e}var MC=kC;function SC(e,t,n){return null==e?e:kd(e,t,n)}var CC=SC;function DC(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:kd(e,t,n,i)}var LC=DC;function TC(e,t,n){var i=xt(e),r=i||Object(no["a"])(e)||Io(e);if(t=zs(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ge(e)&&ke(o)?om(zy(e)):{}}return(r?Jd:Ad)(e,(function(e,i,r){return t(n,e,i,r)})),n}var EC=TC;function PC(e,t){return null==e||Cu(e,t)}var jC=PC;function OC(e,t,n,i){return kd(e,t,n(ws(e,t)),i)}var IC=OC;function YC(e,t,n){return null==e?e:IC(e,t,Zd(n))}var AC=YC;function NC(e,t,n,i){return i="function"==typeof i?i:void 0,null==e?e:IC(e,t,Zd(n),i)}var HC=NC;function RC(e){return null==e?[]:Uh(e,Iy(e))}var FC=RC,zC={assign:CM,assignIn:LM,assignInWith:EM,assignWith:jM,at:IM,create:AM,defaults:FM,defaultsDeep:eS,entries:cS,entriesIn:hS,extend:LM,extendWith:EM,findKey:vS,findLastKey:yS,forIn:_S,forInRight:xS,forOwn:MS,forOwnRight:CS,functions:ES,functionsIn:jS,get:ks,has:HS,hasIn:Ts,invert:US,invertBy:XS,invoke:QS,keys:Xo,keysIn:Iy,mapKeys:tC,mapValues:iC,merge:oC,mergeWith:ZM,omit:hC,omitBy:yC,pick:xC,pickBy:vC,result:MC,set:CC,setWith:LC,toPairs:cS,toPairsIn:hS,transform:EC,unset:jC,update:AC,updateWith:HC,values:Gh,valuesIn:FC};function $C(e,t){return t(e)}var BC=$C,WC=Iu((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return xu(t,e)};return!(t>1||this.__actions__.length)&&i instanceof km&&je(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:BC,args:[r],thisArg:void 0}),new Om(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(r)})),VC=WC;function UC(e){var t=Rm(e);return t.__chain__=!0,t}var qC=UC;function GC(){return new Om(this.value(),this.__chain__)}var KC=GC;function JC(){void 0===this.__values__&&(this.__values__=sk(this.value()));var e=this.__index__>=this.__values__.length,t=e?void 0:this.__values__[this.__index__++];return{done:e,value:t}}var XC=JC;function ZC(e){var t,n=this;while(n instanceof _m){var i=Ym(n);i.__index__=0,i.__values__=void 0,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}var QC=ZC;function eD(){var e=this.__wrapped__;if(e instanceof km){var t=e;return this.__actions__.length&&(t=new km(this)),t=t.reverse(),t.__actions__.push({func:BC,args:[$u],thisArg:void 0}),new Om(t,this.__chain__)}return this.thru($u)}var tD=eD;function nD(e,t){return t(e),e}var iD=nD;function rD(){return this}var oD=rD;function aD(e,t){var n=e;return n instanceof km&&(n=n.value()),vf(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}var sD=aD;function lD(){return sD(this.__wrapped__,this.__actions__)}var uD=lD;function cD(){return qC(this)}var dD=cD,hD={at:VC,chain:qC,commit:KC,lodash:Rm,next:XC,plant:QC,reverse:tD,tap:iD,thru:BC,toIterator:oD,toJSON:uD,value:uD,valueOf:uD,wrapperChain:dD};function fD(e){return function(t){t=ps(t);var n=dp(t)?nk(t):void 0,i=n?n[0]:t.charAt(0),r=n?ly(n,1).join(""):t.slice(1);return i[e]()+r}}var pD=fD,mD=pD("toUpperCase"),vD=mD;function gD(e){return vD(ps(e).toLowerCase())}var yD=gD;function bD(e){return function(t){return null==e?void 0:e[t]}}var _D=bD,wD={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},xD=_D(wD),kD=xD,MD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,SD="\\u0300-\\u036f",CD="\\ufe20-\\ufe2f",DD="\\u20d0-\\u20ff",LD=SD+CD+DD,TD="["+LD+"]",ED=RegExp(TD,"g");function PD(e){return e=ps(e),e&&e.replace(MD,kD).replace(ED,"")}var jD=PD,OD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function ID(e){return e.match(OD)||[]}var YD=ID,AD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function ND(e){return AD.test(e)}var HD=ND,RD="\\ud800-\\udfff",FD="\\u0300-\\u036f",zD="\\ufe20-\\ufe2f",$D="\\u20d0-\\u20ff",BD=FD+zD+$D,WD="\\u2700-\\u27bf",VD="a-z\\xdf-\\xf6\\xf8-\\xff",UD="\\xac\\xb1\\xd7\\xf7",qD="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",GD="\\u2000-\\u206f",KD=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",JD="A-Z\\xc0-\\xd6\\xd8-\\xde",XD="\\ufe0e\\ufe0f",ZD=UD+qD+GD+KD,QD="['’]",eL="["+ZD+"]",tL="["+BD+"]",nL="\\d+",iL="["+WD+"]",rL="["+VD+"]",oL="[^"+RD+ZD+nL+WD+VD+JD+"]",aL="\\ud83c[\\udffb-\\udfff]",sL="(?:"+tL+"|"+aL+")",lL="[^"+RD+"]",uL="(?:\\ud83c[\\udde6-\\uddff]){2}",cL="[\\ud800-\\udbff][\\udc00-\\udfff]",dL="["+JD+"]",hL="\\u200d",fL="(?:"+rL+"|"+oL+")",pL="(?:"+dL+"|"+oL+")",mL="(?:"+QD+"(?:d|ll|m|re|s|t|ve))?",vL="(?:"+QD+"(?:D|LL|M|RE|S|T|VE))?",gL=sL+"?",yL="["+XD+"]?",bL="(?:"+hL+"(?:"+[lL,uL,cL].join("|")+")"+yL+gL+")*",_L="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wL="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xL=yL+gL+bL,kL="(?:"+[iL,uL,cL].join("|")+")"+xL,ML=RegExp([dL+"?"+rL+"+"+mL+"(?="+[eL,dL,"$"].join("|")+")",pL+"+"+vL+"(?="+[eL,dL+fL,"$"].join("|")+")",dL+"?"+fL+"+"+mL,dL+"+"+vL,wL,_L,nL,kL].join("|"),"g");function SL(e){return e.match(ML)||[]}var CL=SL;function DL(e,t,n){return e=ps(e),t=n?void 0:t,void 0===t?HD(e)?CL(e):YD(e):e.match(t)||[]}var LL=DL,TL="['’]",EL=RegExp(TL,"g");function PL(e){return function(t){return vf(LL(jD(t).replace(EL,"")),e,"")}}var jL=PL,OL=jL((function(e,t,n){return t=t.toLowerCase(),e+(n?yD(t):t)})),IL=OL;function YL(e,t,n){e=ps(e),t=hs(t);var i=e.length;n=void 0===n?i:ol(rt(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}var AL=YL,NL={"&":"&","<":"<",">":">",'"':""","'":"'"},HL=_D(NL),RL=HL,FL=/[&<>"']/g,zL=RegExp(FL.source);function $L(e){return e=ps(e),e&&zL.test(e)?e.replace(FL,RL):e}var BL=$L,WL=/[\\^$.*+?()[\]{}|]/g,VL=RegExp(WL.source);function UL(e){return e=ps(e),e&&VL.test(e)?e.replace(WL,"\\$&"):e}var qL=UL,GL=jL((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),KL=GL,JL=jL((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),XL=JL,ZL=pD("toLowerCase"),QL=ZL,eT=9007199254740991,tT=Math.floor;function nT(e,t){var n="";if(!e||t<1||t>eT)return n;do{t%2&&(n+=e),t=tT(t/2),t&&(e+=e)}while(t);return n}var iT=nT,rT=Math.ceil;function oT(e,t){t=void 0===t?" ":hs(t);var n=t.length;if(n<2)return n?iT(t,e):t;var i=iT(t,rT(e/Yp(t)));return dp(t)?ly(nk(i),0,e).join(""):i.slice(0,e)}var aT=oT,sT=Math.ceil,lT=Math.floor;function uT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return aT(lT(r),n)+e+aT(sT(r),n)}var cT=uT;function dT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;return t&&i<t?e+aT(t-i,n):e}var hT=dT;function fT(e,t,n){e=ps(e),t=rt(t);var i=t?Yp(e):0;return t&&i<t?aT(t-i,n)+e:e}var pT=fT,mT=/^\s+/,vT=Z["a"].parseInt;function gT(e,t,n){return n||null==t?t=0:t&&(t=+t),vT(ps(e).replace(mT,""),t||0)}var yT=gT;function bT(e,t,n){return t=(n?Ie(e,t,n):void 0===t)?1:rt(t),iT(ps(e),t)}var _T=bT;function wT(){var e=arguments,t=ps(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var xT=wT,kT=jL((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),MT=kT,ST=4294967295;function CT(e,t,n){return n&&"number"!=typeof n&&Ie(e,t,n)&&(t=n=void 0),n=void 0===n?ST:n>>>0,n?(e=ps(e),e&&("string"==typeof t||null!=t&&!dx(t))&&(t=hs(t),!t&&dp(e))?ly(nk(e),0,n):e.split(t,n)):[]}var DT=CT,LT=jL((function(e,t,n){return e+(n?" ":"")+vD(t)})),TT=LT;function ET(e,t,n){return e=ps(e),n=null==n?0:ol(rt(n),0,e.length),t=hs(t),e.slice(n,n+t.length)==t}var PT=ET,jT=Ji((function(e,t){try{return ji(e,void 0,t)}catch(n){return Yw(n)?n:new Error(n)}})),OT=jT,IT=Object.prototype,YT=IT.hasOwnProperty;function AT(e,t,n,i){return void 0===e||X(e,IT[n])&&!YT.call(i,n)?t:e}var NT=AT,HT={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function RT(e){return"\\"+HT[e]}var FT=RT,zT=/<%=([\s\S]+?)%>/g,$T=zT,BT=/<%-([\s\S]+?)%>/g,WT=BT,VT=/<%([\s\S]+?)%>/g,UT=VT,qT={escape:WT,evaluate:UT,interpolate:$T,variable:"",imports:{_:{escape:BL}}},GT=qT,KT="Invalid `variable` option passed into `_.template`",JT=/\b__p \+= '';/g,XT=/\b(__p \+=) '' \+/g,ZT=/(__e\(.*?\)|\b__t\)) \+\n'';/g,QT=/[()=,{}\[\]\/\s]/,eE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tE=/($^)/,nE=/['\n\r\u2028\u2029\\]/g,iE=Object.prototype,rE=iE.hasOwnProperty;function oE(e,t,n){var i=GT.imports._.templateSettings||GT;n&&Ie(e,t,n)&&(t=void 0),e=ps(e),t=EM({},t,i,NT);var r,o,a=EM({},t.imports,i.imports,NT),s=Xo(a),l=Uh(a,s),u=0,c=t.interpolate||tE,d="__p += '",h=RegExp((t.escape||tE).source+"|"+c.source+"|"+(c===$T?eE:tE).source+"|"+(t.evaluate||tE).source+"|$","g"),f=rE.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(h,(function(t,n,i,a,s,l){return i||(i=a),d+=e.slice(u,l).replace(nE,FT),n&&(r=!0,d+="' +\n__e("+n+") +\n'"),s&&(o=!0,d+="';\n"+s+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),d+="';\n";var p=rE.call(t,"variable")&&t.variable;if(p){if(QT.test(p))throw new Error(KT)}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(JT,""):d).replace(XT,"$1").replace(ZT,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=OT((function(){return Function(s,f+"return "+d).apply(void 0,l)}));if(m.source=d,Yw(m))throw m;return m}var aE=oE;function sE(e){return ps(e).toLowerCase()}var lE=sE;function uE(e){return ps(e).toUpperCase()}var cE=uE;function dE(e,t){var n=e.length;while(n--&&mi(t,e[n],0)>-1);return n}var hE=dE;function fE(e,t){var n=-1,i=e.length;while(++n<i&&mi(t,e[n],0)>-1);return n}var pE=fE;function mE(e,t,n){if(e=ps(e),e&&(n||void 0===t))return Fe(e);if(!e||!(t=hs(t)))return e;var i=nk(e),r=nk(t),o=pE(i,r),a=hE(i,r)+1;return ly(i,o,a).join("")}var vE=mE;function gE(e,t,n){if(e=ps(e),e&&(n||void 0===t))return e.slice(0,Ne(e)+1);if(!e||!(t=hs(t)))return e;var i=nk(e),r=hE(i,nk(t))+1;return ly(i,0,r).join("")}var yE=gE,bE=/^\s+/;function _E(e,t,n){if(e=ps(e),e&&(n||void 0===t))return e.replace(bE,"");if(!e||!(t=hs(t)))return e;var i=nk(e),r=pE(i,nk(t));return ly(i,r).join("")}var wE=_E,xE=30,kE="...",ME=/\w*$/;function SE(e,t){var n=xE,i=kE;if(ge(t)){var r="separator"in t?t.separator:r;n="length"in t?rt(t.length):n,i="omission"in t?hs(t.omission):i}e=ps(e);var o=e.length;if(dp(e)){var a=nk(e);o=a.length}if(n>=o)return e;var s=n-Yp(i);if(s<1)return i;var l=a?ly(a,0,s).join(""):e.slice(0,s);if(void 0===r)return l+i;if(a&&(s+=l.length-s),dx(r)){if(e.slice(s).search(r)){var u,c=l;r.global||(r=RegExp(r.source,ps(ME.exec(r))+"g")),r.lastIndex=0;while(u=r.exec(c))var d=u.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(hs(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i}var CE=SE,DE={"&":"&","<":"<",">":">",""":'"',"'":"'"},LE=_D(DE),TE=LE,EE=/&(?:amp|lt|gt|quot|#39);/g,PE=RegExp(EE.source);function jE(e){return e=ps(e),e&&PE.test(e)?e.replace(EE,TE):e}var OE=jE,IE=jL((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),YE=IE,AE={camelCase:IL,capitalize:yD,deburr:jD,endsWith:AL,escape:BL,escapeRegExp:qL,kebabCase:KL,lowerCase:XL,lowerFirst:QL,pad:cT,padEnd:hT,padStart:pT,parseInt:yT,repeat:_T,replace:xT,snakeCase:MT,split:DT,startCase:TT,startsWith:PT,template:aE,templateSettings:GT,toLower:lE,toUpper:cE,trim:vE,trimEnd:yE,trimStart:wE,truncate:CE,unescape:OE,upperCase:YE,upperFirst:vD,words:LL},NE=Iu((function(e,t){return Jd(t,(function(t){t=bs(t),fd(e,t,mg(e[t],e))})),e})),HE=NE,RE="Expected a function";function FE(e){var t=null==e?0:e.length,n=zs;return e=t?wi(e,(function(e){if("function"!=typeof e[1])throw new TypeError(RE);return[n(e[0]),e[1]]})):[],Ji((function(n){var i=-1;while(++i<t){var r=e[i];if(ji(r[0],this,n))return ji(r[1],this,n)}}))}var zE=FE;function $E(e){var t=Xo(e);return function(n){return F_(n,e,t)}}var BE=$E,WE=1;function VE(e){return BE(M_(e,WE))}var UE=VE;function qE(e,t){return null==e||e!==e?t:e}var GE=qE,KE="Expected a function",JE=8,XE=32,ZE=128,QE=256;function eP(e){return Iu((function(t){var n=t.length,i=n,r=Om.prototype.thru;e&&t.reverse();while(i--){var o=t[i];if("function"!=typeof o)throw new TypeError(KE);if(r&&!a&&"wrapper"==Pm(o))var a=new Om([],!0)}i=a?i:n;while(++i<n){o=t[i];var s=Pm(o),l="wrapper"==s?Sm(o):void 0;a=l&&zm(l[0])&&l[1]==(ZE|JE|XE|QE)&&!l[4].length&&1==l[9]?a[Pm(l[0])].apply(a,l[3]):1==o.length&&zm(o)?a[s]():a.thru(o)}return function(){var e=arguments,i=e[0];if(a&&1==e.length&&xt(i))return a.plant(i).value();var r=0,o=n?t[r].apply(this,e):i;while(++r<n)o=t[r].call(this,o);return o}}))}var tP=eP,nP=tP(),iP=nP,rP=tP(!0),oP=rP,aP=1;function sP(e){return zs("function"==typeof e?e:M_(e,aP))}var lP=sP,uP=1;function cP(e){return qa(M_(e,uP))}var dP=cP,hP=1;function fP(e,t){return Os(e,M_(t,hP))}var pP=fP,mP=Ji((function(e,t){return function(n){return Qh(n,e,t)}})),vP=mP,gP=Ji((function(e,t){return function(n){return Qh(e,n,t)}})),yP=gP;function bP(e,t,n){var i=Xo(t),r=LS(t,i),o=!(ge(n)&&"chain"in n)||!!n.chain,a=ke(e);return Jd(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Tt(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,ht([this.value()],arguments))})})),e}var _P=bP;function wP(e){return e=rt(e),Ji((function(t){return ru(t,e)}))}var xP=wP;function kP(e){return Iu((function(t){return t=wi(t,ki(zs)),Ji((function(n){var i=this;return e(t,(function(e){return ji(e,i,n)}))}))}))}var MP=kP,SP=MP(wi),CP=SP,DP=MP(hh),LP=DP,TP=MP(mr),EP=TP;function PP(e){return function(t){return null==e?void 0:ws(e,t)}}var jP=PP,OP=Math.ceil,IP=Math.max;function YP(e,t,n,i){var r=-1,o=IP(OP((t-e)/(n||1)),0),a=Array(o);while(o--)a[i?o:++r]=e,e+=n;return a}var AP=YP;function NP(e){return function(t,n,i){return i&&"number"!=typeof i&&Ie(t,n,i)&&(n=i=void 0),t=nt(t),void 0===n?(n=t,t=0):n=nt(n),i=void 0===i?t<n?1:-1:nt(i),AP(t,n,i,e)}}var HP=NP,RP=HP(),FP=RP,zP=HP(!0),$P=zP;function BP(){return{}}var WP=BP;function VP(){return""}var UP=VP;function qP(){return!0}var GP=qP,KP=9007199254740991,JP=4294967295,XP=Math.min;function ZP(e,t){if(e=rt(e),e<1||e>KP)return[];var n=JP,i=XP(e,JP);t=Zd(t),e-=JP;var r=to(i,t);while(++n<e)t(n);return r}var QP=ZP;function ej(e){return xt(e)?wi(e,bs):Ve(e)?[e]:Tt(ss(ps(e)))}var tj=ej,nj=0;function ij(e){var t=++nj;return ps(e)+t}var rj=ij,oj={attempt:OT,bindAll:HE,cond:zE,conforms:UE,constant:Ni,defaultTo:GE,flow:iP,flowRight:oP,identity:Ei,iteratee:lP,matches:dP,matchesProperty:pP,method:vP,methodOf:yP,mixin:_P,noop:Ec,nthArg:xP,over:CP,overEvery:LP,overSome:EP,property:Rs,propertyOf:jP,range:FP,rangeRight:$P,stubArray:Gr,stubFalse:Jw["a"],stubObject:WP,stubString:UP,stubTrue:GP,times:QP,toPath:tj,uniqueId:rj};function aj(){var e=new km(this.__wrapped__);return e.__actions__=Tt(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Tt(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Tt(this.__views__),e}var sj=aj;function lj(){if(this.__filtered__){var e=new km(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}var uj=lj,cj=Math.max,dj=Math.min;function hj(e,t,n){var i=-1,r=n.length;while(++i<r){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=dj(t,e+a);break;case"takeRight":e=cj(e,t-a);break}}return{start:e,end:t}}var fj=hj,pj=1,mj=2,vj=Math.min;function gj(){var e=this.__wrapped__.value(),t=this.__dir__,n=xt(e),i=t<0,r=n?e.length:0,o=fj(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=vj(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return sD(e,this.__actions__);var p=[];e:while(l--&&h<f){u+=t;var m=-1,v=e[u];while(++m<d){var g=c[m],y=g.iteratee,b=g.type,_=y(v);if(b==mj)v=_;else if(!_){if(b==pj)continue e;break e}}p[h++]=v}return p}var yj=gj,bj="4.17.21",_j=2,wj=1,xj=3,kj=4294967295,Mj=Array.prototype,Sj=Object.prototype,Cj=Sj.hasOwnProperty,Dj=ee?ee.iterator:void 0,Lj=Math.max,Tj=Math.min,Ej=function(e){return function(t,n,i){if(null==i){var r=ge(n),o=r&&Xo(n),a=o&&o.length&&LS(n,o);(a?a.length:r)||(i=n,n=t,t=this)}return e(t,n,i)}}(_P);
|
|
20
20
|
/**
|
|
21
21
|
* @license
|
|
22
22
|
* Lodash (Custom Build) <https://lodash.com/>
|
|
@@ -25,7 +25,7 @@ var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_
|
|
|
25
25
|
* Released under MIT license <https://lodash.com/license>
|
|
26
26
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
27
27
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
28
|
-
*/Rm.after=_y.after,Rm.ary=_y.ary,Rm.assign=zC.assign,Rm.assignIn=zC.assignIn,Rm.assignInWith=zC.assignInWith,Rm.assignWith=zC.assignWith,Rm.at=zC.at,Rm.before=_y.before,Rm.bind=_y.bind,Rm.bindAll=oj.bindAll,Rm.bindKey=_y.bindKey,Rm.castArray=fk.castArray,Rm.chain=hD.chain,Rm.chunk=Ld.chunk,Rm.compact=Ld.compact,Rm.concat=Ld.concat,Rm.cond=oj.cond,Rm.conforms=oj.conforms,Rm.constant=oj.constant,Rm.countBy=Up.countBy,Rm.create=zC.create,Rm.curry=_y.curry,Rm.curryRight=_y.curryRight,Rm.debounce=_y.debounce,Rm.defaults=zC.defaults,Rm.defaultsDeep=zC.defaultsDeep,Rm.defer=_y.defer,Rm.delay=_y.delay,Rm.difference=Ld.difference,Rm.differenceBy=Ld.differenceBy,Rm.differenceWith=Ld.differenceWith,Rm.drop=Ld.drop,Rm.dropRight=Ld.dropRight,Rm.dropRightWhile=Ld.dropRightWhile,Rm.dropWhile=Ld.dropWhile,Rm.fill=Ld.fill,Rm.filter=Up.filter,Rm.flatMap=Up.flatMap,Rm.flatMapDeep=Up.flatMapDeep,Rm.flatMapDepth=Up.flatMapDepth,Rm.flatten=Ld.flatten,Rm.flattenDeep=Ld.flattenDeep,Rm.flattenDepth=Ld.flattenDepth,Rm.flip=_y.flip,Rm.flow=oj.flow,Rm.flowRight=oj.flowRight,Rm.fromPairs=Ld.fromPairs,Rm.functions=zC.functions,Rm.functionsIn=zC.functionsIn,Rm.groupBy=Up.groupBy,Rm.initial=Ld.initial,Rm.intersection=Ld.intersection,Rm.intersectionBy=Ld.intersectionBy,Rm.intersectionWith=Ld.intersectionWith,Rm.invert=zC.invert,Rm.invertBy=zC.invertBy,Rm.invokeMap=Up.invokeMap,Rm.iteratee=oj.iteratee,Rm.keyBy=Up.keyBy,Rm.keys=Xo,Rm.keysIn=zC.keysIn,Rm.map=Up.map,Rm.mapKeys=zC.mapKeys,Rm.mapValues=zC.mapValues,Rm.matches=oj.matches,Rm.matchesProperty=oj.matchesProperty,Rm.memoize=_y.memoize,Rm.merge=zC.merge,Rm.mergeWith=zC.mergeWith,Rm.method=oj.method,Rm.methodOf=oj.methodOf,Rm.mixin=Ej,Rm.negate=Df,Rm.nthArg=oj.nthArg,Rm.omit=zC.omit,Rm.omitBy=zC.omitBy,Rm.once=_y.once,Rm.orderBy=Up.orderBy,Rm.over=oj.over,Rm.overArgs=_y.overArgs,Rm.overEvery=oj.overEvery,Rm.overSome=oj.overSome,Rm.partial=_y.partial,Rm.partialRight=_y.partialRight,Rm.partition=Up.partition,Rm.pick=zC.pick,Rm.pickBy=zC.pickBy,Rm.property=oj.property,Rm.propertyOf=oj.propertyOf,Rm.pull=Ld.pull,Rm.pullAll=Ld.pullAll,Rm.pullAllBy=Ld.pullAllBy,Rm.pullAllWith=Ld.pullAllWith,Rm.pullAt=Ld.pullAt,Rm.range=oj.range,Rm.rangeRight=oj.rangeRight,Rm.rearg=_y.rearg,Rm.reject=Up.reject,Rm.remove=Ld.remove,Rm.rest=_y.rest,Rm.reverse=Ld.reverse,Rm.sampleSize=Up.sampleSize,Rm.set=zC.set,Rm.setWith=zC.setWith,Rm.shuffle=Up.shuffle,Rm.slice=Ld.slice,Rm.sortBy=Up.sortBy,Rm.sortedUniq=Ld.sortedUniq,Rm.sortedUniqBy=Ld.sortedUniqBy,Rm.split=AE.split,Rm.spread=_y.spread,Rm.tail=Ld.tail,Rm.take=Ld.take,Rm.takeRight=Ld.takeRight,Rm.takeRightWhile=Ld.takeRightWhile,Rm.takeWhile=Ld.takeWhile,Rm.tap=hD.tap,Rm.throttle=_y.throttle,Rm.thru=BC,Rm.toArray=fk.toArray,Rm.toPairs=zC.toPairs,Rm.toPairsIn=zC.toPairsIn,Rm.toPath=oj.toPath,Rm.toPlainObject=fk.toPlainObject,Rm.transform=zC.transform,Rm.unary=_y.unary,Rm.union=Ld.union,Rm.unionBy=Ld.unionBy,Rm.unionWith=Ld.unionWith,Rm.uniq=Ld.uniq,Rm.uniqBy=Ld.uniqBy,Rm.uniqWith=Ld.uniqWith,Rm.unset=zC.unset,Rm.unzip=Ld.unzip,Rm.unzipWith=Ld.unzipWith,Rm.update=zC.update,Rm.updateWith=zC.updateWith,Rm.values=zC.values,Rm.valuesIn=zC.valuesIn,Rm.without=Ld.without,Rm.words=AE.words,Rm.wrap=_y.wrap,Rm.xor=Ld.xor,Rm.xorBy=Ld.xorBy,Rm.xorWith=Ld.xorWith,Rm.zip=Ld.zip,Rm.zipObject=Ld.zipObject,Rm.zipObjectDeep=Ld.zipObjectDeep,Rm.zipWith=Ld.zipWith,Rm.entries=zC.toPairs,Rm.entriesIn=zC.toPairsIn,Rm.extend=zC.assignIn,Rm.extendWith=zC.assignInWith,Ej(Rm,Rm),Rm.add=aM.add,Rm.attempt=oj.attempt,Rm.camelCase=AE.camelCase,Rm.capitalize=AE.capitalize,Rm.ceil=aM.ceil,Rm.clamp=_M.clamp,Rm.clone=fk.clone,Rm.cloneDeep=fk.cloneDeep,Rm.cloneDeepWith=fk.cloneDeepWith,Rm.cloneWith=fk.cloneWith,Rm.conformsTo=fk.conformsTo,Rm.deburr=AE.deburr,Rm.defaultTo=oj.defaultTo,Rm.divide=aM.divide,Rm.endsWith=AE.endsWith,Rm.eq=fk.eq,Rm.escape=AE.escape,Rm.escapeRegExp=AE.escapeRegExp,Rm.every=Up.every,Rm.find=Up.find,Rm.findIndex=Ld.findIndex,Rm.findKey=zC.findKey,Rm.findLast=Up.findLast,Rm.findLastIndex=Ld.findLastIndex,Rm.findLastKey=zC.findLastKey,Rm.floor=aM.floor,Rm.forEach=Up.forEach,Rm.forEachRight=Up.forEachRight,Rm.forIn=zC.forIn,Rm.forInRight=zC.forInRight,Rm.forOwn=zC.forOwn,Rm.forOwnRight=zC.forOwnRight,Rm.get=zC.get,Rm.gt=fk.gt,Rm.gte=fk.gte,Rm.has=zC.has,Rm.hasIn=zC.hasIn,Rm.head=Ld.head,Rm.identity=Ei,Rm.includes=Up.includes,Rm.indexOf=Ld.indexOf,Rm.inRange=_M.inRange,Rm.invoke=zC.invoke,Rm.isArguments=fk.isArguments,Rm.isArray=xt,Rm.isArrayBuffer=fk.isArrayBuffer,Rm.isArrayLike=fk.isArrayLike,Rm.isArrayLikeObject=fk.isArrayLikeObject,Rm.isBoolean=fk.isBoolean,Rm.isBuffer=fk.isBuffer,Rm.isDate=fk.isDate,Rm.isElement=fk.isElement,Rm.isEmpty=fk.isEmpty,Rm.isEqual=fk.isEqual,Rm.isEqualWith=fk.isEqualWith,Rm.isError=fk.isError,Rm.isFinite=fk.isFinite,Rm.isFunction=fk.isFunction,Rm.isInteger=fk.isInteger,Rm.isLength=fk.isLength,Rm.isMap=fk.isMap,Rm.isMatch=fk.isMatch,Rm.isMatchWith=fk.isMatchWith,Rm.isNaN=fk.isNaN,Rm.isNative=fk.isNative,Rm.isNil=fk.isNil,Rm.isNull=fk.isNull,Rm.isNumber=fk.isNumber,Rm.isObject=ge,Rm.isObjectLike=fk.isObjectLike,Rm.isPlainObject=fk.isPlainObject,Rm.isRegExp=fk.isRegExp,Rm.isSafeInteger=fk.isSafeInteger,Rm.isSet=fk.isSet,Rm.isString=fk.isString,Rm.isSymbol=fk.isSymbol,Rm.isTypedArray=fk.isTypedArray,Rm.isUndefined=fk.isUndefined,Rm.isWeakMap=fk.isWeakMap,Rm.isWeakSet=fk.isWeakSet,Rm.join=Ld.join,Rm.kebabCase=AE.kebabCase,Rm.last=Bs,Rm.lastIndexOf=Ld.lastIndexOf,Rm.lowerCase=AE.lowerCase,Rm.lowerFirst=AE.lowerFirst,Rm.lt=fk.lt,Rm.lte=fk.lte,Rm.max=aM.max,Rm.maxBy=aM.maxBy,Rm.mean=aM.mean,Rm.meanBy=aM.meanBy,Rm.min=aM.min,Rm.minBy=aM.minBy,Rm.stubArray=oj.stubArray,Rm.stubFalse=oj.stubFalse,Rm.stubObject=oj.stubObject,Rm.stubString=oj.stubString,Rm.stubTrue=oj.stubTrue,Rm.multiply=aM.multiply,Rm.nth=Ld.nth,Rm.noop=oj.noop,Rm.now=Kp.now,Rm.pad=AE.pad,Rm.padEnd=AE.padEnd,Rm.padStart=AE.padStart,Rm.parseInt=AE.parseInt,Rm.random=_M.random,Rm.reduce=Up.reduce,Rm.reduceRight=Up.reduceRight,Rm.repeat=AE.repeat,Rm.replace=AE.replace,Rm.result=zC.result,Rm.round=aM.round,Rm.sample=Up.sample,Rm.size=Up.size,Rm.snakeCase=AE.snakeCase,Rm.some=Up.some,Rm.sortedIndex=Ld.sortedIndex,Rm.sortedIndexBy=Ld.sortedIndexBy,Rm.sortedIndexOf=Ld.sortedIndexOf,Rm.sortedLastIndex=Ld.sortedLastIndex,Rm.sortedLastIndexBy=Ld.sortedLastIndexBy,Rm.sortedLastIndexOf=Ld.sortedLastIndexOf,Rm.startCase=AE.startCase,Rm.startsWith=AE.startsWith,Rm.subtract=aM.subtract,Rm.sum=aM.sum,Rm.sumBy=aM.sumBy,Rm.template=AE.template,Rm.times=oj.times,Rm.toFinite=fk.toFinite,Rm.toInteger=rt,Rm.toLength=fk.toLength,Rm.toLower=AE.toLower,Rm.toNumber=fk.toNumber,Rm.toSafeInteger=fk.toSafeInteger,Rm.toString=fk.toString,Rm.toUpper=AE.toUpper,Rm.trim=AE.trim,Rm.trimEnd=AE.trimEnd,Rm.trimStart=AE.trimStart,Rm.truncate=AE.truncate,Rm.unescape=AE.unescape,Rm.uniqueId=oj.uniqueId,Rm.upperCase=AE.upperCase,Rm.upperFirst=AE.upperFirst,Rm.each=Up.forEach,Rm.eachRight=Up.forEachRight,Rm.first=Ld.head,Ej(Rm,function(){var e={};return Ad(Rm,(function(t,n){Cj.call(Rm.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Rm.VERSION=bj,(Rm.templateSettings=AE.templateSettings).imports._=Rm,Jd(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Rm[e].placeholder=Rm})),Jd(["drop","take"],(function(e,t){km.prototype[e]=function(n){n=void 0===n?1:Lj(rt(n),0);var i=this.__filtered__&&!t?new km(this):this.clone();return i.__filtered__?i.__takeCount__=Tj(n,i.__takeCount__):i.__views__.push({size:Tj(n,kj),type:e+(i.__dir__<0?"Right":"")}),i},km.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Jd(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=n==wj||n==xj;km.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:zs(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Jd(["head","last"],(function(e,t){var n="take"+(t?"Right":"");km.prototype[e]=function(){return this[n](1).value()[0]}})),Jd(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");km.prototype[e]=function(){return this.__filtered__?new km(this):this[n](1)}})),km.prototype.compact=function(){return this.filter(Ei)},km.prototype.find=function(e){return this.filter(e).head()},km.prototype.findLast=function(e){return this.reverse().find(e)},km.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new km(this):this.map((function(n){return Qh(n,e,t)}))})),km.prototype.reject=function(e){return this.filter(Df(zs(e)))},km.prototype.slice=function(e,t){e=rt(e);var n=this;return n.__filtered__&&(e>0||t<0)?new km(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(t=rt(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},km.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},km.prototype.toArray=function(){return this.take(kj)},Ad(km.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Rm[i?"take"+("last"==t?"Right":""):t],o=i||/^find/.test(t);r&&(Rm.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,s=t instanceof km,l=a[0],u=s||xt(t),c=function(e){var t=r.apply(Rm,ht([e],a));return i&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var d=this.__chain__,h=!!this.__actions__.length,f=o&&!d,p=s&&!h;if(!o&&u){t=p?t:new km(this);var m=e.apply(t,a);return m.__actions__.push({func:BC,args:[c],thisArg:void 0}),new Om(m,d)}return f&&p?e.apply(this,a):(m=this.thru(c),f?i?m.value()[0]:m.value():m)})})),Jd(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Mj[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Rm.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(xt(r)?r:[],e)}return this[n]((function(n){return t.apply(xt(n)?n:[],e)}))}})),Ad(km.prototype,(function(e,t){var n=Rm[t];if(n){var i=n.name+"";Cj.call(Dm,i)||(Dm[i]=[]),Dm[i].push({name:t,func:n})}})),Dm[Iv(void 0,_j).name]=[{name:"wrapper",func:void 0}],km.prototype.clone=sj,km.prototype.reverse=uj,km.prototype.value=yj,Rm.prototype.at=hD.at,Rm.prototype.chain=hD.wrapperChain,Rm.prototype.commit=hD.commit,Rm.prototype.next=hD.next,Rm.prototype.plant=hD.plant,Rm.prototype.reverse=hD.reverse,Rm.prototype.toJSON=Rm.prototype.valueOf=Rm.prototype.value=hD.value,Rm.prototype.first=Rm.prototype.head,Dj&&(Rm.prototype[Dj]=hD.toIterator);var Pj=Rm,jj={disabled:!1,inline:!1,isShowLabel:!0,isDialog:!1,isShowSubmitBtn:!1,isShowBackBtn:!1,isShowResetBtn:!1,isShowCancelBtn:!1,isResponsive:!0,submitBtnText:"提交",cancelBtnText:"取消",backBtnText:"返回",resetBtnText:"重置",labelWidth:"90",labelPosition:"right",span:null,formBtnSize:null,grid:"one"};g.a.use(y["a"]);var Oj=Pj.cloneDeep(jj),Ij=new y["a"].Store({state:{curCusTableIndex:null,notDataFlag:!1,headImg:"",relationState:"",ScheduleDel:!1,storeInformation:{},storeType:!1,identity:{user:!1,realName:!1,enterprise:!1,authentication:!1,relevance:!1,type:0},centerMeun:{},token:"",area:{},loginType:!1,user:{identityCard:"",realName:"",registerTime:"",userRole:0},auth_user:{authorities:[]},global_area:[],shopInfo:{},menuList:[],upload:"".concat("https://gateway.shigongbang.com/enterprise-managerment-release","/file/add"),uploadMess:"".concat("https://gateway.shigongbang.com/enterprise-managerment-release","/file/recognition"),uploadApp:"".concat("https://gateway.shigongbang.com").concat("/sgb-app-manager","/v1/app/common/imgUpload"),otherUpload:"file/add",otherUploadMess:"file/recognition",imgUrl:"https://shigongbang.oss-cn-hangzhou.aliyuncs.com/",imgShop:"https://shigongbang.oss-cn-hangzhou.aliyuncs.com/",isCollapse:!1,tags:[],current_tag:"",menuFinish:!1,currentMenu:"/Hgcgl",currentTopMenu:0,projectName:"",msgs:{},sysMsgs:[],customSysMsgs:[],sysMsgUnread:{},session:[],nimState:!1,toUser:"",friends:[],teams:[],imUserName:"",teamMember:{},formAttr:Oj,list:{default:[]},selectIndex:null,activeFormName:"default",formBuilder:{menuId:"",formDesId:"",currentMenu:""},formBuilderActive:1,refreshList:!0,selSubIndex:null},mutations:{SET_MENULIST:function(e,t){e.menuList=t},SET_NODATAFLAG:function(e,t){},changeMsgNum:function(e,t){e.user.msgNum=t},updateStoreInformation:function(e,t){e.storeInformation=t},SET_LOGINTYPE:function(e,t){e.loginType=t},SET_CENTERMEUN:function(e,t){t.childrens.length>0&&t.childrens.forEach((function(e){e.unfold=!1})),0===t.childrens.length?(Auth.forEach((function(e){e.childrens.length,e.unfold=!1})),t.unfold=!0,this.$router.push({path:t.path})):(Auth.forEach((function(e){e.unfold=!1})),t.unfold?t.unfold=!1:t.unfold=!0),e.centerMeun=t},SET_TOKEN:function(e,t){e.token=t},SET_AUTH_USER:function(e,t){e.auth_user=t},SET_GLOBAL_AREA:function(e,t){e.global_area=t},SET_ISCOLLAPSE:function(e){e.isCollapse=!e.isCollapse},SET_USER:function(e,t){e.user=t,e.identity.user=!1,e.identity.realName=!1,e.identity.enterprise=!1,0==t.userRole&&(e.identity.user=!0,e.identity.type=0),0==t.userRole&&1==t.personalAuth&&(e.identity.realName=!0,e.identity.type=1),t.userRole&&0!=t.userRole&&(e.identity.enterprise=!0,e.identity.type=2,this.dispatch("setStoreInformation")),t.relevance&&(e.identity.relevance=!0),(e.identity.user&&e.identity.relevance||e.identity.enterprise)&&(e.identity.authentication=!0),t.imAccount&&t.imToken},LOGIN_OUT:function(e){e.loginType=!1,e.menuFinish=!1,e.user={identityCard:"",realName:"",registerTime:"",userRole:0},e.identity.user=!1,e.identity.realName=!1,e.identity.enterprise=!1,e.tags=[],e.currentMenu="",e.currentTopMenu=0,this.commit("SET_LOGINTYPE",!1),this.commit("SET_TOKEN",null),this.commit("SET_USER",{}),A.set("expire",!0),C.cookieClear("token"),C.cookieClear("h_projectNo"),e.msgs={},e.sysMsgs=[],e.session=[],e.toUser="",e.friends=[],e.teams=[],e.imUserName="",e.teamMember={},window.nim&&window.nim.destroy({done:function(e){window.nim=null}})},SET_AREA:function(e,t){e.area=t},SET_STORE_TYPE:function(e,t){e.storeType=t},SET_SHOPINFO:function(e,t){e.shopinfo=t},SET_MENUFINISH:function(e,t){e.menuFinish=t},SET_CURRENTMENU:function(e,t){e.currentMenu=t},SET_CURRENTTOPMENU:function(e,t){e.currentTopMenu=t},SET_TAGS:function(e,t){e.tags.push(t)},SET_CURRENTTAG:function(e,t){e.current_tag=t},RESET_TAGS:function(e,t){e.tags=t},SET_MSGS:function(e,t){if(Array.isArray(t)||(t=[t]),t[0]){var n=t[0].sessionId,i=window.nim.mergeMsgs(e.msgs[n],t);e.msgs[n]=i,e.msgs=Object.assign({},e.msgs)}},DELMSYS:function(e,t){e.msgs[t.msg.sessionId].forEach((function(n,i){n.idServer==t.msg.idServer&&e.msgs[t.msg.sessionId].splice(i,1,t.data)}))},SET_SYSMSGS:function(e,t){!Array.isArray(t)&&"deleteMsg"==t.type&&e.msgs[t.msg.sessionId]&&e.msgs[t.msg.sessionId].forEach((function(n,i){n.idServer==t.deletedIdServer&&(e.msgs[t.msg.sessionId].splice(i,1),nimTool.sendTipMsg(t.msg,e))}));var n=Array.isArray(t)?t:[t],i=n.filter((function(e){return!e.type&&"deleteMsg"==e.type}));if(i.length>0){window.nim.markSysMsgRead({sysMsgs:i,done:function(e,t){}});var r=i.map((function(e){return e.idServer}));window.nim.deleteLocalSysMsg({idServer:r,done:function(e,t){}})}e.sysMsgs=window.nim.mergeSysMsgs(e.sysMsgs,t)},updatwSysMsgUnread:function(e,t){e.sysMsgUnread=t},updatwCustomSysMsgs:function(e,t){var n=e.customSysMsgs;Array.isArray(t)?n=n.concat(t):n.push(t),e.customSysMsgs=n},SET_SESSION:function(e,t){e.session=window.nim.mergeSessions(e.session,t)},UPDATE_SESSION:function(e,t){var n="";e.session.forEach((function(e,i){e.id==t.id&&(n=i)})),""!==n?e.session.splice(n,1,t):e.session.push(t)},DELETE_SESSION:function(e,t){e.session.forEach((function(n,i){n.id==t&&e.session.splice(i,1)}))},updateNimState:function(e,t){e.nimState=t},SETTOUSER:function(e,t){window.nim&&window.nim.setCurrSession(t),e.toUser=t},SET_FRIENDS:function(e,t){e.friends=t},DELETE_FRIEND:function(e,t){var n=window.nim.cutFriendsByAccounts(e.friends,t);e.friends=Object.assign({},n)},DELETE_TEAM:function(e,t){var n=window.nim.mergeTeams(e.teams,t);n=window.nim.cutTeams(e.teams,t.invalid),e.teams=n},SET_TEAMS:function(e,t){Array.isArray(t)||(t=[t]),t=t.filter((function(e){return!!e})),t.forEach((function(e){void 0===e.validToCurrentUser&&(e.validToCurrentUser=!0)}));var n=window.nim.mergeTeams(e.teams,t);n=window.nim.cutTeams(n,t.invalid),e.teams=n},SET_IMUSERNAME:function(e,t){e.imUserName=t},SET_TEAMMENBER:function(e,t){var n=Object.assign({},e.teamMember);n[t.teamId]=t.menber,e.teamMember=n},updateCurrentItem:function(e,t){e.list[e.activeFormName].splice(e.selectIndex,1,t)},updateSelectIndex:function(e,t){e.selSubIndex=null,e.selectIndex=t},updateSelSubIndex:function(e,t){e.selSubIndex=t},updateCusIndex:function(e,t){e.curCusTableIndex=t},clearForm:function(e,t){t?D["MessageBox"].confirm("此操作将清空该表单中的内容, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.selectIndex=null,e.selSubIndex=null,e.list=Object.assign({},{default:[]}),e.formAttr=Oj,Object(D["Message"])({type:"success",message:"清空成功!"})})).catch((function(){Object(D["Message"])({type:"info",message:"已取消"})})):(e.selectIndex=null,e.selSubIndex=null,e.list=Object.assign({},{default:[]}),e.formAttr=Oj)},updateFormAttr:function(e,t){var n=Pj.cloneDeep(t);e.formAttr=n},deleteItemByIndex:function(e,t){var n=t.index,i=t.name;e.list[i].splice(n,1)},updateList:function(e,t){var n=Pj.cloneDeep(t.newList);e.list[t.name]=n,e.list=Object.assign({},e.list)},updateFormBuilder:function(e,t){var n=Pj.cloneDeep(t);e.formBuilder=n},updateActiveFormName:function(e,t){e.activeFormName=t},updateTitleArr:function(e,t){e.formAttr.title=t;var n=Pj.cloneDeep(formAttr);e.formAttr.title=n},UPDATAREFRESHLIST:function(e){e.refreshList=!e.refreshList}},getters:{getCurrentTitleArr:function(e){return e.formAttr.title},getUser:function(e){return e.user},menuList:function(e){return e.menuList},currentFormItem:function(e,t){if(null!=e.selSubIndex){var n,i,r=null!==e.selectIndex&&e.list[e.activeFormName]?e.list[e.activeFormName][e.selectIndex]:null;return r&&null!==r&&void 0!==r&&null!==(n=r.attrs)&&void 0!==n&&n.columns?null!==(i=r.attrs.columns[e.selSubIndex])&&void 0!==i&&i.content?(r.attrs.columns[e.selSubIndex].content["pid"]=e.list[e.activeFormName][e.selectIndex].field,r.attrs.columns[e.selSubIndex].content):(r.attrs.columns[e.selSubIndex]["pid"]=e.list[e.activeFormName][e.selectIndex].field,r.attrs.columns[e.selSubIndex]):null}return null!==e.selectIndex&&e.list[e.activeFormName]?e.list[e.activeFormName][e.selectIndex]:null}},actions:{setStoreInformation:function(e){return d(regeneratorRuntime.mark((function t(){var n,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,B.getStoreInformation();case 3:i=t.sent,r=i.data.data,r&&""!==r.image&&(r.image=r.image.split(",")),n("updateStoreInformation",r);case 7:case"end":return t.stop()}}),t)})))()},setUser:function(e){var t=this;return d(regeneratorRuntime.mark((function n(){var i,r,o,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.commit,n.next=3,q.getUserInfo();case 3:return r=n.sent,o=r.data.data,i("SET_USER",o),n.next=8,apiAuth.getAuthList();case 8:a=n.sent,s=a.data,0===s.code?i("SET_AUTH_USER",s.result):t.$message.error(s.msg);case 11:case"end":return n.stop()}}),n)})))()}}}),Yj=Ij;window.pending=[];window.pending,m.a.CancelToken;var Aj=JSON.parse(localStorage.getItem("env"))||{};m.a.defaults.timeout=5e4,m.a.defaults.baseURL=Aj.VUE_APP_APIUSER,m.a.interceptors.request.use((function(e){var t=C.cookieRead("token");return t&&(e.headers.Authorization="Bearer ".concat(t)),e}),(function(e){return Promise.reject(e)})),m.a.interceptors.response.use((function(e){return e}),(function(e){return e.response&&(666===e.response.data.code?(D["Message"].error(e.response.data.msg),Yj.commit("LOGIN_OUT")):D["Message"].error(e.response.data.msg)),{data:e.response?e.response.data:"error"}}));var Nj={get:function(e,t){return new Promise((function(n,i){m()({method:"get",params:t,url:e}).then((function(e){n(e)}))}))},getData:function(e,t,n){return new Promise((function(i,r){m()({method:"get",params:t,url:e,data:n}).then((function(e){i(e)}))}))},post:function(e,t){return new Promise((function(n,i){m()({method:"post",data:t,url:e}).then((function(e){n(e)}))}))},postParams:function(e,t){return new Promise((function(n,i){m()({method:"post",params:t,url:e}).then((function(e){n(e)}))}))},postHeaders:function(e,t,n){return new Promise((function(n,i){m()({method:"post",data:t,url:e,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){n(e)}))}))},postData:function(e,t,n){return new Promise((function(i,r){m()({method:"post",params:t,url:e,data:n}).then((function(e){i(e)}))}))},postLogin:function(e,t){return new Promise((function(n,i){m()({method:"post",headers:{Authorization:"Basic Z2N0eDpnY3R4"},url:e,params:t}).then((function(e){n(e)}))}))},put:function(e,t){return new Promise((function(n,i){m()({method:"put",data:t,url:e}).then((function(e){n(e)}))}))},patch:function(e,t){return new Promise((function(n,i){m()({method:"patch",data:t,url:e}).then((function(e){n(e)}))}))},delete:function(e){return new Promise((function(t,n){m()({method:"delete",url:e}).then((function(e){t(e)}))}))},deleteParams:function(e,t){return new Promise((function(n,i){m()({method:"delete",url:e,data:t}).then((function(e){n(e)}))}))}},Hj=n("7c78"),Rj=n.n(Hj),Fj=JSON.parse(localStorage.getItem("env")),zj=Fj.VUE_APP_API+"/sgb-meta-design";Fj.VUE_APP_API,Fj.VUE_APP_QIGUAN;console.log(zj);var $j=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/addProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Bj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/addProcessV1"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Wj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/updateProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Vj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/updateProcessV1"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Uj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/updateOldProcessToNewProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/queryProcessByType"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gj=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.get("".concat(zj,"/v1/pc/process/directorLevelList")));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Kj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.easyFlowVisible?n("div",[e.tools?n("el-row",[n("el-col",{staticClass:"right-plan",attrs:{span:24}},[n("div",{staticClass:"process-heard"},[e.queryName?[e.isEdit?n("div",[n("span",{staticClass:"process-title"},[e._v(e._s(e.queryName)+"流程")])]):n("div",[n("el-input",{attrs:{autofocus:"",placeholder:"请输入内容"},on:{blur:e.changeName},model:{value:e.conName,callback:function(t){e.conName=t},expression:"conName"}})],1)]:n("div"),n("div",[n("div",{staticClass:"switch"},[n("span",[e._v("是否开启审批:")]),n("el-switch",{model:{value:e.isFlg,callback:function(t){e.isFlg=t},expression:"isFlg"}})],1),n("el-button",{on:{click:e.cancal}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)],2)])],1):e._e(),n("el-col",{attrs:{span:24}},[n("div",{staticClass:"container-process",attrs:{id:"flowContainer"}},[e._l(e.data.nodeList,(function(t,i){return["addCondition"!==t.item.type?n("flow-node",{key:i,ref:"flowNode",refInFor:!0,attrs:{node:t.item,level:t.level},on:{deleteNode:e.deleteNode,changeNodeSite:e.changeNodeSite,nodeRightMenu:e.nodeRightMenu,editNode:e.editNode,showForm:e.showForm,changeName:e.changeNodeName}}):n("div",{key:t.item.id+"_add",staticClass:"add-condition",style:{top:t.item.top,left:t.item.left},attrs:{id:"flowchartWindow"+t.item.id},on:{click:function(t){return e.addExtraCondition(t)}}},[e._v("\n 添加条件\n ")])]})),n("flow-node-condition",{directives:[{name:"show",rawName:"v-show",value:e.conditionVisible,expression:"conditionVisible"}],ref:"conditionForm",attrs:{formData:e.connection,title:e.title},on:{edit:e.editName,save:e.setCondition,cancal:function(t){e.conditionVisible=!1}}}),e.showAddNode?n("add-node-box",{attrs:{info:e.addNodeInfo},on:{close:function(){e.showAddNode=!1},addNode:e.addNode}}):e._e()],2)]),n("approver-selector",{ref:"approverSelector",attrs:{approverList:e.approverSelectorData.approverList,notifierList:e.approverSelectorData.notifierList},on:{save:e.setNode},model:{value:e.selectorVisible,callback:function(t){e.selectorVisible=t},expression:"selectorVisible"}})],1):e._e()},Jj=[];function Xj(e){if(Array.isArray(e))return e}n("3f01"),n("4fa8"),n("b4a0"),n("7f6e"),n("1ab5");function Zj(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done);a=!0)if(o.push(i.value),t&&o.length===t)break}catch(l){s=!0,r=l}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw r}}return o}}n("952e"),n("f73d");function Qj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function eO(e,t){if(e){if("string"===typeof e)return Qj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qj(e,t):void 0}}function tO(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nO(e,t){return Xj(e)||Zj(e,t)||eO(e,t)||tO()}n("2c48"),n("e59e"),n("5b91"),n("f736");var iO=n("46f3"),rO=n.n(iO),oO=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.update?n("div",{ref:"node",staticClass:"plannode",style:e.nodeContainerStyle,attrs:{id:"flowchartWindow"+e.node.id},on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1},mouseup:e.changeNodePosition}},[[n("div",{staticClass:"flow-node-header",class:e.mouseEnter?"point":""},["start"!==e.node.type&&"end"!==e.node.type?n("p",{staticClass:"flow-name"},[e.isEdit?n("el-input",{ref:"editInput",on:{blur:e.handleBlur},model:{value:e.editName,callback:function(t){e.editName="string"===typeof t?t.trim():t},expression:"editName"}}):n("span",{staticClass:"hand-icon",on:{click:function(t){return t.stopPropagation(),e.editNodeName.apply(null,arguments)}}},[e._v(e._s(e.node.name))])],1):n("p",{staticClass:"flow-name"},[n("span",[e._v(e._s(e.node.name))])]),"start"!==e.node.type&&"end"!==e.node.type?n("div",{staticClass:"flow-node-operate"},[n("a",{attrs:{href:"#"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteNode(e.node)},mousemove:function(e){return e.stopPropagation(),e.preventDefault(),function(){}.apply(null,arguments)}}},[n("i",{staticClass:"el-icon-close"})]),e._v("\n \n ")]):e._e()]),"condition"==e.node.type?n("div",{staticClass:"flow-node-body",attrs:{title:e.node.desc?e.node.desc:""},on:{click:function(t){return e.showForm(e.node)}}},[e._v("\n "+e._s(e.node.desc?e.node.desc:"请设置条件")+"\n ")]):"ccTask"==e.node.type?n("div",{staticClass:"flow-node-body",on:{click:function(t){return e.showForm(e.node)}}},[e.node.notifiers&&e.node.notifiers.length?n("span",[e._l(e.node.notifiers,(function(t,i){return n("i",{key:i,staticStyle:{padding:"0 5px"}},[e._v(e._s(t.userName))])})),e._v("\n (抄送"+e._s(e.node.notifiers.length)+"人)\n ")],2):n("span",[e._v("请选择抄送人")])]):"userTask"==e.node.type?n("div",{staticClass:"flow-node-body",on:{click:function(t){return e.showForm(e.node)}}},[n("div"),e.node.directorType&&2==e.node.directorType.type?n("span",[e._v("\n "+e._s(e.node.approvers&&e.node.directorType.type?e.node.approvers&&e.node.approvers[0].directorName:"")+"\n "+e._s("2"==e.node.approverType?"或签":"3"==e.node.approverType?"依次审批":"会签")+"\n ")]):n("span",[e.node.approvers&&e.node.approvers.length>0?n("span",e._l(e.node.approvers,(function(t,i){return n("i",{key:i,staticStyle:{padding:"0 5px"}},[e._v(e._s(t.userName))])})),0):e._e(),e._v("\n ("+e._s(e.node.approvers&&e.node.approvers.length>0?1==e.node.approvers.length?e.node.approvers[0].userName:e.node.approvers.length+"人":"请选择审批人")+")\n "),e.node.approvers&&e.node.approvers.length>1?n("span",[e._v(e._s("2"==e.node.approverType?"或签":"3"==e.node.approverType?"依次审批":"会签"))]):e._e()])]):n("div",{staticClass:"flow-node-body"})]],2):e._e()},aO=[],sO=(n("cee7"),{props:{node:Object,level:Number},data:function(){return{mouseEnter:!1,isEdit:!1,editName:"",update:!0}},computed:{nodeContainerStyle:function(){return{position:"absolute",width:"addCondition"==this.node.type?"auto":"200px",top:this.node.top,left:this.node.left,boxShadow:this.mouseEnter?"#66a6e0 0px 0px 12px 0px":"",backgroundColor:"transparent"}},nodeIcoClass:function(){var e={};return e[this.node.ico]=!0,e["flow-node-drag"]=!0,e}},methods:{refreshFlowItem:function(){var e=this;this.update=!1,this.$nextTick((function(){e.update=!0}))},deleteNode:function(e){},editNode:function(){},changeNodePosition:function(){var e=this;if(this.node.left!=this.$refs.node.style.left||this.node.top!=this.$refs.node.style.top)return setTimeout((function(){e.$emit("changeNodeSite",{id:e.node.id,left:e.$refs.node.style.left,top:e.$refs.node.style.top})}),100),!1},editNodeName:function(){var e=this;this.editName=this.node.name,this.isEdit=!0,this.$nextTick((function(){e.$refs.editInput.$refs.input.focus()}))},handleBlur:function(){this.editName!==this.node.name&&""!=this.editName&&this.$emit("changeName",{node:this.node,name:this.editName}),this.isEdit=!1},showForm:function(e){},addCondition:function(){}}}),lO=sO;n("027f");function uO(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}var cO,dO=uO(lO,oO,aO,!1,null,null,null),hO=dO.exports,fO=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-drawer",{staticClass:"nodeConditionModal",attrs:{visible:e.nodeConditionModal,direction:"rtl",wrapperClosable:!1,"show-close":!1,"close-on-press-escape":!1,"destroy-on-close":"","append-to-body":!0}},[n("div",{staticClass:"wrapper",on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"title"},[e.isEdit?n("div",[n("span",[e._v(e._s(e.title))]),n("i",{staticClass:"el-icon-edit",on:{click:function(t){t.stopPropagation(),e.isEdit=!1}}})]):n("div",[n("el-input",{attrs:{autofocus:"",placeholder:"请输入内容"},on:{blur:e.changeName},model:{value:e.conName,callback:function(t){e.conName=t},expression:"conName"}})],1)]),n("div",{staticClass:"content"},[n("el-form",{ref:"form",staticClass:"form-box",attrs:{model:e.form,"label-width":"80px"}},e._l(e.formConfig,(function(t,i){return n("div",{key:i},["checkbox"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("el-checkbox-group",{on:{change:function(n){return e.handlerChange(n,t)}},model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}},e._l(t.data,(function(t,i){return n("el-checkbox",{key:i,attrs:{label:t.no}},[e._v(e._s(t.name))])})),1)],1)]:e._e(),"input"==t.ele?[n("el-form-item",{attrs:{label:t.name+": ",rules:{validator:e.validatePass,trigger:"change",message:"不能小于0"},prop:t.variable}},[n("el-row",{attrs:{gutter:4}},[n("el-col",{attrs:{span:11}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form[t.variable].opt,callback:function(n){e.$set(e.form[t.variable],"opt",n)},expression:"form[item.variable].opt"}},e._l(e.optOption,(function(e){return n("el-option",{key:e.value,attrs:{label:e.labal,value:e.value}})})),1)],1),n("el-col",{attrs:{span:11}},[n("el-input",{model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}})],1)],1)],1)]:e._e(),"sponsor"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[e.form[t.variable].sponsors&&e.form[t.variable].sponsors.length>0?[n("div",{staticClass:"selector",on:{click:function(t){e.showSelector=!0}}},e._l(e.form[t.variable].sponsors,(function(i){return n("el-tag",{key:i.userId,attrs:{closable:""},on:{close:function(n){return e.removeTag(t.variable,i)}}},[e._v("\n "+e._s(i.userName)+"\n ")])})),1)]:[n("el-input",{attrs:{placeholder:"请选择具体人员"},on:{focus:function(t){e.showSelector=!0}}})]],2)])]:e._e(),"spoSxy"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[e.form[t.variable].sponsors&&e.form[t.variable].sponsors.length>0?[n("div",{staticClass:"selector",on:{click:function(n){return e.showSxyL(t.variable)}}},e._l(e.form[t.variable].sponsors,(function(i){return n("el-tag",{key:i[t.variable],attrs:{closable:""},on:{close:function(n){return e.removeTag(t.variable,i)}}},[e._v("\n "+e._s(i.userName)+"\n ")])})),1)]:[n("el-input",{attrs:{placeholder:"请选择人员"},on:{focus:function(n){return e.showSxyL(t.variable)}}})]],2)])]:e._e(),"radio"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[n("el-radio-group",{model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}},[e._l(t.data,(function(t,i){return[n("el-radio",{key:i,attrs:{label:t.value}},[e._v(e._s(t.name))])]}))],2)],1)])]:e._e()],2)})),0),n("el-form",{staticClass:"userHandle"},[n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(t){return t.stopPropagation(),e.addCondition.apply(null,arguments)}}},[e._v("添加条件")]),n("span",{staticClass:"mar_l20"},[e._v("还有 "+e._s(e.able)+" 个可用条件")])],1)],1)],1),n("div",{staticClass:"btn-group"},[n("el-button",{on:{click:function(t){return t.stopPropagation(),e.nodeConditionHandler.apply(null,arguments)}}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.save.apply(null,arguments)}}},[e._v("保存")])],1),n("el-dialog",{staticClass:"conditionSelect",attrs:{title:"选择条件",visible:e.isShow,width:"30%",modal:!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.isShow=t}}},[n("span",[e._v("请选择用来区分审批流程的条件字段")]),n("el-checkbox-group",{staticClass:"mar_t20",model:{value:e.condition,callback:function(t){e.condition=t},expression:"condition"}},e._l(e.configList,(function(t,i){return n("el-checkbox",{key:i,attrs:{label:t.variable}},[e._v(e._s(t.name))])})),1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){return t.stopPropagation(),e.cancel.apply(null,arguments)}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.determine.apply(null,arguments)}}},[e._v("确 定")])],1)],1),e.showSelector?n("MemberSelection",{attrs:{title:"选择发起人",directClose:!1,formData:e.selectData,memberNo:e.memberNo},on:{close:function(t){e.showSelector=!1},save:e.checkMenber}}):e._e(),e.showSxytor?n("MemberSelection",{attrs:{title:"选择申请人",directClose:!1,formData:e.selSxytData,memberNo:e.memSxyrNo},on:{close:function(t){e.showSxytor=!1},save:e.checkSxyber}}):e._e()],1)])},pO=[];function mO(e){return mO="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mO(e)}function vO(e){if(Array.isArray(e))return Qj(e)}function gO(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function yO(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bO(e){return vO(e)||gO(e)||eO(e)||yO()}var _O=JSON.parse(localStorage.getItem("env")),wO=_O.VUE_APP_APIUSER,xO="https://api.sgbwl.com/sgb-app",kO=_O.VUE_APP_APIUSER,MO=_O.VUE_APP_API+_O.VUE_APP_QIGUAN,SO=(cO={permitGroupName:function(e){return Nj.post(wO+"/v1/api/management/attendance/permitGroupName",e)},attendance:function(e){return Nj.post(wO+"/v1/api/management/attendance/list",e)},getQueryById:function(e){return Nj.post(wO+"/v1/api/management/attendance/queryById",e)},deleteRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/delete",e)},changeRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/modify",e)},addRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/save",e)},clock:function(e){return Nj.post(wO+"/v1/api/management/clock",e)},getUserList:function(e){return Nj.post(wO+"/v1/api/management/attendance/getUserList",e)},addSave:function(e){return Nj.post(wO+"/v1/api/management/clock/save",e)},deleteSave:function(e){return Nj.post(wO+"/v1/api/management/clock/delete",e)},changeSave:function(e){return Nj.post(wO+"/v1/api/management/clock/modify",e)},detailsSave:function(e){return Nj.post(wO+"/v1/api/management/clock/queryById",e)},permitConfigName:function(e){return Nj.post(wO+"/v1/api/management/clock/permitConfigName",e)},getClockInList:function(e){return Nj.post(wO+"/v1/api/management/attendanceStatistics/list",e)},saveOutInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveOutInfo?userNo="+t,e)},getOutApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getOutApplyList",e)},savePatchInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/savePatchInfo?userNo="+t,e)},saveLeaveInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveLeaveInfo?userNo="+t,e)},leaveType:function(e){return Nj.post(xO+"/v1/web/approver/leaveType?userNo="+e)},getVacationList:function(e){return Nj.get(wO+"/v1/api/management/holidayLeave/getHolidayList",e)},saveLoanInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveLoanInfo?userNo="+t,e)},getOutDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/outDetail?userNo="+t+"&applyNo="+e)},getPatchDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/patchDetail?userNo="+t+"&applyNo="+e)},saveBusinessTrip:function(e,t){return Nj.post(xO+"/v1/web/approver/saveBusinessTrip?userNo="+t,e)},detailBusinessTrip:function(e,t){return Nj.post(xO+"/v1/web/approver/travelDetail?userNo="+t+"&applyNo="+e)},loanDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/loanDetail?userNo="+t+"&applyNo="+e)},getLoanApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getLoanApplyList",e)},getLeaveDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/leaveDetail?userNo="+t+"&applyNo="+e)},getLeaveApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getLeaveApplyList",e)},getAuditDetailForAudit:function(e){return Nj.post(kO+"/v2/api/audit/getAuditDetailForAudit",e)},getApplierInfo:function(e){return Nj.post(xO+"/v1/web/approver/applierInfo?userNo="+e)},approvalAudit:function(e){return Nj.post("".concat(xO,"/v1/web/approver/approvalAudit?resourceToken=").concat(e.resourceToken,"&userNo=").concat(e.userNo,"&reason=").concat(e.reason,"&result=").concat(e.result,"&applyNo=").concat(e.applyNo))},getEvectionList:function(e){return Nj.post(kO+"/v1/api/management/apply/getTravelApplyList",e)},getApplicantList:function(e){return Nj.get(kO+"/v1/api/management/apply/getUserByName",e)},getPatchApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getPatchApplyList",e)},savePatchCardInfo:function(e){return Nj.post(MO+"/v1/app/webMeeting/savePatchInfo",e)}},o(cO,"savePatchCardInfo",(function(e){return Nj.post(MO+"/v1/app/webMeeting/savePatchInfo",e)})),o(cO,"getAssetCategoryList",(function(){return Nj.get("".concat(wO,"/v1/api/assetType/assetTree"))})),cO),CO=SO,DO=JSON.parse(localStorage.getItem("env")),LO=DO.VUE_APP_APIUSER,TO=DO.VUE_APP_API,EO=DO.VUE_APP_EMTERPRISE,PO={saveNotice:function(e){return Nj.post(LO+"/v1/api/notice/add",e)},GetNoticeType:function(){return Nj.get(LO+"/v1/api/notice/getType")},GetPublisher:function(){return Nj.get("api/user/getCurrentUserInfo")},GetCompany:function(){return Nj.get(TO+EO+"/v1/organization/getCompany")},GetDepartment:function(e){return Nj.get(TO+EO+"/v1/organization/getDep/".concat(e))},GetNoticeList:function(e){return Nj.post(LO+"/v1/api/notice/queryPage",e)},deleteNotices:function(e){return Nj.delete(LO+"/v1/api/notice/deleteById/"+e)},GetNoticeDetails:function(e){return Nj.get(LO+"/v1/api/notice/queryById/"+e)},GetDocumentType:function(){return Nj.get(LO+"/v1/api/officialDocument/typeList")}},jO=PO,OO=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.get("v1/organization/getCompany",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),IO=JSON.parse(localStorage.getItem("env")),YO=IO.VUE_APP_TEAM,AO=YO,NO=function(e,t){return Nj.get(AO+"".concat(e),t)},HO=function(){var e=d(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post(AO+"".concat(t),n));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),RO=function(){var e=d(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.delete(AO+"".concat(t),n));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),FO={get:NO,post:HO,del:RO},zO=JSON.parse(localStorage.getItem("env")),$O=(zO.VUE_APP_APIUSER,JSON.parse(localStorage.getItem("env"))),BO=$O.VUE_APP_API,WO=$O.VUE_APP_EMTERPRISE,VO=$O.VUE_APP_QIGUAN,UO=$O.VUE_APP_AUTH,qO={list:function(){return Nj.get(BO+WO+"/v1/organization/getOrganization")},companylist:function(){return Nj.get(BO+WO+"/v1/organization/getCompany")},deplist:function(e){return Nj.get(BO+WO+"/v1/organization/getDep/".concat(e))},getId:function(e){return Nj.get(BO+WO+"/v1/organization/getOrganization/".concat(e))},save:function(e){return Nj.post(BO+WO+"/v1/organization/saveOrganization",e)},setSort:function(e){return Nj.post(BO+WO+"/v1/organization/setSort",e)},setRoleSort:function(e){return Nj.post(BO+WO+"/v1/organization/setRoleSort",e)},del:function(e){return Nj.delete(BO+WO+"/v1/organization/delOrg/".concat(e))},delRole:function(e){return Nj.delete(BO+WO+"/v1/organization/delRole/".concat(e))},getRole:function(){return Nj.get(BO+WO+"/v1/organization/getRole")},saveRole:function(e){return Nj.post(BO+WO+"/v1/organization/saveRole",e)},getUser:function(e){return Nj.post(BO+WO+"/v1/organization/getUser",e)},getUserByParentId:function(e){return Nj.get(BO+WO+"/v1/organization/getUserByParentId/".concat(e))},setUserSort:function(e){return Nj.post(BO+WO+"/v1/organization/setUserSort",e)},saveContacts:function(e){return Nj.post(BO+WO+"/v1/organization/saveContacts",e)},openIm:function(e){return Nj.get(BO+VO+"/v1/app/common/openIm?mobile="+e)},getUserByPhone:function(e){return Nj.post(BO+WO+"/v1/organization/getUserByPhone",e)},delUser:function(e){return Nj.post(BO+WO+"/v1/organization/delUser",e)},getRoleId:function(e){return Nj.get(BO+WO+"/v1/organization/getRoleById/".concat(e))},getMenu:function(){return Nj.get(BO+UO+"/v1/sys/menu/findByMark/company")},saveAuth:function(e){return Nj.post(BO+WO+"/v1/organization/saveManagementAuth",e)},getAuth:function(e){return Nj.get(BO+WO+"/v1/organization/getAuth/".concat(e))},auth:function(e,t){return Nj.get(BO+WO+"/v1/organization/auth/".concat(e,"/").concat(t))},getCompanyByUser:function(e){return Nj.post(BO+WO+"/v1/organization/getOrganizationCompanyByUser",e)},getDepByCompany:function(e){return Nj.post(BO+WO+"/v1/organization/getOrganizationDepByUserAndParentId",e)},getUserByCompany:function(e){return Nj.post(BO+WO+"/v1/organization/getAllUserByCompany",e)}},GO=qO,KO={addPosition:function(e){return Nj.post("/v1/rankposition/createNewPosition",e)},getPosition:function(e){return Nj.get("/v1/rankposition/getAllRankPosition",e)},delPosition:function(e){return Nj.get("/v1/rankposition/deleteRankPosition?id=".concat(e))},editPosition:function(e){return Nj.get("/v1/rankposition/editRankPosition",e)},getRank:function(){return Nj.get("/v1/rankmanagement/getAllRankPosition")},addRank:function(e){return Nj.post("/v1/rankmanagement/createNewRank",e)},getRankList:function(e){return Nj.get("/v1/rankmanagement/getAllRank",e)},delRank:function(e){return Nj.get("/v1/rankmanagement/deleteRank?id=".concat(e))},editRank:function(e){return Nj.post("/v1/rankmanagement/editRank",e)},pageRank:function(e){return Nj.get("/v1/rankmanagement/getRankImgById?id=".concat(e))}},JO=KO,XO=(n("14b6"),function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"请假类型",variable:"type",ele:"checkbox",data:[]},{name:"时长(天)",variable:"duration",ele:"input"}],e.next=3,CO.getVacationList({member:Yj.state.user.no});case 3:return n=e.sent,"200"==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.no,name:e.holidayName}}))),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()),ZO=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"资产分类",variable:"assetTypeJp",ele:"checkbox",data:[]}],e.next=3,CO.getAssetCategoryList();case 3:return n=e.sent,200===n.data.code&&(t[0].data=n.data.data[0].subList),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),QO=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"耗材分类",variable:"matericalTypeJp",ele:"checkbox",data:[]}],e.next=3,CO.getAssetCategoryList();case 3:return n=e.sent,200===n.data.code&&(console.log(n.data.data[0].subList.subList),[],t[0].data=n.data.data[1].subList),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),eI=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"时长(天)",variable:"timeLength",ele:"input"}],e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),tI=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"时长(天)",variable:"duration",ele:"input"}],e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),nI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"申请单位",variable:"accountSubject",ele:"checkbox",data:[]},{name:"工程类型",variable:"type",ele:"checkbox",data:[]},{name:"资金来源",variable:"fundSource",ele:"checkbox",data:iI},{name:"项目造价",variable:"price",ele:"input"},{name:"经营类型",variable:"businessType",ele:"checkbox",data:[{name:"合作管理",no:"1"},{name:"组织经营",no:"2"}]}],e.next=3,OO();case 3:return n=e.sent,t[0].data=bO(n.data.data),e.next=7,FO.get("/sysTeamCategory/findCategoryListTree");case 7:return i=e.sent,r=i.data,t[1].data=r.data,e.abrupt("return",t);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),iI=[{name:"国拨资金",no:"国拨资金"},{name:"业主自筹资金",no:"业主自筹资金"},{name:"国拨和自筹资金",no:"国拨和自筹资金"},{name:"专项资金",no:"专项资金"},{name:"市场回款",no:"市场回款"},{name:"银行融资",no:"银行融资"},{name:"援疆资金",no:"援疆资金"},{name:"全额中央预算内资金",no:"全额中央预算内资金"},{name:"扶贫资金",no:"扶贫资金"},{name:"政府发债资金",no:"政府发债资金"},{name:"财政资金",no:"财政资金"},{name:"中央内资金",no:"中央内资金"}],rI=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return function(){var e=d(regeneratorRuntime.mark((function e(n,i){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=[],n.length>0&&n.forEach(function(){var e=d(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,GO.deplist(t);case 2:n=e.sent,200==n.data.code&&(i=oI(n.data.data,"name","id"),r.push.apply(r,bO(i)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),t[1].data=r,i&&(i.form.departmentNo.value=i.form.departmentNo.value.filter((function(e){var t=r.filter((function(e){e.no}));return t.length>0})));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),t=[{name:"申请人",variable:"proposer",ele:"spoSxy"}],e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function oI(e,t,n){var i=[];return e.forEach((function(e){if(i.push({name:e[t],no:e[n]}),e.children){var r=oI(e.children,t,n);i.push.apply(i,bO(r))}})),console.log(i),i}var aI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[{name:"申请人",variable:"proposer",ele:"spoSxy"}]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),sI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,JO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),lI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]},{name:"是否调薪",variable:"isAdjustedSalary",ele:"radio",data:[{value:"1",name:"是"},{value:"0",name:"否"}]}],e.next=4,JO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),uI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"公告类型",variable:"noticeType",ele:"checkbox",data:[]}],e.next=3,jO.GetNoticeType();case 3:return n=e.sent,200==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.key,name:e.value}}))),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),cI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"公文类型",variable:"documentType",ele:"checkbox",data:[]}],e.next=4,jO.GetDocumentType();case 4:return n=e.sent,200==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.key,name:e.value}}))),e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),dI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"调入职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,JO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),hI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),fI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,JO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),pI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,JO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),mI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[{name:"借款金额",variable:"loanAmount",ele:"input"}]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),vI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),gI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),yI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),bI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_I=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),wI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),kI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),MI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),SI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),CI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),DI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),LI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),TI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),EI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),PI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),jI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),OI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),II=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,width:"600px","append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"plan"},[n("div",{staticClass:"plan-title"},[e._v("选择:")]),n("div",{staticClass:"tab"},[""==e.onlyType?n("div",{staticClass:"tab-title"},[n("span",{class:1==e.type?"active":"",on:{click:function(t){return e.changeList("type",1)}}},[e._v("角色")]),n("span",{class:2==e.type?"active":"",on:{click:function(t){return e.changeList("type",2)}}},[e._v("成员")])]):e._e(),n("div",{staticClass:"approvers"},[n("div",[n("el-input",{directives:[{name:"show",rawName:"v-show",value:1==e.type,expression:"type == 1"}],attrs:{placeholder:"输入角色名",clearable:""},model:{value:e.filterApprovers,callback:function(t){e.filterApprovers=t},expression:"filterApprovers"}}),n("el-input",{directives:[{name:"show",rawName:"v-show",value:2==e.type,expression:"type == 2"}],attrs:{placeholder:"输入姓名",clearable:""},model:{value:e.filterNotifiers,callback:function(t){e.filterNotifiers=t},expression:"filterNotifiers"}}),n("el-tree",{ref:"approvers",class:""!=e.onlyType?"filter-tree":"",attrs:{load:e.loadNode,lazy:"",props:e.defaultProps,"default-expand-all":"","show-checkbox":"","node-key":"id","default-checked-keys":e.defaultCheck,"filter-node-method":e.filterNode},on:{check:e.handleCheckChange1}})],1)])])]),n("div",{staticClass:"plan",attrs:{span:11}},[n("div",{staticClass:"plan-title"},[e._v("已选:")]),n("div",[n("div",{staticClass:"checklist"},[e.roleList.length>0?n("el-row",[n("el-col",{attrs:{span:6}},[n("span",[e._v("角色:")])]),n("el-col",{attrs:{span:16}},e._l(e.roleList,(function(t,i){return n("div",{key:i,staticClass:"check-list"},[n("span",[e._v(e._s(t.name))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.removeList("roleList",t)}}})])})),0)],1):e._e(),e.userList.length>0?n("el-row",[n("el-col",{attrs:{span:6}},[n("span",[e._v("成员:")])]),n("el-col",{attrs:{span:16}},e._l(e.userList,(function(t,i){return n("div",{key:i,staticClass:"check-list"},[n("span",[e._v(e._s(t.name||t.userName))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.removeList("userList",t)}}})])})),0)],1):e._e()],1)])])]),n("div",[e._t("default")],2),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleClose}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)])},YI=[],AI=JSON.parse(localStorage.getItem("env")),NI=AI.VUE_APP_API,HI=AI.VUE_APP_EMTERPRISE,RI=AI.VUE_APP_QIGUAN,FI={getOrgsData:function(){return Nj.get(NI+HI+"/v1/organization/getNewOrganizationAndContacts")},list:function(){return Nj.get(NI+HI+"/v1/organization/getOrganizationAndContacts")},companylist:function(){return Nj.get(NI+HI+"/v1/organization/getCompany")},deplist:function(e){return Nj.get(NI+HI+"/v1/organization/getDep/".concat(e))},getId:function(e){return Nj.get(NI+HI+"/v1/organization/getOrganization/".concat(e))},save:function(e){return Nj.post(NI+HI+"/v1/organization/saveOrganization",e)},setSort:function(e){return Nj.post(NI+HI+"/v1/organization/setSort",e)},setRoleSort:function(e){return Nj.post(NI+HI+"/v1/organization/setRoleSort",e)},del:function(e){return Nj.delete(NI+HI+"/v1/organization/delOrg/".concat(e))},delRole:function(e){return Nj.delete(NI+HI+"/v1/organization/delRole/".concat(e))},getRole:function(){return Nj.get(NI+HI+"/v1/organization/getRole")},saveRole:function(e){return Nj.post(NI+HI+"/v1/organization/saveRole",e)},getUser:function(e){return Nj.post(NI+HI+"/v1/organization/getUser",e)},getUserByParentId:function(e){return Nj.get(NI+HI+"/v1/organization/getUserByParentId/".concat(e))},setUserSort:function(e){return Nj.post(NI+HI+"/v1/organization/setUserSort",e)},saveContacts:function(e){return Nj.post(NI+HI+"/v1/organization/saveContacts",e)},openIm:function(e){return Nj.get(NI+RI+"/v1/app/common/openIm?mobile="+e)},getUserByPhone:function(e){return Nj.post(NI+HI+"/v1/organization/getUserByPhone",e)},delUser:function(e){return Nj.post(NI+HI+"/v1/organization/delUser",e)},getRoleId:function(e){return Nj.get(NI+HI+"/v1/organization/getRoleById/".concat(e))},getMenu:function(){return Nj.get(NI+HI+"/v1/organization/getMenu")},saveAuth:function(e){return Nj.post(NI+HI+"/v1/organization/saveManagementAuth",e)},getAuth:function(e){return Nj.get(NI+HI+"/v1/organization/getAuth/".concat(e))},auth:function(e,t){return Nj.get(NI+HI+"/v1/organization/auth/".concat(e,"/").concat(t))},getCompanyByUser:function(e){return Nj.post(NI+HI+"/v1/organization/getOrganizationCompanyByUser",e)},getDepByCompany:function(e){return Nj.post(NI+HI+"/v1/organization/getOrganizationDepByUserAndParentId",e)},getUserByCompany:function(e){return Nj.post(NI+HI+"/v1/organization/getAllUserByCompany",e)}},zI=FI,$I={name:"",mixins:[],extends:{},components:{},props:{title:{type:String,default:"选择"},formData:{type:Object,default:function(){return{roleList:[],userList:[]}}},onlyType:{type:String,default:"2"},isRadio:{type:Boolean,default:!1},memberNo:{type:Array,default:function(){return[]}},directClose:{type:Boolean,default:!0}},data:function(){return{editChekcId:"",dialogVisible:!0,filterNotifiers:"",filterApprovers:"",type:"1",defaultProps:{children:"children",label:"name"},roleList:[],userList:[],defaultCheck:[]}},filters:{addPriceIcon:function(e){}},watch:{filterApprovers:function(e){this.$refs.approvers.filter(e)},filterNotifiers:function(e){this.$refs.approvers.filter(e)},formData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.userList=e.userList,this.userList=e.userList?this.userList:[];for(var i={},r=0;r<e.roleList.length;r++)i[e.roleList[r].id]||(this.roleList.push(e.roleList[r]),i[e.roleList[r].id]=!0);console.log(this.roleList," newVal.roleList;"),this.$nextTick((function(){"2"==n.onlyType?n.defaultCheck=n.userList.length>0?n.userList.map((function(e){return e.id})):[]:n.defaultCheck=n.roleList.length>0?n.roleList.map((function(e){return e.id})):[]}))}},onlyType:{immediate:!0,handler:function(e,t){""!=e&&(this.type=e)}}},computed:{},methods:{handleClose:function(){this.roleList=[],this.userList=[],this.$emit("close")},save:function(){for(var e={roleList:this.roleList,userList:[]},t={},n=0;n<this.userList.length;n++)t[this.userList[n].id]||(e.userList.push(this.userList[n]),t[this.userList[n].id]=!0);this.$emit("save",e),this.directClose&&this.handleClose()},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleCheckChange1:function(e,t){if(1==this.type)if(this.isRadio){var n=t.checkedKeys.indexOf(e.id)>-1;this.roleList=n?[e]:[],this.$refs.approvers.setCheckedNodes(this.roleList)}else{var i=this.$refs.approvers.getCheckedNodes().filter((function(e,t){return!(void 0!=e.type||void 0!=e.children)}));this.roleList=i}else if(this.isRadio){var r=t.checkedKeys.indexOf(e.id)>-1;this.userList=r?[e]:[],this.$refs.approvers.setCheckedNodes(this.userList)}else{var o=this.$refs.approvers.getCheckedNodes().filter((function(e,t){return!(void 0!=e.type||void 0!=e.children)}));this.userList=o}},changeList:function(e,t){this[e]=t,1==t?this.$refs.approvers.setCheckedNodes(this.roleList):this.$refs.approvers.setCheckedNodes(this.userList)},func:function(e){var t=this;e.forEach((function(n){n.contacts&&0!==n.contacts.length&&n.contacts.forEach((function(i){n.children.push(i),t.treeData=e}))}))},loadNode:function(e,t){var n=this;return d(regeneratorRuntime.mark((function i(){var r,o,a,s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n,0!==e.level){i.next=11;break}return i.next=4,zI.getOrgsData();case 4:return r=i.sent,o=[],o.push(r.data.data),o[0]&&o[0].contacts&&o[0].contacts.length>0&&(a=o[0].contacts.map((function(e){return e.disabled=e.imAccount==!e.imAccount,e})),o[0].children=o[0].children.concat(a),o[0].imAccount="account"+o[0].id),i.abrupt("return",t(o));case 11:if(!e.data.children){i.next=17;break}return s=e.data.children,s.forEach((function(e){if(e.contacts&&e.contacts.length>0){var t=e.contacts.map((function(e){return e}));e.children=e.children.concat(t)}e.imAccount=e.imAccount?e.imAccount:"account"+e.id})),i.abrupt("return",t(s));case 17:return i.abrupt("return",t([]));case 18:case"end":return i.stop()}}),i)})))()},removeList:function(e,t){this[e]=this[e].filter((function(e){return e.memberNo!==t.memberNo})),this[e].length>0?this.$refs.approvers.setCheckedNodes(this[e]):this.$refs.approvers.setCheckedKeys([])}},created:function(){},mounted:function(){}},BI=$I,WI=(n("57c1"),uO(BI,II,YI,!1,null,"37f95368",null)),VI=WI.exports,UI={name:"",mixins:[],extends:{},components:{MemberSelection:VI},props:{formData:{type:Object,default:function(){return{}}},title:{type:String,default:""},queryInfo:{type:Object,default:function(){return{}}}},data:function(){return{SxyData:"",form:{},optOption:[{labal:"大于等于",value:">="},{labal:"大于",value:">"},{labal:"小于等于",value:"<="},{labal:"小于",value:"<"}],formConfig:[],isShow:!1,configList:[],condition:[],oldCOndition:[],isEdit:!0,conName:"",applyType:"",showSelector:!1,showSxytor:!1,selectData:{roleList:[],userList:[]},selSxytData:{roleList:[],userList:[]},memberNo:[],memSxyrNo:[],nodeConditionModal:!1}},watch:{showSelector:{deep:!0,handler:function(e){}},formData:{immediate:!0,deep:!0,handler:function(e,t){var n=Object.keys(e);if(n.length>0){var i=[],r=[];this.configList.forEach((function(e,t){n.indexOf(e.variable)>-1&&(i.push(e),r.push(e.variable))})),n.indexOf("userId")>-1?(this.selectData.userList=e.userId.sponsors,this.memberNo=e.userId.sponsors.map((function(e){return e.userId}))):(this.selectData.userList=[],this.memberNo=[]),n.indexOf("proposer")>-1?(this.selSxytData.userList=e.proposer.sponsors,this.memSxyrNo=e.proposer.sponsors.map((function(e){return e.userId}))):(this.selSxytData.userList=[],this.memSxyrNo=[]),this.formConfig=i,this.form=e,"documentType"==n[0]&&e.documentType.value.map((function(t,n){e.documentType.value[n]=Number(e.documentType.value[n])})),this.condition=r}else this.formConfig=[],this.form={},this.condition=[],this.selectData.userList=[],this.selSxytData.userList=[],this.memberNo=[],this.memSxyrNo=[]}},title:{immediate:!0,handler:function(e,t){this.conName=e}}},computed:{able:function(){return this.configList.length-this.condition.length}},methods:{showSxyL:function(e){this.SxyData=e,this.showSxytor=!0},nodeConditionHandler:function(){this.nodeConditionModal=!this.nodeConditionModal},removeTag:function(e,t){this.form[e].sponsors=this.form[e].sponsors.filter((function(e){return e.userName!=t.userName&&e.userId!=t.userId})),this.memberNo=this.form[e].sponsors.map((function(e){return e.userId})),this.selectData.userList=this.form[e].value},validatePass:function(e,t,n){""!=parseFloat(t.value)&&parseFloat(t.value)>=0?n():n("不能小于0")},save:function(){var e=this;this.$refs.form.validate((function(t){if(t){var n=[],i=function(t){var i=""==e.form[t].value||e.form[t].value==[]||""==e.form[t].opt;if(i&&"userId"!=t&&"spoSxy"!=e.form[t].ele)return e.$message.error("条件数据不能为空"),{v:void 0};if(("spoSxy"==e.form[t].ele||"userId"==t)&&e.form[t].sponsors.length<1)return e.$message.error("条件数据不能为空"),{v:void 0};if("radio"==e.form[t].ele||"checkbox"==e.form[t].ele){var r,o=e.configList.filter((function(e){return e.variable==t}))[0].data;if(o&&Array.isArray(e.form[t].value))r=e.form[t].value.map((function(e){return o.filter((function(t){return t.no==e}))[0].name}));else if(o&&!Array.isArray(e.form[t].value)){var a=o.filter((function(n){return n.value==e.form[t].value}))[0].name;r=[a]}n.push(e.form[t].name+"属于:"+r.join("或"))}else if("spoSxy"==e.form[t].ele||"userId"==t){var s=e.form[t].sponsors.map((function(e){return e.userName}));n.push(e.form[t].name+"属于:"+s.join("或"))}else n.push("".concat(e.form[t].name," ").concat(e.form[t].opt," ").concat(e.form[t].value))};for(var r in e.form){var o=i(r);if("object"===mO(o))return o.v}e.$parent.submitCondition({form:e.form,desc:n,SxyData:e.SxyData})}}))},changeName:function(){this.conName?this.$emit("edit",this.conName):this.conName=this.title,this.isEdit=!0},handleClose:function(){this.isShow=!1},addCondition:function(){this.oldCondition=this.condition,this.isShow=!0},cancel:function(){this.condition=this.oldCondition,this.isShow=!1},determine:function(){var e=[],t=this,n=Pj.cloneDeep(t.form);t.configList.forEach((function(i,r){if(t.condition.indexOf(i.variable)>-1){if(e.push(i),void 0==n[i.variable]){var o="input"==i.ele?"":"=",a="input"==i.ele?"":[];"radio"==i.ele&&(a=i.data&&i.data.length>0?i.data[0].value:"0"),n[i.variable]={opt:o,value:a,dateType:"String",name:i.name,sponsors:[],ele:i.ele}}}else void 0!==n[i.variable]&&delete n[i.variable];"radio"!=i.ele||i.data&&0!=i.data.length||t.$set(i,"data",[{value:"1",name:"是"},{value:"0",name:"否"}])})),this.form=n,this.formConfig=e,this.isShow=!1},setConfig:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.applyType=e.queryInfo.type,n={ele:"sponsor",name:"发起人",variable:"userId"},!r[e.applyType]){t.next=8;break}return t.next=5,r[e.applyType](e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=[];case 9:e.configList=t.t0,"sealApproval"==e.queryInfo.type||"用章申请"==e.queryInfo.name||"用车申请"==e.queryInfo.name||"carApproval"==e.queryInfo.type?n={}:e.configList.unshift(n);case 11:case"end":return t.stop()}}),t)})))()},handlerChange:function(e,t){void 0!=t.changeFuc&&t.changeFuc(e,this)},checkMenber:function(e){var t=[],n=[];e.userList.forEach((function(e,i){t.push({userId:e.memberNo,companyId:e.comNo,userName:e.name,roleName:e.roleName}),n.push(e.memberNo)})),this.memberNo=n,this.form.userId.sponsors=t,this.form=Object.assign({},this.form),this.$set(this.selectData,"userList",e.userList),this.showSelector=!1},checkSxyber:function(e){var t=[],n=[];e.userList.forEach((function(e,i){t.push({userId:e.memberNo,companyId:e.comNo,userName:e.name,roleName:e.roleName}),n.push(e.memberNo)})),this.memSxyrNo=n,this.form[this.SxyData].sponsors=t,this.form=Object.assign({},this.form),this.showSxytor=!1}},created:function(){this.setConfig()},mounted:function(){}},qI=UI,GI=(n("9fdb"),uO(qI,fO,pO,!1,null,"4a5dcae5",null)),KI=GI.exports,JI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"wrapper",style:"left: "+e.info.left+"px; top: "+e.info.top+"px"},[i("div",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[i("img",{attrs:{src:n("2e5b"),alt:""}})]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("userTask")}}},[i("img",{attrs:{src:n("bf66")}}),i("p",[e._v("审批人")])]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("copyUser")}}},[i("img",{attrs:{src:n("bf66")}}),i("p",[e._v("抄送人")])]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("condition")}}},[i("img",{attrs:{src:n("50e8")}}),i("p",[e._v("条件分支")])])])},XI=[],ZI={name:"",mixins:[],extends:{},components:{},props:{info:{type:Object,default:function(){return{left:0,top:0,isShow:!0}}}},data:function(){return{}},watch:{},computed:{},methods:{addNode:function(e){var t;t="userTask"==e?"流程节点":"copyUser"==e?"抄送人":"条件分支",this.$emit("addNode",{type:e,name:t})}},created:function(){},mounted:function(){}},QI=ZI,eY=(n("1062"),uO(QI,JI,XI,!1,null,"45838bc0",null)),tY=eY.exports,nY=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-drawer",{attrs:{title:"审批节点",visible:e.visible,direction:"rtl",wrapperClosable:!1,"show-close":!1,"close-on-press-escape":!1,"destroy-on-close":"","append-to-body":!0}},[n("div",{staticClass:"drawer-wrap"},[e.isCCTask?e._e():n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("审批人")]),n("div",{staticClass:"approverSelectorItemCon rowDirection"},[n("el-radio-group",{on:{change:e.approverModeChange},model:{value:e.approverMode,callback:function(t){e.approverMode=t},expression:"approverMode"}},[n("el-radio",{attrs:{label:1}},[e._v("指定成员")]),e.queryInfo.type|e.filterType?n("el-radio",{attrs:{label:2}},[e._v("主管")]):e._e()],1),1==e.approverMode?n("div",{staticClass:"selector-list"},[e.approverList.length<25?n("el-button",{staticClass:"list-item-btn",attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:function(t){return e.showStaffSelector(0)}}}):e._e(),e.approverList.length?n("div",{staticClass:"tagList"},[e._l(e.approverList,(function(t,i){return[n("el-tag",{key:i,staticClass:"list-item list-item-opt",attrs:{closable:"",type:"info",size:"medium"},on:{close:function(t){return e.removeItem("approverList",i)}}},[e._v("\n "+e._s(t.name||t.userName)+"\n ")])]})),n("span",{staticClass:"clear-btn list-item",on:{click:function(t){return e.clear("approverList")}}},[e._v("清空")])],2):e._e()],1):e._e()],1)]),2==e.approverMode?n("div",{staticClass:"approverSelectorItem layoutRowItem"},[n("div",{staticClass:"multi-title"},[e._v("发起人:")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-select",{attrs:{placeholder:"请选择"},on:{change:function(t){return e.changeEvent(t,e.options)}},model:{value:e.valueKey,callback:function(t){e.valueKey=t},expression:"valueKey"}},e._l(e.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)]):e._e(),[4].includes(e.approverMode)||e.isCCTask?e._e():n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("多人审批时采用的审批方式")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-radio-group",{on:{change:e.examineModeChange},model:{value:e.approverType,callback:function(t){e.approverType=t},expression:"approverType"}},[n("el-radio",{attrs:{label:"3"}},[e._v("依次审批")]),n("el-radio",{attrs:{label:"1"}},[e._v("会签(须所有审批人同意)")]),n("el-radio",{attrs:{label:"2"}},[e._v("或签(一名审批人同意或拒绝即可)")])],1)],1)]),2==e.approverMode?n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("审批人为空时")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-radio-group",{on:{change:e.noHanderActionChange},model:{value:e.directorType.authType,callback:function(t){e.$set(e.directorType,"authType",t)},expression:"directorType.authType"}},[n("el-radio",{attrs:{label:"1"}},[e._v("自动通过 ")]),n("el-radio",{attrs:{label:"2"}},[e._v("自动转交主管理员")])],1)],1)]):e._e(),e.isCCTask?n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("抄送人")]),n("div",{staticClass:"approverSelectorItemCon rowDirection"},[n("el-radio-group",{model:{value:e.isCCTaskType,callback:function(t){e.isCCTaskType=t},expression:"isCCTaskType"}},[n("el-radio",{attrs:{label:1}},[e._v("指定成员")])],1),n("div",{staticClass:"selector-list"},[e.notifierList.length<25?n("el-button",{staticClass:"list-item-btn",attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:function(t){return e.showStaffSelector(1)}}}):e._e(),e.notifierList.length?n("div",{staticClass:"tagList"},[e._l(e.notifierList,(function(t,i){return n("el-tag",{key:i,staticClass:"list-item list-item-opt",attrs:{closable:"",type:"info",size:"medium"},on:{close:function(t){return e.removeItem("notifierList",i)}}},[e._v("\n "+e._s(t.name||t.userName)+"\n ")])})),n("span",{staticClass:"clear-btn list-item",on:{click:function(t){return e.clear("notifierList")}}},[e._v("清空")])],2):e._e()],1)],1)]):e._e(),n("div",{staticClass:"drawer-footer"},[n("el-button",{on:{click:e.cancel}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("保存")])],1)])]),n("FlowNodeForm",{ref:"nodeForm",attrs:{id:"nodeForm",orgVisible:e.nodeVisible,type:e.memberSelectorType},on:{close:function(t){e.nodeVisible=!1},confirm:e.memberSelectorConfirm}})],1)},iY=[],rY=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-dialog",{attrs:{title:e.title,visible:e.orgVisible,width:"600px","append-to-body":"","before-close":e.cancel,"close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.orgVisible=t}}},[n("div",{staticClass:"main-wrapper"},[n("div",{staticClass:"main-block"},[n("div",{staticClass:"block-title"},[e._v("选择:")]),n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"block-card"},[n("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"text",clearable:"",placeholder:"输入姓名",size:"small"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),n("div",[n("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{data:e.orgData,props:e.defaultProps,"default-expand-all":"","show-checkbox":"","node-key":"uniqueProp","default-checked-keys":e.defaultCheck,"filter-node-method":e.filterNode},on:{check:e.handleCheckChange}})],1)],1)]),n("div",{staticClass:"main-block"},[n("div",{staticClass:"block-title"},[e._v("已选:")]),n("div",{staticClass:"block-card block-card-right"},[n("ul",{staticClass:"opt-wrap",attrs:{id:"opt-wrap"}},e._l(e.selectedList,(function(t,i){return n("li",{key:i,staticClass:"opt",attrs:{"data-memberNo":t.userId||t.memberNo}},[n("span",{staticClass:"opt-name"},[e._v(e._s(t.name||t.userName))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.deleteOpt(t,i)}}})])})),0)])])]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.cancel}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 认")])],1)])],1)},oY=[],aY=(n("54ff"),{name:"FlowNodeForm",components:{},props:{type:{type:Number,default:0},orgVisible:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}}},data:function(){return{isSearching:!1,currentSelectedAll:!1,searchValue:null,loading:!1,orgData:null,selectedList:[],defaultCheck:[],defaultProps:{children:"children",label:"name"}}},computed:{title:function(){return 0===this.type?"请选择审批人":"请选择抄送人"}},watch:{currentLevelList:{handler:function(e){this.generateSelectedList(),this.generateCurrentSelectedAll()},deep:!0},searchValue:{handler:function(e){this.$refs.tree.filter(e)}}},created:function(){var e=this;return d(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.getOrgData();case 1:case"end":return t.stop()}}),t)})))()},methods:{init:function(e){var t=this;this.selectedList=_.cloneDeep(e);var n=e.map((function(e){return e.memberNo||e.userId})),i=function e(i){i.forEach((function(i){2===i.holidayType&&n.includes(i.memberNo||i.userId)?t.$refs.tree.setChecked(i.uniqueProp,!0):2!==i.holidayType&&i.children.length&&e(i.children)}))};i(this.orgData)},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},getOrgData:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,zI.getOrgsData();case 3:n=t.sent,200===n.data.code&&(n.data.data.checked=!1,e.orgData=e.dataFormatter([n.data.data]),e.currentLevelList=e.orgData,e.loading=!1);case 5:case"end":return t.stop()}}),t)})))()},dataFormatter:function(e){var t={},n=function e(n){n.forEach((function(n){2!==n.holidayType?(n.children=n.children.concat(n.contacts),n.uniqueProp=n.id,n.children.length&&e(n.children)):(t[n.memberNo]?t[n.memberNo]=t[n.memberNo]+1:t[n.memberNo]=1,n.uniqueProp=n.memberNo+"-"+t[n.memberNo])}))};return n(e),e},handleCheckChange:function(e,t,n){var i;if(void 0===n){var r=e.uniqueProp;i=t.checkedKeys.includes(r)}else i=n;if(i){var o=this.selectedList.map((function(e){return e.memberNo})),a=this.$refs.tree.getCheckedNodes().filter((function(e){return 2===e.holidayType})).filter((function(e){return!o.includes(e.memberNo)}));this.selectedList=this.uniqueList(this.selectedList.concat(this.uniqueList(a)))}else{var s=e.memberNo;if(s){var l=t.checkedKeys.some((function(e){return e.split("-")[0]===s}));if(!l){var u=this.selectedList.indexOf(e);this.selectedList.splice(u,1)}}else for(var c=0;c<e.children.length;c++)this.handleCheckChange(e.children[c],t,!1)}},uniqueList:function(e){var t=[],n=[];return e.map((function(e){n.includes(e.memberNo||e.userId)||(t.push(e),n.push(e.memberNo||e.userId))})),t},generateSelectedList:function(){var e=[],t=function t(n){n.forEach((function(n){n.checked&&e.push(n),n.children&&t(n.children)}))};t(this.orgData),this.selectedList=e},deleteOpt:function(e,t){var n=this;this.selectedList.splice(t,1);var i=function t(i){i.forEach((function(i){2===i.holidayType&&i.memberNo===e.memberNo?n.$refs.tree.setChecked(i.uniqueProp,!1):2!==i.holidayType&&i.children.length&&t(i.children)}))};i(this.orgData)},cancel:function(){this.$emit("close")},confirm:function(){if(this.selectedList.length>25){var e=0===this.type?"申请人最多选择25人":"抄送人最多选择25人";return this.$message.warning(e),!1}var t={list:this.selectedList,type:this.type};this.$emit("close"),this.$emit("confirm",JSON.stringify(t))}}}),sY=aY,lY=(n("3c5c"),uO(sY,rY,oY,!1,null,"64f53724",null)),uY=lY.exports,cY={components:{FlowNodeForm:uY},props:{value:{type:Boolean,default:!0},queryInfo:{type:Object,default:function(){return{}}}},data:function(){return{isCCTask:!1,isCCTaskType:1,visible:!1,approverType:"3",approverMode:1,passCopy:!0,nodeVisible:!1,notifierList:[],approverList:[],directorType:{typeName:"",type:"1",authType:"1"},director:{},memberSelectorType:null,options:[],optionsList:[{value:"直接主管",key:0},{value:"第2级主管",key:1},{value:"第3级主管",key:2},{value:"第4级主管",key:3},{value:"第5级主管",key:4},{value:"第6级主管",key:5},{value:"第7级主管",key:6},{value:"第8级主管",key:7},{value:"第9级主管",key:8},{value:"第10级主管",key:9}],valueKey:"直接主管",appList:[{directorName:"",directorId:""}]}},watch:{value:function(e){this.visible=e}},mounted:function(){this.direSxyList()},methods:{init:function(e){var t=this,n=e.type,i=e.nodeUserList,r=e.examineMode,o=e.authType,a=e.setType,s=e.directorLevel,l={approverType:r,approvers:1==n?i:[],passCopy:!0,notifiers:2==n?i:[],directorType:{typeName:"",type:parseInt(a),authType:o}};this.isCCTask=2==n,this.directorType=l.directorType,this.directorType.authType=l.directorType&&l.directorType.authType?l.directorType.authType:"1",this.approverMode=l.directorType&&l.directorType.type?l.directorType.type:"1",this.directorType&&"1"==this.directorType.type&&(this.approverList=l.approvers),this.directorType&&"2"==this.directorType.type&&(this.options.map((function(e){e.key==s&&(t.valueKey=e.value)})),this.approverList[0]={directorId:s,directorName:this.valueKey}),this.approverType=l.approverType||"3",this.notifierList=l.notifiers,this.passCopy=void 0===l.passCopy||l.passCopy,this.visible=!0},approverModeChange:function(e){this.$parent.changeType(e)},examineModeChange:function(e){this.$parent.examineModeChange(e)},noHanderActionChange:function(e){this.$parent.noHanderActionChange(e)},changeEvent:function(e,t){this.approverList=[{directorName:"",directorId:""}];for(var n=0;n<t.length;n++)t[n].value==e&&(this.approverList[0].directorName=t[n].value,this.approverList[0].directorId=t[n].key);this.$parent.directorLevelChange(this.approverList[0].directorId)},direSxyList:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Gj();case 2:n=t.sent,"ok"==n.data.state?e.options=n.data.data:e.options=e.optionsList;case 4:case"end":return t.stop()}}),t)})))()},showApproverSelector:function(){this.visible=!this.visible},memberSelectorConfirm:function(e){var t=JSON.parse(e);0===t.type?this.approverList=t.list:this.notifierList=t.list},showStaffSelector:function(e){var t=this;this.memberSelectorType=e,this.nodeVisible=!0;var n=0===e?this.approverList:this.notifierList;this.$nextTick((function(){t.$refs.nodeForm.init(n)}))},removeItem:function(e,t){this[e].splice(t,1)},clear:function(e){this[e]=[]},cancel:function(){this.visible=!this.visible},submit:function(){this.directorType.type=this.approverMode,this.directorType.typeName=1==this.approverMode?"指定成员":"主管";for(var e=[],t=0;t<this.notifierList.length;t++){var n=this.notifierList[t];e.push({id:n.id,userName:n.name||n.userName,phone:n.phone,roleName:n.roleName,companyId:n.comNo||n.companyId,userId:n.memberNo})}if(this.isCCTask){var i=e.map((function(e){return e.type="1",e.memberNo=e.userId,e})),r={approverType:this.approverType,approvers:this.appList,notifiers:i,passCopy:this.passCopy,directorType:this.directorType};this.$parent.submitCopyer(r)}else if(1==this.approverMode){if(!this.approverList.length)return void this.$message.warning("请配置审批人");for(var o=[],a=0;a<this.approverList.length;a++){var s=this.approverList[a];s.id&&o.push({id:s.id,userName:s.userName||s.name,phone:s.phone,roleName:s.roleName,companyId:s.comNo||s.companyId,userId:s.memberNo||s.userId})}var l={approverType:this.approverType,approvers:o,notifiers:e,passCopy:this.passCopy,directorType:this.directorType};l.directorType.authType="",this.$parent.submitApprover(l)}else{this.appList[0].directorName=this.approverList[0]?this.approverList[0].directorName:"直接主管",this.appList[0].directorId=this.approverList[0]?this.approverList[0].directorId:0;var u={approverType:this.approverType,approvers:this.appList,notifiers:e,passCopy:this.passCopy,directorType:this.directorType};void 0==u.approvers[0].directorId&&(u.approvers[0].directorId=0,u.approvers[0].directorName="直接主管"),this.$parent.submitApprover(u)}}},computed:{filterType:function(e){return"notice"!=this.queryInfo.type&&"officialDocument"!=this.queryInfo.type}}},dY=cY,hY=(n("0b2d"),uO(dY,nY,iY,!1,null,"0922466c",null)),fY=hY.exports,pY=n("7c98"),mY=n.n(pY),vY=function(e){this.item=e,this.lists=[]};vY.prototype.add=function(e){this.lists.push(e)},vY.prototype.scan=function(){console.log("扫描",this.item);for(var e=0;e<this.lists.length;e++)console.log(this.item.from+"----\x3e"+this.lists[e].item.to),this.lists[e].scan()};var gY=function(e){this.item=e};function yY(e,t,n,i,r,o,a,s){var l={id:e,name:t,type:n,left:i,top:r,from:o,to:a,isCondition:"0"};return"userTask"==n?l=Object.assign(l,{approverType:"3",approvers:[],notifiers:[],passCopy:!0,directorType:{typeName:"指定成员",type:1,authType:"1"}}):"condition"==n&&(l=Object.assign(l,{desc:"",conditions:[],a:s})),l}function bY(e){for(var t=e.map((function(e){return e.level=1,e})),n=function(e){if(!t[e].lists)return"continue";var n=t[e].lists.map((function(n){return n.level=t[e].level+1,n}));t.splice.apply(t,[e+1,0].concat(bO(n)))},i=0;i<t.length;i++)n(i);return t}function _Y(e){return function(t,n){var i=t[e],r=n[e];return i-r}}gY.prototype.add=function(){throw Error("文件下不能添加其它文件夹或文件")},gY.prototype.scan=function(){console.log("-----\x3e",this.item)};var wY={props:["queryInfo","tools","path","userInfo"],data:function(){var e;return e={approverSelectorData:{approverList:[],notifierList:[]},memberSelectorType:0,selectorVisible:!1,jsPlumb:null,isFlg:!0,isEdit:!0,easyFlowVisible:!0,nodeVisible:!1,nodeInfo:{},data:{nodeList:[],lineList:[]},connection:{},title:"",conditionVisible:!1,showAddNode:!1,addNodeInfo:{top:"0",left:"0",isShwo:!0},root:new vY(yY("0","根节点","root","320px","20px","1","2")),currentChooseItem:{},currentNode:{sourceId:"",targetId:""},id:0,params:{},processId:""},o(e,"isFlg",!0),o(e,"isClick",!0),o(e,"name",""),o(e,"version",1),o(e,"indexFlg",1),e},components:{flowNode:hO,FlowNodeCondition:KI,addNodeBox:tY,approverSelector:fY},computed:{user:function(){return""},orgSelectorList:function(){return 0===this.memberSelectorType?this.nodeInfo.approvers:this.nodeInfo.notifiers}},created:function(){this.type=this.queryInfo.type},mounted:function(){this.jsPlumbInit()},methods:{save:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.userInfo,!1,"/index"==e.path&&(e.params.menuId=""),e.params.switchOn=e.isFlg?"1":"0",!e.processId){t.next=11;break}return i={id:e.processId+"",content:JSON.stringify(e.params)},t.next=8,Wj(i);case 8:n=t.sent,t.next=15;break;case 11:return r={content:JSON.stringify(e.params)},t.next=14,$j(r);case 14:n=t.sent;case 15:o=0;case 16:if(!(o<e.params.nodeList.length)){t.next=23;break}if("userTask"!=e.params.nodeList[o].item.type||0!=e.params.nodeList[o].item.approvers.length||!e.params.nodeList[o].item.directorType||1!=e.params.nodeList[o].item.directorType.type){t.next=20;break}return e.$message.error("当前审批流程中【"+e.params.nodeList[o].item.name+"】节点审批人不能为空"),t.abrupt("return");case 20:o++,t.next=16;break;case 23:"ok"==n.data.state?(e.$message.success({message:e.processId?"编辑成功":"保存成功",duration:1500}),e.processId=n.data.data,-1==e.type.indexOf("customForm_")&&(e.$removeTag1(e.$route),e.$router.go(-1))):e.$message.error({message:n.data.msg?n.data.msg:"保存失败",duration:1500});case 24:case"end":return t.stop()}}),t)})))()},cancal:function(){var e=this;this.$confirm("有修改的内容未保存,确认离开吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$removeTag1(e.$route),e.$router.go(-1)})).catch((function(){}))},initProcess:function(){this.easyFlowVisible=!1;var e=new vY(yY("1","开始","start","320px","20px","1","2")),t=new vY(yY("2","审批人","userTask","320px","200px","1","3")),n=new vY(yY("3","抄送人","ccTask","320px","350px","7","5")),i=new vY(yY("5","结束","end","320px","330px","2","5"));this.root.add(e),e.add(t),t.add(n),n.add(i),this.refresh()},refresh:function(){this.jsPlumb.reset();for(var e,t,n,i=this.root.lists,r=(i[0],bY(i)),o=this,a=0,s=0,l=0,u=0;u<r.length;u++){var c=r[u];if(parseFloat(c.item.left)>a&&(a=parseFloat(c.item.left)),l<c.level&&"end"!=c.item.type&&(l=c.level),"end"==c.item.type&&(e=c),"start"==c.item.type&&(t=c),"addCondition"==c.item.type){n=c;var d=n.lists[0],h=n.lists[n.lists.length-1],f=parseFloat(d.item.left)+parseFloat(h.item.left);s<f/2&&(s=f/2),n.item.left=f/2+"px"}}console.log(l);var p=s>0?s:(a+320)/2;e.item.left=p+"px",e.level=l+1,e.item.top=200*(e.level-1)+20+"px",t.item.left=p+"px",this.data.nodeList=r,this.easyFlowVisible=!0;var m=["Label",{location:0,label:"",cssClass:"aLabel",events:{click:function(e,t){var n=e.getElement(),i=parseFloat(n.style.top)-35,r=parseFloat(n.style.left)+30;o.showAddNode=!0,o.addNodeInfo={top:i,left:r};var a=e.component,s=a.sourceId.replace("flowchartWindow",""),l=a.targetId.replace("flowchartWindow","");o.currentNode.sourceId=s,o.currentNode.targetId=l}}}],v={endpoint:["Dot",{radius:3}],connector:["Flowchart"],anchors:["Bottom","Top"],overlays:[["Arrow",{width:10,length:10,location:1}],m]},g={endpoint:["Dot",{radius:3}],connector:["Flowchart"],anchors:["Bottom","Top"],overlays:[["Arrow",{width:10,length:10,location:1}]]};this.$nextTick((function(){for(var e=[],t=this,n=0;n<this.data.nodeList.length;n++){var i=this.data.nodeList[n];if(this.jsPlumb.draggable("flowchartWindow"+i.item.id,{grid:[20,20],containment:"parent",stop:function(e){t.isClick=!1,setTimeout((function(){t.isClick=!0}),1e3),e.e.preventDefault()}}),"end"!=i.item.type)if(i.lists.length>0&&"addCondition"==i.item.type)for(var r=0;r<i.lists.length;r++){var o=i.lists[r],a={id:o.item.id,type:"condition",name:o.item.name,left:o.item.left,top:o.item.top,from:o.item.from,gateWayKey:i.item.id,to:o.item.to,conditions:o.item.conditions,ifNo:10,desc:o.item.desc,isCondition:o.item.isCondition};e.push(a),this.jsPlumb.connect({source:"flowchartWindow"+i.item.id,target:"flowchartWindow"+o.item.id},g)}else this.jsPlumb.connect({source:"flowchartWindow"+i.item.id,target:"flowchartWindow"+i.item.to},v)}this.loadEasyFlowFinish=!0;var s={name:this.name,desc:"",creator:this.user.no,processId:this.processId,startId:"1",endId:"5",companyId:this.user.cno,type:this.type,switchOn:this.isFlg?"1":"0",gateWayList:e,nodeList:this.data.nodeList,lineList:[],version:this.version};this.params=s}))},jsPlumbInit:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o,a,s,l,u,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,e.jsPlumb=rO.a.jsPlumb?rO.a.jsPlumb.getInstance():rO.a.getInstance(),e.jsPlumb.importDefaults({ConnectionsDetachable:!1}),n={companyId:e.user.cno+"",type:e.type},t.next=6,qj(n);case 6:i=t.sent,i.data.data&&i.data.data.gateWays?(r=JSON.parse(i.data.data.content),e.data={nodeList:r.nodeList,lineList:r.lineList},e.name=e.queryInfo.name?e.queryInfo.name+"流程":r.name,e.isFlg=0!=r.switchOn,e.processId=i.data.data._id,e.version=i.data.data.rootNode.version,e.root.add(r.nodeList[0]),e.refresh(),o=r.nodeList.map((function(e){return parseFloat(e.item.id)})),e.id=Math.max.apply(null,o)):i.data.data&&i.data.data._id?(e.processId=i.data.data._id,a=JSON.parse(i.data.data.content),e.name=a.name,e.name=e.queryInfo.name?e.queryInfo.name+"流程":a.name,e.isFlg=0!=a.switchOn,e.version=i.data.data.rootNode.version,s=e.dataTonewList(a.nodeList),s?(e.refresh(),l=a.nodeList.map((function(e){return parseFloat(e.id)})),e.id=Math.max.apply(null,l),setTimeout(d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={id:e.processId+"",content:JSON.stringify(e.params)},console.log(n),t.next=4,Uj(n);case 4:t.sent;case 5:case"end":return t.stop()}}),t)}))),200)):(e.name=e.queryInfo.name?e.queryInfo.name+"流程":"流程",e.initProcess(),u=bY(e.root.lists),e.id=u.length+10)):(e.name=e.queryInfo.name?e.queryInfo.name+"流程":"流程",e.initProcess(),c=bY(e.root.lists),e.id=c.length+10);case 8:case"end":return t.stop()}}),t)})))()},dataTonewList:function(e){var t=this.root,n=1,i=!0;while("end"!=t.item.type&&i){var r=this.getCurrentNode(e,n);if(!r){i=!1;break}var o=new vY(yY(r.id,r.name,r.type,r.left,r.top,r.from,r.to));"userTask"==r.type&&(o.item=Object.assign(o.item,{approverType:r.approverType,approvers:r.approvers,notifiers:r.notifiers,passCopy:r.passCopy})),"condition"==r.type?(n=r.to,t.item.to=r.to):(t.add(o),n=r.to,t=o)}return i},getCurrentNode:function(e,t){var n=e.filter((function(e){return e.id==t}));return n.length>0?n[0]:null},setNode:function(e){console.log(e);var t=JSON.parse(e);this.activeNode.directorType=t.directorType,this.activeNode.approverType=t.approverType,this.activeNode.approvers=t.approvers,this.activeNode.notifiers=t.notifiers,this.activeNode.passCopy=t.passCopy,this.$refs.flowNode.map((function(e){e.refreshFlowItem()}))},deleteNode:function(e,t){var n=this;3!=this.data.nodeList.length?this.$confirm("确定需要删除当前节点?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var i=null;n.findNodeById(n.root,e.id);var r=_.cloneDeep(n.currentChooseItem);if(n.findNodeById(n.root,e.from),console.log(r.item.type),"userTask"==r.item.type)n.currentChooseItem.item.to=r.item.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,o=i.type,a=i.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=r.item.to)}));else if("ccTask"==r.item.type)n.currentChooseItem.item.to=r.item.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,o=i.type,a=i.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=r.item.to)}));else{var o=n.currentChooseItem.lists.length;if(o>2)n.currentChooseItem.lists.forEach((function(t,r){t.item.id==e.id&&(n.currentChooseItem.lists.splice(r,1),0==r&&(n.currentChooseItem.item.to=n.currentChooseItem.lists[1].item.id,i=n.currentChooseItem.lists[1]))}));else{var a=_.cloneDeep(n.currentChooseItem.lists[0].lists[0]),s=n.currentChooseItem.item.from;a?(a.item.from=s,a.item.left=n.currentChooseItem.item.left,n.findNodeById(n.root,s),n.currentChooseItem.item.to=a.item.id,n.currentChooseItem.lists=[a],n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,r=i.type,o=i.from;"condition"==r&&o==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=a.item.id)}))):(n.findNodeById(n.root,s),n.currentChooseItem.item.to=t.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,i){var r=n.data.nodeList[i].item,o=r.type,a=r.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[i].item.to=t.to)})))}}var l=bY(n.root.lists);if(i){var u=l.filter((function(e){return"end"==e.item.type})),c=new vY(yY("5","结束","end","320px","380px","","5"));if(u.length<1){var d=n.getLastList(i);d.push(c)}n.setResultToNode()}l.sort(_Y("level"));for(var h=0;h<l.length;h++){var f=l[h],p=200*(f.level-1)+20;f.item.top=p+"px"}n.refresh()})).catch((function(){})):this.$message.error("流程中必须保留一个审批或抄送节点")},getLastList:function(e){return 0==e.lists.length?e.lists:this.getLastList(e.lists[0])},changeNodeSite:function(){},nodeRightMenu:function(){},addNode:function(e){var t;if(this.showAddNode=!1,this.findNodeById(this.root,this.currentNode.sourceId),this.id+=1,"condition"==e.type){console.log(this.currentNode),console.log(this.currentChooseItem),t=new vY(yY(this.id,"条件"+this.id,"addCondition",this.currentChooseItem.item.left,"20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="1",this.currentChooseItem.item.to=t.item.id;var n=null;this.currentChooseItem.lists.length>0&&(this.currentChooseItem.lists[0].item.from=t.item.id,n=_.cloneDeep(this.currentChooseItem.lists[0])),this.id+=1;var i=new vY(yY(this.id,"条件1","condition","320px","20px",this.currentNode.sourceId,this.currentNode.targetId));t.item.to=i.item.id,i.item.from=t.item.id,i.item.to=n?n.item.id:this.currentNode.targetId,n&&"addCondition"==n.item.type&&(i.item.isCondition="1"),n&&(n.item.from=i.item.id,i.lists.push(n)),this.currentChooseItem.lists[0]=t,t.lists.push(i),this.addExtraCondition(event,!0)}else if("copyUser"==e.type){if(t=new vY(yY(this.id,"抄送人","ccTask","320px","20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="0",this.currentChooseItem.item.to=t.item.id,t.item.left=this.currentChooseItem.item.left,this.currentChooseItem.lists&&this.currentChooseItem.lists.length>0){this.currentChooseItem.lists[0].item.from=t.item.id;var r=_.cloneDeep(this.currentChooseItem.lists[0]);this.currentChooseItem.lists[0]=t,t.lists.push(r)}else this.currentChooseItem.lists.push(t);var o=bY(this.root.lists);o.sort(_Y("level"));for(var a=0;a<o.length;a++){var s=o[a],l=200*(s.level-1)+20;s.item.top=l+"px"}}else{if(t=new vY(yY(this.id,"审批人","userTask","320px","20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="0",this.currentChooseItem.item.to=t.item.id,t.item.left=this.currentChooseItem.item.left,this.currentChooseItem.lists&&this.currentChooseItem.lists.length>0){this.currentChooseItem.lists[0].item.from=t.item.id;var u=_.cloneDeep(this.currentChooseItem.lists[0]);this.currentChooseItem.lists[0]=t,t.lists.push(u)}else this.currentChooseItem.lists.push(t);var c=bY(this.root.lists);c.sort(_Y("level"));for(var d=0;d<c.length;d++){var h=c[d],f=200*(h.level-1)+20;h.item.top=f+"px"}}this.refresh()},editNode:function(){},showForm:function(e){var t=this;if(console.log(this.data.nodeList,"showForm"),console.log(e),this.activeNode=e,"condition"==e.type){var n=mY.a.cloneDeep(e),i={};n.conditions.forEach((function(e,t){e.isArray&&"userId"!=e.variable&&(e.value=e.value.split(",")),i[e.variable]=e})),this.connection=i,this.title=e.name,this.conditionVisible=!0}else if("ccTask"==e.type){console.log(e);var r={approverType:"1",approvers:e.approvers||[],notifiers:e.notifiers||[],directorType:{typeName:"指定成员",type:1,authType:"1",isCCTask:!0}};console.log(r),this.$nextTick((function(){t.$refs.approverSelector.init(r)}))}else if("userTask"==e.type){e.approvers.forEach((function(e){e.name=e.userName,e.memberNo=e.userId})),e.notifiers.forEach((function(e){e.name=e.userName,e.memberNo=e.userId})),console.log(e.directorType,"*****");var o={approverType:e.approverType,approvers:e.approvers||[],notifiers:e.notifiers||[],passCopy:e.passCopy};this.nodeInfo=o,e.directorType?o.directorType=e.directorType:o.directorType={typeName:"指定成员",type:1,authType:"1"},0!=e.approvers.length?o.approvers=e.approvers:o.approvers=[{directorId:0,directorName:"直接主管"}],this.$nextTick((function(){t.$refs.approverSelector.init(o)}))}},changeNodeName:function(e){"condition"==e.node.type&&this.params.gateWayList.forEach((function(t,n){t.id==e.node.id&&(t.name=e.name)})),e.node.name=e.name},editName:function(e){this.title=e,this.activeNode.name=e},setCondition:function(e){var t=this;console.log(e);var n=Object.entries(e.form).map((function(t){var n=nO(t,2),i=n[0],r=n[1];return Array.isArray(r.value)?s(s({},r),{},{variable:i,value:"userId"==i||i==e.SxyData?"":r.value.join(","),opt:"=",isArray:!0,sponsors:"userId"==i||i==e.SxyData?r.sponsors:[]}):s(s({},r),{},{variable:i,isArray:!1})}));this.activeNode.conditions=n,this.activeNode.desc=e.desc.join(" 并且 "),this.params.gateWayList.forEach((function(e){e.id==t.activeNode.id&&(e.conditions=t.activeNode.conditions,e.desc=t.activeNode.desc)})),this.conditionVisible=!1},dataReload:function(e){},findNodeById:function(e,t){var n=this;e.item.id!=t?e.lists.forEach((function(e,i){e.item.id!=t?n.findNodeById(e,t):n.currentChooseItem=e})):n.currentChooseItem=e},addExtraCondition:function(e,t){if(this.isClick){var n=e.currentTarget,i=n.id;""!=i&&(i=i.replace("flowchartWindow",""),this.findNodeById(this.root,parseInt(i))),this.id+=1;var r=t?1:Math.max.apply("",this.currentChooseItem.lists.map((function(e){return parseFloat(e.item.name.substring(2))})));r++;var o,a=new vY(yY(this.id,"条件"+r,"condition","320px","20px",this.currentNode.sourceId,this.currentNode.targetId));if(""==i){o=this.currentChooseItem.lists[0];this.currentChooseItem.lists[0].lists.length;this.currentChooseItem.lists[0].lists.push(a)}else o=this.currentChooseItem,this.currentChooseItem.lists.push(a);a.item.from=o.item.id,a.item.to=o.lists[0].item.to,this.setResultToNode(),this.refresh()}},setResultToNode:function(){var e=bY(this.root.lists);e.sort(_Y("level")),console.log(e,"result");for(var t=320,n=e.length;n>0;n--){for(var i=e[n-1],r=0;r<i.lists.length;r++){var o=i.lists[r];0==r?o.item.left=t/2+"px":(t+=320,o.item.left=t+"px",this.resetNodeLeft(o))}var a=200*(i.level-1)+20;i.item.top=a+"px"}this.data.nodeList=e},resetNodeLeft:function(e){var t=this;"condition"==e.item.type||"userTask"==e.item.type?e.lists.length>0&&e.lists.forEach((function(n){n.item.left=e.item.left,t.resetNodeLeft(n)})):"addCondition"==e.item.type&&e.lists.forEach((function(n,i){n.item.left=parseFloat(e.item.left)-160+320*i+"px",t.resetNodeLeft(n)}))}}},xY=wY,kY=(n("ee82"),uO(xY,Kj,Jj,!1,null,null,null)),MY=kY.exports,SY=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[4!=e.nodeConfig.type?n("div",{staticClass:"node-wrap"},[n("div",{staticClass:"node-wrap-box",class:(0==e.nodeConfig.type?"start-node ":"")+(e.isTried&&e.nodeConfig.error?"active error":"")},[n("div",[n("div",{staticClass:"title",style:"background: rgb("+["87, 106, 149","255, 148, 62","50, 150, 250"][e.nodeConfig.type]+");"},[n("span",{directives:[{name:"show",rawName:"v-show",value:1==e.nodeConfig.type,expression:"nodeConfig.type==1"}],staticClass:"iconfont"},[e._v("")]),n("span",{directives:[{name:"show",rawName:"v-show",value:2==e.nodeConfig.type,expression:"nodeConfig.type==2"}],staticClass:"iconfont"},[e._v("")]),0==e.nodeConfig.type?n("span",[e._v(e._s(e.nodeConfig.nodeName))]):e._e(),0!=e.nodeConfig.type&&e.isInput?n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.nodeConfig.nodeName,expression:"nodeConfig.nodeName"}],staticClass:"ant-input editable-title-input",attrs:{type:"text",placeholder:e.placeholderList[e.nodeConfig.type]},domProps:{value:e.nodeConfig.nodeName},on:{blur:function(t){return e.blurEvent()},focus:function(e){return e.currentTarget.select()},input:function(t){t.target.composing||e.$set(e.nodeConfig,"nodeName",t.target.value)}}}):e._e(),0==e.nodeConfig.type||e.isInput?e._e():n("span",{staticClass:"editable-title",on:{click:function(t){return e.clickEvent()}}},[e._v(e._s(e.nodeConfig.nodeName))]),0!=e.nodeConfig.type?n("i",{staticClass:"anticon anticon-close close",on:{click:function(t){return e.delNode()}}}):e._e()]),n("div",{staticClass:"content",on:{click:e.setPerson}},[0==e.nodeConfig.type?n("div",{staticClass:"text"},[e._v(e._s(e.arrToStr(e.flowPermission)?e.arrToStr(e.flowPermission):"请求发起人"))]):e._e(),1==e.nodeConfig.type?n("div",{staticClass:"text"},[e.setApproverStr(e.nodeConfig)?e._e():n("span",{staticClass:"placeholder"},[e._v("请选择"+e._s(e.placeholderList[e.nodeConfig.type]))]),e._v("\n "+e._s(e.setApproverStr(e.nodeConfig))+"\n ")]):e._e(),2==e.nodeConfig.type?n("div",{staticClass:"text"},[e.copyerStr(e.nodeConfig)?e._e():n("span",{staticClass:"placeholder"},[e._v("请选择"+e._s(e.placeholderList[e.nodeConfig.type]))]),e._v("\n "+e._s(e.copyerStr(e.nodeConfig))+"\n ")]):e._e(),n("i",{staticClass:"anticon anticon-right arrow"})]),e.isTried&&e.nodeConfig.error?n("div",{staticClass:"error_tip"},[n("i",{staticClass:"anticon anticon-exclamation-circle",staticStyle:{color:"rgb(242, 86, 67)"}})]):e._e()])]),n("addNode",{attrs:{childNodeP:e.nodeConfig.childNode},on:{"update:childNodeP":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:child-node-p":function(t){return e.$set(e.nodeConfig,"childNode",t)}}})],1):e._e(),4==e.nodeConfig.type?n("div",{staticClass:"branch-wrap"},[n("div",{staticClass:"branch-box-wrap"},[n("div",{staticClass:"branch-box"},[n("button",{staticClass:"add-branch",on:{click:e.addTerm}},[e._v("添加条件")]),e._l(e.nodeConfig.conditionNodes,(function(t,i){return n("div",{key:i,staticClass:"col-box"},[n("div",{staticClass:"condition-node"},[n("div",{staticClass:"condition-node-box"},[n("div",{staticClass:"auto-judge",class:e.isTried&&t.error?"error active":""},[0!=i?n("div",{staticClass:"sort-left",on:{click:function(t){return e.arrTransfer(i,-1)}}},[e._v("<")]):e._e(),n("div",{staticClass:"title-wrapper"},[e.isInputList[i]?n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:t.nodeName,expression:"item.nodeName"}],staticClass:"ant-input editable-title-input",attrs:{type:"text"},domProps:{value:t.nodeName},on:{blur:function(t){return e.blurEvent(i)},focus:function(e){return e.currentTarget.select()},input:function(n){n.target.composing||e.$set(t,"nodeName",n.target.value)}}}):e._e(),e.isInputList[i]?e._e():n("span",{staticClass:"editable-title",on:{click:function(t){return e.clickEvent(i)}}},[e._v(e._s(t.nodeName))]),n("span",{staticClass:"priority-title",on:{click:function(n){return e.setPerson(t.priority,t)}}},[e._v("优先级"+e._s(t.priority))]),n("i",{staticClass:"anticon anticon-close close",on:{click:function(t){return e.delTerm(i)}}})]),i!=e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"sort-right",on:{click:function(t){return e.arrTransfer(i)}}},[e._v(">")]):e._e(),n("div",{staticClass:"content",on:{click:function(n){return e.setPerson(t.priority,t)}}},[e._v(e._s(e.conditionStr(t,i)))]),e.isTried&&t.error?n("div",{staticClass:"error_tip"},[n("i",{staticClass:"anticon anticon-exclamation-circle",staticStyle:{color:"rgb(242, 86, 67)"}})]):e._e()]),n("addNode",{attrs:{childNodeP:t.childNode},on:{"update:childNodeP":function(n){return e.$set(t,"childNode",n)},"update:child-node-p":function(n){return e.$set(t,"childNode",n)}}})],1)]),t.childNode&&t.childNode?n("nodeWrap",{attrs:{nodeConfig:t.childNode,tableId:e.tableId,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel},on:{"update:nodeConfig":function(n){return e.$set(t,"childNode",n)},"update:node-config":function(n){return e.$set(t,"childNode",n)},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}):e._e(),0==i?n("div",{staticClass:"top-left-cover-line"}):e._e(),0==i?n("div",{staticClass:"bottom-left-cover-line"}):e._e(),i==e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"top-right-cover-line"}):e._e(),i==e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"bottom-right-cover-line"}):e._e()],1)}))],2),n("addNode",{attrs:{childNodeP:e.nodeConfig.childNode},on:{"update:childNodeP":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:child-node-p":function(t){return e.$set(e.nodeConfig,"childNode",t)}}})],1)]):e._e(),e.nodeConfig.childNode&&e.nodeConfig.childNode?n("nodeWrap",{attrs:{nodeConfig:e.nodeConfig.childNode,tableId:e.tableId,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel,queryInfo:e.queryInfo},on:{"update:nodeConfig":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:node-config":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}):e._e(),n("ApproverSelector",{ref:"approverSelector",attrs:{queryInfo:e.queryInfo}}),n("NodeConditionConfig",{ref:"conditionForm",attrs:{formData:e.connection,title:e.title,queryInfo:e.queryInfo}})],1)},CY=[],DY=(n("a575"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"add-node-btn-box"},[n("div",{staticClass:"add-node-btn"},[n("el-popover",{attrs:{placement:"right-start"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("div",{staticClass:"add-node-popover-body"},[n("a",{staticClass:"add-node-popover-item approver",on:{click:function(t){return e.addType(1)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("审批人")])])]),n("a",{staticClass:"add-node-popover-item notifier",on:{click:function(t){return e.addType(2)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("抄送人")])])]),n("a",{staticClass:"add-node-popover-item condition",on:{click:function(t){return e.addType(4)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("条件分支")])])])]),n("button",{staticClass:"btn",attrs:{slot:"reference",type:"button"},slot:"reference"},[n("span",{staticClass:"iconfont"},[e._v("")])])])],1)])}),LY=[],TY={props:["childNodeP"],data:function(){return{visible:!1}},methods:{addType:function(e){var t;(this.visible=!1,4!=e)?(1==e?t={nodeName:"审批人",error:!0,type:1,setType:1,directorLevel:1,examineMode:"3",authType:"1",childNode:this.childNodeP,nodeUserList:[]}:2==e&&(t={nodeName:"抄送人",type:2,ccSelfSelectFlag:1,childNode:this.childNodeP,nodeUserList:[]}),this.$emit("update:childNodeP",t)):this.$emit("update:childNodeP",{nodeName:"路由",type:4,childNode:null,conditionNodes:[{nodeName:"条件1",error:!0,type:3,priority:1,conditionList:[],nodeUserList:[],childNode:this.childNodeP},{nodeName:"条件2",type:3,priority:2,conditionList:[],nodeUserList:[],childNode:null}]})}}},EY=TY,PY=uO(EY,DY,LY,!1,null,null,null),jY=PY.exports,OY={props:["nodeConfig","flowPermission","directorMaxLevel","isTried","tableId","queryInfo"],components:{ApproverSelector:fY,NodeConditionConfig:KI,addNode:jY},name:"nodeWrap",data:function(){return{placeholderList:["发起人","审批人","抄送人"],isInputList:[],isInput:!1,approverConfig:{},copyerConfig:{},ccSelfSelectFlag:[],conditionConfig:{},conditionsConfig:{conditionNodes:[]},bPriorityLevel:"",conditions:[],conditionList:[],connection:{},title:""}},mounted:function(){if(1==this.nodeConfig.type)this.nodeConfig.error=!this.setApproverStr(this.nodeConfig);else if(2==this.nodeConfig.type)this.nodeConfig.error=!this.copyerStr(this.nodeConfig);else if(4==this.nodeConfig.type)for(var e=0;e<this.nodeConfig.conditionNodes.length;e++)this.nodeConfig.conditionNodes[e].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[e],e)&&e!=this.nodeConfig.conditionNodes.length-1},created:function(){},methods:{clickEvent:function(e){e||0===e?this.$set(this.isInputList,e,!0):this.isInput=!0},blurEvent:function(e){e||0===e?(this.$set(this.isInputList,e,!1),this.nodeConfig.conditionNodes[e].nodeName=this.nodeConfig.conditionNodes[e].nodeName?this.nodeConfig.conditionNodes[e].nodeName:"条件"):(this.isInput=!1,this.nodeConfig.nodeName=this.nodeConfig.nodeName?this.nodeConfig.nodeName:this.placeholderList[this.nodeConfig.type])},setPerson:function(e,t){var n=this.nodeConfig.type;0==n||(1==n?(this.$refs.approverSelector.init(this.nodeConfig),this.approverConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.approverConfig.setType=this.approverConfig.setType?this.approverConfig.setType:1):2==n?(this.$refs.approverSelector.init(this.nodeConfig),this.copyerConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.ccSelfSelectFlag=0==this.copyerConfig.ccSelfSelectFlag?[]:[this.copyerConfig.ccSelfSelectFlag]):(this.bPriorityLevel=e,this.conditionsConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.conditionConfig=this.conditionsConfig.conditionNodes[e-1],this.$refs.conditionForm.nodeConditionHandler(),this.fillConditionForm(this.conditionConfig)))},changeType:function(e){this.approverConfig.nodeUserList=[],this.approverConfig.examineMode="3",this.approverConfig.authType="1",2==e&&(this.approverConfig.directorLevel=0),this.approverConfig.setType=e},noHanderActionChange:function(e){this.approverConfig.authType=e},directorLevelChange:function(e){this.approverConfig.directorLevel=e},examineModeChange:function(e){this.approverConfig.examineMode=e},submitApprover:function(e){e.approverType;var t=e.approvers;e.directorType,e.notifiers;this.approverConfig.nodeUserList=[],1==this.approverConfig.setType&&(this.approverConfig.nodeUserList=t),this.saveApprover(),this.$refs.approverSelector.showApproverSelector()},saveApprover:function(){this.approverConfig.error=!this.setApproverStr(this.approverConfig),this.$emit("update:nodeConfig",this.approverConfig)},setApproverStr:function(e){if(1==e.setType){if(1==e.nodeUserList.length)return e.nodeUserList[0].userName;if(e.nodeUserList.length>1){if("1"==e.examineMode)return e.nodeUserList.length+"人会签";if("2"==e.examineMode)return e.nodeUserList.length+"人或签";if("3"==e.examineMode)return e.nodeUserList.length+"人依次审批"}}else if(2==e.setType){var t=0==e.directorLevel?"直接主管":"第"+(parseInt(e.directorLevel)+1)+"级主管";if("1"==e.examineMode)return t+"会签";if("2"==e.examineMode)return t+"人或签";if("3"==e.examineMode)return t+"人依次审批"}},arrToStr:function(e){if(e)return e.map((function(e){return e.userName})).toString()},submitCopyer:function(e){e.approverType,e.approvers;var t=e.notifiers;e.passCopy,e.directorType;this.copyerConfig.nodeUserList=t,this.saveCopyer(),this.$refs.approverSelector.showApproverSelector()},saveCopyer:function(){this.copyerConfig.ccSelfSelectFlag=0==this.ccSelfSelectFlag.length?0:1,this.copyerConfig.error=!this.copyerStr(this.copyerConfig),this.$emit("update:nodeConfig",this.copyerConfig)},copyerStr:function(e){if(0!=e.nodeUserList.length)return this.arrToStr(e.nodeUserList)},delNode:function(){this.$emit("update:nodeConfig",this.nodeConfig.childNode)},addTerm:function(){var e=this.nodeConfig.conditionNodes.length+1;this.nodeConfig.conditionNodes.push({nodeName:"条件"+e,type:3,priority:e,conditionList:[],nodeUserList:[],childNode:null});for(var t=0;t<this.nodeConfig.conditionNodes.length;t++)this.nodeConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[t],t)&&t!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig)},delTerm:function(e){this.nodeConfig.conditionNodes.splice(e,1);for(var t=0;t<this.nodeConfig.conditionNodes.length;t++)this.nodeConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[t],t)&&t!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig),1==this.nodeConfig.conditionNodes.length&&(this.nodeConfig.childNode&&(this.nodeConfig.conditionNodes[0].childNode?this.reData(this.nodeConfig.conditionNodes[0].childNode,this.nodeConfig.childNode):this.nodeConfig.conditionNodes[0].childNode=this.nodeConfig.childNode),this.$emit("update:nodeConfig",this.nodeConfig.conditionNodes[0].childNode))},reData:function(e,t){e.childNode?this.reData(e.childNode,t):e.childNode=t},fillConditionForm:function(e){var t={};e.conditionList.forEach((function(e,n){e.isArray&&"userId"!=e.variable&&(e.value=e.value.split(",")),["input","sponsor"].includes(e.ele)||(e.value=e.value.split(","),e.value.map((function(t,n){return e.value[n]=parseInt(t)}))),t[e.variable]=e})),this.connection=t,this.title=e.nodeName},saveCondition:function(){var e=this.conditionsConfig.conditionNodes.splice(this.bPriorityLevel-1,1);this.conditionsConfig.conditionNodes.splice(this.conditionConfig.priority-1,0,e[0]),this.conditionsConfig.conditionNodes.map((function(e,t){return e.priority=t+1}));for(var t=0;t<this.conditionsConfig.conditionNodes.length;t++)this.conditionsConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.conditionsConfig.conditionNodes[t],t)&&t!=this.conditionsConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.conditionsConfig)},submitCondition:function(e){var t=e.form,n=e.desc;e.SxyData;for(var i in this.conditionConfig.nodeUserList=[],this.conditionConfig.conditionList=[],this.conditionConfig.desc=n,t.userId&&(this.conditionConfig.nodeUserList=t.userId.sponsors),t){var r=void 0;Array.isArray(t[i].value)&&(r={value:t[i].value.join(",")}),this.conditionConfig.conditionList.push(s(s({},t[i]),{},{variable:i},r))}this.saveCondition(),this.$refs.conditionForm.nodeConditionHandler()},conditionStr:function(e,t){var n=e.conditionList;e.nodeUserList;return 0==n.length?t==this.nodeConfig.conditionNodes.length-1&&0!=this.nodeConfig.conditionNodes[0].conditionList.length?"其他条件进入此流程":"请设置条件":e.desc?e.desc.join(";"):void 0},arrTransfer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.nodeConfig.conditionNodes[e]=this.nodeConfig.conditionNodes.splice(e+t,1,this.nodeConfig.conditionNodes[e])[0],this.nodeConfig.conditionNodes.map((function(e,t){e.priority=t+1}));for(var n=0;n<this.nodeConfig.conditionNodes.length;n++)this.nodeConfig.conditionNodes[n].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[n],n)&&n!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig)}}},IY=OY,YY=(n("94b8"),uO(IY,SY,CY,!1,null,"2e4fa73a",null)),AY=YY.exports,NY={name:"Process",components:{OldProcess:MY,nodeWrap:AY},props:{path:{type:String,default:function(){return"/index"}},queryInfo:{type:Object,default:function(){return{name:"公告管理",type:"notice"}}},userInfo:{type:Object,default:function(){return{companyNo:"202008267425615",no:""}}},formBuilder:{type:Object,default:function(){return{formDesId:""}}}},data:function(){return{isTried:!1,tipList:[],tipVisible:!1,nowVal:100,processConfig:{},nodeConfig:{},workFlowDef:{},flowPermission:[],directorMaxLevel:0,dialogVisible:!0,tableId:"",isFlg:!0,isOldData:!1,oldModal:!1,type:null,processId:null}},mounted:function(){},created:function(){this.getProcessSet(),this.type="/index"==this.path?"customForm_"+this.formBuilder.formDesId:this.queryInfo.type},methods:{initData:function(e){this.processConfig=e,this.processConfig.processId=this.processId,this.nodeConfig=this.processConfig.nodeConfig,this.flowPermission=this.processConfig.flowPermission,this.directorMaxLevel=this.processConfig.directorMaxLevel,this.workFlowDef={switchOn:!!parseInt(this.processConfig.switchOn),automaticPass:!!parseInt(this.processConfig.automaticPass)}},getProcessSet:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o,a,s,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={companyId:e.userInfo.companyNo,type:e.queryInfo.type},t.next=3,qj(n);case 3:i=t.sent,r=i.data,o=r.state,a=r.data,"ok"==o&&a?(e.processId=a._id,s=a.content,l=a.rootNode,l.isNewVersion?e.initData(JSON.parse(s)):(e.isOldData=!0,e.initData(e.handleOldProcess(s)))):e.initData(JSON.parse(JSON.stringify(f.data)));case 6:case"end":return t.stop()}}),t)})))()},handleOldProcess:function(e){var t=this,n=JSON.parse(e),i=n.nodeList,r=n.companyId,o=n.creator,a=n.describe,s=n.processName,l=n.switchOn,u=n.type,c=n.version,d=i.filter((function(e){return!["start","end"].includes(e.item.type)})),h={companyId:r,creator:o,describe:a,nodeConfig:{pkId:"sid-start-node",nodeName:"发起人",type:0,priority:"",setType:"",directorLevel:"",examineMode:"",authType:"",ccSelfSelectFlag:"",conditionList:[],nodeUserList:[],childNode:null,conditionNodes:[]},processId:this.processId,processName:s,switchOn:l,automaticPass:0,type:u,version:c},f=d.filter((function(e){return"addCondition"==e.item.type}));if(!f.length){var p={},m=[];d.map((function(e,n){d[n].item=t.createTypeData(e.item),delete d[n].lists,delete d[n].level})),d.forEach((function(e){p[e.item.id]=e.item})),d.forEach((function(e){var t=p[parseInt(e.item.from)];t?(t.children||(t.children=[])).push(e.item):m.push(e.item)})),this.flatChildNode(m[0]),h.nodeConfig.childNode=m[0]}return h},flatChildNode:function(e){e.childNode=e.children&&e.children[0]?e.children[0]:null,e.children&&e.children[0]&&(e.children[0].children&&this.flatChildNode(e.children[0]),delete e.id,delete e.from,delete e.children,delete e.childNode.id,delete e.childNode.from)},createTypeData:function(e){var t={};return"userTask"==e.type?t={nodeName:"审批人",type:1,priority:1,setType:e.directorType&&e.directorType.type||1,directorLevel:"3"==e.approverType?e.approvers[0].directorId:"",examineMode:e.approverType,authType:e.directorType&&e.directorType.type||"1",ccSelfSelectFlag:1,conditionList:[],nodeUserList:e.approvers||[],childNode:null,conditionNodes:[],error:!1,id:e.id,from:e.from}:"ccTask"==e.type&&(t={ccSelfSelectFlag:1,error:!1,type:2,nodeName:"抄送人",nodeUserList:e.notifiers,id:e.id,from:e.from}),t},showOldModal:function(){this.oldModal=!this.oldModal},toReturn:function(){},reErr:function(e){if(e.childNode){if(1==e.childNode.type)e.childNode.error&&this.tipList.push({name:e.childNode.nodeName,type:"审批人"}),this.reErr(e.childNode);else if(2==e.childNode.type)e.childNode.error&&this.tipList.push({name:e.childNode.nodeName,type:"抄送人"}),this.reErr(e.childNode);else if(3==e.childNode.type)this.reErr(e.childNode.childNode);else if(4==e.childNode.type){this.reErr(e.childNode);for(var t=0;t<e.childNode.conditionNodes.length;t++)e.childNode.conditionNodes[t].error&&this.tipList.push({name:e.childNode.conditionNodes[t].nodeName,type:"条件"}),this.reErr(e.childNode.conditionNodes[t])}}else e.childNode=null},saveSet:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isTried=!0,e.tipList=[],e.reErr(e.nodeConfig),0==e.tipList.length){t.next=6;break}return e.tipVisible=!0,t.abrupt("return");case 6:if(e.processConfig.flowPermission=e.flowPermission,e.processConfig=s(s({},e.processConfig),{},{switchOn:e.workFlowDef.switchOn?1:0,automaticPass:e.workFlowDef.automaticPass?1:0,creator:e.userInfo.no,companyId:e.userInfo.companyNo,type:e.queryInfo.type,processName:e.queryInfo.name,describe:e.queryInfo.name}),!e.processConfig.processId){t.next=14;break}return t.next=11,Vj(e.processConfig);case 11:n=t.sent,t.next=17;break;case 14:return t.next=16,Bj(e.processConfig);case 16:n=t.sent;case 17:"ok"==n.data.state?(e.$message.success({message:e.processConfig.processId?"编辑成功":"保存成功",duration:1500}),-1==e.type.indexOf("customForm_")&&(e.$removeTag1(e.$route),e.$router.go(-1))):(e.isTried=!1,e.$message.error({message:n.data.msg?n.data.msg:"保存失败",duration:1500}));case 18:case"end":return t.stop()}}),t)})))()},cancel:function(){var e=this;this.$confirm("有修改的内容未保存,确认离开吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$removeTag1(e.$route),e.$router.go(-1)})).catch((function(){}))},zoomSize:function(e){if(1==e){if(50==this.nowVal)return;this.nowVal-=10}else{if(300==this.nowVal)return;this.nowVal+=10}}}},HY=NY,RY=(n("6444"),uO(HY,l,u,!1,null,"6dbe2c3a",null)),FY=RY.exports,zY=[FY],$Y=function e(t){e.installed||(e.installed=!0,zY.map((function(e){t.component(e.name,e)})))};"undefined"!==typeof window&&window.Vue&&$Y(window.Vue);var BY=s({install:$Y},zY);t["default"]=BY},"12cb":function(e,t,n){var i=n("3a08"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"12e7":function(e,t,n){"use strict";var i=n("3866").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},1320:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
28
|
+
*/Rm.after=_y.after,Rm.ary=_y.ary,Rm.assign=zC.assign,Rm.assignIn=zC.assignIn,Rm.assignInWith=zC.assignInWith,Rm.assignWith=zC.assignWith,Rm.at=zC.at,Rm.before=_y.before,Rm.bind=_y.bind,Rm.bindAll=oj.bindAll,Rm.bindKey=_y.bindKey,Rm.castArray=fk.castArray,Rm.chain=hD.chain,Rm.chunk=Ld.chunk,Rm.compact=Ld.compact,Rm.concat=Ld.concat,Rm.cond=oj.cond,Rm.conforms=oj.conforms,Rm.constant=oj.constant,Rm.countBy=Up.countBy,Rm.create=zC.create,Rm.curry=_y.curry,Rm.curryRight=_y.curryRight,Rm.debounce=_y.debounce,Rm.defaults=zC.defaults,Rm.defaultsDeep=zC.defaultsDeep,Rm.defer=_y.defer,Rm.delay=_y.delay,Rm.difference=Ld.difference,Rm.differenceBy=Ld.differenceBy,Rm.differenceWith=Ld.differenceWith,Rm.drop=Ld.drop,Rm.dropRight=Ld.dropRight,Rm.dropRightWhile=Ld.dropRightWhile,Rm.dropWhile=Ld.dropWhile,Rm.fill=Ld.fill,Rm.filter=Up.filter,Rm.flatMap=Up.flatMap,Rm.flatMapDeep=Up.flatMapDeep,Rm.flatMapDepth=Up.flatMapDepth,Rm.flatten=Ld.flatten,Rm.flattenDeep=Ld.flattenDeep,Rm.flattenDepth=Ld.flattenDepth,Rm.flip=_y.flip,Rm.flow=oj.flow,Rm.flowRight=oj.flowRight,Rm.fromPairs=Ld.fromPairs,Rm.functions=zC.functions,Rm.functionsIn=zC.functionsIn,Rm.groupBy=Up.groupBy,Rm.initial=Ld.initial,Rm.intersection=Ld.intersection,Rm.intersectionBy=Ld.intersectionBy,Rm.intersectionWith=Ld.intersectionWith,Rm.invert=zC.invert,Rm.invertBy=zC.invertBy,Rm.invokeMap=Up.invokeMap,Rm.iteratee=oj.iteratee,Rm.keyBy=Up.keyBy,Rm.keys=Xo,Rm.keysIn=zC.keysIn,Rm.map=Up.map,Rm.mapKeys=zC.mapKeys,Rm.mapValues=zC.mapValues,Rm.matches=oj.matches,Rm.matchesProperty=oj.matchesProperty,Rm.memoize=_y.memoize,Rm.merge=zC.merge,Rm.mergeWith=zC.mergeWith,Rm.method=oj.method,Rm.methodOf=oj.methodOf,Rm.mixin=Ej,Rm.negate=Df,Rm.nthArg=oj.nthArg,Rm.omit=zC.omit,Rm.omitBy=zC.omitBy,Rm.once=_y.once,Rm.orderBy=Up.orderBy,Rm.over=oj.over,Rm.overArgs=_y.overArgs,Rm.overEvery=oj.overEvery,Rm.overSome=oj.overSome,Rm.partial=_y.partial,Rm.partialRight=_y.partialRight,Rm.partition=Up.partition,Rm.pick=zC.pick,Rm.pickBy=zC.pickBy,Rm.property=oj.property,Rm.propertyOf=oj.propertyOf,Rm.pull=Ld.pull,Rm.pullAll=Ld.pullAll,Rm.pullAllBy=Ld.pullAllBy,Rm.pullAllWith=Ld.pullAllWith,Rm.pullAt=Ld.pullAt,Rm.range=oj.range,Rm.rangeRight=oj.rangeRight,Rm.rearg=_y.rearg,Rm.reject=Up.reject,Rm.remove=Ld.remove,Rm.rest=_y.rest,Rm.reverse=Ld.reverse,Rm.sampleSize=Up.sampleSize,Rm.set=zC.set,Rm.setWith=zC.setWith,Rm.shuffle=Up.shuffle,Rm.slice=Ld.slice,Rm.sortBy=Up.sortBy,Rm.sortedUniq=Ld.sortedUniq,Rm.sortedUniqBy=Ld.sortedUniqBy,Rm.split=AE.split,Rm.spread=_y.spread,Rm.tail=Ld.tail,Rm.take=Ld.take,Rm.takeRight=Ld.takeRight,Rm.takeRightWhile=Ld.takeRightWhile,Rm.takeWhile=Ld.takeWhile,Rm.tap=hD.tap,Rm.throttle=_y.throttle,Rm.thru=BC,Rm.toArray=fk.toArray,Rm.toPairs=zC.toPairs,Rm.toPairsIn=zC.toPairsIn,Rm.toPath=oj.toPath,Rm.toPlainObject=fk.toPlainObject,Rm.transform=zC.transform,Rm.unary=_y.unary,Rm.union=Ld.union,Rm.unionBy=Ld.unionBy,Rm.unionWith=Ld.unionWith,Rm.uniq=Ld.uniq,Rm.uniqBy=Ld.uniqBy,Rm.uniqWith=Ld.uniqWith,Rm.unset=zC.unset,Rm.unzip=Ld.unzip,Rm.unzipWith=Ld.unzipWith,Rm.update=zC.update,Rm.updateWith=zC.updateWith,Rm.values=zC.values,Rm.valuesIn=zC.valuesIn,Rm.without=Ld.without,Rm.words=AE.words,Rm.wrap=_y.wrap,Rm.xor=Ld.xor,Rm.xorBy=Ld.xorBy,Rm.xorWith=Ld.xorWith,Rm.zip=Ld.zip,Rm.zipObject=Ld.zipObject,Rm.zipObjectDeep=Ld.zipObjectDeep,Rm.zipWith=Ld.zipWith,Rm.entries=zC.toPairs,Rm.entriesIn=zC.toPairsIn,Rm.extend=zC.assignIn,Rm.extendWith=zC.assignInWith,Ej(Rm,Rm),Rm.add=aM.add,Rm.attempt=oj.attempt,Rm.camelCase=AE.camelCase,Rm.capitalize=AE.capitalize,Rm.ceil=aM.ceil,Rm.clamp=_M.clamp,Rm.clone=fk.clone,Rm.cloneDeep=fk.cloneDeep,Rm.cloneDeepWith=fk.cloneDeepWith,Rm.cloneWith=fk.cloneWith,Rm.conformsTo=fk.conformsTo,Rm.deburr=AE.deburr,Rm.defaultTo=oj.defaultTo,Rm.divide=aM.divide,Rm.endsWith=AE.endsWith,Rm.eq=fk.eq,Rm.escape=AE.escape,Rm.escapeRegExp=AE.escapeRegExp,Rm.every=Up.every,Rm.find=Up.find,Rm.findIndex=Ld.findIndex,Rm.findKey=zC.findKey,Rm.findLast=Up.findLast,Rm.findLastIndex=Ld.findLastIndex,Rm.findLastKey=zC.findLastKey,Rm.floor=aM.floor,Rm.forEach=Up.forEach,Rm.forEachRight=Up.forEachRight,Rm.forIn=zC.forIn,Rm.forInRight=zC.forInRight,Rm.forOwn=zC.forOwn,Rm.forOwnRight=zC.forOwnRight,Rm.get=zC.get,Rm.gt=fk.gt,Rm.gte=fk.gte,Rm.has=zC.has,Rm.hasIn=zC.hasIn,Rm.head=Ld.head,Rm.identity=Ei,Rm.includes=Up.includes,Rm.indexOf=Ld.indexOf,Rm.inRange=_M.inRange,Rm.invoke=zC.invoke,Rm.isArguments=fk.isArguments,Rm.isArray=xt,Rm.isArrayBuffer=fk.isArrayBuffer,Rm.isArrayLike=fk.isArrayLike,Rm.isArrayLikeObject=fk.isArrayLikeObject,Rm.isBoolean=fk.isBoolean,Rm.isBuffer=fk.isBuffer,Rm.isDate=fk.isDate,Rm.isElement=fk.isElement,Rm.isEmpty=fk.isEmpty,Rm.isEqual=fk.isEqual,Rm.isEqualWith=fk.isEqualWith,Rm.isError=fk.isError,Rm.isFinite=fk.isFinite,Rm.isFunction=fk.isFunction,Rm.isInteger=fk.isInteger,Rm.isLength=fk.isLength,Rm.isMap=fk.isMap,Rm.isMatch=fk.isMatch,Rm.isMatchWith=fk.isMatchWith,Rm.isNaN=fk.isNaN,Rm.isNative=fk.isNative,Rm.isNil=fk.isNil,Rm.isNull=fk.isNull,Rm.isNumber=fk.isNumber,Rm.isObject=ge,Rm.isObjectLike=fk.isObjectLike,Rm.isPlainObject=fk.isPlainObject,Rm.isRegExp=fk.isRegExp,Rm.isSafeInteger=fk.isSafeInteger,Rm.isSet=fk.isSet,Rm.isString=fk.isString,Rm.isSymbol=fk.isSymbol,Rm.isTypedArray=fk.isTypedArray,Rm.isUndefined=fk.isUndefined,Rm.isWeakMap=fk.isWeakMap,Rm.isWeakSet=fk.isWeakSet,Rm.join=Ld.join,Rm.kebabCase=AE.kebabCase,Rm.last=Bs,Rm.lastIndexOf=Ld.lastIndexOf,Rm.lowerCase=AE.lowerCase,Rm.lowerFirst=AE.lowerFirst,Rm.lt=fk.lt,Rm.lte=fk.lte,Rm.max=aM.max,Rm.maxBy=aM.maxBy,Rm.mean=aM.mean,Rm.meanBy=aM.meanBy,Rm.min=aM.min,Rm.minBy=aM.minBy,Rm.stubArray=oj.stubArray,Rm.stubFalse=oj.stubFalse,Rm.stubObject=oj.stubObject,Rm.stubString=oj.stubString,Rm.stubTrue=oj.stubTrue,Rm.multiply=aM.multiply,Rm.nth=Ld.nth,Rm.noop=oj.noop,Rm.now=Kp.now,Rm.pad=AE.pad,Rm.padEnd=AE.padEnd,Rm.padStart=AE.padStart,Rm.parseInt=AE.parseInt,Rm.random=_M.random,Rm.reduce=Up.reduce,Rm.reduceRight=Up.reduceRight,Rm.repeat=AE.repeat,Rm.replace=AE.replace,Rm.result=zC.result,Rm.round=aM.round,Rm.sample=Up.sample,Rm.size=Up.size,Rm.snakeCase=AE.snakeCase,Rm.some=Up.some,Rm.sortedIndex=Ld.sortedIndex,Rm.sortedIndexBy=Ld.sortedIndexBy,Rm.sortedIndexOf=Ld.sortedIndexOf,Rm.sortedLastIndex=Ld.sortedLastIndex,Rm.sortedLastIndexBy=Ld.sortedLastIndexBy,Rm.sortedLastIndexOf=Ld.sortedLastIndexOf,Rm.startCase=AE.startCase,Rm.startsWith=AE.startsWith,Rm.subtract=aM.subtract,Rm.sum=aM.sum,Rm.sumBy=aM.sumBy,Rm.template=AE.template,Rm.times=oj.times,Rm.toFinite=fk.toFinite,Rm.toInteger=rt,Rm.toLength=fk.toLength,Rm.toLower=AE.toLower,Rm.toNumber=fk.toNumber,Rm.toSafeInteger=fk.toSafeInteger,Rm.toString=fk.toString,Rm.toUpper=AE.toUpper,Rm.trim=AE.trim,Rm.trimEnd=AE.trimEnd,Rm.trimStart=AE.trimStart,Rm.truncate=AE.truncate,Rm.unescape=AE.unescape,Rm.uniqueId=oj.uniqueId,Rm.upperCase=AE.upperCase,Rm.upperFirst=AE.upperFirst,Rm.each=Up.forEach,Rm.eachRight=Up.forEachRight,Rm.first=Ld.head,Ej(Rm,function(){var e={};return Ad(Rm,(function(t,n){Cj.call(Rm.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Rm.VERSION=bj,(Rm.templateSettings=AE.templateSettings).imports._=Rm,Jd(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Rm[e].placeholder=Rm})),Jd(["drop","take"],(function(e,t){km.prototype[e]=function(n){n=void 0===n?1:Lj(rt(n),0);var i=this.__filtered__&&!t?new km(this):this.clone();return i.__filtered__?i.__takeCount__=Tj(n,i.__takeCount__):i.__views__.push({size:Tj(n,kj),type:e+(i.__dir__<0?"Right":"")}),i},km.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Jd(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=n==wj||n==xj;km.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:zs(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Jd(["head","last"],(function(e,t){var n="take"+(t?"Right":"");km.prototype[e]=function(){return this[n](1).value()[0]}})),Jd(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");km.prototype[e]=function(){return this.__filtered__?new km(this):this[n](1)}})),km.prototype.compact=function(){return this.filter(Ei)},km.prototype.find=function(e){return this.filter(e).head()},km.prototype.findLast=function(e){return this.reverse().find(e)},km.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new km(this):this.map((function(n){return Qh(n,e,t)}))})),km.prototype.reject=function(e){return this.filter(Df(zs(e)))},km.prototype.slice=function(e,t){e=rt(e);var n=this;return n.__filtered__&&(e>0||t<0)?new km(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(t=rt(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},km.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},km.prototype.toArray=function(){return this.take(kj)},Ad(km.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Rm[i?"take"+("last"==t?"Right":""):t],o=i||/^find/.test(t);r&&(Rm.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,s=t instanceof km,l=a[0],u=s||xt(t),c=function(e){var t=r.apply(Rm,ht([e],a));return i&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var d=this.__chain__,h=!!this.__actions__.length,f=o&&!d,p=s&&!h;if(!o&&u){t=p?t:new km(this);var m=e.apply(t,a);return m.__actions__.push({func:BC,args:[c],thisArg:void 0}),new Om(m,d)}return f&&p?e.apply(this,a):(m=this.thru(c),f?i?m.value()[0]:m.value():m)})})),Jd(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Mj[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Rm.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(xt(r)?r:[],e)}return this[n]((function(n){return t.apply(xt(n)?n:[],e)}))}})),Ad(km.prototype,(function(e,t){var n=Rm[t];if(n){var i=n.name+"";Cj.call(Dm,i)||(Dm[i]=[]),Dm[i].push({name:t,func:n})}})),Dm[Iv(void 0,_j).name]=[{name:"wrapper",func:void 0}],km.prototype.clone=sj,km.prototype.reverse=uj,km.prototype.value=yj,Rm.prototype.at=hD.at,Rm.prototype.chain=hD.wrapperChain,Rm.prototype.commit=hD.commit,Rm.prototype.next=hD.next,Rm.prototype.plant=hD.plant,Rm.prototype.reverse=hD.reverse,Rm.prototype.toJSON=Rm.prototype.valueOf=Rm.prototype.value=hD.value,Rm.prototype.first=Rm.prototype.head,Dj&&(Rm.prototype[Dj]=hD.toIterator);var Pj=Rm,jj={disabled:!1,inline:!1,isShowLabel:!0,isDialog:!1,isShowSubmitBtn:!1,isShowBackBtn:!1,isShowResetBtn:!1,isShowCancelBtn:!1,isResponsive:!0,submitBtnText:"提交",cancelBtnText:"取消",backBtnText:"返回",resetBtnText:"重置",labelWidth:"90",labelPosition:"right",span:null,formBtnSize:null,grid:"one"};g.a.use(y["a"]);var Oj=Pj.cloneDeep(jj),Ij=new y["a"].Store({state:{curCusTableIndex:null,notDataFlag:!1,headImg:"",relationState:"",ScheduleDel:!1,storeInformation:{},storeType:!1,identity:{user:!1,realName:!1,enterprise:!1,authentication:!1,relevance:!1,type:0},centerMeun:{},token:"",area:{},loginType:!1,user:{identityCard:"",realName:"",registerTime:"",userRole:0},auth_user:{authorities:[]},global_area:[],shopInfo:{},menuList:[],upload:"".concat("https://gateway.shigongbang.com/enterprise-managerment-release","/file/add"),uploadMess:"".concat("https://gateway.shigongbang.com/enterprise-managerment-release","/file/recognition"),uploadApp:"".concat("https://gateway.shigongbang.com").concat("/sgb-app-manager","/v1/app/common/imgUpload"),otherUpload:"file/add",otherUploadMess:"file/recognition",imgUrl:"https://shigongbang.oss-cn-hangzhou.aliyuncs.com/",imgShop:"https://shigongbang.oss-cn-hangzhou.aliyuncs.com/",isCollapse:!1,tags:[],current_tag:"",menuFinish:!1,currentMenu:"/Hgcgl",currentTopMenu:0,projectName:"",msgs:{},sysMsgs:[],customSysMsgs:[],sysMsgUnread:{},session:[],nimState:!1,toUser:"",friends:[],teams:[],imUserName:"",teamMember:{},formAttr:Oj,list:{default:[]},selectIndex:null,activeFormName:"default",formBuilder:{menuId:"",formDesId:"",currentMenu:""},formBuilderActive:1,refreshList:!0,selSubIndex:null},mutations:{SET_MENULIST:function(e,t){e.menuList=t},SET_NODATAFLAG:function(e,t){},changeMsgNum:function(e,t){e.user.msgNum=t},updateStoreInformation:function(e,t){e.storeInformation=t},SET_LOGINTYPE:function(e,t){e.loginType=t},SET_CENTERMEUN:function(e,t){t.childrens.length>0&&t.childrens.forEach((function(e){e.unfold=!1})),0===t.childrens.length?(Auth.forEach((function(e){e.childrens.length,e.unfold=!1})),t.unfold=!0,this.$router.push({path:t.path})):(Auth.forEach((function(e){e.unfold=!1})),t.unfold?t.unfold=!1:t.unfold=!0),e.centerMeun=t},SET_TOKEN:function(e,t){e.token=t},SET_AUTH_USER:function(e,t){e.auth_user=t},SET_GLOBAL_AREA:function(e,t){e.global_area=t},SET_ISCOLLAPSE:function(e){e.isCollapse=!e.isCollapse},SET_USER:function(e,t){e.user=t,e.identity.user=!1,e.identity.realName=!1,e.identity.enterprise=!1,0==t.userRole&&(e.identity.user=!0,e.identity.type=0),0==t.userRole&&1==t.personalAuth&&(e.identity.realName=!0,e.identity.type=1),t.userRole&&0!=t.userRole&&(e.identity.enterprise=!0,e.identity.type=2,this.dispatch("setStoreInformation")),t.relevance&&(e.identity.relevance=!0),(e.identity.user&&e.identity.relevance||e.identity.enterprise)&&(e.identity.authentication=!0),t.imAccount&&t.imToken},LOGIN_OUT:function(e){e.loginType=!1,e.menuFinish=!1,e.user={identityCard:"",realName:"",registerTime:"",userRole:0},e.identity.user=!1,e.identity.realName=!1,e.identity.enterprise=!1,e.tags=[],e.currentMenu="",e.currentTopMenu=0,this.commit("SET_LOGINTYPE",!1),this.commit("SET_TOKEN",null),this.commit("SET_USER",{}),A.set("expire",!0),C.cookieClear("token"),C.cookieClear("h_projectNo"),e.msgs={},e.sysMsgs=[],e.session=[],e.toUser="",e.friends=[],e.teams=[],e.imUserName="",e.teamMember={},window.nim&&window.nim.destroy({done:function(e){window.nim=null}})},SET_AREA:function(e,t){e.area=t},SET_STORE_TYPE:function(e,t){e.storeType=t},SET_SHOPINFO:function(e,t){e.shopinfo=t},SET_MENUFINISH:function(e,t){e.menuFinish=t},SET_CURRENTMENU:function(e,t){e.currentMenu=t},SET_CURRENTTOPMENU:function(e,t){e.currentTopMenu=t},SET_TAGS:function(e,t){e.tags.push(t)},SET_CURRENTTAG:function(e,t){e.current_tag=t},RESET_TAGS:function(e,t){e.tags=t},SET_MSGS:function(e,t){if(Array.isArray(t)||(t=[t]),t[0]){var n=t[0].sessionId,i=window.nim.mergeMsgs(e.msgs[n],t);e.msgs[n]=i,e.msgs=Object.assign({},e.msgs)}},DELMSYS:function(e,t){e.msgs[t.msg.sessionId].forEach((function(n,i){n.idServer==t.msg.idServer&&e.msgs[t.msg.sessionId].splice(i,1,t.data)}))},SET_SYSMSGS:function(e,t){!Array.isArray(t)&&"deleteMsg"==t.type&&e.msgs[t.msg.sessionId]&&e.msgs[t.msg.sessionId].forEach((function(n,i){n.idServer==t.deletedIdServer&&(e.msgs[t.msg.sessionId].splice(i,1),nimTool.sendTipMsg(t.msg,e))}));var n=Array.isArray(t)?t:[t],i=n.filter((function(e){return!e.type&&"deleteMsg"==e.type}));if(i.length>0){window.nim.markSysMsgRead({sysMsgs:i,done:function(e,t){}});var r=i.map((function(e){return e.idServer}));window.nim.deleteLocalSysMsg({idServer:r,done:function(e,t){}})}e.sysMsgs=window.nim.mergeSysMsgs(e.sysMsgs,t)},updatwSysMsgUnread:function(e,t){e.sysMsgUnread=t},updatwCustomSysMsgs:function(e,t){var n=e.customSysMsgs;Array.isArray(t)?n=n.concat(t):n.push(t),e.customSysMsgs=n},SET_SESSION:function(e,t){e.session=window.nim.mergeSessions(e.session,t)},UPDATE_SESSION:function(e,t){var n="";e.session.forEach((function(e,i){e.id==t.id&&(n=i)})),""!==n?e.session.splice(n,1,t):e.session.push(t)},DELETE_SESSION:function(e,t){e.session.forEach((function(n,i){n.id==t&&e.session.splice(i,1)}))},updateNimState:function(e,t){e.nimState=t},SETTOUSER:function(e,t){window.nim&&window.nim.setCurrSession(t),e.toUser=t},SET_FRIENDS:function(e,t){e.friends=t},DELETE_FRIEND:function(e,t){var n=window.nim.cutFriendsByAccounts(e.friends,t);e.friends=Object.assign({},n)},DELETE_TEAM:function(e,t){var n=window.nim.mergeTeams(e.teams,t);n=window.nim.cutTeams(e.teams,t.invalid),e.teams=n},SET_TEAMS:function(e,t){Array.isArray(t)||(t=[t]),t=t.filter((function(e){return!!e})),t.forEach((function(e){void 0===e.validToCurrentUser&&(e.validToCurrentUser=!0)}));var n=window.nim.mergeTeams(e.teams,t);n=window.nim.cutTeams(n,t.invalid),e.teams=n},SET_IMUSERNAME:function(e,t){e.imUserName=t},SET_TEAMMENBER:function(e,t){var n=Object.assign({},e.teamMember);n[t.teamId]=t.menber,e.teamMember=n},updateCurrentItem:function(e,t){e.list[e.activeFormName].splice(e.selectIndex,1,t)},updateSelectIndex:function(e,t){e.selSubIndex=null,e.selectIndex=t},updateSelSubIndex:function(e,t){e.selSubIndex=t},updateCusIndex:function(e,t){e.curCusTableIndex=t},clearForm:function(e,t){t?D["MessageBox"].confirm("此操作将清空该表单中的内容, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.selectIndex=null,e.selSubIndex=null,e.list=Object.assign({},{default:[]}),e.formAttr=Oj,Object(D["Message"])({type:"success",message:"清空成功!"})})).catch((function(){Object(D["Message"])({type:"info",message:"已取消"})})):(e.selectIndex=null,e.selSubIndex=null,e.list=Object.assign({},{default:[]}),e.formAttr=Oj)},updateFormAttr:function(e,t){var n=Pj.cloneDeep(t);e.formAttr=n},deleteItemByIndex:function(e,t){var n=t.index,i=t.name;e.list[i].splice(n,1)},updateList:function(e,t){var n=Pj.cloneDeep(t.newList);e.list[t.name]=n,e.list=Object.assign({},e.list)},updateFormBuilder:function(e,t){var n=Pj.cloneDeep(t);e.formBuilder=n},updateActiveFormName:function(e,t){e.activeFormName=t},updateTitleArr:function(e,t){e.formAttr.title=t;var n=Pj.cloneDeep(formAttr);e.formAttr.title=n},UPDATAREFRESHLIST:function(e){e.refreshList=!e.refreshList}},getters:{getCurrentTitleArr:function(e){return e.formAttr.title},getUser:function(e){return e.user},menuList:function(e){return e.menuList},currentFormItem:function(e,t){if(null!=e.selSubIndex){var n,i,r=null!==e.selectIndex&&e.list[e.activeFormName]?e.list[e.activeFormName][e.selectIndex]:null;return r&&null!==r&&void 0!==r&&null!==(n=r.attrs)&&void 0!==n&&n.columns?null!==(i=r.attrs.columns[e.selSubIndex])&&void 0!==i&&i.content?(r.attrs.columns[e.selSubIndex].content["pid"]=e.list[e.activeFormName][e.selectIndex].field,r.attrs.columns[e.selSubIndex].content):(r.attrs.columns[e.selSubIndex]["pid"]=e.list[e.activeFormName][e.selectIndex].field,r.attrs.columns[e.selSubIndex]):null}return null!==e.selectIndex&&e.list[e.activeFormName]?e.list[e.activeFormName][e.selectIndex]:null}},actions:{setStoreInformation:function(e){return d(regeneratorRuntime.mark((function t(){var n,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.next=3,B.getStoreInformation();case 3:i=t.sent,r=i.data.data,r&&""!==r.image&&(r.image=r.image.split(",")),n("updateStoreInformation",r);case 7:case"end":return t.stop()}}),t)})))()},setUser:function(e){var t=this;return d(regeneratorRuntime.mark((function n(){var i,r,o,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.commit,n.next=3,q.getUserInfo();case 3:return r=n.sent,o=r.data.data,i("SET_USER",o),n.next=8,apiAuth.getAuthList();case 8:a=n.sent,s=a.data,0===s.code?i("SET_AUTH_USER",s.result):t.$message.error(s.msg);case 11:case"end":return n.stop()}}),n)})))()}}}),Yj=Ij;window.pending=[];window.pending,m.a.CancelToken;var Aj=JSON.parse(localStorage.getItem("env"))||{};m.a.defaults.timeout=5e4,m.a.defaults.baseURL=Aj.VUE_APP_APIUSER,m.a.interceptors.request.use((function(e){var t=C.cookieRead("token");return t&&(e.headers.Authorization="Bearer ".concat(t)),e}),(function(e){return Promise.reject(e)})),m.a.interceptors.response.use((function(e){return e}),(function(e){return e.response&&(666===e.response.data.code?(D["Message"].error(e.response.data.msg),Yj.commit("LOGIN_OUT")):D["Message"].error(e.response.data.msg)),{data:e.response?e.response.data:"error"}}));var Nj={get:function(e,t){return new Promise((function(n,i){m()({method:"get",params:t,url:e}).then((function(e){n(e)}))}))},getData:function(e,t,n){return new Promise((function(i,r){m()({method:"get",params:t,url:e,data:n}).then((function(e){i(e)}))}))},post:function(e,t){return new Promise((function(n,i){m()({method:"post",data:t,url:e}).then((function(e){n(e)}))}))},postParams:function(e,t){return new Promise((function(n,i){m()({method:"post",params:t,url:e}).then((function(e){n(e)}))}))},postHeaders:function(e,t,n){return new Promise((function(n,i){m()({method:"post",data:t,url:e,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((function(e){n(e)}))}))},postData:function(e,t,n){return new Promise((function(i,r){m()({method:"post",params:t,url:e,data:n}).then((function(e){i(e)}))}))},postLogin:function(e,t){return new Promise((function(n,i){m()({method:"post",headers:{Authorization:"Basic Z2N0eDpnY3R4"},url:e,params:t}).then((function(e){n(e)}))}))},put:function(e,t){return new Promise((function(n,i){m()({method:"put",data:t,url:e}).then((function(e){n(e)}))}))},patch:function(e,t){return new Promise((function(n,i){m()({method:"patch",data:t,url:e}).then((function(e){n(e)}))}))},delete:function(e){return new Promise((function(t,n){m()({method:"delete",url:e}).then((function(e){t(e)}))}))},deleteParams:function(e,t){return new Promise((function(n,i){m()({method:"delete",url:e,data:t}).then((function(e){n(e)}))}))}},Hj=n("7c78"),Rj=n.n(Hj),Fj=JSON.parse(localStorage.getItem("env")),zj=Fj.VUE_APP_API+"/sgb-meta-design";Fj.VUE_APP_API,Fj.VUE_APP_QIGUAN;console.log(zj);var $j=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/addProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Bj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/addProcessV1"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Wj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/updateProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Vj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/updateProcessV1"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Uj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.postHeaders("".concat(zj,"/v1/pc/process/updateOldProcessToNewProcess"),Rj.a.stringify(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qj=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.post("".concat(zj,"/v1/pc/process/queryProcessByType"),t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gj=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.get("".concat(zj,"/v1/pc/process/directorLevelList")));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Kj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.easyFlowVisible?n("div",[e.tools?n("el-row",[n("el-col",{staticClass:"right-plan",attrs:{span:24}},[n("div",{staticClass:"process-heard"},[e.queryName?[e.isEdit?n("div",[n("span",{staticClass:"process-title"},[e._v(e._s(e.queryName)+"流程")])]):n("div",[n("el-input",{attrs:{autofocus:"",placeholder:"请输入内容"},on:{blur:e.changeName},model:{value:e.conName,callback:function(t){e.conName=t},expression:"conName"}})],1)]:n("div"),n("div",[n("div",{staticClass:"switch"},[n("span",[e._v("是否开启审批:")]),n("el-switch",{model:{value:e.isFlg,callback:function(t){e.isFlg=t},expression:"isFlg"}})],1),n("el-button",{on:{click:e.cancal}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1)],2)])],1):e._e(),n("el-col",{attrs:{span:24}},[n("div",{staticClass:"container-process",attrs:{id:"flowContainer"}},[e._l(e.data.nodeList,(function(t,i){return["addCondition"!==t.item.type?n("flow-node",{key:i,ref:"flowNode",refInFor:!0,attrs:{node:t.item,level:t.level},on:{deleteNode:e.deleteNode,changeNodeSite:e.changeNodeSite,nodeRightMenu:e.nodeRightMenu,editNode:e.editNode,showForm:e.showForm,changeName:e.changeNodeName}}):n("div",{key:t.item.id+"_add",staticClass:"add-condition",style:{top:t.item.top,left:t.item.left},attrs:{id:"flowchartWindow"+t.item.id},on:{click:function(t){return e.addExtraCondition(t)}}},[e._v("\n 添加条件\n ")])]})),n("flow-node-condition",{directives:[{name:"show",rawName:"v-show",value:e.conditionVisible,expression:"conditionVisible"}],ref:"conditionForm",attrs:{formData:e.connection,title:e.title},on:{edit:e.editName,save:e.setCondition,cancal:function(t){e.conditionVisible=!1}}}),e.showAddNode?n("add-node-box",{attrs:{info:e.addNodeInfo},on:{close:function(){e.showAddNode=!1},addNode:e.addNode}}):e._e()],2)]),n("approver-selector",{ref:"approverSelector",attrs:{approverList:e.approverSelectorData.approverList,notifierList:e.approverSelectorData.notifierList},on:{save:e.setNode},model:{value:e.selectorVisible,callback:function(t){e.selectorVisible=t},expression:"selectorVisible"}})],1):e._e()},Jj=[];function Xj(e){if(Array.isArray(e))return e}n("3f01"),n("4fa8"),n("b4a0"),n("7f6e"),n("1ab5");function Zj(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done);a=!0)if(o.push(i.value),t&&o.length===t)break}catch(l){s=!0,r=l}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw r}}return o}}n("952e"),n("f73d");function Qj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function eO(e,t){if(e){if("string"===typeof e)return Qj(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qj(e,t):void 0}}function tO(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nO(e,t){return Xj(e)||Zj(e,t)||eO(e,t)||tO()}n("2c48"),n("e59e"),n("5b91"),n("f736");var iO=n("46f3"),rO=n.n(iO),oO=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.update?n("div",{ref:"node",staticClass:"plannode",style:e.nodeContainerStyle,attrs:{id:"flowchartWindow"+e.node.id},on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1},mouseup:e.changeNodePosition}},[[n("div",{staticClass:"flow-node-header",class:e.mouseEnter?"point":""},["start"!==e.node.type&&"end"!==e.node.type?n("p",{staticClass:"flow-name"},[e.isEdit?n("el-input",{ref:"editInput",on:{blur:e.handleBlur},model:{value:e.editName,callback:function(t){e.editName="string"===typeof t?t.trim():t},expression:"editName"}}):n("span",{staticClass:"hand-icon",on:{click:function(t){return t.stopPropagation(),e.editNodeName.apply(null,arguments)}}},[e._v(e._s(e.node.name))])],1):n("p",{staticClass:"flow-name"},[n("span",[e._v(e._s(e.node.name))])]),"start"!==e.node.type&&"end"!==e.node.type?n("div",{staticClass:"flow-node-operate"},[n("a",{attrs:{href:"#"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.deleteNode(e.node)},mousemove:function(e){return e.stopPropagation(),e.preventDefault(),function(){}.apply(null,arguments)}}},[n("i",{staticClass:"el-icon-close"})]),e._v("\n \n ")]):e._e()]),"condition"==e.node.type?n("div",{staticClass:"flow-node-body",attrs:{title:e.node.desc?e.node.desc:""},on:{click:function(t){return e.showForm(e.node)}}},[e._v("\n "+e._s(e.node.desc?e.node.desc:"请设置条件")+"\n ")]):"ccTask"==e.node.type?n("div",{staticClass:"flow-node-body",on:{click:function(t){return e.showForm(e.node)}}},[e.node.notifiers&&e.node.notifiers.length?n("span",[e._l(e.node.notifiers,(function(t,i){return n("i",{key:i,staticStyle:{padding:"0 5px"}},[e._v(e._s(t.userName))])})),e._v("\n (抄送"+e._s(e.node.notifiers.length)+"人)\n ")],2):n("span",[e._v("请选择抄送人")])]):"userTask"==e.node.type?n("div",{staticClass:"flow-node-body",on:{click:function(t){return e.showForm(e.node)}}},[n("div"),e.node.directorType&&2==e.node.directorType.type?n("span",[e._v("\n "+e._s(e.node.approvers&&e.node.directorType.type?e.node.approvers&&e.node.approvers[0].directorName:"")+"\n "+e._s("2"==e.node.approverType?"或签":"3"==e.node.approverType?"依次审批":"会签")+"\n ")]):n("span",[e.node.approvers&&e.node.approvers.length>0?n("span",e._l(e.node.approvers,(function(t,i){return n("i",{key:i,staticStyle:{padding:"0 5px"}},[e._v(e._s(t.userName))])})),0):e._e(),e._v("\n ("+e._s(e.node.approvers&&e.node.approvers.length>0?1==e.node.approvers.length?e.node.approvers[0].userName:e.node.approvers.length+"人":"请选择审批人")+")\n "),e.node.approvers&&e.node.approvers.length>1?n("span",[e._v(e._s("2"==e.node.approverType?"或签":"3"==e.node.approverType?"依次审批":"会签"))]):e._e()])]):n("div",{staticClass:"flow-node-body"})]],2):e._e()},aO=[],sO=(n("cee7"),{props:{node:Object,level:Number},data:function(){return{mouseEnter:!1,isEdit:!1,editName:"",update:!0}},computed:{nodeContainerStyle:function(){return{position:"absolute",width:"addCondition"==this.node.type?"auto":"200px",top:this.node.top,left:this.node.left,boxShadow:this.mouseEnter?"#66a6e0 0px 0px 12px 0px":"",backgroundColor:"transparent"}},nodeIcoClass:function(){var e={};return e[this.node.ico]=!0,e["flow-node-drag"]=!0,e}},methods:{refreshFlowItem:function(){var e=this;this.update=!1,this.$nextTick((function(){e.update=!0}))},deleteNode:function(e){},editNode:function(){},changeNodePosition:function(){var e=this;if(this.node.left!=this.$refs.node.style.left||this.node.top!=this.$refs.node.style.top)return setTimeout((function(){e.$emit("changeNodeSite",{id:e.node.id,left:e.$refs.node.style.left,top:e.$refs.node.style.top})}),100),!1},editNodeName:function(){var e=this;this.editName=this.node.name,this.isEdit=!0,this.$nextTick((function(){e.$refs.editInput.$refs.input.focus()}))},handleBlur:function(){this.editName!==this.node.name&&""!=this.editName&&this.$emit("changeName",{node:this.node,name:this.editName}),this.isEdit=!1},showForm:function(e){},addCondition:function(){}}}),lO=sO;n("027f");function uO(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}var cO,dO=uO(lO,oO,aO,!1,null,null,null),hO=dO.exports,fO=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-drawer",{staticClass:"nodeConditionModal",attrs:{visible:e.nodeConditionModal,direction:"rtl",wrapperClosable:!1,"show-close":!1,"close-on-press-escape":!1,"destroy-on-close":"","append-to-body":!0}},[n("div",{staticClass:"wrapper",on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"title"},[e.isEdit?n("div",[n("span",[e._v(e._s(e.title))]),n("i",{staticClass:"el-icon-edit",on:{click:function(t){t.stopPropagation(),e.isEdit=!1}}})]):n("div",[n("el-input",{attrs:{autofocus:"",placeholder:"请输入内容"},on:{blur:e.changeName},model:{value:e.conName,callback:function(t){e.conName=t},expression:"conName"}})],1)]),n("div",{staticClass:"content"},[n("el-form",{ref:"form",staticClass:"form-box",attrs:{model:e.form,"label-width":"80px"}},e._l(e.formConfig,(function(t,i){return n("div",{key:i},["checkbox"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},["accountSubject"==t.variable?n("el-checkbox-group",{on:{change:function(n){return e.handlerChange(n,t)}},model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}},e._l(t.data,(function(t,i){return n("el-checkbox",{key:i,attrs:{label:t.id}},[e._v(e._s(t.name)+"321")])})),1):n("el-checkbox-group",{on:{change:function(n){return e.handlerChange(n,t)}},model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}},e._l(t.data,(function(t,i){return n("el-checkbox",{key:i,attrs:{label:t.no+""}},[e._v(e._s(t.name)+"123")])})),1)],1)]:e._e(),"input"==t.ele?[n("el-form-item",{attrs:{label:t.name+": ",rules:{validator:e.validatePass,trigger:"change",message:"不能小于0"},prop:t.variable}},[n("el-row",{attrs:{gutter:4}},[n("el-col",{attrs:{span:11}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form[t.variable].opt,callback:function(n){e.$set(e.form[t.variable],"opt",n)},expression:"form[item.variable].opt"}},e._l(e.optOption,(function(e){return n("el-option",{key:e.value,attrs:{label:e.labal,value:e.value}})})),1)],1),n("el-col",{attrs:{span:11}},[n("el-input",{model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}})],1)],1)],1)]:e._e(),"sponsor"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[e.form[t.variable].sponsors&&e.form[t.variable].sponsors.length>0?[n("div",{staticClass:"selector",on:{click:function(t){e.showSelector=!0}}},e._l(e.form[t.variable].sponsors,(function(i){return n("el-tag",{key:i.userId,attrs:{closable:""},on:{close:function(n){return e.removeTag(t.variable,i)}}},[e._v("\n "+e._s(i.userName)+"\n ")])})),1)]:[n("el-input",{attrs:{placeholder:"请选择具体人员"},on:{focus:function(t){e.showSelector=!0}}})]],2)])]:e._e(),"spoSxy"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[e.form[t.variable].sponsors&&e.form[t.variable].sponsors.length>0?[n("div",{staticClass:"selector",on:{click:function(n){return e.showSxyL(t.variable)}}},e._l(e.form[t.variable].sponsors,(function(i){return n("el-tag",{key:i[t.variable],attrs:{closable:""},on:{close:function(n){return e.removeTag(t.variable,i)}}},[e._v("\n "+e._s(i.userName)+"\n ")])})),1)]:[n("el-input",{attrs:{placeholder:"请选择人员"},on:{focus:function(n){return e.showSxyL(t.variable)}}})]],2)])]:e._e(),"radio"==t.ele?[n("el-form-item",{attrs:{label:t.name+": "}},[n("div",[n("el-radio-group",{model:{value:e.form[t.variable].value,callback:function(n){e.$set(e.form[t.variable],"value",n)},expression:"form[item.variable].value"}},[e._l(t.data,(function(t,i){return[n("el-radio",{key:i,attrs:{label:t.value}},[e._v(e._s(t.name))])]}))],2)],1)])]:e._e()],2)})),0),n("el-form",{staticClass:"userHandle"},[n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(t){return t.stopPropagation(),e.addCondition.apply(null,arguments)}}},[e._v("添加条件")]),n("span",{staticClass:"mar_l20"},[e._v("还有 "+e._s(e.able)+" 个可用条件")])],1)],1)],1),n("div",{staticClass:"btn-group"},[n("el-button",{on:{click:function(t){return t.stopPropagation(),e.nodeConditionHandler.apply(null,arguments)}}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.save.apply(null,arguments)}}},[e._v("保存")])],1),n("el-dialog",{staticClass:"conditionSelect",attrs:{title:"选择条件",visible:e.isShow,width:"30%",modal:!1,"before-close":e.handleClose},on:{"update:visible":function(t){e.isShow=t}}},[n("span",[e._v("请选择用来区分审批流程的条件字段")]),n("el-checkbox-group",{staticClass:"mar_t20",model:{value:e.condition,callback:function(t){e.condition=t},expression:"condition"}},e._l(e.configList,(function(t,i){return n("el-checkbox",{key:i,attrs:{label:t.variable}},[e._v(e._s(t.name))])})),1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){return t.stopPropagation(),e.cancel.apply(null,arguments)}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return t.stopPropagation(),e.determine.apply(null,arguments)}}},[e._v("确 定")])],1)],1),e.showSelector?n("MemberSelection",{attrs:{title:"选择发起人",directClose:!1,formData:e.selectData,memberNo:e.memberNo},on:{close:function(t){e.showSelector=!1},save:e.checkMenber}}):e._e(),e.showSxytor?n("MemberSelection",{attrs:{title:"选择申请人",directClose:!1,formData:e.selSxytData,memberNo:e.memSxyrNo},on:{close:function(t){e.showSxytor=!1},save:e.checkSxyber}}):e._e()],1)])},pO=[];function mO(e){return mO="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mO(e)}function vO(e){if(Array.isArray(e))return Qj(e)}function gO(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function yO(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bO(e){return vO(e)||gO(e)||eO(e)||yO()}var _O=JSON.parse(localStorage.getItem("env")),wO=_O.VUE_APP_APIUSER,xO="https://api.sgbwl.com/sgb-app",kO=_O.VUE_APP_APIUSER,MO=_O.VUE_APP_API+_O.VUE_APP_QIGUAN,SO=(cO={permitGroupName:function(e){return Nj.post(wO+"/v1/api/management/attendance/permitGroupName",e)},attendance:function(e){return Nj.post(wO+"/v1/api/management/attendance/list",e)},getQueryById:function(e){return Nj.post(wO+"/v1/api/management/attendance/queryById",e)},deleteRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/delete",e)},changeRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/modify",e)},addRule:function(e){return Nj.post(wO+"/v1/api/management/attendance/save",e)},clock:function(e){return Nj.post(wO+"/v1/api/management/clock",e)},getUserList:function(e){return Nj.post(wO+"/v1/api/management/attendance/getUserList",e)},addSave:function(e){return Nj.post(wO+"/v1/api/management/clock/save",e)},deleteSave:function(e){return Nj.post(wO+"/v1/api/management/clock/delete",e)},changeSave:function(e){return Nj.post(wO+"/v1/api/management/clock/modify",e)},detailsSave:function(e){return Nj.post(wO+"/v1/api/management/clock/queryById",e)},permitConfigName:function(e){return Nj.post(wO+"/v1/api/management/clock/permitConfigName",e)},getClockInList:function(e){return Nj.post(wO+"/v1/api/management/attendanceStatistics/list",e)},saveOutInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveOutInfo?userNo="+t,e)},getOutApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getOutApplyList",e)},savePatchInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/savePatchInfo?userNo="+t,e)},saveLeaveInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveLeaveInfo?userNo="+t,e)},leaveType:function(e){return Nj.post(xO+"/v1/web/approver/leaveType?userNo="+e)},getVacationList:function(e){return Nj.get(wO+"/v1/api/management/holidayLeave/getHolidayList",e)},saveLoanInfo:function(e,t){return Nj.post(xO+"/v1/web/approver/saveLoanInfo?userNo="+t,e)},getOutDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/outDetail?userNo="+t+"&applyNo="+e)},getPatchDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/patchDetail?userNo="+t+"&applyNo="+e)},saveBusinessTrip:function(e,t){return Nj.post(xO+"/v1/web/approver/saveBusinessTrip?userNo="+t,e)},detailBusinessTrip:function(e,t){return Nj.post(xO+"/v1/web/approver/travelDetail?userNo="+t+"&applyNo="+e)},loanDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/loanDetail?userNo="+t+"&applyNo="+e)},getLoanApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getLoanApplyList",e)},getLeaveDetail:function(e,t){return Nj.post(xO+"/v1/web/approver/leaveDetail?userNo="+t+"&applyNo="+e)},getLeaveApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getLeaveApplyList",e)},getAuditDetailForAudit:function(e){return Nj.post(kO+"/v2/api/audit/getAuditDetailForAudit",e)},getApplierInfo:function(e){return Nj.post(xO+"/v1/web/approver/applierInfo?userNo="+e)},approvalAudit:function(e){return Nj.post("".concat(xO,"/v1/web/approver/approvalAudit?resourceToken=").concat(e.resourceToken,"&userNo=").concat(e.userNo,"&reason=").concat(e.reason,"&result=").concat(e.result,"&applyNo=").concat(e.applyNo))},getEvectionList:function(e){return Nj.post(kO+"/v1/api/management/apply/getTravelApplyList",e)},getApplicantList:function(e){return Nj.get(kO+"/v1/api/management/apply/getUserByName",e)},getPatchApplyList:function(e){return Nj.post(kO+"/v1/api/management/apply/getPatchApplyList",e)},savePatchCardInfo:function(e){return Nj.post(MO+"/v1/app/webMeeting/savePatchInfo",e)}},o(cO,"savePatchCardInfo",(function(e){return Nj.post(MO+"/v1/app/webMeeting/savePatchInfo",e)})),o(cO,"getAssetCategoryList",(function(){return Nj.get("".concat(wO,"/v1/api/assetType/assetTree"))})),cO),CO=SO,DO=JSON.parse(localStorage.getItem("env")),LO=DO.VUE_APP_APIUSER,TO=DO.VUE_APP_API,EO=DO.VUE_APP_EMTERPRISE,PO={saveNotice:function(e){return Nj.post(LO+"/v1/api/notice/add",e)},GetNoticeType:function(){return Nj.get(LO+"/v1/api/notice/getType")},GetPublisher:function(){return Nj.get("api/user/getCurrentUserInfo")},GetCompany:function(){return Nj.get(TO+EO+"/v1/organization/getCompany")},GetDepartment:function(e){return Nj.get(TO+EO+"/v1/organization/getDep/".concat(e))},GetNoticeList:function(e){return Nj.post(LO+"/v1/api/notice/queryPage",e)},deleteNotices:function(e){return Nj.delete(LO+"/v1/api/notice/deleteById/"+e)},GetNoticeDetails:function(e){return Nj.get(LO+"/v1/api/notice/queryById/"+e)},GetDocumentType:function(){return Nj.get(LO+"/v1/api/officialDocument/typeList")}},jO=PO,OO=function(){var e=d(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Nj.get("v1/organization/getCompany",t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),IO=JSON.parse(localStorage.getItem("env")),YO=(IO.VUE_APP_TEAM,JSON.parse(localStorage.getItem("env"))),AO=(YO.VUE_APP_APIUSER,JSON.parse(localStorage.getItem("env"))),NO=AO.VUE_APP_API,HO=AO.VUE_APP_EMTERPRISE,RO=AO.VUE_APP_QIGUAN,FO=AO.VUE_APP_AUTH,zO={list:function(){return Nj.get(NO+HO+"/v1/organization/getOrganization")},companylist:function(){return Nj.get(NO+HO+"/v1/organization/getCompany")},deplist:function(e){return Nj.get(NO+HO+"/v1/organization/getDep/".concat(e))},getId:function(e){return Nj.get(NO+HO+"/v1/organization/getOrganization/".concat(e))},save:function(e){return Nj.post(NO+HO+"/v1/organization/saveOrganization",e)},setSort:function(e){return Nj.post(NO+HO+"/v1/organization/setSort",e)},setRoleSort:function(e){return Nj.post(NO+HO+"/v1/organization/setRoleSort",e)},del:function(e){return Nj.delete(NO+HO+"/v1/organization/delOrg/".concat(e))},delRole:function(e){return Nj.delete(NO+HO+"/v1/organization/delRole/".concat(e))},getRole:function(){return Nj.get(NO+HO+"/v1/organization/getRole")},saveRole:function(e){return Nj.post(NO+HO+"/v1/organization/saveRole",e)},getUser:function(e){return Nj.post(NO+HO+"/v1/organization/getUser",e)},getUserByParentId:function(e){return Nj.get(NO+HO+"/v1/organization/getUserByParentId/".concat(e))},setUserSort:function(e){return Nj.post(NO+HO+"/v1/organization/setUserSort",e)},saveContacts:function(e){return Nj.post(NO+HO+"/v1/organization/saveContacts",e)},openIm:function(e){return Nj.get(NO+RO+"/v1/app/common/openIm?mobile="+e)},getUserByPhone:function(e){return Nj.post(NO+HO+"/v1/organization/getUserByPhone",e)},delUser:function(e){return Nj.post(NO+HO+"/v1/organization/delUser",e)},getRoleId:function(e){return Nj.get(NO+HO+"/v1/organization/getRoleById/".concat(e))},getMenu:function(){return Nj.get(NO+FO+"/v1/sys/menu/findByMark/company")},saveAuth:function(e){return Nj.post(NO+HO+"/v1/organization/saveManagementAuth",e)},getAuth:function(e){return Nj.get(NO+HO+"/v1/organization/getAuth/".concat(e))},auth:function(e,t){return Nj.get(NO+HO+"/v1/organization/auth/".concat(e,"/").concat(t))},getCompanyByUser:function(e){return Nj.post(NO+HO+"/v1/organization/getOrganizationCompanyByUser",e)},getDepByCompany:function(e){return Nj.post(NO+HO+"/v1/organization/getOrganizationDepByUserAndParentId",e)},getUserByCompany:function(e){return Nj.post(NO+HO+"/v1/organization/getAllUserByCompany",e)}},$O=zO,BO={addPosition:function(e){return Nj.post("/v1/rankposition/createNewPosition",e)},getPosition:function(e){return Nj.get("/v1/rankposition/getAllRankPosition",e)},delPosition:function(e){return Nj.get("/v1/rankposition/deleteRankPosition?id=".concat(e))},editPosition:function(e){return Nj.get("/v1/rankposition/editRankPosition",e)},getRank:function(){return Nj.get("/v1/rankmanagement/getAllRankPosition")},addRank:function(e){return Nj.post("/v1/rankmanagement/createNewRank",e)},getRankList:function(e){return Nj.get("/v1/rankmanagement/getAllRank",e)},delRank:function(e){return Nj.get("/v1/rankmanagement/deleteRank?id=".concat(e))},editRank:function(e){return Nj.post("/v1/rankmanagement/editRank",e)},pageRank:function(e){return Nj.get("/v1/rankmanagement/getRankImgById?id=".concat(e))}},WO=BO,VO=(n("14b6"),function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"请假类型",variable:"type",ele:"checkbox",data:[]},{name:"时长(天)",variable:"duration",ele:"input"}],e.next=3,CO.getVacationList({member:Yj.state.user.no});case 3:return n=e.sent,"200"==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.no,name:e.holidayName}}))),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()),UO=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"资产分类",variable:"assetTypeJp",ele:"checkbox",data:[]}],e.next=3,CO.getAssetCategoryList();case 3:return n=e.sent,200===n.data.code&&(t[0].data=n.data.data[0].subList),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),qO=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"耗材分类",variable:"matericalTypeJp",ele:"checkbox",data:[]}],e.next=3,CO.getAssetCategoryList();case 3:return n=e.sent,200===n.data.code&&(console.log(n.data.data[0].subList.subList),[],t[0].data=n.data.data[1].subList),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),GO=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"时长(天)",variable:"timeLength",ele:"input"}],e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),KO=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"时长(天)",variable:"duration",ele:"input"}],e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),JO=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"申请单位",variable:"accountSubject",ele:"checkbox",data:[]},{name:"工程类型",variable:"type",ele:"checkbox",data:XO},{name:"资金来源",variable:"fundSource",ele:"checkbox",data:ZO},{name:"项目造价",variable:"price",ele:"input"},{name:"经营类型",variable:"businessType",ele:"checkbox",data:[{name:"合作管理",no:"合作管理"},{name:"组织经营",no:"组织经营"}]}],e.next=3,OO();case 3:return n=e.sent,t[0].data=bO(n.data.data),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),XO=[{name:"房建工程",no:"房建工程"},{name:"水利工程",no:"水利工程"},{name:"市政工程",no:"市政工程"},{name:"冶炼工程",no:"冶炼工程"},{name:"矿山工程",no:"矿山工程"},{name:"化工石油工程",no:"化工石油工程"},{name:"电力工程",no:"电力工程"},{name:"农林工程",no:"农林工程"},{name:"铁路工程",no:"铁路工程"},{name:"公路工程",no:"公路工程"},{name:"港口与航道工程",no:"港口与航道工程"},{name:"航天航空工程",no:"航天航空工程"},{name:"通信工程",no:"通信工程"},{name:"机电安装工程",no:"机电安装工程"}],ZO=[{name:"国拨资金",no:"国拨资金"},{name:"业主自筹资金",no:"业主自筹资金"},{name:"国拨和自筹资金",no:"国拨和自筹资金"},{name:"专项资金",no:"专项资金"},{name:"市场回款",no:"市场回款"},{name:"银行融资",no:"银行融资"},{name:"援疆资金",no:"援疆资金"},{name:"全额中央预算内资金",no:"全额中央预算内资金"},{name:"扶贫资金",no:"扶贫资金"},{name:"政府发债资金",no:"政府发债资金"},{name:"财政资金",no:"财政资金"},{name:"中央内资金",no:"中央内资金"}],QO=function(){var e=d(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return function(){var e=d(regeneratorRuntime.mark((function e(n,i){var r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r=[],n.length>0&&n.forEach(function(){var e=d(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,$O.deplist(t);case 2:n=e.sent,200==n.data.code&&(i=eI(n.data.data,"name","id"),r.push.apply(r,bO(i)));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),t[1].data=r,i&&(i.form.departmentNo.value=i.form.departmentNo.value.filter((function(e){var t=r.filter((function(e){e.no}));return t.length>0})));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),t=[{name:"申请人",variable:"proposer",ele:"spoSxy"}],e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function eI(e,t,n){var i=[];return e.forEach((function(e){if(i.push({name:e[t],no:e[n]}),e.children){var r=eI(e.children,t,n);i.push.apply(i,bO(r))}})),console.log(i),i}var tI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[{name:"申请人",variable:"proposer",ele:"spoSxy"}]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),nI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,WO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),iI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]},{name:"是否调薪",variable:"isAdjustedSalary",ele:"radio",data:[{value:"1",name:"是"},{value:"0",name:"否"}]}],e.next=4,WO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),rI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"公告类型",variable:"noticeType",ele:"checkbox",data:[]}],e.next=3,jO.GetNoticeType();case 3:return n=e.sent,200==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.key,name:e.value}}))),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),oI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=[{name:"公文类型",variable:"documentType",ele:"checkbox",data:[]}],e.next=4,jO.GetDocumentType();case 4:return n=e.sent,200==n.data.code&&(t[0].data=n.data.data.map((function(e){return{no:e.key,name:e.value}}))),e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),aI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"调入职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,WO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),sI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),lI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,WO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),uI=function(){var e=d(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={pageNum:1,pageSize:20},n=[{name:"职位",variable:"departmentRank",ele:"checkbox",data:[]}],e.next=4,WO.getPosition(t);case 4:return i=e.sent,"200"==i.data.code&&(n[0].data=i.data.data.content.map((function(e){return{no:e.id,name:e.rankName}}))),e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),cI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[{name:"借款金额",variable:"loanAmount",ele:"input"}]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),dI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),hI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),fI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),pI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),mI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),vI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),gI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),yI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),bI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_I=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),wI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),kI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),MI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),SI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),CI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),DI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),LI=function(){var e=d(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",[]);case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),TI=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:e.title,visible:e.dialogVisible,width:"600px","append-to-body":"","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"wrapper"},[n("div",{staticClass:"plan"},[n("div",{staticClass:"plan-title"},[e._v("选择:")]),n("div",{staticClass:"tab"},[""==e.onlyType?n("div",{staticClass:"tab-title"},[n("span",{class:1==e.type?"active":"",on:{click:function(t){return e.changeList("type",1)}}},[e._v("角色")]),n("span",{class:2==e.type?"active":"",on:{click:function(t){return e.changeList("type",2)}}},[e._v("成员")])]):e._e(),n("div",{staticClass:"approvers"},[n("div",[n("el-input",{directives:[{name:"show",rawName:"v-show",value:1==e.type,expression:"type == 1"}],attrs:{placeholder:"输入角色名",clearable:""},model:{value:e.filterApprovers,callback:function(t){e.filterApprovers=t},expression:"filterApprovers"}}),n("el-input",{directives:[{name:"show",rawName:"v-show",value:2==e.type,expression:"type == 2"}],attrs:{placeholder:"输入姓名",clearable:""},model:{value:e.filterNotifiers,callback:function(t){e.filterNotifiers=t},expression:"filterNotifiers"}}),n("el-tree",{ref:"approvers",class:""!=e.onlyType?"filter-tree":"",attrs:{load:e.loadNode,lazy:"",props:e.defaultProps,"default-expand-all":"","show-checkbox":"","node-key":"id","default-checked-keys":e.defaultCheck,"filter-node-method":e.filterNode},on:{check:e.handleCheckChange1}})],1)])])]),n("div",{staticClass:"plan",attrs:{span:11}},[n("div",{staticClass:"plan-title"},[e._v("已选:")]),n("div",[n("div",{staticClass:"checklist"},[e.roleList.length>0?n("el-row",[n("el-col",{attrs:{span:6}},[n("span",[e._v("角色:")])]),n("el-col",{attrs:{span:16}},e._l(e.roleList,(function(t,i){return n("div",{key:i,staticClass:"check-list"},[n("span",[e._v(e._s(t.name))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.removeList("roleList",t)}}})])})),0)],1):e._e(),e.userList.length>0?n("el-row",[n("el-col",{attrs:{span:6}},[n("span",[e._v("成员:")])]),n("el-col",{attrs:{span:16}},e._l(e.userList,(function(t,i){return n("div",{key:i,staticClass:"check-list"},[n("span",[e._v(e._s(t.name||t.userName))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.removeList("userList",t)}}})])})),0)],1):e._e()],1)])])]),n("div",[e._t("default")],2),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.handleClose}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)])},EI=[],PI=JSON.parse(localStorage.getItem("env")),jI=PI.VUE_APP_API,OI=PI.VUE_APP_EMTERPRISE,II=PI.VUE_APP_QIGUAN,YI={getOrgsData:function(){return Nj.get(jI+OI+"/v1/organization/getNewOrganizationAndContacts")},list:function(){return Nj.get(jI+OI+"/v1/organization/getOrganizationAndContacts")},companylist:function(){return Nj.get(jI+OI+"/v1/organization/getCompany")},deplist:function(e){return Nj.get(jI+OI+"/v1/organization/getDep/".concat(e))},getId:function(e){return Nj.get(jI+OI+"/v1/organization/getOrganization/".concat(e))},save:function(e){return Nj.post(jI+OI+"/v1/organization/saveOrganization",e)},setSort:function(e){return Nj.post(jI+OI+"/v1/organization/setSort",e)},setRoleSort:function(e){return Nj.post(jI+OI+"/v1/organization/setRoleSort",e)},del:function(e){return Nj.delete(jI+OI+"/v1/organization/delOrg/".concat(e))},delRole:function(e){return Nj.delete(jI+OI+"/v1/organization/delRole/".concat(e))},getRole:function(){return Nj.get(jI+OI+"/v1/organization/getRole")},saveRole:function(e){return Nj.post(jI+OI+"/v1/organization/saveRole",e)},getUser:function(e){return Nj.post(jI+OI+"/v1/organization/getUser",e)},getUserByParentId:function(e){return Nj.get(jI+OI+"/v1/organization/getUserByParentId/".concat(e))},setUserSort:function(e){return Nj.post(jI+OI+"/v1/organization/setUserSort",e)},saveContacts:function(e){return Nj.post(jI+OI+"/v1/organization/saveContacts",e)},openIm:function(e){return Nj.get(jI+II+"/v1/app/common/openIm?mobile="+e)},getUserByPhone:function(e){return Nj.post(jI+OI+"/v1/organization/getUserByPhone",e)},delUser:function(e){return Nj.post(jI+OI+"/v1/organization/delUser",e)},getRoleId:function(e){return Nj.get(jI+OI+"/v1/organization/getRoleById/".concat(e))},getMenu:function(){return Nj.get(jI+OI+"/v1/organization/getMenu")},saveAuth:function(e){return Nj.post(jI+OI+"/v1/organization/saveManagementAuth",e)},getAuth:function(e){return Nj.get(jI+OI+"/v1/organization/getAuth/".concat(e))},auth:function(e,t){return Nj.get(jI+OI+"/v1/organization/auth/".concat(e,"/").concat(t))},getCompanyByUser:function(e){return Nj.post(jI+OI+"/v1/organization/getOrganizationCompanyByUser",e)},getDepByCompany:function(e){return Nj.post(jI+OI+"/v1/organization/getOrganizationDepByUserAndParentId",e)},getUserByCompany:function(e){return Nj.post(jI+OI+"/v1/organization/getAllUserByCompany",e)}},AI=YI,NI={name:"",mixins:[],extends:{},components:{},props:{title:{type:String,default:"选择"},formData:{type:Object,default:function(){return{roleList:[],userList:[]}}},onlyType:{type:String,default:"2"},isRadio:{type:Boolean,default:!1},memberNo:{type:Array,default:function(){return[]}},directClose:{type:Boolean,default:!0}},data:function(){return{editChekcId:"",dialogVisible:!0,filterNotifiers:"",filterApprovers:"",type:"1",defaultProps:{children:"children",label:"name"},roleList:[],userList:[],defaultCheck:[]}},filters:{addPriceIcon:function(e){}},watch:{filterApprovers:function(e){this.$refs.approvers.filter(e)},filterNotifiers:function(e){this.$refs.approvers.filter(e)},formData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.userList=e.userList,this.userList=e.userList?this.userList:[];for(var i={},r=0;r<e.roleList.length;r++)i[e.roleList[r].id]||(this.roleList.push(e.roleList[r]),i[e.roleList[r].id]=!0);console.log(this.roleList," newVal.roleList;"),this.$nextTick((function(){"2"==n.onlyType?n.defaultCheck=n.userList.length>0?n.userList.map((function(e){return e.id})):[]:n.defaultCheck=n.roleList.length>0?n.roleList.map((function(e){return e.id})):[]}))}},onlyType:{immediate:!0,handler:function(e,t){""!=e&&(this.type=e)}}},computed:{},methods:{handleClose:function(){this.roleList=[],this.userList=[],this.$emit("close")},save:function(){for(var e={roleList:this.roleList,userList:[]},t={},n=0;n<this.userList.length;n++)t[this.userList[n].id]||(e.userList.push(this.userList[n]),t[this.userList[n].id]=!0);this.$emit("save",e),this.directClose&&this.handleClose()},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},handleCheckChange1:function(e,t){if(1==this.type)if(this.isRadio){var n=t.checkedKeys.indexOf(e.id)>-1;this.roleList=n?[e]:[],this.$refs.approvers.setCheckedNodes(this.roleList)}else{var i=this.$refs.approvers.getCheckedNodes().filter((function(e,t){return!(void 0!=e.type||void 0!=e.children)}));this.roleList=i}else if(this.isRadio){var r=t.checkedKeys.indexOf(e.id)>-1;this.userList=r?[e]:[],this.$refs.approvers.setCheckedNodes(this.userList)}else{var o=this.$refs.approvers.getCheckedNodes().filter((function(e,t){return!(void 0!=e.type||void 0!=e.children)}));this.userList=o}},changeList:function(e,t){this[e]=t,1==t?this.$refs.approvers.setCheckedNodes(this.roleList):this.$refs.approvers.setCheckedNodes(this.userList)},func:function(e){var t=this;e.forEach((function(n){n.contacts&&0!==n.contacts.length&&n.contacts.forEach((function(i){n.children.push(i),t.treeData=e}))}))},loadNode:function(e,t){var n=this;return d(regeneratorRuntime.mark((function i(){var r,o,a,s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(n,0!==e.level){i.next=11;break}return i.next=4,AI.getOrgsData();case 4:return r=i.sent,o=[],o.push(r.data.data),o[0]&&o[0].contacts&&o[0].contacts.length>0&&(a=o[0].contacts.map((function(e){return e.disabled=e.imAccount==!e.imAccount,e})),o[0].children=o[0].children.concat(a),o[0].imAccount="account"+o[0].id),i.abrupt("return",t(o));case 11:if(!e.data.children){i.next=17;break}return s=e.data.children,s.forEach((function(e){if(e.contacts&&e.contacts.length>0){var t=e.contacts.map((function(e){return e}));e.children=e.children.concat(t)}e.imAccount=e.imAccount?e.imAccount:"account"+e.id})),i.abrupt("return",t(s));case 17:return i.abrupt("return",t([]));case 18:case"end":return i.stop()}}),i)})))()},removeList:function(e,t){this[e]=this[e].filter((function(e){return e.memberNo!==t.memberNo})),this[e].length>0?this.$refs.approvers.setCheckedNodes(this[e]):this.$refs.approvers.setCheckedKeys([])}},created:function(){},mounted:function(){}},HI=NI,RI=(n("57c1"),uO(HI,TI,EI,!1,null,"37f95368",null)),FI=RI.exports,zI={name:"",mixins:[],extends:{},components:{MemberSelection:FI},props:{formData:{type:Object,default:function(){return{}}},title:{type:String,default:""},queryInfo:{type:Object,default:function(){return{}}}},data:function(){return{SxyData:"",form:{},optOption:[{labal:"大于等于",value:">="},{labal:"大于",value:">"},{labal:"小于等于",value:"<="},{labal:"小于",value:"<"}],formConfig:[],isShow:!1,configList:[],condition:[],oldCOndition:[],isEdit:!0,conName:"",applyType:"",showSelector:!1,showSxytor:!1,selectData:{roleList:[],userList:[]},selSxytData:{roleList:[],userList:[]},memberNo:[],memSxyrNo:[],nodeConditionModal:!1}},watch:{showSelector:{deep:!0,handler:function(e){}},formData:{immediate:!0,deep:!0,handler:function(e,t){var n=Object.keys(e);if(n.length>0){var i=[],r=[];this.configList.forEach((function(e,t){n.indexOf(e.variable)>-1&&(i.push(e),r.push(e.variable))})),n.indexOf("userId")>-1?(this.selectData.userList=e.userId.sponsors,this.memberNo=e.userId.sponsors.map((function(e){return e.userId}))):(this.selectData.userList=[],this.memberNo=[]),n.indexOf("proposer")>-1?(this.selSxytData.userList=e.proposer.sponsors,this.memSxyrNo=e.proposer.sponsors.map((function(e){return e.userId}))):(this.selSxytData.userList=[],this.memSxyrNo=[]),this.formConfig=i,this.form=e,"documentType"==n[0]&&e.documentType.value.map((function(t,n){e.documentType.value[n]=Number(e.documentType.value[n])})),this.condition=r}else this.formConfig=[],this.form={},this.condition=[],this.selectData.userList=[],this.selSxytData.userList=[],this.memberNo=[],this.memSxyrNo=[]}},title:{immediate:!0,handler:function(e,t){this.conName=e}}},computed:{able:function(){return this.configList.length-this.condition.length}},methods:{showSxyL:function(e){this.SxyData=e,this.showSxytor=!0},nodeConditionHandler:function(){this.nodeConditionModal=!this.nodeConditionModal},removeTag:function(e,t){this.form[e].sponsors=this.form[e].sponsors.filter((function(e){return e.userName!=t.userName&&e.userId!=t.userId})),this.memberNo=this.form[e].sponsors.map((function(e){return e.userId})),this.selectData.userList=this.form[e].value},validatePass:function(e,t,n){""!=parseFloat(t.value)&&parseFloat(t.value)>=0?n():n("不能小于0")},save:function(){var e=this;this.$refs.form.validate((function(t){if(t){var n=[],i=function(t){var i=""==e.form[t].value||e.form[t].value==[]||""==e.form[t].opt;if(i&&"userId"!=t&&"spoSxy"!=e.form[t].ele)return e.$message.error("条件数据不能为空"),{v:void 0};if(("spoSxy"==e.form[t].ele||"userId"==t)&&e.form[t].sponsors.length<1)return e.$message.error("条件数据不能为空"),{v:void 0};if("radio"==e.form[t].ele||"checkbox"==e.form[t].ele){var r,o=e.configList.filter((function(e){return e.variable==t}))[0].data;if(o&&Array.isArray(e.form[t].value))"申请单位"==e.form[t].name?(r=[],e.form[t].value.forEach((function(e){o.forEach((function(t){e==t.id&&r.push(t.name)}))}))):r=e.form[t].value.map((function(e){return o.filter((function(t){return t.no==e}))[0].name}));else if(o&&!Array.isArray(e.form[t].value)){var a=o.filter((function(n){return n.value==e.form[t].value}))[0].name;r=[a]}n.push(e.form[t].name+"属于:"+r.join("或"))}else if("spoSxy"==e.form[t].ele||"userId"==t){var s=e.form[t].sponsors.map((function(e){return e.userName}));n.push(e.form[t].name+"属于:"+s.join("或"))}else n.push("".concat(e.form[t].name," ").concat(e.form[t].opt," ").concat(e.form[t].value))};for(var r in e.form){var o=i(r);if("object"===mO(o))return o.v}e.$parent.submitCondition({form:e.form,desc:n,SxyData:e.SxyData})}}))},changeName:function(){this.conName?this.$emit("edit",this.conName):this.conName=this.title,this.isEdit=!0},handleClose:function(){this.isShow=!1},addCondition:function(){this.oldCondition=this.condition,this.isShow=!0},cancel:function(){this.condition=this.oldCondition,this.isShow=!1},determine:function(){var e=[],t=this,n=Pj.cloneDeep(t.form);t.configList.forEach((function(i,r){if(t.condition.indexOf(i.variable)>-1){if(e.push(i),void 0==n[i.variable]){var o="input"==i.ele?"":"=",a="input"==i.ele?"":[];"radio"==i.ele&&(a=i.data&&i.data.length>0?i.data[0].value:"0"),n[i.variable]={opt:o,value:a,dateType:"String",name:i.name,sponsors:[],ele:i.ele}}}else void 0!==n[i.variable]&&delete n[i.variable];"radio"!=i.ele||i.data&&0!=i.data.length||t.$set(i,"data",[{value:"1",name:"是"},{value:"0",name:"否"}])})),this.form=n,this.formConfig=e,this.isShow=!1},setConfig:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.applyType=e.queryInfo.type,n={ele:"sponsor",name:"发起人",variable:"userId"},!r[e.applyType]){t.next=8;break}return t.next=5,r[e.applyType](e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=[];case 9:e.configList=t.t0,"sealApproval"==e.queryInfo.type||"用章申请"==e.queryInfo.name||"用车申请"==e.queryInfo.name||"carApproval"==e.queryInfo.type?n={}:e.configList.unshift(n);case 11:case"end":return t.stop()}}),t)})))()},handlerChange:function(e,t){void 0!=t.changeFuc&&t.changeFuc(e,this)},checkMenber:function(e){var t=[],n=[];e.userList.forEach((function(e,i){t.push({userId:e.memberNo,companyId:e.comNo,userName:e.name,roleName:e.roleName}),n.push(e.memberNo)})),this.memberNo=n,this.form.userId.sponsors=t,this.form=Object.assign({},this.form),this.$set(this.selectData,"userList",e.userList),this.showSelector=!1},checkSxyber:function(e){var t=[],n=[];e.userList.forEach((function(e,i){t.push({userId:e.memberNo,companyId:e.comNo,userName:e.name,roleName:e.roleName}),n.push(e.memberNo)})),this.memSxyrNo=n,this.form[this.SxyData].sponsors=t,this.form=Object.assign({},this.form),this.showSxytor=!1}},created:function(){this.setConfig()},mounted:function(){}},$I=zI,BI=(n("7180"),uO($I,fO,pO,!1,null,"3f73f7e6",null)),WI=BI.exports,VI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"wrapper",style:"left: "+e.info.left+"px; top: "+e.info.top+"px"},[i("div",{staticClass:"close",on:{click:function(t){return e.$emit("close")}}},[i("img",{attrs:{src:n("2e5b"),alt:""}})]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("userTask")}}},[i("img",{attrs:{src:n("bf66")}}),i("p",[e._v("审批人")])]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("copyUser")}}},[i("img",{attrs:{src:n("bf66")}}),i("p",[e._v("抄送人")])]),i("div",{staticClass:"node",on:{click:function(t){return e.addNode("condition")}}},[i("img",{attrs:{src:n("50e8")}}),i("p",[e._v("条件分支")])])])},UI=[],qI={name:"",mixins:[],extends:{},components:{},props:{info:{type:Object,default:function(){return{left:0,top:0,isShow:!0}}}},data:function(){return{}},watch:{},computed:{},methods:{addNode:function(e){var t;t="userTask"==e?"流程节点":"copyUser"==e?"抄送人":"条件分支",this.$emit("addNode",{type:e,name:t})}},created:function(){},mounted:function(){}},GI=qI,KI=(n("1062"),uO(GI,VI,UI,!1,null,"45838bc0",null)),JI=KI.exports,XI=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-drawer",{attrs:{title:"审批节点",visible:e.visible,direction:"rtl",wrapperClosable:!1,"show-close":!1,"close-on-press-escape":!1,"destroy-on-close":"","append-to-body":!0}},[n("div",{staticClass:"drawer-wrap"},[e.isCCTask?e._e():n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("审批人")]),n("div",{staticClass:"approverSelectorItemCon rowDirection"},[n("el-radio-group",{on:{change:e.approverModeChange},model:{value:e.approverMode,callback:function(t){e.approverMode=t},expression:"approverMode"}},[n("el-radio",{attrs:{label:1}},[e._v("指定成员")]),e.queryInfo.type|e.filterType?n("el-radio",{attrs:{label:2}},[e._v("主管")]):e._e()],1),1==e.approverMode?n("div",{staticClass:"selector-list"},[e.approverList.length<25?n("el-button",{staticClass:"list-item-btn",attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:function(t){return e.showStaffSelector(0)}}}):e._e(),e.approverList.length?n("div",{staticClass:"tagList"},[e._l(e.approverList,(function(t,i){return[n("el-tag",{key:i,staticClass:"list-item list-item-opt",attrs:{closable:"",type:"info",size:"medium"},on:{close:function(t){return e.removeItem("approverList",i)}}},[e._v("\n "+e._s(t.name||t.userName)+"\n ")])]})),n("span",{staticClass:"clear-btn list-item",on:{click:function(t){return e.clear("approverList")}}},[e._v("清空")])],2):e._e()],1):e._e()],1)]),2==e.approverMode?n("div",{staticClass:"approverSelectorItem layoutRowItem"},[n("div",{staticClass:"multi-title"},[e._v("发起人:")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-select",{attrs:{placeholder:"请选择"},on:{change:function(t){return e.changeEvent(t,e.options)}},model:{value:e.valueKey,callback:function(t){e.valueKey=t},expression:"valueKey"}},e._l(e.options,(function(e){return n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)]):e._e(),[4].includes(e.approverMode)||e.isCCTask?e._e():n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("多人审批时采用的审批方式")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-radio-group",{on:{change:e.examineModeChange},model:{value:e.approverType,callback:function(t){e.approverType=t},expression:"approverType"}},[n("el-radio",{attrs:{label:"3"}},[e._v("依次审批")]),n("el-radio",{attrs:{label:"1"}},[e._v("会签(须所有审批人同意)")]),n("el-radio",{attrs:{label:"2"}},[e._v("或签(一名审批人同意或拒绝即可)")])],1)],1)]),2==e.approverMode?n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("审批人为空时")]),n("div",{staticClass:"approverSelectorItemCon"},[n("el-radio-group",{on:{change:e.noHanderActionChange},model:{value:e.directorType.authType,callback:function(t){e.$set(e.directorType,"authType",t)},expression:"directorType.authType"}},[n("el-radio",{attrs:{label:"1"}},[e._v("自动通过 ")]),n("el-radio",{attrs:{label:"2"}},[e._v("自动转交主管理员")])],1)],1)]):e._e(),e.isCCTask?n("div",{staticClass:"approverSelectorItem"},[n("div",{staticClass:"multi-title"},[e._v("抄送人")]),n("div",{staticClass:"approverSelectorItemCon rowDirection"},[n("el-radio-group",{model:{value:e.isCCTaskType,callback:function(t){e.isCCTaskType=t},expression:"isCCTaskType"}},[n("el-radio",{attrs:{label:1}},[e._v("指定成员")])],1),n("div",{staticClass:"selector-list"},[e.notifierList.length<25?n("el-button",{staticClass:"list-item-btn",attrs:{type:"primary",icon:"el-icon-plus",size:"mini"},on:{click:function(t){return e.showStaffSelector(1)}}}):e._e(),e.notifierList.length?n("div",{staticClass:"tagList"},[e._l(e.notifierList,(function(t,i){return n("el-tag",{key:i,staticClass:"list-item list-item-opt",attrs:{closable:"",type:"info",size:"medium"},on:{close:function(t){return e.removeItem("notifierList",i)}}},[e._v("\n "+e._s(t.name||t.userName)+"\n ")])})),n("span",{staticClass:"clear-btn list-item",on:{click:function(t){return e.clear("notifierList")}}},[e._v("清空")])],2):e._e()],1)],1)]):e._e(),n("div",{staticClass:"drawer-footer"},[n("el-button",{on:{click:e.cancel}},[e._v("取消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v("保存")])],1)])]),n("FlowNodeForm",{ref:"nodeForm",attrs:{id:"nodeForm",orgVisible:e.nodeVisible,type:e.memberSelectorType},on:{close:function(t){e.nodeVisible=!1},confirm:e.memberSelectorConfirm}})],1)},ZI=[],QI=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-dialog",{attrs:{title:e.title,visible:e.orgVisible,width:"600px","append-to-body":"","before-close":e.cancel,"close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.orgVisible=t}}},[n("div",{staticClass:"main-wrapper"},[n("div",{staticClass:"main-block"},[n("div",{staticClass:"block-title"},[e._v("选择:")]),n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"block-card"},[n("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"text",clearable:"",placeholder:"输入姓名",size:"small"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),n("div",[n("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{data:e.orgData,props:e.defaultProps,"default-expand-all":"","show-checkbox":"","node-key":"uniqueProp","default-checked-keys":e.defaultCheck,"filter-node-method":e.filterNode},on:{check:e.handleCheckChange}})],1)],1)]),n("div",{staticClass:"main-block"},[n("div",{staticClass:"block-title"},[e._v("已选:")]),n("div",{staticClass:"block-card block-card-right"},[n("ul",{staticClass:"opt-wrap",attrs:{id:"opt-wrap"}},e._l(e.selectedList,(function(t,i){return n("li",{key:i,staticClass:"opt",attrs:{"data-memberNo":t.userId||t.memberNo}},[n("span",{staticClass:"opt-name"},[e._v(e._s(t.name||t.userName))]),n("i",{staticClass:"el-icon-circle-close",on:{click:function(n){return e.deleteOpt(t,i)}}})])})),0)])])]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:e.cancel}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.confirm}},[e._v("确 认")])],1)])],1)},eY=[],tY=(n("54ff"),{name:"FlowNodeForm",components:{},props:{type:{type:Number,default:0},orgVisible:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}}},data:function(){return{isSearching:!1,currentSelectedAll:!1,searchValue:null,loading:!1,orgData:null,selectedList:[],defaultCheck:[],defaultProps:{children:"children",label:"name"}}},computed:{title:function(){return 0===this.type?"请选择审批人":"请选择抄送人"}},watch:{currentLevelList:{handler:function(e){this.generateSelectedList(),this.generateCurrentSelectedAll()},deep:!0},searchValue:{handler:function(e){this.$refs.tree.filter(e)}}},created:function(){var e=this;return d(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.getOrgData();case 1:case"end":return t.stop()}}),t)})))()},methods:{init:function(e){var t=this;this.selectedList=_.cloneDeep(e);var n=e.map((function(e){return e.memberNo||e.userId})),i=function e(i){i.forEach((function(i){2===i.holidayType&&n.includes(i.memberNo||i.userId)?t.$refs.tree.setChecked(i.uniqueProp,!0):2!==i.holidayType&&i.children.length&&e(i.children)}))};i(this.orgData)},filterNode:function(e,t){return!e||-1!==t.name.indexOf(e)},getOrgData:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,AI.getOrgsData();case 3:n=t.sent,200===n.data.code&&(n.data.data.checked=!1,e.orgData=e.dataFormatter([n.data.data]),e.currentLevelList=e.orgData,e.loading=!1);case 5:case"end":return t.stop()}}),t)})))()},dataFormatter:function(e){var t={},n=function e(n){n.forEach((function(n){2!==n.holidayType?(n.children=n.children.concat(n.contacts),n.uniqueProp=n.id,n.children.length&&e(n.children)):(t[n.memberNo]?t[n.memberNo]=t[n.memberNo]+1:t[n.memberNo]=1,n.uniqueProp=n.memberNo+"-"+t[n.memberNo])}))};return n(e),e},handleCheckChange:function(e,t,n){var i;if(void 0===n){var r=e.uniqueProp;i=t.checkedKeys.includes(r)}else i=n;if(i){var o=this.selectedList.map((function(e){return e.memberNo})),a=this.$refs.tree.getCheckedNodes().filter((function(e){return 2===e.holidayType})).filter((function(e){return!o.includes(e.memberNo)}));this.selectedList=this.uniqueList(this.selectedList.concat(this.uniqueList(a)))}else{var s=e.memberNo;if(s){var l=t.checkedKeys.some((function(e){return e.split("-")[0]===s}));if(!l){var u=this.selectedList.indexOf(e);this.selectedList.splice(u,1)}}else for(var c=0;c<e.children.length;c++)this.handleCheckChange(e.children[c],t,!1)}},uniqueList:function(e){var t=[],n=[];return e.map((function(e){n.includes(e.memberNo||e.userId)||(t.push(e),n.push(e.memberNo||e.userId))})),t},generateSelectedList:function(){var e=[],t=function t(n){n.forEach((function(n){n.checked&&e.push(n),n.children&&t(n.children)}))};t(this.orgData),this.selectedList=e},deleteOpt:function(e,t){var n=this;this.selectedList.splice(t,1);var i=function t(i){i.forEach((function(i){2===i.holidayType&&i.memberNo===e.memberNo?n.$refs.tree.setChecked(i.uniqueProp,!1):2!==i.holidayType&&i.children.length&&t(i.children)}))};i(this.orgData)},cancel:function(){this.$emit("close")},confirm:function(){if(this.selectedList.length>25){var e=0===this.type?"申请人最多选择25人":"抄送人最多选择25人";return this.$message.warning(e),!1}var t={list:this.selectedList,type:this.type};this.$emit("close"),this.$emit("confirm",JSON.stringify(t))}}}),nY=tY,iY=(n("3c5c"),uO(nY,QI,eY,!1,null,"64f53724",null)),rY=iY.exports,oY={components:{FlowNodeForm:rY},props:{value:{type:Boolean,default:!0},queryInfo:{type:Object,default:function(){return{}}}},data:function(){return{isCCTask:!1,isCCTaskType:1,visible:!1,approverType:"3",approverMode:1,passCopy:!0,nodeVisible:!1,notifierList:[],approverList:[],directorType:{typeName:"",type:"1",authType:"1"},director:{},memberSelectorType:null,options:[],optionsList:[{value:"直接主管",key:0},{value:"第2级主管",key:1},{value:"第3级主管",key:2},{value:"第4级主管",key:3},{value:"第5级主管",key:4},{value:"第6级主管",key:5},{value:"第7级主管",key:6},{value:"第8级主管",key:7},{value:"第9级主管",key:8},{value:"第10级主管",key:9}],valueKey:"直接主管",appList:[{directorName:"",directorId:""}]}},watch:{value:function(e){this.visible=e}},mounted:function(){this.direSxyList()},methods:{init:function(e){var t=this,n=e.type,i=e.nodeUserList,r=e.examineMode,o=e.authType,a=e.setType,s=e.directorLevel,l={approverType:r,approvers:1==n?i:[],passCopy:!0,notifiers:2==n?i:[],directorType:{typeName:"",type:parseInt(a),authType:o}};this.isCCTask=2==n,this.directorType=l.directorType,this.directorType.authType=l.directorType&&l.directorType.authType?l.directorType.authType:"1",this.approverMode=l.directorType&&l.directorType.type?l.directorType.type:"1",this.directorType&&"1"==this.directorType.type&&(this.approverList=l.approvers),this.directorType&&"2"==this.directorType.type&&(this.options.map((function(e){e.key==s&&(t.valueKey=e.value)})),this.approverList[0]={directorId:s,directorName:this.valueKey}),this.approverType=l.approverType||"3",this.notifierList=l.notifiers,this.passCopy=void 0===l.passCopy||l.passCopy,this.visible=!0},approverModeChange:function(e){this.$parent.changeType(e)},examineModeChange:function(e){this.$parent.examineModeChange(e)},noHanderActionChange:function(e){this.$parent.noHanderActionChange(e)},changeEvent:function(e,t){this.approverList=[{directorName:"",directorId:""}];for(var n=0;n<t.length;n++)t[n].value==e&&(this.approverList[0].directorName=t[n].value,this.approverList[0].directorId=t[n].key);this.$parent.directorLevelChange(this.approverList[0].directorId)},direSxyList:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Gj();case 2:n=t.sent,"ok"==n.data.state?e.options=n.data.data:e.options=e.optionsList;case 4:case"end":return t.stop()}}),t)})))()},showApproverSelector:function(){this.visible=!this.visible},memberSelectorConfirm:function(e){var t=JSON.parse(e);0===t.type?this.approverList=t.list:this.notifierList=t.list},showStaffSelector:function(e){var t=this;this.memberSelectorType=e,this.nodeVisible=!0;var n=0===e?this.approverList:this.notifierList;this.$nextTick((function(){t.$refs.nodeForm.init(n)}))},removeItem:function(e,t){this[e].splice(t,1)},clear:function(e){this[e]=[]},cancel:function(){this.visible=!this.visible},submit:function(){this.directorType.type=this.approverMode,this.directorType.typeName=1==this.approverMode?"指定成员":"主管";for(var e=[],t=0;t<this.notifierList.length;t++){var n=this.notifierList[t];e.push({id:n.id,userName:n.name||n.userName,phone:n.phone,roleName:n.roleName,companyId:n.comNo||n.companyId,userId:n.memberNo})}if(this.isCCTask){var i=e.map((function(e){return e.type="1",e.memberNo=e.userId,e})),r={approverType:this.approverType,approvers:this.appList,notifiers:i,passCopy:this.passCopy,directorType:this.directorType};this.$parent.submitCopyer(r)}else if(1==this.approverMode){if(!this.approverList.length)return void this.$message.warning("请配置审批人");for(var o=[],a=0;a<this.approverList.length;a++){var s=this.approverList[a];s.id&&o.push({id:s.id,userName:s.userName||s.name,phone:s.phone,roleName:s.roleName,companyId:s.comNo||s.companyId,userId:s.memberNo||s.userId})}var l={approverType:this.approverType,approvers:o,notifiers:e,passCopy:this.passCopy,directorType:this.directorType};l.directorType.authType="",this.$parent.submitApprover(l)}else{this.appList[0].directorName=this.approverList[0]?this.approverList[0].directorName:"直接主管",this.appList[0].directorId=this.approverList[0]?this.approverList[0].directorId:0;var u={approverType:this.approverType,approvers:this.appList,notifiers:e,passCopy:this.passCopy,directorType:this.directorType};void 0==u.approvers[0].directorId&&(u.approvers[0].directorId=0,u.approvers[0].directorName="直接主管"),this.$parent.submitApprover(u)}}},computed:{filterType:function(e){return"notice"!=this.queryInfo.type&&"officialDocument"!=this.queryInfo.type}}},aY=oY,sY=(n("0b2d"),uO(aY,XI,ZI,!1,null,"0922466c",null)),lY=sY.exports,uY=n("7c98"),cY=n.n(uY),dY=function(e){this.item=e,this.lists=[]};dY.prototype.add=function(e){this.lists.push(e)},dY.prototype.scan=function(){console.log("扫描",this.item);for(var e=0;e<this.lists.length;e++)console.log(this.item.from+"----\x3e"+this.lists[e].item.to),this.lists[e].scan()};var hY=function(e){this.item=e};function fY(e,t,n,i,r,o,a,s){var l={id:e,name:t,type:n,left:i,top:r,from:o,to:a,isCondition:"0"};return"userTask"==n?l=Object.assign(l,{approverType:"3",approvers:[],notifiers:[],passCopy:!0,directorType:{typeName:"指定成员",type:1,authType:"1"}}):"condition"==n&&(l=Object.assign(l,{desc:"",conditions:[],a:s})),l}function pY(e){for(var t=e.map((function(e){return e.level=1,e})),n=function(e){if(!t[e].lists)return"continue";var n=t[e].lists.map((function(n){return n.level=t[e].level+1,n}));t.splice.apply(t,[e+1,0].concat(bO(n)))},i=0;i<t.length;i++)n(i);return t}function mY(e){return function(t,n){var i=t[e],r=n[e];return i-r}}hY.prototype.add=function(){throw Error("文件下不能添加其它文件夹或文件")},hY.prototype.scan=function(){console.log("-----\x3e",this.item)};var vY={props:["queryInfo","tools","path","userInfo"],data:function(){var e;return e={approverSelectorData:{approverList:[],notifierList:[]},memberSelectorType:0,selectorVisible:!1,jsPlumb:null,isFlg:!0,isEdit:!0,easyFlowVisible:!0,nodeVisible:!1,nodeInfo:{},data:{nodeList:[],lineList:[]},connection:{},title:"",conditionVisible:!1,showAddNode:!1,addNodeInfo:{top:"0",left:"0",isShwo:!0},root:new dY(fY("0","根节点","root","320px","20px","1","2")),currentChooseItem:{},currentNode:{sourceId:"",targetId:""},id:0,params:{},processId:""},o(e,"isFlg",!0),o(e,"isClick",!0),o(e,"name",""),o(e,"version",1),o(e,"indexFlg",1),e},components:{flowNode:hO,FlowNodeCondition:WI,addNodeBox:JI,approverSelector:lY},computed:{user:function(){return""},orgSelectorList:function(){return 0===this.memberSelectorType?this.nodeInfo.approvers:this.nodeInfo.notifiers}},created:function(){this.type=this.queryInfo.type},mounted:function(){this.jsPlumbInit()},methods:{save:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.userInfo,!1,"/index"==e.path&&(e.params.menuId=""),e.params.switchOn=e.isFlg?"1":"0",!e.processId){t.next=11;break}return i={id:e.processId+"",content:JSON.stringify(e.params)},t.next=8,Wj(i);case 8:n=t.sent,t.next=15;break;case 11:return r={content:JSON.stringify(e.params)},t.next=14,$j(r);case 14:n=t.sent;case 15:o=0;case 16:if(!(o<e.params.nodeList.length)){t.next=23;break}if("userTask"!=e.params.nodeList[o].item.type||0!=e.params.nodeList[o].item.approvers.length||!e.params.nodeList[o].item.directorType||1!=e.params.nodeList[o].item.directorType.type){t.next=20;break}return e.$message.error("当前审批流程中【"+e.params.nodeList[o].item.name+"】节点审批人不能为空"),t.abrupt("return");case 20:o++,t.next=16;break;case 23:"ok"==n.data.state?(e.$message.success({message:e.processId?"编辑成功":"保存成功",duration:1500}),e.processId=n.data.data,-1==e.type.indexOf("customForm_")&&(e.$removeTag1(e.$route),e.$router.go(-1))):e.$message.error({message:n.data.msg?n.data.msg:"保存失败",duration:1500});case 24:case"end":return t.stop()}}),t)})))()},cancal:function(){var e=this;this.$confirm("有修改的内容未保存,确认离开吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$removeTag1(e.$route),e.$router.go(-1)})).catch((function(){}))},initProcess:function(){this.easyFlowVisible=!1;var e=new dY(fY("1","开始","start","320px","20px","1","2")),t=new dY(fY("2","审批人","userTask","320px","200px","1","3")),n=new dY(fY("3","抄送人","ccTask","320px","350px","7","5")),i=new dY(fY("5","结束","end","320px","330px","2","5"));this.root.add(e),e.add(t),t.add(n),n.add(i),this.refresh()},refresh:function(){this.jsPlumb.reset();for(var e,t,n,i=this.root.lists,r=(i[0],pY(i)),o=this,a=0,s=0,l=0,u=0;u<r.length;u++){var c=r[u];if(parseFloat(c.item.left)>a&&(a=parseFloat(c.item.left)),l<c.level&&"end"!=c.item.type&&(l=c.level),"end"==c.item.type&&(e=c),"start"==c.item.type&&(t=c),"addCondition"==c.item.type){n=c;var d=n.lists[0],h=n.lists[n.lists.length-1],f=parseFloat(d.item.left)+parseFloat(h.item.left);s<f/2&&(s=f/2),n.item.left=f/2+"px"}}console.log(l);var p=s>0?s:(a+320)/2;e.item.left=p+"px",e.level=l+1,e.item.top=200*(e.level-1)+20+"px",t.item.left=p+"px",this.data.nodeList=r,this.easyFlowVisible=!0;var m=["Label",{location:0,label:"",cssClass:"aLabel",events:{click:function(e,t){var n=e.getElement(),i=parseFloat(n.style.top)-35,r=parseFloat(n.style.left)+30;o.showAddNode=!0,o.addNodeInfo={top:i,left:r};var a=e.component,s=a.sourceId.replace("flowchartWindow",""),l=a.targetId.replace("flowchartWindow","");o.currentNode.sourceId=s,o.currentNode.targetId=l}}}],v={endpoint:["Dot",{radius:3}],connector:["Flowchart"],anchors:["Bottom","Top"],overlays:[["Arrow",{width:10,length:10,location:1}],m]},g={endpoint:["Dot",{radius:3}],connector:["Flowchart"],anchors:["Bottom","Top"],overlays:[["Arrow",{width:10,length:10,location:1}]]};this.$nextTick((function(){for(var e=[],t=this,n=0;n<this.data.nodeList.length;n++){var i=this.data.nodeList[n];if(this.jsPlumb.draggable("flowchartWindow"+i.item.id,{grid:[20,20],containment:"parent",stop:function(e){t.isClick=!1,setTimeout((function(){t.isClick=!0}),1e3),e.e.preventDefault()}}),"end"!=i.item.type)if(i.lists.length>0&&"addCondition"==i.item.type)for(var r=0;r<i.lists.length;r++){var o=i.lists[r],a={id:o.item.id,type:"condition",name:o.item.name,left:o.item.left,top:o.item.top,from:o.item.from,gateWayKey:i.item.id,to:o.item.to,conditions:o.item.conditions,ifNo:10,desc:o.item.desc,isCondition:o.item.isCondition};e.push(a),this.jsPlumb.connect({source:"flowchartWindow"+i.item.id,target:"flowchartWindow"+o.item.id},g)}else this.jsPlumb.connect({source:"flowchartWindow"+i.item.id,target:"flowchartWindow"+i.item.to},v)}this.loadEasyFlowFinish=!0;var s={name:this.name,desc:"",creator:this.user.no,processId:this.processId,startId:"1",endId:"5",companyId:this.user.cno,type:this.type,switchOn:this.isFlg?"1":"0",gateWayList:e,nodeList:this.data.nodeList,lineList:[],version:this.version};this.params=s}))},jsPlumbInit:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o,a,s,l,u,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,e.jsPlumb=rO.a.jsPlumb?rO.a.jsPlumb.getInstance():rO.a.getInstance(),e.jsPlumb.importDefaults({ConnectionsDetachable:!1}),n={companyId:e.user.cno+"",type:e.type},t.next=6,qj(n);case 6:i=t.sent,i.data.data&&i.data.data.gateWays?(r=JSON.parse(i.data.data.content),e.data={nodeList:r.nodeList,lineList:r.lineList},e.name=e.queryInfo.name?e.queryInfo.name+"流程":r.name,e.isFlg=0!=r.switchOn,e.processId=i.data.data._id,e.version=i.data.data.rootNode.version,e.root.add(r.nodeList[0]),e.refresh(),o=r.nodeList.map((function(e){return parseFloat(e.item.id)})),e.id=Math.max.apply(null,o)):i.data.data&&i.data.data._id?(e.processId=i.data.data._id,a=JSON.parse(i.data.data.content),e.name=a.name,e.name=e.queryInfo.name?e.queryInfo.name+"流程":a.name,e.isFlg=0!=a.switchOn,e.version=i.data.data.rootNode.version,s=e.dataTonewList(a.nodeList),s?(e.refresh(),l=a.nodeList.map((function(e){return parseFloat(e.id)})),e.id=Math.max.apply(null,l),setTimeout(d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={id:e.processId+"",content:JSON.stringify(e.params)},console.log(n),t.next=4,Uj(n);case 4:t.sent;case 5:case"end":return t.stop()}}),t)}))),200)):(e.name=e.queryInfo.name?e.queryInfo.name+"流程":"流程",e.initProcess(),u=pY(e.root.lists),e.id=u.length+10)):(e.name=e.queryInfo.name?e.queryInfo.name+"流程":"流程",e.initProcess(),c=pY(e.root.lists),e.id=c.length+10);case 8:case"end":return t.stop()}}),t)})))()},dataTonewList:function(e){var t=this.root,n=1,i=!0;while("end"!=t.item.type&&i){var r=this.getCurrentNode(e,n);if(!r){i=!1;break}var o=new dY(fY(r.id,r.name,r.type,r.left,r.top,r.from,r.to));"userTask"==r.type&&(o.item=Object.assign(o.item,{approverType:r.approverType,approvers:r.approvers,notifiers:r.notifiers,passCopy:r.passCopy})),"condition"==r.type?(n=r.to,t.item.to=r.to):(t.add(o),n=r.to,t=o)}return i},getCurrentNode:function(e,t){var n=e.filter((function(e){return e.id==t}));return n.length>0?n[0]:null},setNode:function(e){console.log(e);var t=JSON.parse(e);this.activeNode.directorType=t.directorType,this.activeNode.approverType=t.approverType,this.activeNode.approvers=t.approvers,this.activeNode.notifiers=t.notifiers,this.activeNode.passCopy=t.passCopy,this.$refs.flowNode.map((function(e){e.refreshFlowItem()}))},deleteNode:function(e,t){var n=this;3!=this.data.nodeList.length?this.$confirm("确定需要删除当前节点?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){var i=null;n.findNodeById(n.root,e.id);var r=_.cloneDeep(n.currentChooseItem);if(n.findNodeById(n.root,e.from),console.log(r.item.type),"userTask"==r.item.type)n.currentChooseItem.item.to=r.item.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,o=i.type,a=i.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=r.item.to)}));else if("ccTask"==r.item.type)n.currentChooseItem.item.to=r.item.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,o=i.type,a=i.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=r.item.to)}));else{var o=n.currentChooseItem.lists.length;if(o>2)n.currentChooseItem.lists.forEach((function(t,r){t.item.id==e.id&&(n.currentChooseItem.lists.splice(r,1),0==r&&(n.currentChooseItem.item.to=n.currentChooseItem.lists[1].item.id,i=n.currentChooseItem.lists[1]))}));else{var a=_.cloneDeep(n.currentChooseItem.lists[0].lists[0]),s=n.currentChooseItem.item.from;a?(a.item.from=s,a.item.left=n.currentChooseItem.item.left,n.findNodeById(n.root,s),n.currentChooseItem.item.to=a.item.id,n.currentChooseItem.lists=[a],n.data.nodeList.map((function(e,t){var i=n.data.nodeList[t].item,r=i.type,o=i.from;"condition"==r&&o==n.currentChooseItem.item.from&&(n.data.nodeList[t].item.to=a.item.id)}))):(n.findNodeById(n.root,s),n.currentChooseItem.item.to=t.to,n.currentChooseItem.lists=r.lists,n.currentChooseItem.lists.forEach((function(e,t){e.item.from=n.currentChooseItem.item.id})),n.data.nodeList.map((function(e,i){var r=n.data.nodeList[i].item,o=r.type,a=r.from;"condition"==o&&a==n.currentChooseItem.item.from&&(n.data.nodeList[i].item.to=t.to)})))}}var l=pY(n.root.lists);if(i){var u=l.filter((function(e){return"end"==e.item.type})),c=new dY(fY("5","结束","end","320px","380px","","5"));if(u.length<1){var d=n.getLastList(i);d.push(c)}n.setResultToNode()}l.sort(mY("level"));for(var h=0;h<l.length;h++){var f=l[h],p=200*(f.level-1)+20;f.item.top=p+"px"}n.refresh()})).catch((function(){})):this.$message.error("流程中必须保留一个审批或抄送节点")},getLastList:function(e){return 0==e.lists.length?e.lists:this.getLastList(e.lists[0])},changeNodeSite:function(){},nodeRightMenu:function(){},addNode:function(e){var t;if(this.showAddNode=!1,this.findNodeById(this.root,this.currentNode.sourceId),this.id+=1,"condition"==e.type){console.log(this.currentNode),console.log(this.currentChooseItem),t=new dY(fY(this.id,"条件"+this.id,"addCondition",this.currentChooseItem.item.left,"20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="1",this.currentChooseItem.item.to=t.item.id;var n=null;this.currentChooseItem.lists.length>0&&(this.currentChooseItem.lists[0].item.from=t.item.id,n=_.cloneDeep(this.currentChooseItem.lists[0])),this.id+=1;var i=new dY(fY(this.id,"条件1","condition","320px","20px",this.currentNode.sourceId,this.currentNode.targetId));t.item.to=i.item.id,i.item.from=t.item.id,i.item.to=n?n.item.id:this.currentNode.targetId,n&&"addCondition"==n.item.type&&(i.item.isCondition="1"),n&&(n.item.from=i.item.id,i.lists.push(n)),this.currentChooseItem.lists[0]=t,t.lists.push(i),this.addExtraCondition(event,!0)}else if("copyUser"==e.type){if(t=new dY(fY(this.id,"抄送人","ccTask","320px","20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="0",this.currentChooseItem.item.to=t.item.id,t.item.left=this.currentChooseItem.item.left,this.currentChooseItem.lists&&this.currentChooseItem.lists.length>0){this.currentChooseItem.lists[0].item.from=t.item.id;var r=_.cloneDeep(this.currentChooseItem.lists[0]);this.currentChooseItem.lists[0]=t,t.lists.push(r)}else this.currentChooseItem.lists.push(t);var o=pY(this.root.lists);o.sort(mY("level"));for(var a=0;a<o.length;a++){var s=o[a],l=200*(s.level-1)+20;s.item.top=l+"px"}}else{if(t=new dY(fY(this.id,"审批人","userTask","320px","20px",this.currentNode.sourceId,this.currentNode.targetId)),this.currentChooseItem.item.isCondition="0",this.currentChooseItem.item.to=t.item.id,t.item.left=this.currentChooseItem.item.left,this.currentChooseItem.lists&&this.currentChooseItem.lists.length>0){this.currentChooseItem.lists[0].item.from=t.item.id;var u=_.cloneDeep(this.currentChooseItem.lists[0]);this.currentChooseItem.lists[0]=t,t.lists.push(u)}else this.currentChooseItem.lists.push(t);var c=pY(this.root.lists);c.sort(mY("level"));for(var d=0;d<c.length;d++){var h=c[d],f=200*(h.level-1)+20;h.item.top=f+"px"}}this.refresh()},editNode:function(){},showForm:function(e){var t=this;if(console.log(this.data.nodeList,"showForm"),console.log(e),this.activeNode=e,"condition"==e.type){var n=cY.a.cloneDeep(e),i={};n.conditions.forEach((function(e,t){e.isArray&&"userId"!=e.variable&&(e.value=e.value.split(",")),i[e.variable]=e})),this.connection=i,this.title=e.name,this.conditionVisible=!0}else if("ccTask"==e.type){console.log(e);var r={approverType:"1",approvers:e.approvers||[],notifiers:e.notifiers||[],directorType:{typeName:"指定成员",type:1,authType:"1",isCCTask:!0}};console.log(r),this.$nextTick((function(){t.$refs.approverSelector.init(r)}))}else if("userTask"==e.type){e.approvers.forEach((function(e){e.name=e.userName,e.memberNo=e.userId})),e.notifiers.forEach((function(e){e.name=e.userName,e.memberNo=e.userId})),console.log(e.directorType,"*****");var o={approverType:e.approverType,approvers:e.approvers||[],notifiers:e.notifiers||[],passCopy:e.passCopy};this.nodeInfo=o,e.directorType?o.directorType=e.directorType:o.directorType={typeName:"指定成员",type:1,authType:"1"},0!=e.approvers.length?o.approvers=e.approvers:o.approvers=[{directorId:0,directorName:"直接主管"}],this.$nextTick((function(){t.$refs.approverSelector.init(o)}))}},changeNodeName:function(e){"condition"==e.node.type&&this.params.gateWayList.forEach((function(t,n){t.id==e.node.id&&(t.name=e.name)})),e.node.name=e.name},editName:function(e){this.title=e,this.activeNode.name=e},setCondition:function(e){var t=this;console.log(e);var n=Object.entries(e.form).map((function(t){var n=nO(t,2),i=n[0],r=n[1];return Array.isArray(r.value)?s(s({},r),{},{variable:i,value:"userId"==i||i==e.SxyData?"":r.value.join(","),opt:"=",isArray:!0,sponsors:"userId"==i||i==e.SxyData?r.sponsors:[]}):s(s({},r),{},{variable:i,isArray:!1})}));this.activeNode.conditions=n,this.activeNode.desc=e.desc.join(" 并且 "),this.params.gateWayList.forEach((function(e){e.id==t.activeNode.id&&(e.conditions=t.activeNode.conditions,e.desc=t.activeNode.desc)})),this.conditionVisible=!1},dataReload:function(e){},findNodeById:function(e,t){var n=this;e.item.id!=t?e.lists.forEach((function(e,i){e.item.id!=t?n.findNodeById(e,t):n.currentChooseItem=e})):n.currentChooseItem=e},addExtraCondition:function(e,t){if(this.isClick){var n=e.currentTarget,i=n.id;""!=i&&(i=i.replace("flowchartWindow",""),this.findNodeById(this.root,parseInt(i))),this.id+=1;var r=t?1:Math.max.apply("",this.currentChooseItem.lists.map((function(e){return parseFloat(e.item.name.substring(2))})));r++;var o,a=new dY(fY(this.id,"条件"+r,"condition","320px","20px",this.currentNode.sourceId,this.currentNode.targetId));if(""==i){o=this.currentChooseItem.lists[0];this.currentChooseItem.lists[0].lists.length;this.currentChooseItem.lists[0].lists.push(a)}else o=this.currentChooseItem,this.currentChooseItem.lists.push(a);a.item.from=o.item.id,a.item.to=o.lists[0].item.to,this.setResultToNode(),this.refresh()}},setResultToNode:function(){var e=pY(this.root.lists);e.sort(mY("level")),console.log(e,"result");for(var t=320,n=e.length;n>0;n--){for(var i=e[n-1],r=0;r<i.lists.length;r++){var o=i.lists[r];0==r?o.item.left=t/2+"px":(t+=320,o.item.left=t+"px",this.resetNodeLeft(o))}var a=200*(i.level-1)+20;i.item.top=a+"px"}this.data.nodeList=e},resetNodeLeft:function(e){var t=this;"condition"==e.item.type||"userTask"==e.item.type?e.lists.length>0&&e.lists.forEach((function(n){n.item.left=e.item.left,t.resetNodeLeft(n)})):"addCondition"==e.item.type&&e.lists.forEach((function(n,i){n.item.left=parseFloat(e.item.left)-160+320*i+"px",t.resetNodeLeft(n)}))}}},gY=vY,yY=(n("ee82"),uO(gY,Kj,Jj,!1,null,null,null)),bY=yY.exports,_Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[4!=e.nodeConfig.type?n("div",{staticClass:"node-wrap"},[n("div",{staticClass:"node-wrap-box",class:(0==e.nodeConfig.type?"start-node ":"")+(e.isTried&&e.nodeConfig.error?"active error":"")},[n("div",[n("div",{staticClass:"title",style:"background: rgb("+["87, 106, 149","255, 148, 62","50, 150, 250"][e.nodeConfig.type]+");"},[n("span",{directives:[{name:"show",rawName:"v-show",value:1==e.nodeConfig.type,expression:"nodeConfig.type==1"}],staticClass:"iconfont"},[e._v("")]),n("span",{directives:[{name:"show",rawName:"v-show",value:2==e.nodeConfig.type,expression:"nodeConfig.type==2"}],staticClass:"iconfont"},[e._v("")]),0==e.nodeConfig.type?n("span",[e._v(e._s(e.nodeConfig.nodeName))]):e._e(),0!=e.nodeConfig.type&&e.isInput?n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:e.nodeConfig.nodeName,expression:"nodeConfig.nodeName"}],staticClass:"ant-input editable-title-input",attrs:{type:"text",placeholder:e.placeholderList[e.nodeConfig.type]},domProps:{value:e.nodeConfig.nodeName},on:{blur:function(t){return e.blurEvent()},focus:function(e){return e.currentTarget.select()},input:function(t){t.target.composing||e.$set(e.nodeConfig,"nodeName",t.target.value)}}}):e._e(),0==e.nodeConfig.type||e.isInput?e._e():n("span",{staticClass:"editable-title",on:{click:function(t){return e.clickEvent()}}},[e._v(e._s(e.nodeConfig.nodeName))]),0!=e.nodeConfig.type?n("i",{staticClass:"anticon anticon-close close",on:{click:function(t){return e.delNode()}}}):e._e()]),n("div",{staticClass:"content",on:{click:e.setPerson}},[0==e.nodeConfig.type?n("div",{staticClass:"text"},[e._v(e._s(e.arrToStr(e.flowPermission)?e.arrToStr(e.flowPermission):"请求发起人"))]):e._e(),1==e.nodeConfig.type?n("div",{staticClass:"text"},[e.setApproverStr(e.nodeConfig)?e._e():n("span",{staticClass:"placeholder"},[e._v("请选择"+e._s(e.placeholderList[e.nodeConfig.type]))]),e._v("\n "+e._s(e.setApproverStr(e.nodeConfig))+"\n ")]):e._e(),2==e.nodeConfig.type?n("div",{staticClass:"text"},[e.copyerStr(e.nodeConfig)?e._e():n("span",{staticClass:"placeholder"},[e._v("请选择"+e._s(e.placeholderList[e.nodeConfig.type]))]),e._v("\n "+e._s(e.copyerStr(e.nodeConfig))+"\n ")]):e._e(),n("i",{staticClass:"anticon anticon-right arrow"})]),e.isTried&&e.nodeConfig.error?n("div",{staticClass:"error_tip"},[n("i",{staticClass:"anticon anticon-exclamation-circle",staticStyle:{color:"rgb(242, 86, 67)"}})]):e._e()])]),n("addNode",{attrs:{childNodeP:e.nodeConfig.childNode},on:{"update:childNodeP":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:child-node-p":function(t){return e.$set(e.nodeConfig,"childNode",t)}}})],1):e._e(),4==e.nodeConfig.type?n("div",{staticClass:"branch-wrap"},[n("div",{staticClass:"branch-box-wrap"},[n("div",{staticClass:"branch-box"},[n("button",{staticClass:"add-branch",on:{click:e.addTerm}},[e._v("添加条件")]),e._l(e.nodeConfig.conditionNodes,(function(t,i){return n("div",{key:i,staticClass:"col-box"},[n("div",{staticClass:"condition-node"},[n("div",{staticClass:"condition-node-box"},[n("div",{staticClass:"auto-judge",class:e.isTried&&t.error?"error active":""},[0!=i?n("div",{staticClass:"sort-left",on:{click:function(t){return e.arrTransfer(i,-1)}}},[e._v("<")]):e._e(),n("div",{staticClass:"title-wrapper"},[e.isInputList[i]?n("input",{directives:[{name:"focus",rawName:"v-focus"},{name:"model",rawName:"v-model",value:t.nodeName,expression:"item.nodeName"}],staticClass:"ant-input editable-title-input",attrs:{type:"text"},domProps:{value:t.nodeName},on:{blur:function(t){return e.blurEvent(i)},focus:function(e){return e.currentTarget.select()},input:function(n){n.target.composing||e.$set(t,"nodeName",n.target.value)}}}):e._e(),e.isInputList[i]?e._e():n("span",{staticClass:"editable-title",on:{click:function(t){return e.clickEvent(i)}}},[e._v(e._s(t.nodeName))]),n("span",{staticClass:"priority-title",on:{click:function(n){return e.setPerson(t.priority,t)}}},[e._v("优先级"+e._s(t.priority))]),n("i",{staticClass:"anticon anticon-close close",on:{click:function(t){return e.delTerm(i)}}})]),i!=e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"sort-right",on:{click:function(t){return e.arrTransfer(i)}}},[e._v(">")]):e._e(),n("div",{staticClass:"content",on:{click:function(n){return e.setPerson(t.priority,t)}}},[e._v(e._s(e.conditionStr(t,i)))]),e.isTried&&t.error?n("div",{staticClass:"error_tip"},[n("i",{staticClass:"anticon anticon-exclamation-circle",staticStyle:{color:"rgb(242, 86, 67)"}})]):e._e()]),n("addNode",{attrs:{childNodeP:t.childNode},on:{"update:childNodeP":function(n){return e.$set(t,"childNode",n)},"update:child-node-p":function(n){return e.$set(t,"childNode",n)}}})],1)]),t.childNode&&t.childNode?n("nodeWrap",{attrs:{nodeConfig:t.childNode,tableId:e.tableId,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel},on:{"update:nodeConfig":function(n){return e.$set(t,"childNode",n)},"update:node-config":function(n){return e.$set(t,"childNode",n)},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}):e._e(),0==i?n("div",{staticClass:"top-left-cover-line"}):e._e(),0==i?n("div",{staticClass:"bottom-left-cover-line"}):e._e(),i==e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"top-right-cover-line"}):e._e(),i==e.nodeConfig.conditionNodes.length-1?n("div",{staticClass:"bottom-right-cover-line"}):e._e()],1)}))],2),n("addNode",{attrs:{childNodeP:e.nodeConfig.childNode},on:{"update:childNodeP":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:child-node-p":function(t){return e.$set(e.nodeConfig,"childNode",t)}}})],1)]):e._e(),e.nodeConfig.childNode&&e.nodeConfig.childNode?n("nodeWrap",{attrs:{nodeConfig:e.nodeConfig.childNode,tableId:e.tableId,isTried:e.isTried,directorMaxLevel:e.directorMaxLevel,queryInfo:e.queryInfo},on:{"update:nodeConfig":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:node-config":function(t){return e.$set(e.nodeConfig,"childNode",t)},"update:isTried":function(t){e.isTried=t},"update:is-tried":function(t){e.isTried=t}}}):e._e(),n("ApproverSelector",{ref:"approverSelector",attrs:{queryInfo:e.queryInfo}}),n("NodeConditionConfig",{ref:"conditionForm",attrs:{formData:e.connection,title:e.title,queryInfo:e.queryInfo}})],1)},wY=[],xY=(n("a575"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"add-node-btn-box"},[n("div",{staticClass:"add-node-btn"},[n("el-popover",{attrs:{placement:"right-start"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[n("div",{staticClass:"add-node-popover-body"},[n("a",{staticClass:"add-node-popover-item approver",on:{click:function(t){return e.addType(1)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("审批人")])])]),n("a",{staticClass:"add-node-popover-item notifier",on:{click:function(t){return e.addType(2)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("抄送人")])])]),n("a",{staticClass:"add-node-popover-item condition",on:{click:function(t){return e.addType(4)}}},[n("div",{staticClass:"item-wrapper"},[n("span",{staticClass:"iconfont"},[e._v("")]),n("p",[e._v("条件分支")])])])]),n("button",{staticClass:"btn",attrs:{slot:"reference",type:"button"},slot:"reference"},[n("span",{staticClass:"iconfont"},[e._v("")])])])],1)])}),kY=[],MY={props:["childNodeP"],data:function(){return{visible:!1}},methods:{addType:function(e){var t;(this.visible=!1,4!=e)?(1==e?t={nodeName:"审批人",error:!0,type:1,setType:1,directorLevel:1,examineMode:"3",authType:"1",childNode:this.childNodeP,nodeUserList:[]}:2==e&&(t={nodeName:"抄送人",type:2,ccSelfSelectFlag:1,childNode:this.childNodeP,nodeUserList:[]}),this.$emit("update:childNodeP",t)):this.$emit("update:childNodeP",{nodeName:"路由",type:4,childNode:null,conditionNodes:[{nodeName:"条件1",error:!0,type:3,priority:1,conditionList:[],nodeUserList:[],childNode:this.childNodeP},{nodeName:"条件2",type:3,priority:2,conditionList:[],nodeUserList:[],childNode:null}]})}}},SY=MY,CY=uO(SY,xY,kY,!1,null,null,null),DY=CY.exports,LY={props:["nodeConfig","flowPermission","directorMaxLevel","isTried","tableId","queryInfo"],components:{ApproverSelector:lY,NodeConditionConfig:WI,addNode:DY},name:"nodeWrap",data:function(){return{placeholderList:["发起人","审批人","抄送人"],isInputList:[],isInput:!1,approverConfig:{},copyerConfig:{},ccSelfSelectFlag:[],conditionConfig:{},conditionsConfig:{conditionNodes:[]},bPriorityLevel:"",conditions:[],conditionList:[],connection:{},title:""}},mounted:function(){if(1==this.nodeConfig.type)this.nodeConfig.error=!this.setApproverStr(this.nodeConfig);else if(2==this.nodeConfig.type)this.nodeConfig.error=!this.copyerStr(this.nodeConfig);else if(4==this.nodeConfig.type)for(var e=0;e<this.nodeConfig.conditionNodes.length;e++)this.nodeConfig.conditionNodes[e].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[e],e)&&e!=this.nodeConfig.conditionNodes.length-1},created:function(){},methods:{clickEvent:function(e){e||0===e?this.$set(this.isInputList,e,!0):this.isInput=!0},blurEvent:function(e){e||0===e?(this.$set(this.isInputList,e,!1),this.nodeConfig.conditionNodes[e].nodeName=this.nodeConfig.conditionNodes[e].nodeName?this.nodeConfig.conditionNodes[e].nodeName:"条件"):(this.isInput=!1,this.nodeConfig.nodeName=this.nodeConfig.nodeName?this.nodeConfig.nodeName:this.placeholderList[this.nodeConfig.type])},setPerson:function(e,t){var n=this.nodeConfig.type;0==n||(1==n?(this.$refs.approverSelector.init(this.nodeConfig),this.approverConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.approverConfig.setType=this.approverConfig.setType?this.approverConfig.setType:1):2==n?(this.$refs.approverSelector.init(this.nodeConfig),this.copyerConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.ccSelfSelectFlag=0==this.copyerConfig.ccSelfSelectFlag?[]:[this.copyerConfig.ccSelfSelectFlag]):(this.bPriorityLevel=e,this.conditionsConfig=JSON.parse(JSON.stringify(this.nodeConfig)),this.conditionConfig=this.conditionsConfig.conditionNodes[e-1],this.$refs.conditionForm.nodeConditionHandler(),this.fillConditionForm(this.conditionConfig)))},changeType:function(e){this.approverConfig.nodeUserList=[],this.approverConfig.examineMode="3",this.approverConfig.authType="1",2==e&&(this.approverConfig.directorLevel=0),this.approverConfig.setType=e},noHanderActionChange:function(e){this.approverConfig.authType=e},directorLevelChange:function(e){this.approverConfig.directorLevel=e},examineModeChange:function(e){this.approverConfig.examineMode=e},submitApprover:function(e){e.approverType;var t=e.approvers;e.directorType,e.notifiers;this.approverConfig.nodeUserList=[],1==this.approverConfig.setType&&(this.approverConfig.nodeUserList=t),this.saveApprover(),this.$refs.approverSelector.showApproverSelector()},saveApprover:function(){this.approverConfig.error=!this.setApproverStr(this.approverConfig),this.$emit("update:nodeConfig",this.approverConfig)},setApproverStr:function(e){if(1==e.setType){if(1==e.nodeUserList.length)return e.nodeUserList[0].userName;if(e.nodeUserList.length>1){if("1"==e.examineMode)return e.nodeUserList.length+"人会签";if("2"==e.examineMode)return e.nodeUserList.length+"人或签";if("3"==e.examineMode)return e.nodeUserList.length+"人依次审批"}}else if(2==e.setType){var t=0==e.directorLevel?"直接主管":"第"+(parseInt(e.directorLevel)+1)+"级主管";if("1"==e.examineMode)return t+"会签";if("2"==e.examineMode)return t+"人或签";if("3"==e.examineMode)return t+"人依次审批"}},arrToStr:function(e){if(e)return e.map((function(e){return e.userName})).toString()},submitCopyer:function(e){e.approverType,e.approvers;var t=e.notifiers;e.passCopy,e.directorType;this.copyerConfig.nodeUserList=t,this.saveCopyer(),this.$refs.approverSelector.showApproverSelector()},saveCopyer:function(){this.copyerConfig.ccSelfSelectFlag=0==this.ccSelfSelectFlag.length?0:1,this.copyerConfig.error=!this.copyerStr(this.copyerConfig),this.$emit("update:nodeConfig",this.copyerConfig)},copyerStr:function(e){if(0!=e.nodeUserList.length)return this.arrToStr(e.nodeUserList)},delNode:function(){this.$emit("update:nodeConfig",this.nodeConfig.childNode)},addTerm:function(){var e=this.nodeConfig.conditionNodes.length+1;this.nodeConfig.conditionNodes.push({nodeName:"条件"+e,type:3,priority:e,conditionList:[],nodeUserList:[],childNode:null});for(var t=0;t<this.nodeConfig.conditionNodes.length;t++)this.nodeConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[t],t)&&t!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig)},delTerm:function(e){this.nodeConfig.conditionNodes.splice(e,1);for(var t=0;t<this.nodeConfig.conditionNodes.length;t++)this.nodeConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[t],t)&&t!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig),1==this.nodeConfig.conditionNodes.length&&(this.nodeConfig.childNode&&(this.nodeConfig.conditionNodes[0].childNode?this.reData(this.nodeConfig.conditionNodes[0].childNode,this.nodeConfig.childNode):this.nodeConfig.conditionNodes[0].childNode=this.nodeConfig.childNode),this.$emit("update:nodeConfig",this.nodeConfig.conditionNodes[0].childNode))},reData:function(e,t){e.childNode?this.reData(e.childNode,t):e.childNode=t},fillConditionForm:function(e){var t={};e.conditionList.forEach((function(e,n){e.isArray&&"userId"!=e.variable&&(e.value=e.value.split(",")),["input","sponsor"].includes(e.ele)||(e.value=e.value.split(",")),t[e.variable]=e})),this.connection=t,this.title=e.nodeName},saveCondition:function(){var e=this.conditionsConfig.conditionNodes.splice(this.bPriorityLevel-1,1);this.conditionsConfig.conditionNodes.splice(this.conditionConfig.priority-1,0,e[0]),this.conditionsConfig.conditionNodes.map((function(e,t){return e.priority=t+1}));for(var t=0;t<this.conditionsConfig.conditionNodes.length;t++)this.conditionsConfig.conditionNodes[t].error="请设置条件"==this.conditionStr(this.conditionsConfig.conditionNodes[t],t)&&t!=this.conditionsConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.conditionsConfig)},submitCondition:function(e){var t=e.form,n=e.desc;e.SxyData;for(var i in this.conditionConfig.nodeUserList=[],this.conditionConfig.conditionList=[],this.conditionConfig.desc=n,t.userId&&(this.conditionConfig.nodeUserList=t.userId.sponsors),t){var r=void 0;Array.isArray(t[i].value)&&(r={value:t[i].value.join(",")}),this.conditionConfig.conditionList.push(s(s({},t[i]),{},{variable:i},r))}this.saveCondition(),this.$refs.conditionForm.nodeConditionHandler()},conditionStr:function(e,t){var n=e.conditionList;e.nodeUserList;return 0==n.length?t==this.nodeConfig.conditionNodes.length-1&&0!=this.nodeConfig.conditionNodes[0].conditionList.length?"其他条件进入此流程":"请设置条件":e.desc?e.desc.join(";"):void 0},arrTransfer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.nodeConfig.conditionNodes[e]=this.nodeConfig.conditionNodes.splice(e+t,1,this.nodeConfig.conditionNodes[e])[0],this.nodeConfig.conditionNodes.map((function(e,t){e.priority=t+1}));for(var n=0;n<this.nodeConfig.conditionNodes.length;n++)this.nodeConfig.conditionNodes[n].error="请设置条件"==this.conditionStr(this.nodeConfig.conditionNodes[n],n)&&n!=this.nodeConfig.conditionNodes.length-1;this.$emit("update:nodeConfig",this.nodeConfig)}}},TY=LY,EY=(n("a1fd"),uO(TY,_Y,wY,!1,null,"07a923dc",null)),PY=EY.exports,jY={name:"Process",components:{OldProcess:bY,nodeWrap:PY},props:{path:{type:String,default:function(){return"/index"}},queryInfo:{type:Object,default:function(){return{name:"公告管理",type:"notice"}}},userInfo:{type:Object,default:function(){return{companyNo:"202008267425615",no:""}}},formBuilder:{type:Object,default:function(){return{formDesId:""}}}},data:function(){return{isTried:!1,tipList:[],tipVisible:!1,nowVal:100,processConfig:{},nodeConfig:{},workFlowDef:{},flowPermission:[],directorMaxLevel:0,dialogVisible:!0,tableId:"",isFlg:!0,isOldData:!1,oldModal:!1,type:null,processId:null}},mounted:function(){},created:function(){this.getProcessSet(),this.type="/index"==this.path?"customForm_"+this.formBuilder.formDesId:this.queryInfo.type},methods:{initData:function(e){this.processConfig=e,this.processConfig.processId=this.processId,this.nodeConfig=this.processConfig.nodeConfig,this.flowPermission=this.processConfig.flowPermission,this.directorMaxLevel=this.processConfig.directorMaxLevel,this.workFlowDef={switchOn:!!parseInt(this.processConfig.switchOn),automaticPass:!!parseInt(this.processConfig.automaticPass)}},getProcessSet:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n,i,r,o,a,s,l;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={companyId:e.userInfo.companyNo,type:e.queryInfo.type},t.next=3,qj(n);case 3:i=t.sent,r=i.data,o=r.state,a=r.data,"ok"==o&&a?(e.processId=a._id,s=a.content,l=a.rootNode,l.isNewVersion?e.initData(JSON.parse(s)):(e.isOldData=!0,e.initData(e.handleOldProcess(s)))):e.initData(JSON.parse(JSON.stringify(f.data)));case 6:case"end":return t.stop()}}),t)})))()},handleOldProcess:function(e){var t=this,n=JSON.parse(e),i=n.nodeList,r=n.companyId,o=n.creator,a=n.describe,s=n.processName,l=n.switchOn,u=n.type,c=n.version,d=i.filter((function(e){return!["start","end"].includes(e.item.type)})),h={companyId:r,creator:o,describe:a,nodeConfig:{pkId:"sid-start-node",nodeName:"发起人",type:0,priority:"",setType:"",directorLevel:"",examineMode:"",authType:"",ccSelfSelectFlag:"",conditionList:[],nodeUserList:[],childNode:null,conditionNodes:[]},processId:this.processId,processName:s,switchOn:l,automaticPass:0,type:u,version:c},f=d.filter((function(e){return"addCondition"==e.item.type}));if(!f.length){var p={},m=[];d.map((function(e,n){d[n].item=t.createTypeData(e.item),delete d[n].lists,delete d[n].level})),d.forEach((function(e){p[e.item.id]=e.item})),d.forEach((function(e){var t=p[parseInt(e.item.from)];t?(t.children||(t.children=[])).push(e.item):m.push(e.item)})),this.flatChildNode(m[0]),h.nodeConfig.childNode=m[0]}return h},flatChildNode:function(e){e.childNode=e.children&&e.children[0]?e.children[0]:null,e.children&&e.children[0]&&(e.children[0].children&&this.flatChildNode(e.children[0]),delete e.id,delete e.from,delete e.children,delete e.childNode.id,delete e.childNode.from)},createTypeData:function(e){var t={};return"userTask"==e.type?t={nodeName:"审批人",type:1,priority:1,setType:e.directorType&&e.directorType.type||1,directorLevel:"3"==e.approverType?e.approvers[0].directorId:"",examineMode:e.approverType,authType:e.directorType&&e.directorType.type||"1",ccSelfSelectFlag:1,conditionList:[],nodeUserList:e.approvers||[],childNode:null,conditionNodes:[],error:!1,id:e.id,from:e.from}:"ccTask"==e.type&&(t={ccSelfSelectFlag:1,error:!1,type:2,nodeName:"抄送人",nodeUserList:e.notifiers,id:e.id,from:e.from}),t},showOldModal:function(){this.oldModal=!this.oldModal},toReturn:function(){},reErr:function(e){if(e.childNode){if(1==e.childNode.type)e.childNode.error&&this.tipList.push({name:e.childNode.nodeName,type:"审批人"}),this.reErr(e.childNode);else if(2==e.childNode.type)e.childNode.error&&this.tipList.push({name:e.childNode.nodeName,type:"抄送人"}),this.reErr(e.childNode);else if(3==e.childNode.type)this.reErr(e.childNode.childNode);else if(4==e.childNode.type){this.reErr(e.childNode);for(var t=0;t<e.childNode.conditionNodes.length;t++)e.childNode.conditionNodes[t].error&&this.tipList.push({name:e.childNode.conditionNodes[t].nodeName,type:"条件"}),this.reErr(e.childNode.conditionNodes[t])}}else e.childNode=null},saveSet:function(){var e=this;return d(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isTried=!0,e.tipList=[],e.reErr(e.nodeConfig),0==e.tipList.length){t.next=6;break}return e.tipVisible=!0,t.abrupt("return");case 6:if(e.processConfig.flowPermission=e.flowPermission,e.processConfig=s(s({},e.processConfig),{},{switchOn:e.workFlowDef.switchOn?1:0,automaticPass:e.workFlowDef.automaticPass?1:0,creator:e.userInfo.no,companyId:e.userInfo.companyNo,type:e.type,processName:e.queryInfo.name,describe:e.queryInfo.name,menuId:e.formBuilder.menuId,menuName:e.formBuilder.name||""}),!e.processConfig.processId){t.next=14;break}return t.next=11,Vj(e.processConfig);case 11:n=t.sent,t.next=17;break;case 14:return t.next=16,Bj(e.processConfig);case 16:n=t.sent;case 17:"ok"==n.data.state?(e.$message.success({message:e.processConfig.processId?"编辑成功":"保存成功",duration:1500}),-1==e.type.indexOf("customForm_")&&(e.$removeTag1(e.$route),e.$router.go(-1))):(e.isTried=!1,e.$message.error({message:n.data.msg?n.data.msg:"保存失败",duration:1500}));case 18:case"end":return t.stop()}}),t)})))()},cancel:function(){var e=this;this.$confirm("有修改的内容未保存,确认离开吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$removeTag1(e.$route),e.$router.go(-1)})).catch((function(){}))},zoomSize:function(e){if(1==e){if(50==this.nowVal)return;this.nowVal-=10}else{if(300==this.nowVal)return;this.nowVal+=10}}}},OY=jY,IY=(n("c774"),uO(OY,l,u,!1,null,"6835d5ee",null)),YY=IY.exports,AY=[YY],NY=function e(t){e.installed||(e.installed=!0,AY.map((function(e){t.component(e.name,e)})))};"undefined"!==typeof window&&window.Vue&&NY(window.Vue);var HY=s({install:NY},AY);t["default"]=HY},"12cb":function(e,t,n){var i=n("3a08"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"12e7":function(e,t,n){"use strict";var i=n("3866").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},1320:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
29
29
|
//! moment.js locale configuration
|
|
30
30
|
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},1331:function(e,t,n){var i=n("7bb6"),r=n("357f"),o=n("21d5"),a=r("species");e.exports=function(e){return o>=51||!i((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"13d6":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
31
31
|
//! moment.js locale configuration
|
|
@@ -93,19 +93,19 @@ var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0
|
|
|
93
93
|
//! moment.js locale configuration
|
|
94
94
|
function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},"35be":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
95
95
|
//! moment.js locale configuration
|
|
96
|
-
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"367a":function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;e.exports=i((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},3737:function(e,t,n){var i=n("7bb6"),r=n("2909"),o="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o.call(e,""):Object(e)}:Object},3769:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"37b4":function(e,t,n){var i=n("0cc5"),r=n("d48a"),o=n("8a8a"),a=n("5d61"),s=n("dce3"),l=n("4a92"),u=Object.getOwnPropertyDescriptor;t.f=n("5e9e")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"383f":function(e,t,n){n("582e");for(var i=n("a4cf"),r=n("0cb2"),o=n("43ce"),a=n("eeeb")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),o[u]=o.Array}},3866:function(e,t,n){var i=n("3769"),r=n("a869"),o=n("488b"),a=function(e){return function(t,n){var a,s,l=r(o(t)),u=i(n),c=l.length;return u<0||u>=c?e?"":void 0:(a=l.charCodeAt(u),a<55296||a>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?e?l.charAt(u):a:e?l.slice(u,u+2):s-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},3938:function(e,t,n){"use strict";var i,r,o,a,s=n("a8aa"),l=n("7195"),u=n("b20c"),c=n("ca48"),d=n("4ed0"),h=n("ae12"),f=n("5e26"),p=n("6e80"),m=n("b103"),v=n("10a9"),g=n("c52e"),y=n("92e1"),b=n("0196"),_=n("d925"),w=n("2a82"),x=n("6602"),k=n("41a9"),M=n("7c47"),S=n("d150").set,C=n("dec8"),D=n("202a"),L=n("b165"),T=n("ef33"),E=n("dbbb"),P=n("930e"),j=n("6e9d"),O=n("357f"),I=n("5b6c"),Y=n("a17f"),A=n("21d5"),N=O("species"),H="Promise",R=P.get,F=P.set,z=P.getterFor(H),$=d&&d.prototype,B=d,W=$,V=u.TypeError,U=u.document,q=u.process,G=T.f,K=G,J=!!(U&&U.createEvent&&u.dispatchEvent),X=y(u.PromiseRejectionEvent),Z="unhandledrejection",Q="rejectionhandled",ee=0,te=1,ne=2,ie=1,re=2,oe=!1,ae=j(H,(function(){var e=w(B),t=e!==String(B);if(!t&&66===A)return!0;if(l&&!W["finally"])return!0;if(A>=51&&/native code/.test(e))return!1;var n=new B((function(e){e(1)})),i=function(e){e((function(){}),(function(){}))},r=n.constructor={};return r[N]=i,oe=n.then((function(){}))instanceof i,!oe||!t&&I&&!X})),se=ae||!k((function(e){B.all(e)["catch"]((function(){}))})),le=function(e){var t;return!(!b(e)||!y(t=e.then))&&t},ue=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;C((function(){var i=e.value,r=e.state==te,o=0;while(n.length>o){var a,s,l,u=n[o++],c=r?u.ok:u.fail,d=u.resolve,h=u.reject,f=u.domain;try{c?(r||(e.rejection===re&&fe(e),e.rejection=ie),!0===c?a=i:(f&&f.enter(),a=c(i),f&&(f.exit(),l=!0)),a===u.promise?h(V("Promise-chain cycle")):(s=le(a))?s.call(a,d,h):d(a)):h(i)}catch(p){f&&!l&&f.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&de(e)}))}},ce=function(e,t,n){var i,r;J?(i=U.createEvent("Event"),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),u.dispatchEvent(i)):i={promise:t,reason:n},!X&&(r=u["on"+e])?r(i):e===Z&&L("Unhandled promise rejection",n)},de=function(e){S.call(u,(function(){var t,n=e.facade,i=e.value,r=he(e);if(r&&(t=E((function(){Y?q.emit("unhandledRejection",i,n):ce(Z,n,i)})),e.rejection=Y||he(e)?re:ie,t.error))throw t.value}))},he=function(e){return e.rejection!==ie&&!e.parent},fe=function(e){S.call(u,(function(){var t=e.facade;Y?q.emit("rejectionHandled",t):ce(Q,t,e.value)}))},pe=function(e,t,n){return function(i){e(t,i,n)}},me=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ne,ue(e,!0))},ve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var i=le(t);i?C((function(){var n={done:!1};try{i.call(t,pe(ve,n,e),pe(me,n,e))}catch(r){me(n,r,e)}})):(e.value=t,e.state=te,ue(e,!1))}catch(r){me({done:!1},r,e)}}};if(ae&&(B=function(e){_(this,B,H),g(e),i.call(this);var t=R(this);try{e(pe(ve,t),pe(me,t))}catch(n){me(t,n)}},W=B.prototype,i=function(e){F(this,{type:H,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:ee,value:void 0})},i.prototype=f(W,{then:function(e,t){var n=z(this),i=G(M(this,B));return i.ok=!y(e)||e,i.fail=y(t)&&t,i.domain=Y?q.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=ee&&ue(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new i,t=R(e);this.promise=e,this.resolve=pe(ve,t),this.reject=pe(me,t)},T.f=G=function(e){return e===B||e===o?new r(e):K(e)},!l&&y(d)&&$!==Object.prototype)){a=$.then,oe||(h($,"then",(function(e,t){var n=this;return new B((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),h($,"catch",W["catch"],{unsafe:!0}));try{delete $.constructor}catch(ge){}p&&p($,W)}s({global:!0,wrap:!0,forced:ae},{Promise:B}),m(B,H,!1,!0),v(H),o=c(H),s({target:H,stat:!0,forced:ae},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:H,stat:!0,forced:l||ae},{resolve:function(e){return D(l&&this===o?B:this,e)}}),s({target:H,stat:!0,forced:se},{all:function(e){var t=this,n=G(t),i=n.resolve,r=n.reject,o=E((function(){var n=g(t.resolve),o=[],a=0,s=1;x(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=G(t),i=n.reject,r=E((function(){var r=g(t.resolve);x(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},"3a08":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3abc":function(e,t){e.exports=function(){}},"3bc4":function(e,t,n){n("f4aa"),n("273d"),n("6239"),n("a96d"),e.exports=n("ce99").Symbol},"3bca":function(e,t,n){var i=n("c903");e.exports=/web0s(?!.*chrome)/i.test(i)},"3c5c":function(e,t,n){"use strict";n("f1b1")},"3c75":function(e,t,n){var i=n("dce3"),r=n("8a8a"),o=n("f3cc")(!1),a=n("245c")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"3cea":function(e,t,n){"use strict";var i=n("a95f");e.exports=Function.prototype.bind||i},"3d4b":function(e,t,n){var i=n("c52e");e.exports=function(e,t){var n=e[t];return null==n?void 0:i(n)}},"3f01":function(e,t,n){"use strict";var i=n("a8aa"),r=n("bdbe"),o=n("b20c"),a=n("d43b"),s=n("92e1"),l=n("0196"),u=n("cd07").f,c=n("169b"),d=o.Symbol;if(r&&s(d)&&(!("description"in d.prototype)||void 0!==d().description)){var h={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new d(e):void 0===e?d():d(e);return""===e&&(h[t]=!0),t};c(f,d);var p=f.prototype=d.prototype;p.constructor=f;var m=p.toString,v="Symbol(test)"==String(d("test")),g=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(a(h,e))return"";var n=v?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},"3f33":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
96
|
+
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"367a":function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;e.exports=i((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},3737:function(e,t,n){var i=n("7bb6"),r=n("2909"),o="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o.call(e,""):Object(e)}:Object},3769:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"37b4":function(e,t,n){var i=n("0cc5"),r=n("d48a"),o=n("8a8a"),a=n("5d61"),s=n("dce3"),l=n("4a92"),u=Object.getOwnPropertyDescriptor;t.f=n("5e9e")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},"383f":function(e,t,n){n("582e");for(var i=n("a4cf"),r=n("0cb2"),o=n("43ce"),a=n("eeeb")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),o[u]=o.Array}},3866:function(e,t,n){var i=n("3769"),r=n("a869"),o=n("488b"),a=function(e){return function(t,n){var a,s,l=r(o(t)),u=i(n),c=l.length;return u<0||u>=c?e?"":void 0:(a=l.charCodeAt(u),a<55296||a>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?e?l.charAt(u):a:e?l.slice(u,u+2):s-56320+(a-55296<<10)+65536)}};e.exports={codeAt:a(!1),charAt:a(!0)}},3938:function(e,t,n){"use strict";var i,r,o,a,s=n("a8aa"),l=n("7195"),u=n("b20c"),c=n("ca48"),d=n("4ed0"),h=n("ae12"),f=n("5e26"),p=n("6e80"),m=n("b103"),v=n("10a9"),g=n("c52e"),y=n("92e1"),b=n("0196"),_=n("d925"),w=n("2a82"),x=n("6602"),k=n("41a9"),M=n("7c47"),S=n("d150").set,C=n("dec8"),D=n("202a"),L=n("b165"),T=n("ef33"),E=n("dbbb"),P=n("930e"),j=n("6e9d"),O=n("357f"),I=n("5b6c"),Y=n("a17f"),A=n("21d5"),N=O("species"),H="Promise",R=P.get,F=P.set,z=P.getterFor(H),$=d&&d.prototype,B=d,W=$,V=u.TypeError,U=u.document,q=u.process,G=T.f,K=G,J=!!(U&&U.createEvent&&u.dispatchEvent),X=y(u.PromiseRejectionEvent),Z="unhandledrejection",Q="rejectionhandled",ee=0,te=1,ne=2,ie=1,re=2,oe=!1,ae=j(H,(function(){var e=w(B),t=e!==String(B);if(!t&&66===A)return!0;if(l&&!W["finally"])return!0;if(A>=51&&/native code/.test(e))return!1;var n=new B((function(e){e(1)})),i=function(e){e((function(){}),(function(){}))},r=n.constructor={};return r[N]=i,oe=n.then((function(){}))instanceof i,!oe||!t&&I&&!X})),se=ae||!k((function(e){B.all(e)["catch"]((function(){}))})),le=function(e){var t;return!(!b(e)||!y(t=e.then))&&t},ue=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;C((function(){var i=e.value,r=e.state==te,o=0;while(n.length>o){var a,s,l,u=n[o++],c=r?u.ok:u.fail,d=u.resolve,h=u.reject,f=u.domain;try{c?(r||(e.rejection===re&&fe(e),e.rejection=ie),!0===c?a=i:(f&&f.enter(),a=c(i),f&&(f.exit(),l=!0)),a===u.promise?h(V("Promise-chain cycle")):(s=le(a))?s.call(a,d,h):d(a)):h(i)}catch(p){f&&!l&&f.exit(),h(p)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&de(e)}))}},ce=function(e,t,n){var i,r;J?(i=U.createEvent("Event"),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),u.dispatchEvent(i)):i={promise:t,reason:n},!X&&(r=u["on"+e])?r(i):e===Z&&L("Unhandled promise rejection",n)},de=function(e){S.call(u,(function(){var t,n=e.facade,i=e.value,r=he(e);if(r&&(t=E((function(){Y?q.emit("unhandledRejection",i,n):ce(Z,n,i)})),e.rejection=Y||he(e)?re:ie,t.error))throw t.value}))},he=function(e){return e.rejection!==ie&&!e.parent},fe=function(e){S.call(u,(function(){var t=e.facade;Y?q.emit("rejectionHandled",t):ce(Q,t,e.value)}))},pe=function(e,t,n){return function(i){e(t,i,n)}},me=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ne,ue(e,!0))},ve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var i=le(t);i?C((function(){var n={done:!1};try{i.call(t,pe(ve,n,e),pe(me,n,e))}catch(r){me(n,r,e)}})):(e.value=t,e.state=te,ue(e,!1))}catch(r){me({done:!1},r,e)}}};if(ae&&(B=function(e){_(this,B,H),g(e),i.call(this);var t=R(this);try{e(pe(ve,t),pe(me,t))}catch(n){me(t,n)}},W=B.prototype,i=function(e){F(this,{type:H,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:ee,value:void 0})},i.prototype=f(W,{then:function(e,t){var n=z(this),i=G(M(this,B));return i.ok=!y(e)||e,i.fail=y(t)&&t,i.domain=Y?q.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=ee&&ue(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new i,t=R(e);this.promise=e,this.resolve=pe(ve,t),this.reject=pe(me,t)},T.f=G=function(e){return e===B||e===o?new r(e):K(e)},!l&&y(d)&&$!==Object.prototype)){a=$.then,oe||(h($,"then",(function(e,t){var n=this;return new B((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),h($,"catch",W["catch"],{unsafe:!0}));try{delete $.constructor}catch(ge){}p&&p($,W)}s({global:!0,wrap:!0,forced:ae},{Promise:B}),m(B,H,!1,!0),v(H),o=c(H),s({target:H,stat:!0,forced:ae},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:H,stat:!0,forced:l||ae},{resolve:function(e){return D(l&&this===o?B:this,e)}}),s({target:H,stat:!0,forced:se},{all:function(e){var t=this,n=G(t),i=n.resolve,r=n.reject,o=E((function(){var n=g(t.resolve),o=[],a=0,s=1;x(e,(function(e){var l=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,o[l]=e,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(e){var t=this,n=G(t),i=n.reject,r=E((function(){var r=g(t.resolve);x(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},"3a08":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3abc":function(e,t){e.exports=function(){}},"3bc4":function(e,t,n){n("f4aa"),n("273d"),n("6239"),n("a96d"),e.exports=n("ce99").Symbol},"3bca":function(e,t,n){var i=n("c903");e.exports=/web0s(?!.*chrome)/i.test(i)},"3c5c":function(e,t,n){"use strict";n("f1b1")},"3c75":function(e,t,n){var i=n("dce3"),r=n("8a8a"),o=n("f3cc")(!1),a=n("245c")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},"3c7d":function(e,t,n){var i=n("0373");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("65276c28",i,!0,{sourceMap:!1,shadowMode:!1})},"3cea":function(e,t,n){"use strict";var i=n("a95f");e.exports=Function.prototype.bind||i},"3d4b":function(e,t,n){var i=n("c52e");e.exports=function(e,t){var n=e[t];return null==n?void 0:i(n)}},"3f01":function(e,t,n){"use strict";var i=n("a8aa"),r=n("bdbe"),o=n("b20c"),a=n("d43b"),s=n("92e1"),l=n("0196"),u=n("cd07").f,c=n("169b"),d=o.Symbol;if(r&&s(d)&&(!("description"in d.prototype)||void 0!==d().description)){var h={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new d(e):void 0===e?d():d(e);return""===e&&(h[t]=!0),t};c(f,d);var p=f.prototype=d.prototype;p.constructor=f;var m=p.toString,v="Symbol(test)"==String(d("test")),g=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=m.call(e);if(a(h,e))return"";var n=v?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},"3f33":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
97
97
|
//! moment.js locale configuration
|
|
98
98
|
function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var i=this._calendarEl[e],r=n&&n.hours();return t(i)&&(i=i.apply(n)),i.replace("{}",r%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n}))},"3f5d":function(e,t,n){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};e.exports=r},"3fa6":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"3fbf":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
99
99
|
//! moment.js locale configuration
|
|
100
100
|
var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},4064:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
101
101
|
//! moment.js locale configuration
|
|
102
|
-
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,o,a){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},
|
|
102
|
+
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,r,o,a){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},"40b2":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"41a9":function(e,t,n){var i=n("357f"),r=i("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(l){}return n}},"426c":function(e,t,n){var i=n("357b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("748eecf4",i,!0,{sourceMap:!1,shadowMode:!1})},"428a":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
103
103
|
//! moment.js locale configuration
|
|
104
104
|
var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},4348:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAACAUlEQVRIS8VXO0xUQRQ9hxUIkcJgdqFTY2yobUyEfZUSYmWBBYmflUIrI6XagZQaKijgoSQUUlgRRKrFmNhYW2iM2LFvI7HAEMDlkHnrbhbf231DNjDT3nvOmXvn3pk7hM2SmH1VvErhGqTLIi4COPMP+pvCd5CfRayu3U1/BKkkWjZyuLKojratwgMKj0CeSyIL7dJPEZO7nd3Tn4a4XQ9TV9ibCQbQoikA560Eo07r2OfD/EhmJQ4fK+z5wbigJwQaZiRpQwJEcCKfyzz73zdC7M1tzEC8n0R6JDs1m7/XM1KLOSRsIgX09Eik1s58Xht5VdicqVq0bJvejlNl6PbfxAIu15xJ+z4HK2ceok31tm8FX2wLyYDeDJ0NCW8t/jKktmt9pzPTa6o9FM76G48JvrBFt6WA97czofv1+QC7JVukiVyja7mel4REzy/8sO5TAM0Imz7P57ovMDsX9FH6YL/nJoXNeZP99PxgDFCkzxptpKmIQ2KO05stvAMxcJIRQ1hh1i98JXCp3rXWmopaWlPE0nA6NNxYKGKvFK3rvVLYQrFLwDcjHBAos9Qs06evb3YhfTpG2SI9xT8l3Hm7GdvnAopOhd2k2llxOWsnZxeIsyvT3SPh8lk0UTsZBCoXkZPRpyruYtirjfzEx9uquIuBviLu5Atz6OU7hk/bAdcdVGYiysgaAAAAAElFTkSuQmCC"},4367:function(e,t,n){"use strict";t.__esModule=!0;var i=n("d7d8"),r=l(i),o=n("7aa9"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"43ce":function(e,t){e.exports={}},4409:function(e,t,n){var i=n("4b9f"),r=n("946b"),o=n("0cc5");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"455e":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"459d":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
105
105
|
//! moment.js locale configuration
|
|
106
106
|
var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t}))},"45cf":function(e,t,n){var i=n("8334");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"45f3":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
107
107
|
//! moment.js locale configuration
|
|
108
|
-
function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},4652:function(e,t,n){"use strict";var i,r,o,a=n("7bb6"),s=n("92e1"),l=n("3004"),u=n("2561"),c=n("ae12"),d=n("357f"),h=n("7195"),f=d("iterator"),p=!1;[].keys&&(o=[].keys(),"next"in o?(r=u(u(o)),r!==Object.prototype&&(i=r)):p=!0);var m=void 0==i||a((function(){var e={};return i[f].call(e)!==e}));m?i={}:h&&(i=l(i)),s(i[f])||c(i,f,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},"46f3":function(e,t,n){(function(){"undefined"==typeof Math.sgn&&(Math.sgn=function(e){return 0==e?0:e>0?1:-1});var e={subtract:function(e,t){return{x:e.x-t.x,y:e.y-t.y}},dotProduct:function(e,t){return e.x*t.x+e.y*t.y},square:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},scale:function(e,t){return{x:e.x*t,y:e.y*t}}},n=64,i=Math.pow(2,-n-1),r=function(t,n){for(var i=[],r=a(t,n),o=n.length-1,l=2*o-1,u=s(r,l,i,0),c=e.subtract(t,n[0]),h=e.square(c),f=0,p=0;p<u;p++){c=e.subtract(t,d(n,o,i[p],null,null));var m=e.square(c);m<h&&(h=m,f=i[p])}return c=e.subtract(t,n[o]),m=e.square(c),m<h&&(h=m,f=1),{location:f,distance:h}},o=function(e,t){var n=r(e,t);return{point:d(t,t.length-1,n.location,null,null),location:n.location}},a=function(t,n){for(var i=n.length-1,r=2*i-1,o=[],a=[],s=[],l=[],u=[[1,.6,.3,.1],[.4,.6,.6,.4],[.1,.3,.6,1]],c=0;c<=i;c++)o[c]=e.subtract(n[c],t);for(c=0;c<=i-1;c++)a[c]=e.subtract(n[c+1],n[c]),a[c]=e.scale(a[c],3);for(var d=0;d<=i-1;d++)for(var h=0;h<=i;h++)s[d]||(s[d]=[]),s[d][h]=e.dotProduct(a[d],o[h]);for(c=0;c<=r;c++)l[c]||(l[c]=[]),l[c].y=0,l[c].x=parseFloat(c)/r;for(var f=i,p=i-1,m=0;m<=f+p;m++){var v=Math.max(0,m-p),g=Math.min(m,f);for(c=v;c<=g;c++){var y=m-c;l[c+y].y+=s[y][c]*u[y][c]}}return l},s=function(e,t,i,r){var o,a,h=[],f=[],p=[],m=[];switch(l(e,t)){case 0:return 0;case 1:if(r>=n)return i[0]=(e[0].x+e[t].x)/2,1;if(u(e,t))return i[0]=c(e,t),1;break}d(e,t,.5,h,f),o=s(h,t,p,r+1),a=s(f,t,m,r+1);for(var v=0;v<o;v++)i[v]=p[v];for(v=0;v<a;v++)i[v+o]=m[v];return o+a},l=function(e,t){var n,i,r=0;n=i=Math.sgn(e[0].y);for(var o=1;o<=t;o++)n=Math.sgn(e[o].y),n!=i&&r++,i=n;return r},u=function(e,t){var n,r,o,a,s,l,u,c,d,h,f,p,m,v,g,y,b,_;l=e[0].y-e[t].y,u=e[t].x-e[0].x,c=e[0].x*e[t].y-e[t].x*e[0].y,b=_=0;for(var w=1;w<t;w++){var x=l*e[w].x+u*e[w].y+c;x>b?b=x:x<_&&(_=x)}return f=0,p=1,m=0,v=l,g=u,y=c-b,d=f*g-v*p,h=1/d,r=(p*y-g*m)*h,v=l,g=u,y=c-_,d=f*g-v*p,h=1/d,o=(p*y-g*m)*h,a=Math.min(r,o),s=Math.max(r,o),n=s-a,n<i?1:0},c=function(e,t){var n=1,i=0,r=e[t].x-e[0].x,o=e[t].y-e[0].y,a=e[0].x-0,s=e[0].y-0,l=r*i-o*n,u=1/l,c=(r*s-o*a)*u;return 0+n*c},d=function(e,t,n,i,r){for(var o=[[]],a=0;a<=t;a++)o[0][a]=e[a];for(var s=1;s<=t;s++)for(a=0;a<=t-s;a++)o[s]||(o[s]=[]),o[s][a]||(o[s][a]={}),o[s][a].x=(1-n)*o[s-1][a].x+n*o[s-1][a+1].x,o[s][a].y=(1-n)*o[s-1][a].y+n*o[s-1][a+1].y;if(null!=i)for(a=0;a<=t;a++)i[a]=o[a][0];if(null!=r)for(a=0;a<=t;a++)r[a]=o[t-a][a];return o[t][0]},h={},f=function(e){var t=h[e];if(!t){t=[];var n=function(){return function(t){return Math.pow(t,e)}},i=function(){return function(t){return Math.pow(1-t,e)}},r=function(e){return function(t){return e}},o=function(){return function(e){return e}},a=function(){return function(e){return 1-e}},s=function(e){return function(t){for(var n=1,i=0;i<e.length;i++)n*=e[i](t);return n}};t.push(new n);for(var l=1;l<e;l++){for(var u=[new r(e)],c=0;c<e-l;c++)u.push(new o);for(c=0;c<l;c++)u.push(new a);t.push(new s(u))}t.push(new i),h[e]=t}return t},p=function(e,t){for(var n=f(e.length-1),i=0,r=0,o=0;o<e.length;o++)i+=e[o].x*n[o](t),r+=e[o].y*n[o](t);return{x:i,y:r}},m=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},v=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},g=function(e,t,n){if(v(e))return{point:e[0],location:t};var i=p(e,t),r=0,o=t,a=n>0?1:-1,s=null;while(r<Math.abs(n))o+=.005*a,s=p(e,o),r+=m(s,i),i=s;return{point:s,location:o}},y=function(e){var t=(new Date).getTime();if(v(e))return 0;var n=p(e,0),i=0,r=0,o=1,a=null;while(r<1)r+=.005*o,a=p(e,r),i+=m(a,n),n=a;return console.log("length",(new Date).getTime()-t),i},b=function(e,t,n){return g(e,t,n).point},_=function(e,t,n){return g(e,t,n).location},w=function(e,t){var n=p(e,t),i=p(e.slice(0,e.length-1),t),r=i.y-n.y,o=i.x-n.x;return 0===r?1/0:Math.atan(r/o)},x=function(e,t,n){var i=g(e,t,n);return i.location>1&&(i.location=1),i.location<0&&(i.location=0),w(e,i.location)},k=function(e,t,n,i){i=null==i?0:i;var r=g(e,t,i),o=w(e,r.location),a=Math.atan(-1/o),s=n/2*Math.sin(a),l=n/2*Math.cos(a);return[{x:r.point.x+l,y:r.point.y+s},{x:r.point.x-l,y:r.point.y-s}]},M=function(e,t,n,i,r){var o=i-t,a=e-n,s=e*(t-i)+t*(n-e),l=L(r),u=[o*l[0][0]+a*l[1][0],o*l[0][1]+a*l[1][1],o*l[0][2]+a*l[1][2],o*l[0][3]+a*l[1][3]+s],c=E.apply(null,u),d=[];if(null!=c)for(var h=0;h<3;h++){var f,p=c[h],m=Math.pow(p,2),v=Math.pow(p,3),g=[l[0][0]*v+l[0][1]*m+l[0][2]*p+l[0][3],l[1][0]*v+l[1][1]*m+l[1][2]*p+l[1][3]];f=n-e!==0?(g[0]-e)/(n-e):(g[1]-t)/(i-t),p>=0&&p<=1&&f>=0&&f<=1&&d.push(g)}return d},S=function(e,t,n,i,r){var o=[];return o.push.apply(o,M(e,t,e+n,t,r)),o.push.apply(o,M(e+n,t,e+n,t+i,r)),o.push.apply(o,M(e+n,t+i,e,t+i,r)),o.push.apply(o,M(e,t+i,e,t,r)),o},C=function(e,t){var n=[];return n.push.apply(n,M(e.x,e.y,e.x+e.w,e.y,t)),n.push.apply(n,M(e.x+e.w,e.y,e.x+e.w,e.y+e.h,t)),n.push.apply(n,M(e.x+e.w,e.y+e.h,e.x,e.y+e.h,t)),n.push.apply(n,M(e.x,e.y+e.h,e.x,e.y,t)),n};function D(e,t){return[-e[0][t]+3*e[1][t]+-3*e[2][t]+e[3][t],3*e[0][t]-6*e[1][t]+3*e[2][t],-3*e[0][t]+3*e[1][t],e[0][t]]}function L(e){return[D(e,"x"),D(e,"y")]}function T(e){return e<0?-1:e>0?1:0}function E(e,t,n,i){var r,o,a=t/e,s=n/e,l=i/e,u=(3*s-Math.pow(a,2))/9,c=(9*a*s-27*l-2*Math.pow(a,3))/54,d=Math.pow(u,3)+Math.pow(c,2),h=[];if(d>=0)r=T(c+Math.sqrt(d))*Math.pow(Math.abs(c+Math.sqrt(d)),1/3),o=T(c-Math.sqrt(d))*Math.pow(Math.abs(c-Math.sqrt(d)),1/3),h[0]=-a/3+(r+o),h[1]=-a/3-(r+o)/2,h[2]=-a/3-(r+o)/2,0!==Math.abs(Math.sqrt(3)*(r-o)/2)&&(h[1]=-1,h[2]=-1);else{var f=Math.acos(c/Math.sqrt(-Math.pow(u,3)));h[0]=2*Math.sqrt(-u)*Math.cos(f/3)-a/3,h[1]=2*Math.sqrt(-u)*Math.cos((f+2*Math.PI)/3)-a/3,h[2]=2*Math.sqrt(-u)*Math.cos((f+4*Math.PI)/3)-a/3}for(var p=0;p<3;p++)(h[p]<0||h[p]>1)&&(h[p]=-1);return h}var P=this.jsBezier={distanceFromCurve:r,gradientAtPoint:w,gradientAtPointAlongCurveFrom:x,nearestPointOnCurve:o,pointOnCurve:p,pointAlongCurveFrom:b,perpendicularToCurveAt:k,locationAlongCurveFrom:_,getLength:y,lineIntersection:M,boxIntersection:S,boundingBoxIntersection:C,version:"0.9.0"};t.jsBezier=P}).call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.Biltong={version:"0.4.0"};t.Biltong=n;var i=function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=function(e,t,n){return e=i(e)?e:[e.x,e.y],t=i(t)?t:[t.x,t.y],n(e,t)},o=n.gradient=function(e,t){return r(e,t,(function(e,t){return t[0]==e[0]?t[1]>e[1]?1/0:-1/0:t[1]==e[1]?t[0]>e[0]?0:-0:(t[1]-e[1])/(t[0]-e[0])}))},a=(n.normal=function(e,t){return-1/o(e,t)},n.lineLength=function(e,t){return r(e,t,(function(e,t){return Math.sqrt(Math.pow(t[1]-e[1],2)+Math.pow(t[0]-e[0],2))}))},n.quadrant=function(e,t){return r(e,t,(function(e,t){return t[0]>e[0]||t[0]==e[0]?t[1]>e[1]?2:1:t[1]>e[1]?3:4}))}),s=(n.theta=function(e,t){return r(e,t,(function(e,t){var n=o(e,t),i=Math.atan(n),r=a(e,t);return 4!=r&&3!=r||(i+=Math.PI),i<0&&(i+=2*Math.PI),i}))},n.intersects=function(e,t){var n=e.x,i=e.x+e.w,r=e.y,o=e.y+e.h,a=t.x,s=t.x+t.w,l=t.y,u=t.y+t.h;return n<=a&&a<=i&&r<=l&&l<=o||n<=s&&s<=i&&r<=l&&l<=o||n<=a&&a<=i&&r<=u&&u<=o||n<=s&&a<=i&&r<=u&&u<=o||a<=n&&n<=s&&l<=r&&r<=u||a<=i&&i<=s&&l<=r&&r<=u||a<=n&&n<=s&&l<=o&&o<=u||a<=i&&n<=s&&l<=o&&o<=u},n.encloses=function(e,t,n){var i=e.x,r=e.x+e.w,o=e.y,a=e.y+e.h,s=t.x,l=t.x+t.w,u=t.y,c=t.y+t.h,d=function(e,t,i,r){return n?e<=t&&i>=r:e<t&&i>r};return d(i,s,r,l)&&d(o,u,a,c)},[null,[1,-1],[1,1],[-1,1],[-1,-1]]),l=[null,[-1,-1],[-1,1],[1,1],[1,-1]];n.pointOnLine=function(e,t,n){var i=o(e,t),r=a(e,t),u=n>0?s[r]:l[r],c=Math.atan(i),d=Math.abs(n*Math.sin(c))*u[1],h=Math.abs(n*Math.cos(c))*u[0];return{x:e.x+h,y:e.y+d}},n.perpendicularLineTo=function(e,t,n){var i=o(e,t),r=Math.atan(-1/i),a=n/2*Math.sin(r),s=n/2*Math.cos(r);return[{x:t.x+s,y:t.y+a},{x:t.x-s,y:t.y-a}]}}.call("undefined"!==typeof window?window:this),function(){"use strict";function e(e,t,n,i,r,o,a,s){return new Touch({target:t,identifier:A(),pageX:n,pageY:i,screenX:r,screenY:o,clientX:a||r,clientY:s||o})}function n(){var e=[];return Array.prototype.push.apply(e,arguments),e.item=function(e){return this[e]},e}function i(t,i,r,o,a,s,l,u){return n(e.apply(null,arguments))}var r=this,o=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},a=function(e){return"string"==typeof e||e.constructor===String?document.getElementById(e):e},s=function(e){return e.srcElement||e.target},l=function(e,t,n,i){if(i){if("undefined"!==typeof e.path&&e.path.indexOf)return{path:e.path,end:e.path.indexOf(n)};var r={path:[],end:-1},o=function(e){r.path.push(e),e===n?r.end=r.path.length-1:null!=e.parentNode&&o(e.parentNode)};return o(t),r}return{path:[t],end:1}},u=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]==t)break;n<e.length&&e.splice(n,1)},c=1,d=function(e,t,n){var i=c++;return e.__ta=e.__ta||{},e.__ta[t]=e.__ta[t]||{},e.__ta[t][i]=n,n.__tauid=i,i},h=function(e,t,n){if(e.__ta&&e.__ta[t]&&delete e.__ta[t][n.__tauid],n.__taExtra){for(var i=0;i<n.__taExtra.length;i++)I(e,n.__taExtra[i][0],n.__taExtra[i][1]);n.__taExtra.length=0}n.__taUnstore&&n.__taUnstore()},f=function(e,t,n,i){if(null==e)return n;var r=e.split(","),a=function(i){a.__tauid=n.__tauid;var u=s(i),c=u,d=l(i,u,t,null!=e);if(-1!=d.end)for(var h=0;h<d.end;h++){c=d.path[h];for(var f=0;f<r.length;f++)o(c,r[f],t)&&n.apply(c,arguments)}};return p(n,i,a),a},p=function(e,t,n){e.__taExtra=e.__taExtra||[],e.__taExtra.push([t,n])},m=function(e,t,n,i){if(w&&k[t]){var r=f(i,e,n,k[t]);O(e,k[t],r,n)}"focus"===t&&null==e.getAttribute("tabindex")&&e.setAttribute("tabindex","1"),O(e,t,f(i,e,n,t),n)},v=function(e,t,n,i){if(null==e.__taSmartClicks){var r=function(t){e.__tad=D(t)},o=function(t){e.__tau=D(t)},a=function(t){if(e.__tad&&e.__tau&&e.__tad[0]===e.__tau[0]&&e.__tad[1]===e.__tau[1])for(var n=0;n<e.__taSmartClicks.length;n++)e.__taSmartClicks[n].apply(s(t),[t])};m(e,"mousedown",r,i),m(e,"mouseup",o,i),m(e,"click",a,i),e.__taSmartClicks=[]}e.__taSmartClicks.push(n),n.__taUnstore=function(){u(e.__taSmartClicks,n)}},g={tap:{touches:1,taps:1},dbltap:{touches:1,taps:2},contextmenu:{touches:2,taps:1}},y=function(e,t){return function(n,i,r,a){if("contextmenu"==i&&x)m(n,i,r,a);else{if(null==n.__taTapHandler){var c=n.__taTapHandler={tap:[],dbltap:[],contextmenu:[],down:!1,taps:0,downSelectors:[]},d=function(i){for(var r=s(i),u=l(i,r,n,null!=a),d=!1,h=0;h<u.end;h++){if(d)return;r=u.path[h];for(var m=0;m<c.downSelectors.length;m++)if(null==c.downSelectors[m]||o(r,c.downSelectors[m],n)){c.down=!0,setTimeout(f,e),setTimeout(p,t),d=!0;break}}},h=function(e){if(c.down){var t,i,r=s(e);c.taps++;var a=j(e);for(var u in g)if(g.hasOwnProperty(u)){var d=g[u];if(d.touches===a&&(1===d.taps||d.taps===c.taps))for(var h=0;h<c[u].length;h++){i=l(e,r,n,null!=c[u][h][1]);for(var f=0;f<i.end;f++)if(t=i.path[f],null==c[u][h][1]||o(t,c[u][h][1],n)){c[u][h][0].apply(t,[e]);break}}}}},f=function(){c.down=!1},p=function(){c.taps=0};m(n,"mousedown",d),m(n,"mouseup",h)}n.__taTapHandler.downSelectors.push(a),n.__taTapHandler[i].push([r,a]),r.__taUnstore=function(){u(n.__taTapHandler[i],r)}}}},b=function(e,t,n,i){for(var r in n.__tamee[e])n.__tamee[e].hasOwnProperty(r)&&n.__tamee[e][r].apply(i,[t])},_=function(){var e=[];return function(t,n,i,r){if(!t.__tamee){t.__tamee={over:!1,mouseenter:[],mouseexit:[]};var a=function(n){var i=s(n);(null==r&&i==t&&!t.__tamee.over||o(i,r,t)&&(null==i.__tamee||!i.__tamee.over))&&(b("mouseenter",n,t,i),i.__tamee=i.__tamee||{},i.__tamee.over=!0,e.push(i))},l=function(n){for(var i=s(n),r=0;r<e.length;r++)i!=e[r]||o(n.relatedTarget||n.toElement,"*",i)||(i.__tamee.over=!1,e.splice(r,1),b("mouseexit",n,t,i))};O(t,"mouseover",f(r,t,a,"mouseover"),a),O(t,"mouseout",f(r,t,l,"mouseout"),l)}i.__taUnstore=function(){delete t.__tamee[n][i.__tauid]},d(t,n,i),t.__tamee[n][i.__tauid]=i}},w="ontouchstart"in document.documentElement||navigator.maxTouchPoints,x="onmousedown"in document.documentElement,k={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"},M=function(){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),S=M>-1&&M<9,C=function(e,t){if(null==e)return[0,0];var n=P(e),i=E(n,0);return[i[t+"X"],i[t+"Y"]]},D=function(e){return null==e?[0,0]:S?[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop]:C(e,"page")},L=function(e){return C(e,"screen")},T=function(e){return C(e,"client")},E=function(e,t){return e.item?e.item(t):e[t]},P=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},j=function(e){return P(e).length},O=function(e,t,n,i){if(d(e,t,n),i.__tauid=n.__tauid,e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent){var r=t+n.__tauid;e["e"+r]=n,e[r]=function(){e["e"+r]&&e["e"+r](window.event)},e.attachEvent("on"+t,e[r])}},I=function(e,t,n){null!=n&&Y(e,(function(){var i=a(this);if(h(i,t,n),null!=n.__tauid)if(i.removeEventListener)i.removeEventListener(t,n,!1),w&&k[t]&&i.removeEventListener(k[t],n,!1);else if(this.detachEvent){var r=t+n.__tauid;i[r]&&i.detachEvent("on"+t,i[r]),i[r]=null,i["e"+r]=null}n.__taTouchProxy&&I(e,n.__taTouchProxy[1],n.__taTouchProxy[0])}))},Y=function(e,t){if(null!=e){e="undefined"!==typeof Window&&"unknown"!==typeof e.top&&e==e.top?[e]:"string"!==typeof e&&null==e.tagName&&null!=e.length?e:"string"===typeof e?document.querySelectorAll(e):[e];for(var n=0;n<e.length;n++)t.apply(e[n])}},A=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))};r.Mottle=function(e){e=e||{};var t=e.clickThreshold||250,n=e.dblClickThreshold||450,r=new _,o=new y(t,n),s=e.smartClicks,l=function(e,t,n,i){null!=n&&Y(e,(function(){var e=a(this);s&&"click"===t?v(e,t,n,i):"tap"===t||"dbltap"===t||"contextmenu"===t?o(e,t,n,i):"mouseenter"===t||"mouseexit"==t?r(e,t,n,i):m(e,t,n,i)}))};this.remove=function(e){return Y(e,(function(){var e=a(this);if(e.__ta)for(var t in e.__ta)if(e.__ta.hasOwnProperty(t))for(var n in e.__ta[t])e.__ta[t].hasOwnProperty(n)&&I(e,t,e.__ta[t][n]);e.parentNode&&e.parentNode.removeChild(e)})),this},this.on=function(e,t,n,i){var r=arguments[0],o=4==arguments.length?arguments[2]:null,a=arguments[1],s=arguments[arguments.length-1];return l(r,a,s,o),this},this.off=function(e,t,n){return I(e,t,n),this},this.trigger=function(e,t,n,r){var o=x&&("undefined"===typeof MouseEvent||null==n||n.constructor===MouseEvent),s=w&&!x&&k[t]?k[t]:t,l=!(w&&!x&&k[t]),u=D(n),c=L(n),d=T(n);return Y(e,(function(){var e,h=a(this);n=n||{screenX:c[0],screenY:c[1],clientX:d[0],clientY:d[1]};var f=function(e){r&&(e.payload=r)},p={TouchEvent:function(e){var t=i(window,h,0,u[0],u[1],c[0],c[1],d[0],d[1]),n=e.initTouchEvent||e.initEvent;n(s,!0,!0,window,null,c[0],c[1],d[0],d[1],!1,!1,!1,!1,t,t,t,1,0)},MouseEvents:function(e){e.initMouseEvent(s,!0,!0,window,0,c[0],c[1],d[0],d[1],!1,!1,!1,!1,1,h)}};if(document.createEvent){var m=!l&&!o&&w&&k[t],v=m?"TouchEvent":"MouseEvents";e=document.createEvent(v),p[v](e),f(e),h.dispatchEvent(e)}else document.createEventObject&&(e=document.createEventObject(),e.eventType=e.eventName=s,e.screenX=c[0],e.screenY=c[1],e.clientX=d[0],e.clientY=d[1],f(e),h.fireEvent("on"+s,e))})),this}},r.Mottle.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},r.Mottle.pageLocation=D,r.Mottle.setForceTouchEvents=function(e){w=e},r.Mottle.setForceMouseEvents=function(e){x=e},r.Mottle.version="0.8.0",t.Mottle=r.Mottle}.call("undefined"===typeof window?this:window),function(){"use strict";var e=this,n=function(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)},i=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)},r=function(e,t){for(var n=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&n.push(e[i]);return n},o=function(e){return null!=e&&("string"===typeof e||e.constructor===String)},a=function(e){var t=e.getBoundingClientRect(),n=document.body,i=document.documentElement,r=window.pageYOffset||i.scrollTop||n.scrollTop,o=window.pageXOffset||i.scrollLeft||n.scrollLeft,a=i.clientTop||n.clientTop||0,s=i.clientLeft||n.clientLeft||0,l=t.top+r-a,u=t.left+o-s;return{top:Math.round(l),left:Math.round(u)}},s=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},l=function(e,t,n){if(s(t,n,e))return t;var i=t.parentNode;while(null!=i&&i!==e){if(s(i,n,e))return i;i=i.parentNode}},u=function(e,t,n){for(var i=null,r=t.getAttribute("katavorio-draggable"),o=null!=r?"[katavorio-draggable='"+r+"'] ":"",a=0;a<e.length;a++)if(i=l(t,n,o+e[a].selector),null!=i){if(e[a].filter){var u=s(n,e[a].filter,i),c=!0===e[a].filterExclude;if(c&&!u||u)return null}return[e[a],i]}return null},c=function(){var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),d=10,h=10,f=c>-1&&c<9,p=9===c,m=function(e){if(f)return[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop];var t=g(e),n=v(t,0);return p?[n.pageX||n.clientX,n.pageY||n.clientY]:[n.pageX,n.pageY]},v=function(e,t){return e.item?e.item(t):e[t]},g=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},y={delegatedDraggable:"katavorio-delegated-draggable",draggable:"katavorio-draggable",droppable:"katavorio-droppable",drag:"katavorio-drag",selected:"katavorio-drag-selected",active:"katavorio-drag-active",hover:"katavorio-drag-hover",noSelect:"katavorio-drag-no-select",ghostProxy:"katavorio-ghost-proxy",clonedDrag:"katavorio-clone-drag"},b="katavorio-drag-scope",_=["stop","start","drag","drop","over","out","beforeStart"],w=function(){},x=function(){return!0},k=function(e,t,n){for(var i=0;i<e.length;i++)e[i]!=n&&t(e[i])},M=function(e,t,n,i){k(e,(function(e){e.setActive(t),t&&e.updatePosition(),n&&e.setHover(i,t)}))},S=function(e,t){if(null!=e){e=o(e)||null!=e.tagName||null==e.length?[e]:e;for(var n=0;n<e.length;n++)t.apply(e[n],[e[n]])}},C=function(e){e.stopPropagation?(e.stopPropagation(),e.preventDefault()):e.returnValue=!1},D="input,textarea,select,button,option",L=function(e,t,n){var i=e.srcElement||e.target;return!s(i,n.getInputFilterSelector(),t)},T=function(e,t,n,i){this.params=t||{},this.el=e,this.params.addClass(this.el,this._class),this.uuid=I();var r=!0;return this.setEnabled=function(e){r=e},this.isEnabled=function(){return r},this.toggleEnabled=function(){r=!r},this.setScope=function(e){this.scopes=e?e.split(/\s+/):[i]},this.addScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.removeScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){delete t[e]})),this.scopes=[],t)this.scopes.push(n)},this.toggleScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){t[e]?delete t[e]:t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.setScope(t.scope),this.k=t.katavorio,t.katavorio},E=function(){return!0},P=function(){return!1},j=function(e,t,n,i){this._class=n.draggable;var r=T.apply(this,arguments);this.rightButtonCanDrag=this.params.rightButtonCanDrag;var l,c,f,p,v,g,b=[0,0],_=null,w=null,k=[0,0],S=!1,D=[0,0],j=!1!==this.params.consumeStartEvent,O=this.el,A=this.params.clone,N=(this.params.scroll,!1!==t.multipleDrop),H=!1,R=null,F=[],z=null,$=t.ghostProxyParent;if(l=!0===t.ghostProxy?E:t.ghostProxy&&"function"===typeof t.ghostProxy?t.ghostProxy:function(e,t){return!(!z||!z.useGhostProxy)&&z.useGhostProxy(e,t)},c=t.makeGhostProxy?t.makeGhostProxy:function(e){return z&&z.makeGhostProxy?z.makeGhostProxy(e):e.cloneNode(!0)},t.selector){var B=e.getAttribute("katavorio-draggable");null==B&&(B=""+(new Date).getTime(),e.setAttribute("katavorio-draggable",B)),F.push(t)}var W,V=t.snapThreshold,U=function(e,t,n,i,r){var o=Math.floor(e[0]/t),a=t*o,s=a+t,l=Math.abs(e[0]-a)<=i?a:Math.abs(s-e[0])<=i?s:e[0],u=Math.floor(e[1]/n),c=n*u,d=c+n,h=Math.abs(e[1]-c)<=r?c:Math.abs(d-e[1])<=r?d:e[1];return[l,h]};this.posses=[],this.posseRoles={},this.toGrid=function(e){if(null==this.params.grid)return e;var t=this.params.grid?this.params.grid[0]/2:V||d/2,n=this.params.grid?this.params.grid[1]/2:V||h/2;return U(e,this.params.grid[0],this.params.grid[1],t,n)},this.snap=function(e,t){if(null!=O){e=e||(this.params.grid?this.params.grid[0]:d),t=t||(this.params.grid?this.params.grid[1]:h);var n=this.params.getPosition(O),i=this.params.grid?this.params.grid[0]/2:V,r=this.params.grid?this.params.grid[1]/2:V,o=U(n,e,t,i,r);return this.params.setPosition(O,o),o}},this.setUseGhostProxy=function(e){l=e?E:P};var q=function(e){return!1===t.allowNegative?[Math.max(0,e[0]),Math.max(0,e[1])]:e},G=function(e){W="function"===typeof e?e:e?function(e,t,n,i){return q([Math.max(0,Math.min(n.w-i[0],e[0])),Math.max(0,Math.min(n.h-i[1],e[1]))])}.bind(this):function(e){return q(e)}}.bind(this);G("function"===typeof this.params.constrain?this.params.constrain:this.params.constrain||this.params.containment),this.setConstrain=function(e){G(e)};var K,J=function(e,t,n,i){return null!=z&&z.constrain&&"function"===typeof z.constrain?z.constrain(e,t,n,i):W(e,t,n,i)};this.setRevert=function(e){K=e},this.params.revert&&(K=this.params.revert);var X=function(e){return"function"===typeof e?(e._katavorioId=I(),e._katavorioId):e},Z={},Q=function(e){for(var t in Z){var n=Z[t],i=n[0](e);if(n[1]&&(i=!i),!i)return!1}return!0},ee=this.setFilter=function(t,n){if(t){var i=X(t);Z[i]=[function(n){var i,r=n.srcElement||n.target;return o(t)?i=s(r,t,e):"function"===typeof t&&(i=t(n,e)),i},!1!==n]}};this.addFilter=ee,this.removeFilter=function(e){var t="function"===typeof e?e._katavorioId:e;delete Z[t]};this.clearAllFilters=function(){Z={}},this.canDrag=this.params.canDrag||x;var te,ne=[],ie=[];this.addSelector=function(e){e.selector&&F.push(e)},this.downListener=function(e){if(!e.defaultPrevented){var t=this.rightButtonCanDrag||3!==e.which&&2!==e.button;if(t&&this.isEnabled()&&this.canDrag()){var i=Q(e)&&L(e,this.el,this.k);if(i){if(z=null,R=null,F.length>0){var o=u(F,this.el,e.target||e.srcElement);if(null!=o&&(z=o[0],R=o[1]),null==R)return}else R=this.el;if(A)if(O=R.cloneNode(!0),this.params.addClass(O,y.clonedDrag),O.setAttribute("id",null),O.style.position="absolute",null!=this.params.parent){var s=this.params.getPosition(this.el);O.style.left=s[0]+"px",O.style.top=s[1]+"px",this.params.parent.appendChild(O)}else{var l=a(R);O.style.left=l.left+"px",O.style.top=l.top+"px",document.body.appendChild(O)}else O=R;j&&C(e),b=m(e),O&&O.parentNode&&(D=[O.parentNode.scrollLeft,O.parentNode.scrollTop]),this.params.bind(document,"mousemove",this.moveListener),this.params.bind(document,"mouseup",this.upListener),r.markSelection(this),r.markPosses(this),this.params.addClass(document.body,n.noSelect),ae("beforeStart",{el:this.el,pos:_,e:e,drag:this})}else this.params.consumeFilteredEvents&&C(e)}}}.bind(this),this.moveListener=function(e){if(b){if(!S){var t=ae("start",{el:this.el,pos:_,e:e,drag:this});if(!1!==t){if(!b)return;this.mark(!0),S=!0}else this.abort()}if(b){ie.length=0;var n=m(e),i=n[0]-b[0],o=n[1]-b[1],a=this.params.ignoreZoom?1:r.getZoom();O&&O.parentNode&&(i+=O.parentNode.scrollLeft-D[0],o+=O.parentNode.scrollTop-D[1]),i/=a,o/=a,this.moveBy(i,o,e),r.updateSelection(i,o,this),r.updatePosses(i,o,this)}}}.bind(this),this.upListener=function(e){b&&(b=null,this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.params.removeClass(document.body,n.noSelect),this.unmark(e),r.unmarkSelection(this,e),r.unmarkPosses(this,e),this.stop(e),r.notifyPosseDragStop(this,e),S=!1,ie.length=0,A?(O&&O.parentNode&&O.parentNode.removeChild(O),O=null):K&&!0===K(O,this.params.getPosition(O))&&(this.params.setPosition(O,_),ae("revert",O)))}.bind(this),this.getFilters=function(){return Z},this.abort=function(){null!=b&&this.upListener()},this.getDragElement=function(e){return e?R||this.el:O||this.el};var re={start:[],drag:[],stop:[],over:[],out:[],beforeStart:[],revert:[]};t.events.start&&re.start.push(t.events.start),t.events.beforeStart&&re.beforeStart.push(t.events.beforeStart),t.events.stop&&re.stop.push(t.events.stop),t.events.drag&&re.drag.push(t.events.drag),t.events.revert&&re.revert.push(t.events.revert),this.on=function(e,t){re[e]&&re[e].push(t)},this.off=function(e,t){if(re[e]){for(var n=[],i=0;i<re[e].length;i++)re[e][i]!==t&&n.push(re[e][i]);re[e]=n}};var oe,ae=function(e,t){var n=null;if(z&&z[e])n=z[e](t);else if(re[e])for(var i=0;i<re[e].length;i++)try{var r=re[e][i](t);null!=r&&(n=r)}catch(o){}return n};this.notifyStart=function(e){ae("start",{el:this.el,pos:this.params.getPosition(O),e:e,drag:this})},this.stop=function(e,t){if(t||S){var n=[],i=r.getSelection(),o=this.params.getPosition(O);if(i.length>0)for(var a=0;a<i.length;a++){var s=this.params.getPosition(i[a].el);n.push([i[a].el,{left:s[0],top:s[1]},i[a]])}else n.push([O,{left:o[0],top:o[1]},this]);ae("stop",{el:O,pos:oe||o,finalPos:o,e:e,drag:this,selection:n})}},this.mark=function(e){var t;_=this.params.getPosition(O),w=this.params.getPosition(O,!0),k=[w[0]-_[0],w[1]-_[1]],this.size=this.params.getSize(O),ne=r.getMatchingDroppables(this),M(ne,!0,!1,this),this.params.addClass(O,this.params.dragClass||n.drag),t=this.params.getConstrainingRectangle?this.params.getConstrainingRectangle(O):this.params.getSize(O.parentNode),te={w:t[0],h:t[1]},v=0,g=0,e&&r.notifySelectionDragStart(this)},this.unmark=function(e,i){if(M(ne,!1,!0,this),H&&l(R,O)?(oe=[O.offsetLeft-v,O.offsetTop-g],O.parentNode.removeChild(O),O=R):oe=null,this.params.removeClass(O,this.params.dragClass||n.drag),ne.length=0,H=!1,!i){ie.length>0&&oe&&t.setPosition(R,oe),ie.sort(Y);for(var r=0;r<ie.length;r++){var o=ie[r].drop(this,e);if(!0===o)break}}},this.moveBy=function(e,n,i){ie.length=0;var r=this.toGrid([_[0]+e,_[1]+n]),o=J(r,O,te,this.size);if(l(this.el,O))if(r[0]!==o[0]||r[1]!==o[1]){if(!H){var a=c(R);t.addClass(a,y.ghostProxy),$?($.appendChild(a),f=t.getPosition(R.parentNode,!0),p=t.getPosition(t.ghostProxyParent,!0),v=f[0]-p[0],g=f[1]-p[1]):R.parentNode.appendChild(a),O=a,H=!0}o=r}else H&&(O.parentNode.removeChild(O),O=R,H=!1,f=null,p=null,v=0,g=0);var s={x:o[0],y:o[1],w:this.size[0],h:this.size[1]},u={x:s.x+k[0],y:s.y+k[1],w:s.w,h:s.h},d=null;this.params.setPosition(O,[o[0]+v,o[1]+g]);for(var h=0;h<ne.length;h++){var m={x:ne[h].pagePosition[0],y:ne[h].pagePosition[1],w:ne[h].size[0],h:ne[h].size[1]};this.params.intersects(u,m)&&(N||null==d||d===ne[h].el)&&ne[h].canDrop(this)?(d||(d=ne[h].el),ie.push(ne[h]),ne[h].setHover(this,!0,i)):ne[h].isHover()&&ne[h].setHover(this,!1,i)}ae("drag",{el:this.el,pos:o,e:i,drag:this})},this.destroy=function(){this.params.unbind(this.el,"mousedown",this.downListener),this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.downListener=null,this.upListener=null,this.moveListener=null},this.params.bind(this.el,"mousedown",this.downListener),this.params.handle?ee(this.params.handle,!1):ee(this.params.filter,this.params.filterExclude)},O=function(e,t,n,i){this._class=n.droppable,this.params=t||{},this.rank=t.rank||0,this._activeClass=this.params.activeClass||n.active,this._hoverClass=this.params.hoverClass||n.hover,T.apply(this,arguments);var r=!1;this.allowLoopback=!1!==this.params.allowLoopback,this.setActive=function(e){this.params[e?"addClass":"removeClass"](this.el,this._activeClass)},this.updatePosition=function(){this.position=this.params.getPosition(this.el),this.pagePosition=this.params.getPosition(this.el,!0),this.size=this.params.getSize(this.el)},this.canDrop=this.params.canDrop||function(e){return!0},this.isHover=function(){return r},this.setHover=function(e,t,n){(t||null==this.el._katavorioDragHover||this.el._katavorioDragHover===e.el._katavorio)&&(this.params[t?"addClass":"removeClass"](this.el,this._hoverClass),this.el._katavorioDragHover=t?e.el._katavorio:null,r!==t&&this.params.events[t?"over":"out"]({el:this.el,e:n,drag:e,drop:this}),r=t)},this.drop=function(e,t){return this.params.events["drop"]({drag:e,e:t,drop:this})},this.destroy=function(){this._class=null,this._activeClass=null,this._hoverClass=null,r=null}},I=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}))},Y=function(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:0},A=function(e){return null==e?null:(e="string"===typeof e||e.constructor===String?document.getElementById(e):e,null==e?null:(e._katavorio=e._katavorio||I(),e))};e.Katavorio=function(e){var t=[],a={};this._dragsByScope={},this._dropsByScope={};var s=1,l=function(e,t){S(e,(function(e){for(var n=0;n<e.scopes.length;n++)t[e.scopes[n]]=t[e.scopes[n]]||[],t[e.scopes[n]].push(e)}))},u=function(t,n){var i=0;return S(t,(function(t){for(var r=0;r<t.scopes.length;r++)if(n[t.scopes[r]]){var o=e.indexOf(n[t.scopes[r]],t);-1!==o&&(n[t.scopes[r]].splice(o,1),i++)}})),i>0},c=(this.getMatchingDroppables=function(e){for(var t=[],n={},i=0;i<e.scopes.length;i++){var r=this._dropsByScope[e.scopes[i]];if(r)for(var o=0;o<r.length;o++)!r[o].canDrop(e)||n[r[o].uuid]||!r[o].allowLoopback&&r[o].el===e.el||(n[r[o].uuid]=!0,t.push(r[o]))}return t.sort(Y),t},function(t){t=t||{};var n,i={events:{}};for(n in e)i[n]=e[n];for(n in t)i[n]=t[n];for(n=0;n<_.length;n++)i.events[_[n]]=t[_[n]]||w;return i.katavorio=this,i}.bind(this)),d=function(e,t){for(var n=0;n<_.length;n++)t[_[n]]&&e.on(_[n],t[_[n]])}.bind(this),h={},f=e.css||{},p=e.scope||b;for(var m in y)h[m]=y[m];for(var m in f)h[m]=f[m];var v=e.inputFilterSelector||D;this.getInputFilterSelector=function(){return v},this.setInputFilterSelector=function(e){return v=e,this},this.draggable=function(t,n){var i=[];return S(t,function(t){if(t=A(t),null!=t)if(null==t._katavorioDrag){var r=c(n);t._katavorioDrag=new j(t,r,h,p),l(t._katavorioDrag,this._dragsByScope),i.push(t._katavorioDrag),e.addClass(t,r.selector?h.delegatedDraggable:h.draggable)}else d(t._katavorioDrag,n)}.bind(this)),i},this.droppable=function(t,n){var i=[];return S(t,function(t){if(t=A(t),null!=t){var r=new O(t,c(n),h,p);t._katavorioDrop=t._katavorioDrop||[],t._katavorioDrop.push(r),l(r,this._dropsByScope),i.push(r),e.addClass(t,h.droppable)}}.bind(this)),i},this.select=function(n){return S(n,(function(){var n=A(this);n&&n._katavorioDrag&&(a[n._katavorio]||(t.push(n._katavorioDrag),a[n._katavorio]=[n,t.length-1],e.addClass(n,h.selected)))})),this},this.deselect=function(n){return S(n,(function(){var n=A(this);if(n&&n._katavorio){var i=a[n._katavorio];if(i){for(var r=[],o=0;o<t.length;o++)t[o].el!==n&&r.push(t[o]);t=r,delete a[n._katavorio],e.removeClass(n,h.selected)}}})),this},this.deselectAll=function(){for(var n in a){var i=a[n];e.removeClass(i[0],h.selected)}t.length=0,a={}},this.markSelection=function(e){k(t,(function(e){e.mark()}),e)},this.markPosses=function(e){e.posses&&S(e.posses,(function(t){e.posseRoles[t]&&L[t]&&k(L[t].members,(function(e){e.mark()}),e)}))},this.unmarkSelection=function(e,n){k(t,(function(e){e.unmark(n)}),e)},this.unmarkPosses=function(e,t){e.posses&&S(e.posses,(function(n){e.posseRoles[n]&&L[n]&&k(L[n].members,(function(e){e.unmark(t,!0)}),e)}))},this.getSelection=function(){return t.slice(0)},this.updateSelection=function(e,n,i){k(t,(function(t){t.moveBy(e,n)}),i)};var g=function(e,t){t.posses&&S(t.posses,(function(n){t.posseRoles[n]&&L[n]&&k(L[n].members,(function(t){e(t)}),t)}))};this.updatePosses=function(e,t,n){g((function(n){n.moveBy(e,t)}),n)},this.notifyPosseDragStop=function(e,t){g((function(e){e.stop(t,!0)}),e)},this.notifySelectionDragStop=function(e,n){k(t,(function(e){e.stop(n,!0)}),e)},this.notifySelectionDragStart=function(e,n){k(t,(function(e){e.notifyStart(n)}),e)},this.setZoom=function(e){s=e},this.getZoom=function(){return s};var x=function(e,t,n,i){S(e,(function(e){u(e,n),e[i](t),l(e,n)}))};S(["set","add","remove","toggle"],function(e){this[e+"Scope"]=function(t,n){x(t._katavorioDrag,n,this._dragsByScope,e+"Scope"),x(t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this),this[e+"DragScope"]=function(t,n){x(t.constructor===j?t:t._katavorioDrag,n,this._dragsByScope,e+"Scope")}.bind(this),this[e+"DropScope"]=function(t,n){x(t.constructor===O?t:t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this)}.bind(this)),this.snapToGrid=function(e,t){for(var n in this._dragsByScope)k(this._dragsByScope[n],(function(n){n.snap(e,t)}))},this.getDragsForScope=function(e){return this._dragsByScope[e]},this.getDropsForScope=function(e){return this._dropsByScope[e]};var M=function(e,n,i){if(e=A(e),e[n]){var r=t.indexOf(e[n]);r>=0&&t.splice(r,1),u(e[n],i)&&S(e[n],(function(e){e.destroy()})),delete e[n]}},C=function(e,t,n,i){e=A(e),e[t]&&e[t].off(n,i)};this.elementRemoved=function(e){e["_katavorioDrag"]&&this.destroyDraggable(e),e["_katavorioDrop"]&&this.destroyDroppable(e)},this.destroyDraggable=function(e,t,n){1===arguments.length?M(e,"_katavorioDrag",this._dragsByScope):C(e,"_katavorioDrag",t,n)},this.destroyDroppable=function(e,t,n){1===arguments.length?M(e,"_katavorioDrop",this._dropsByScope):C(e,"_katavorioDrop",t,n)},this.reset=function(){this._dragsByScope={},this._dropsByScope={},t=[],a={},L={}};var L={},T=function(e,t,i){var r=o(t)?t:t.id,a=!!o(t)||!1!==t.active,s=L[r]||function(){var e={name:r,members:[]};return L[r]=e,e}();return S(e,(function(e){if(e._katavorioDrag){if(i&&null!=e._katavorioDrag.posseRoles[s.name])return;n(s.members,e._katavorioDrag),n(e._katavorioDrag.posses,s.name),e._katavorioDrag.posseRoles[s.name]=a}})),s};this.addToPosse=function(e,t){for(var n=[],i=1;i<arguments.length;i++)n.push(T(e,arguments[i]));return 1===n.length?n[0]:n},this.setPosse=function(e,t){for(var n=[],i=1;i<arguments.length;i++)n.push(T(e,arguments[i],!0).name);return S(e,function(e){if(e._katavorioDrag){var t=r(e._katavorioDrag.posses,n),i=[];Array.prototype.push.apply(i,e._katavorioDrag.posses);for(var o=0;o<t.length;o++)this.removeFromPosse(e,t[o])}}.bind(this)),1===n.length?n[0]:n},this.removeFromPosse=function(e,t){if(arguments.length<2)throw new TypeError("No posse id provided for remove operation");for(var n=1;n<arguments.length;n++)t=arguments[n],S(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var n=e._katavorioDrag;S(t,(function(e){i(L[e].members,n),i(n.posses,e),delete n.posseRoles[e]}))}}))},this.removeFromAllPosses=function(e){S(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var t=e._katavorioDrag;S(t.posses,(function(e){i(L[e].members,t)})),t.posses.length=0,t.posseRoles={}}}))},this.setPosseState=function(e,t,n){var i=L[t];i&&S(e,(function(e){e._katavorioDrag&&e._katavorioDrag.posses&&(e._katavorioDrag.posseRoles[i.name]=n)}))}},e.Katavorio.version="1.0.0",t.Katavorio=e.Katavorio}.call("undefined"!==typeof window?window:this),function(){var e=this;e.jsPlumbUtil=e.jsPlumbUtil||{};var n=e.jsPlumbUtil;function i(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e){return"[object Number]"===Object.prototype.toString.call(e)}function o(e){return"string"===typeof e}function a(e){return"boolean"===typeof e}function s(e){return null==e}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"[object Date]"===Object.prototype.toString.call(e)}function c(e){return"[object Function]"===Object.prototype.toString.call(e)}function d(e){return c(e)&&null!=e.name&&e.name.length>0}function h(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function f(e){if(o(e))return""+e;if(a(e))return!!e;if(u(e))return new Date(e.getTime());if(c(e))return e;if(i(e)){for(var t=[],n=0;n<e.length;n++)t.push(f(e[n]));return t}if(l(e)){var r={};for(var s in e)r[s]=f(e[s]);return r}return e}function p(e,t,n,r){var s,u,c={},d={};for(n=n||[],r=r||[],u=0;u<n.length;u++)c[n[u]]=!0;for(u=0;u<r.length;u++)d[r[u]]=!0;var h=f(e);for(u in t)if(null==h[u]||d[u])h[u]=t[u];else if(o(t[u])||a(t[u]))c[u]?(s=[],s.push.apply(s,i(h[u])?h[u]:[h[u]]),s.push.apply(s,a(t[u])?t[u]:[t[u]]),h[u]=s):h[u]=t[u];else if(i(t[u]))s=[],i(h[u])&&s.push.apply(s,h[u]),s.push.apply(s,t[u]),h[u]=s;else if(l(t[u]))for(var p in l(h[u])||(h[u]={}),t[u])h[u][p]=t[u][p];return h}function m(e,t,n){if(null!=e){var i=e,r=i;return t.replace(/([^\.])+/g,(function(e,t,i,o){var a=e.match(/([^\[0-9]+){1}(\[)([0-9+])/),s=i+e.length>=o.length,l=function(){return r[a[1]]||function(){return r[a[1]]=[],r[a[1]]}()};if(s)a?l()[a[3]]=n:r[e]=n;else if(a){var u=l();r=u[a[3]]||function(){return u[a[3]]={},u[a[3]]}()}else r=r[e]||function(){return r[e]={},r[e]}();return""})),e}}function v(e,t,n){for(var i=0;i<n.length;i++){var r=n[i][0][n[i][1]].apply(n[i][0],n[i][2]);if(r===t)return r}return e}function g(e,t,n,r){var a=function(e){var n=e.match(/(\${.*?})/g);if(null!=n)for(var i=0;i<n.length;i++){var r=t[n[i].substring(2,n[i].length-1)]||"";null!=r&&(e=e.replace(n[i],r))}return e},s=function(e){if(null!=e){if(o(e))return a(e);if(!c(e)||r||null!=n&&0!==(e.name||"").indexOf(n)){if(i(e)){for(var u=[],d=0;d<e.length;d++)u.push(s(e[d]));return u}if(l(e)){var h={};for(var f in e)h[f]=s(e[f]);return h}return e}return e(t)}};return s(e)}function y(e,t){if(e)for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function b(e,t){var n=y(e,t);return n>-1&&e.splice(n,1),-1!==n}function _(e,t){var n=e.indexOf(t);return n>-1&&e.splice(n,1),-1!==n}function w(e,t,n){-1===y(e,n)&&e.push(t)}function x(e,t,n,i){var r=e[t];return null==r&&(r=[],e[t]=r),r[i?"unshift":"push"](n),r}function k(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)}function M(e,t,n){var r;t=i(t)?t:[t];var o=function(t){var n=t.__proto__;while(null!=n)if(null!=n.prototype){for(var i in n.prototype)n.prototype.hasOwnProperty(i)&&!e.prototype.hasOwnProperty(i)&&(e.prototype[i]=n.prototype[i]);n=n.prototype.__proto__}else n=null};for(r=0;r<t.length;r++){for(var a in t[r].prototype)t[r].prototype.hasOwnProperty(a)&&!e.prototype.hasOwnProperty(a)&&(e.prototype[a]=t[r].prototype[a]);o(t[r])}var s=function(e,n){return function(){for(r=0;r<t.length;r++)t[r].prototype[e]&&t[r].prototype[e].apply(this,arguments);return n.apply(this,arguments)}},l=function(t){for(var n in t)e.prototype[n]=s(n,t[n])};if(arguments.length>2)for(r=2;r<arguments.length;r++)l(arguments[r]);return e}t.jsPlumbUtil=n,n.isArray=i,n.isNumber=r,n.isString=o,n.isBoolean=a,n.isNull=s,n.isObject=l,n.isDate=u,n.isFunction=c,n.isNamedFunction=d,n.isEmpty=h,n.clone=f,n.merge=p,n.replace=m,n.functionChain=v,n.populate=g,n.findWithFunction=y,n.removeWithFunction=b,n.remove=_,n.addWithFunction=w,n.addToList=x,n.suggest=k,n.extend=M;for(var S=[],C=0;C<256;C++)S[C]=(C<16?"0":"")+C.toString(16);function D(){var e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return S[255&e]+S[e>>8&255]+S[e>>16&255]+S[e>>24&255]+"-"+S[255&t]+S[t>>8&255]+"-"+S[t>>16&15|64]+S[t>>24&255]+"-"+S[63&n|128]+S[n>>8&255]+"-"+S[n>>16&255]+S[n>>24&255]+S[255&i]+S[i>>8&255]+S[i>>16&255]+S[i>>24&255]}function L(e){if(null==e)return null;var t=e.replace(/^\s\s*/,""),n=/\s/,i=t.length;while(n.test(t.charAt(--i)));return t.slice(0,i+1)}function T(e,t){e=null==e.length||"string"===typeof e?[e]:e;for(var n=0;n<e.length;n++)t(e[n])}function E(e,t){for(var n=[],i=0;i<e.length;i++)n.push(t(e[i]));return n}function P(e,t,n){n=n||"parent";var i=function(e){return e?t[e]:null},r=function(e){return e?i(e[n]):null},o=function(e,t){if(null==e)return t;var n=["anchor","anchors","cssClass","connector","paintStyle","hoverPaintStyle","endpoint","endpoints"];"override"===t.mergeStrategy&&Array.prototype.push.apply(n,["events","overlays"]);var i=p(e,t,[],n);return o(r(e),i)},a=function(e){if(null==e)return{};if("string"===typeof e)return i(e);if(e.length){var t=!1,n=0,r=void 0;while(!t&&n<e.length)r=a(e[n]),r?t=!0:n++;return r}},s=a(e);return s?o(r(s),s):{}}function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n.logEnabled&&"undefined"!==typeof console)try{var i=arguments[arguments.length-1];console.log(i)}catch(r){}}function O(e,t,n){return function(){var i=null;try{null!=t&&(i=t.apply(this,arguments))}catch(r){j("jsPlumb function failed : "+r)}if(null!=e&&(null==n||i!==n))try{i=e.apply(this,arguments)}catch(r){j("wrapped function failed : "+r)}return i}}n.uuid=D,n.fastTrim=L,n.each=T,n.map=E,n.mergeWithParents=P,n.logEnabled=!0,n.log=j,n.wrap=O;var I=function(){function e(){var e=this;this._listeners={},this.eventsSuspended=!1,this.tick=!1,this.eventsToDieOn={ready:!0},this.queue=[],this.bind=function(t,n,i){var r=function(t){x(e._listeners,t,n,i),n.__jsPlumb=n.__jsPlumb||{},n.__jsPlumb[D()]=t};if("string"===typeof t)r(t);else if(null!=t.length)for(var o=0;o<t.length;o++)r(t[o]);return e},this.fire=function(e,t,n){if(this.tick)this.queue.unshift(arguments);else{if(this.tick=!0,!this.eventsSuspended&&this._listeners[e]){var i=this._listeners[e].length,r=0,o=!1,a=null;if(!this.shouldFireEvent||this.shouldFireEvent(e,t,n))while(!o&&r<i&&!1!==a){if(this.eventsToDieOn[e])this._listeners[e][r].apply(this,[t,n]);else try{a=this._listeners[e][r].apply(this,[t,n])}catch(s){j("jsPlumb: fire failed for event "+e+" : "+s)}r++,null!=this._listeners&&null!=this._listeners[e]||(o=!0)}}this.tick=!1,this._drain()}return this},this._drain=function(){var t=e.queue.pop();t&&e.fire.apply(e,t)},this.unbind=function(e,t){if(0===arguments.length)this._listeners={};else if(1===arguments.length){if("string"===typeof e)delete this._listeners[e];else if(e.__jsPlumb){var n=void 0;for(var i in e.__jsPlumb)n=e.__jsPlumb[i],_(this._listeners[n]||[],e)}}else 2===arguments.length&&_(this._listeners[e]||[],t);return this},this.getListener=function(t){return e._listeners[t]},this.setSuspendEvents=function(t){e.eventsSuspended=t},this.isSuspendEvents=function(){return e.eventsSuspended},this.silently=function(t){e.setSuspendEvents(!0);try{t()}catch(n){j("Cannot execute silent function "+n)}e.setSuspendEvents(!1)},this.cleanupListeners=function(){for(var t in e._listeners)e._listeners[t]=null}}return e}();function Y(e,t,n){var i=[e[0]-t[0],e[1]-t[1]],r=Math.cos(n/360*Math.PI*2),o=Math.sin(n/360*Math.PI*2);return[i[0]*r-i[1]*o+t[0],i[1]*r+i[0]*o+t[1],r,o]}function A(e,t){var n=Y(e,[0,0],t);return[Math.round(n[0]),Math.round(n[1])]}n.EventGenerator=I,n.rotatePoint=Y,n.rotateAnchorOrientation=A}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this;e.jsPlumbUtil.matchesSelector=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},e.jsPlumbUtil.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},e.jsPlumbUtil.sizeElement=function(e,t,n,i,r){e&&(e.style.height=r+"px",e.height=r,e.style.width=i+"px",e.width=i,e.style.left=t+"px",e.style.top=n+"px")}}.call("undefined"!==typeof window?window:this),function(){var e={deriveAnchor:function(e,t,n,i){return{top:["TopRight","TopLeft"],bottom:["BottomRight","BottomLeft"]}[e][t]}},t=this,n=function(e,t){this.count=0,this.instance=e,this.lists={},this.options=t||{},this.instance.addList=function(e,t){return this.listManager.addList(e,t)},this.instance.removeList=function(e){this.listManager.removeList(e)},this.instance.bind("manageElement",function(e){for(var t=this.instance.getSelector(e.el,"[jtk-scrollable-list]"),n=0;n<t.length;n++)this.addList(t[n])}.bind(this)),this.instance.bind("unmanageElement",(function(e){this.removeList(e.el)})),this.instance.bind("connection",function(e,t){null==t&&(this._maybeUpdateParentList(e.source),this._maybeUpdateParentList(e.target))}.bind(this))};t.jsPlumbListManager=n,n.prototype={addList:function(t,n){var r=this.instance.extend({},e);this.instance.extend(r,this.options),n=this.instance.extend(r,n||{});var o=[this.instance.getInstanceIndex(),this.count++].join("_");this.lists[o]=new i(this.instance,t,n,o)},removeList:function(e){var t=this.lists[e._jsPlumbList];t&&(t.destroy(),delete this.lists[e._jsPlumbList])},_maybeUpdateParentList:function(e){var t=e.parentNode,n=this.instance.getContainer();while(null!=t&&t!==n){if(null!=t._jsPlumbList&&null!=this.lists[t._jsPlumbList])return void t._jsPlumbScrollHandler();t=t.parentNode}}};var i=function(e,t,n,i){function r(e,t,i,r){return n.anchor?n.anchor:n.deriveAnchor(e,t,i,r)}function o(e,t,i,r){return n.deriveEndpoint?n.deriveEndpoint(e,t,i,r):n.endpoint?n.endpoint:i.type}function a(t){var n=t.parentNode,i=e.getContainer();while(null!=n&&n!==i){if(e.hasClass(n,"jtk-managed"))return void e.recalculateOffsets(n);n=n.parentNode}}t["_jsPlumbList"]=i;var s=function(n){for(var i=e.getSelector(t,".jtk-managed"),s=e.getId(t),l=0;l<i.length;l++){if(i[l].offsetTop<t.scrollTop)i[l]._jsPlumbProxies||(i[l]._jsPlumbProxies=i[l]._jsPlumbProxies||[],e.select({source:i[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("top",0,n.endpoints[0],n)}),(function(){return r("top",0,n.endpoints[0],n)})),i[l]._jsPlumbProxies.push([n,0])})),e.select({target:i[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("top",1,n.endpoints[1],n)}),(function(){return r("top",1,n.endpoints[1],n)})),i[l]._jsPlumbProxies.push([n,1])})));else if(i[l].offsetTop+i[l].offsetHeight>t.scrollTop+t.offsetHeight)i[l]._jsPlumbProxies||(i[l]._jsPlumbProxies=i[l]._jsPlumbProxies||[],e.select({source:i[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("bottom",0,n.endpoints[0],n)}),(function(){return r("bottom",0,n.endpoints[0],n)})),i[l]._jsPlumbProxies.push([n,0])})),e.select({target:i[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("bottom",1,n.endpoints[1],n)}),(function(){return r("bottom",1,n.endpoints[1],n)})),i[l]._jsPlumbProxies.push([n,1])})));else if(i[l]._jsPlumbProxies){for(var u=0;u<i[l]._jsPlumbProxies.length;u++)e.unproxyConnection(i[l]._jsPlumbProxies[u][0],i[l]._jsPlumbProxies[u][1],s);delete i[l]._jsPlumbProxies}e.revalidate(i[l])}a(t)};e.setAttribute(t,"jtk-scrollable-list","true"),t._jsPlumbScrollHandler=s,e.on(t,"scroll",s),s(),this.destroy=function(){e.off(t,"scroll",s),delete t._jsPlumbScrollHandler;for(var n=e.getSelector(t,".jtk-managed"),i=e.getId(t),r=0;r<n.length;r++)if(n[r]._jsPlumbProxies){for(var o=0;o<n[r]._jsPlumbProxies.length;o++)e.unproxyConnection(n[r]._jsPlumbProxies[o][0],n[r]._jsPlumbProxies[o][1],i);delete n[r]._jsPlumbProxies}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.jsPlumbUtil,i=function(e){if(e._jsPlumb.paintStyle&&e._jsPlumb.hoverPaintStyle){var t={};p.extend(t,e._jsPlumb.paintStyle),p.extend(t,e._jsPlumb.hoverPaintStyle),delete e._jsPlumb.hoverPaintStyle,t.gradient&&e._jsPlumb.paintStyle.fill&&delete t.gradient,e._jsPlumb.hoverPaintStyle=t}},r=["tap","dbltap","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","contextmenu"],o=function(e,t,n,i){var r=e.getAttachedElements();if(r)for(var o=0,a=r.length;o<a;o++)i&&i===r[o]||r[o].setHover(t,!0,n)},a=function(e){return null==e?null:e.split(" ")},s=function(e,t,n){for(var i in t)e[i]=n},l=function(e,t,i){if(e.getDefaultType){var r=e.getTypeDescriptor(),o={},a=e.getDefaultType(),l=n.merge({},a);s(o,a,"__default");for(var u=0,c=e._jsPlumb.types.length;u<c;u++){var d=e._jsPlumb.types[u];if("__default"!==d){var h=e._jsPlumb.instance.getType(d,r);if(null!=h){var f=["anchor","anchors","connector","paintStyle","hoverPaintStyle","endpoint","endpoints","connectorOverlays","connectorStyle","connectorHoverStyle","endpointStyle","endpointHoverStyle"],p=[];"override"===h.mergeStrategy?Array.prototype.push.apply(f,["events","overlays","cssClass"]):p.push("cssClass"),l=n.merge(l,h,p,f),s(o,h,d)}}}t&&(l=n.populate(l,t,"_")),e.applyType(l,i,o),i||e.repaint()}},u=e.jsPlumbUIComponent=function(e){n.EventGenerator.apply(this,arguments);var t=this,i=arguments,r=t.idPrefix,o=r+(new Date).getTime();this._jsPlumb={instance:e._jsPlumb,parameters:e.parameters||{},paintStyle:null,hoverPaintStyle:null,paintStyleInUse:null,hover:!1,beforeDetach:e.beforeDetach,beforeDrop:e.beforeDrop,overlayPlacements:[],hoverClass:e.hoverClass||e._jsPlumb.Defaults.HoverClass,types:[],typeCache:{}},this.cacheTypeItem=function(e,t,n){this._jsPlumb.typeCache[n]=this._jsPlumb.typeCache[n]||{},this._jsPlumb.typeCache[n][e]=t},this.getCachedTypeItem=function(e,t){return this._jsPlumb.typeCache[t]?this._jsPlumb.typeCache[t][e]:null},this.getId=function(){return o};var a=e.overlays||[],s={};if(this.defaultOverlayKeys){for(var l=0;l<this.defaultOverlayKeys.length;l++)Array.prototype.push.apply(a,this._jsPlumb.instance.Defaults[this.defaultOverlayKeys[l]]||[]);for(l=0;l<a.length;l++){var u=p.convertToFullOverlaySpec(a[l]);s[u[1].id]=u}}var c={overlays:s,parameters:e.parameters||{},scope:e.scope||this._jsPlumb.instance.getDefaultScope()};if(this.getDefaultType=function(){return c},this.appendToDefaultType=function(e){for(var t in e)c[t]=e[t]},e.events)for(var d in e.events)t.bind(d,e.events[d]);this.clone=function(){var e=Object.create(this.constructor.prototype);return this.constructor.apply(e,i),e}.bind(this),this.isDetachAllowed=function(e){var t=!0;if(this._jsPlumb.beforeDetach)try{t=this._jsPlumb.beforeDetach(e)}catch(i){n.log("jsPlumb: beforeDetach callback failed",i)}return t},this.isDropAllowed=function(e,t,i,r,o,a,s){var l=this._jsPlumb.instance.checkCondition("beforeDrop",{sourceId:e,targetId:t,scope:i,connection:r,dropEndpoint:o,source:a,target:s});if(this._jsPlumb.beforeDrop)try{l=this._jsPlumb.beforeDrop({sourceId:e,targetId:t,scope:i,connection:r,dropEndpoint:o,source:a,target:s})}catch(u){n.log("jsPlumb: beforeDrop callback failed",u)}return l};var h=[];this.setListenerComponent=function(e){for(var t=0;t<h.length;t++)h[t][3]=e}},c=function(e,t){var n=e._jsPlumb.types[t],i=e._jsPlumb.instance.getType(n,e.getTypeDescriptor());null!=i&&i.cssClass&&e.canvas&&e._jsPlumb.instance.removeClass(e.canvas,i.cssClass)};n.extend(e.jsPlumbUIComponent,n.EventGenerator,{getParameter:function(e){return this._jsPlumb.parameters[e]},setParameter:function(e,t){this._jsPlumb.parameters[e]=t},getParameters:function(){return this._jsPlumb.parameters},setParameters:function(e){this._jsPlumb.parameters=e},getClass:function(){return p.getClass(this.canvas)},hasClass:function(e){return p.hasClass(this.canvas,e)},addClass:function(e){p.addClass(this.canvas,e)},removeClass:function(e){p.removeClass(this.canvas,e)},updateClasses:function(e,t){p.updateClasses(this.canvas,e,t)},setType:function(e,t,n){this.clearTypes(),this._jsPlumb.types=a(e)||[],l(this,t,n)},getType:function(){return this._jsPlumb.types},reapplyTypes:function(e,t){l(this,e,t)},hasType:function(e){return-1!==this._jsPlumb.types.indexOf(e)},addType:function(e,t,n){var i=a(e),r=!1;if(null!=i){for(var o=0,s=i.length;o<s;o++)this.hasType(i[o])||(this._jsPlumb.types.push(i[o]),r=!0);r&&l(this,t,n)}},removeType:function(e,t,n){var i=a(e),r=!1,o=function(e){var t=this._jsPlumb.types.indexOf(e);return-1!==t&&(c(this,t),this._jsPlumb.types.splice(t,1),!0)}.bind(this);if(null!=i){for(var s=0,u=i.length;s<u;s++)r=o(i[s])||r;r&&l(this,t,n)}},clearTypes:function(e,t){for(var n=this._jsPlumb.types.length,i=0;i<n;i++)c(this,0),this._jsPlumb.types.splice(0,1);l(this,e,t)},toggleType:function(e,t,n){var i=a(e);if(null!=i){for(var r=0,o=i.length;r<o;r++){var s=this._jsPlumb.types.indexOf(i[r]);-1!==s?(c(this,s),this._jsPlumb.types.splice(s,1)):this._jsPlumb.types.push(i[r])}l(this,t,n)}},applyType:function(e,t){if(this.setPaintStyle(e.paintStyle,t),this.setHoverPaintStyle(e.hoverPaintStyle,t),e.parameters)for(var n in e.parameters)this.setParameter(n,e.parameters[n]);this._jsPlumb.paintStyleInUse=this.getPaintStyle()},setPaintStyle:function(e,t){this._jsPlumb.paintStyle=e,this._jsPlumb.paintStyleInUse=this._jsPlumb.paintStyle,i(this),t||this.repaint()},getPaintStyle:function(){return this._jsPlumb.paintStyle},setHoverPaintStyle:function(e,t){this._jsPlumb.hoverPaintStyle=e,i(this),t||this.repaint()},getHoverPaintStyle:function(){return this._jsPlumb.hoverPaintStyle},destroy:function(e){(e||null==this.typeId)&&(this.cleanupListeners(),this.clone=null,this._jsPlumb=null)},isHover:function(){return this._jsPlumb.hover},setHover:function(e,t,n){if(this._jsPlumb&&!this._jsPlumb.instance.currentlyDragging&&!this._jsPlumb.instance.isHoverSuspended()){this._jsPlumb.hover=e;var i=e?"addClass":"removeClass";null!=this.canvas&&(null!=this._jsPlumb.instance.hoverClass&&this._jsPlumb.instance[i](this.canvas,this._jsPlumb.instance.hoverClass),null!=this._jsPlumb.hoverClass&&this._jsPlumb.instance[i](this.canvas,this._jsPlumb.hoverClass)),null!=this._jsPlumb.hoverPaintStyle&&(this._jsPlumb.paintStyleInUse=e?this._jsPlumb.hoverPaintStyle:this._jsPlumb.paintStyle,this._jsPlumb.instance.isSuspendDrawing()||(n=n||jsPlumbUtil.uuid(),this.repaint({timestamp:n,recalc:!1}))),this.getAttachedElements&&!t&&o(this,e,jsPlumbUtil.uuid(),this)}}});var d=0,h=function(){var e=d+1;return d++,e},f=e.jsPlumbInstance=function(t){this.version="2.15.6",this.Defaults={Anchor:"Bottom",Anchors:[null,null],ConnectionsDetachable:!0,ConnectionOverlays:[],Connector:"Bezier",Container:null,DoNotThrowErrors:!1,DragOptions:{},DropOptions:{},Endpoint:"Dot",EndpointOverlays:[],Endpoints:[null,null],EndpointStyle:{fill:"#456"},EndpointStyles:[null,null],EndpointHoverStyle:null,EndpointHoverStyles:[null,null],HoverPaintStyle:null,LabelStyle:{color:"black"},ListStyle:{},LogEnabled:!1,Overlays:[],MaxConnections:1,PaintStyle:{"stroke-width":4,stroke:"#456"},ReattachConnections:!1,RenderMode:"svg",Scope:"jsPlumb_DefaultScope"},t&&p.extend(this.Defaults,t),this.logEnabled=this.Defaults.LogEnabled,this._connectionTypes={},this._endpointTypes={},n.EventGenerator.apply(this);var i=this,o=h(),a=i.bind,s={},l=1,c=function(e){if(null==e)return null;if(3===e.nodeType||8===e.nodeType)return{el:e,text:!0};var t=i.getElement(e);return{el:t,id:n.isString(e)&&null==t?e:W(t)}};for(var d in this.getInstanceIndex=function(){return o},this.setZoom=function(e,t){return l=e,i.fire("zoom",l),t&&i.repaintEverything(),!0},this.getZoom=function(){return l},this.Defaults)s[d]=this.Defaults[d];var f,m=[];this.unbindContainer=function(){if(null!=f&&m.length>0)for(var e=0;e<m.length;e++)i.off(f,m[e][0],m[e][1])},this.setContainer=function(e){this.unbindContainer(),e=this.getElement(e),this.select().each((function(t){t.moveParent(e)})),this.selectEndpoints().each((function(t){t.moveParent(e)}));var t=f;f=e,m.length=0;for(var n={endpointclick:"endpointClick",endpointdblclick:"endpointDblClick"},o=function(e,t,r){var o=t.srcElement||t.target,a=(o&&o.parentNode?o.parentNode._jsPlumb:null)||(o?o._jsPlumb:null)||(o&&o.parentNode&&o.parentNode.parentNode?o.parentNode.parentNode._jsPlumb:null);if(a){a.fire(e,a,t);var s=r&&n[r+e]||e;i.fire(s,a.component||a,t)}},a=function(e,t,n){m.push([e,n]),i.on(f,e,t,n)},s=function(e){a(e,".jtk-connector",(function(t){o(e,t)})),a(e,".jtk-endpoint",(function(t){o(e,t,"endpoint")})),a(e,".jtk-overlay",(function(t){o(e,t)}))},l=0;l<r.length;l++)s(r[l]);for(var u in w){var c=w[u].el;c.parentNode===t&&(t.removeChild(c),f.appendChild(c))}},this.getContainer=function(){return f},this.bind=function(e,t){"ready"===e&&g?t():a.apply(i,[e,t])},i.importDefaults=function(e){for(var t in e)i.Defaults[t]=e[t];return e.Container&&i.setContainer(e.Container),i},i.restoreDefaults=function(){return i.Defaults=p.extend({},s),i};var v=null,g=!1,y=[],b={},_={},w={},x={},k={},M=!1,S=[],C=!1,D=null,L=this.Defaults.Scope,T=1,E=function(){return""+T++},P=function(e,t){f?f.appendChild(e):t?this.getElement(t).appendChild(e):this.appendToRoot(e)}.bind(this),j=function(e,t,n,r){var o={c:[],e:[]};if(!C&&(e=i.getElement(e),null!=e)){var a=W(e),s=e.querySelectorAll(".jtk-managed");null==n&&(n=jsPlumbUtil.uuid());fe({elId:a,offset:t,recalc:!1,timestamp:n});for(var l=0;l<s.length;l++)fe({elId:s[l].getAttribute("id"),recalc:!0,timestamp:n});var u=i.router.redraw(a,t,n,null,r);if(Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e),s)for(var c=0;c<s.length;c++)u=i.router.redraw(s[c].getAttribute("id"),null,n,null,r,!0),Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e)}return o},O=function(e){return _[e]},I=function(e,t){for(var n=e.scope.split(/\s/),i=t.scope.split(/\s/),r=0;r<n.length;r++)for(var o=0;o<i.length;o++)if(i[o]===n[r])return!0;return!1},Y=function(e,t){var n=p.extend({},e);for(var i in t)t[i]&&(n[i]=t[i]);return n},A=function(e,t){var r=p.extend({},e);if(t&&p.extend(r,t),r.source&&(r.source.endpoint?r.sourceEndpoint=r.source:r.source=i.getElement(r.source)),r.target&&(r.target.endpoint?r.targetEndpoint=r.target:r.target=i.getElement(r.target)),e.uuids&&(r.sourceEndpoint=O(e.uuids[0]),r.targetEndpoint=O(e.uuids[1])),r.sourceEndpoint&&r.sourceEndpoint.isFull())n.log(i,"could not add connection; source endpoint is full");else if(r.targetEndpoint&&r.targetEndpoint.isFull())n.log(i,"could not add connection; target endpoint is full");else{if(!r.type&&r.sourceEndpoint&&(r.type=r.sourceEndpoint.connectionType),r.sourceEndpoint&&r.sourceEndpoint.connectorOverlays){r.overlays=r.overlays||[];for(var o=0,a=r.sourceEndpoint.connectorOverlays.length;o<a;o++)r.overlays.push(r.sourceEndpoint.connectorOverlays[o])}r.sourceEndpoint&&r.sourceEndpoint.scope&&(r.scope=r.sourceEndpoint.scope),!r["pointer-events"]&&r.sourceEndpoint&&r.sourceEndpoint.connectorPointerEvents&&(r["pointer-events"]=r.sourceEndpoint.connectorPointerEvents);var s=function(e,t,n){var o=Y(t,{anchor:r.anchors?r.anchors[n]:r.anchor,endpoint:r.endpoints?r.endpoints[n]:r.endpoint,paintStyle:r.endpointStyles?r.endpointStyles[n]:r.endpointStyle,hoverPaintStyle:r.endpointHoverStyles?r.endpointHoverStyles[n]:r.endpointHoverStyle});return i.addEndpoint(e,o)},l=function(e,t,n,i){if(r[e]&&!r[e].endpoint&&!r[e+"Endpoint"]&&!r.newConnection){var o=W(r[e]),a=n[o];if(a=a?a[i]:null,a){if(!a.enabled)return!1;var l=p.extend({},a.def);delete l.label;var u=null!=a.endpoint&&a.endpoint._jsPlumb?a.endpoint:s(r[e],l,t);if(u.isFull())return!1;r[e+"Endpoint"]=u,!r.scope&&l.scope&&(r.scope=l.scope),a.uniqueEndpoint?a.endpoint?u.finalEndpoint=a.endpoint:(a.endpoint=u,u.setDeleteOnEmpty(!1)):u.setDeleteOnEmpty(!0),0===t&&a.def.connectorOverlays&&(r.overlays=r.overlays||[],Array.prototype.push.apply(r.overlays,a.def.connectorOverlays))}}};if(!1!==l("source",0,this.sourceEndpointDefinitions,r.type||"default")&&!1!==l("target",1,this.targetEndpointDefinitions,r.type||"default"))return r.sourceEndpoint&&r.targetEndpoint&&(I(r.sourceEndpoint,r.targetEndpoint)||(r=null)),r}}.bind(i),N=function(e){var t=i.Defaults.ConnectionType||i.getDefaultConnectionType();e._jsPlumb=i,e.newConnection=N,e.newEndpoint=R,e.endpointsByUUID=_,e.endpointsByElement=b,e.finaliseConnection=H,e.id="con_"+E();var n=new t(e);return n.isDetachable()&&(n.endpoints[0].initDraggable("_jsPlumbSource"),n.endpoints[1].initDraggable("_jsPlumbTarget")),n},H=i.finaliseConnection=function(e,t,n,r){if(t=t||{},e.suspendedEndpoint||y.push(e),e.pending=null,e.endpoints[0].isTemporarySource=!1,!1!==r&&i.router.newConnection(e),j(e.source),!t.doNotFireConnectionEvent&&!1!==t.fireEvent){var o={connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]};i.fire("connection",o,n)}},R=function(e,t){var n=i.Defaults.EndpointType||p.Endpoint,r=p.extend({},e);r._jsPlumb=i,r.newConnection=N,r.newEndpoint=R,r.endpointsByUUID=_,r.endpointsByElement=b,r.fireDetachEvent=q,r.elementId=t||W(r.source);var o=new n(r);return o.id="ep_"+E(),he(r.elementId,r.source),p.headless||i.getDragManager().endpointAdded(r.source,t),o},F=function(e,t,n){var i=b[e];if(i&&i.length)for(var r=0,o=i.length;r<o;r++){for(var a=0,s=i[r].connections.length;a<s;a++){var l=t(i[r].connections[a]);if(l)return}n&&n(i[r])}},z=function(e,t,n){t="block"===t;var i=null;n&&(i=function(e){e.setVisible(t,!0,!0)});var r=c(e);F(r.id,(function(e){if(t&&n){var i=e.sourceId===r.id?1:0;e.endpoints[i].isVisible()&&e.setVisible(!0)}else e.setVisible(t)}),i)},$=function(e,t){var n=null;t&&(n=function(e){var t=e.isVisible();e.setVisible(!t)}),F(e,(function(e){var t=e.isVisible();e.setVisible(!t)}),n)},B=function(e){var t=x[e];return t?{o:t,s:S[e]}:fe({elId:e})},W=function(e,t,r){if(n.isString(e))return e;if(null==e)return null;var a=i.getAttribute(e,"id");return a&&"undefined"!==a||(2===arguments.length&&void 0!==arguments[1]?a=t:(1===arguments.length||3===arguments.length&&!arguments[2])&&(a="jsPlumb_"+o+"_"+E()),r||i.setAttribute(e,"id",a)),a};this.setConnectionBeingDragged=function(e){M=e},this.isConnectionBeingDragged=function(){return M},this.getManagedElements=function(){return w},this.connectorClass="jtk-connector",this.connectorOutlineClass="jtk-connector-outline",this.connectedClass="jtk-connected",this.hoverClass="jtk-hover",this.endpointClass="jtk-endpoint",this.endpointConnectedClass="jtk-endpoint-connected",this.endpointFullClass="jtk-endpoint-full",this.endpointDropAllowedClass="jtk-endpoint-drop-allowed",this.endpointDropForbiddenClass="jtk-endpoint-drop-forbidden",this.overlayClass="jtk-overlay",this.draggingClass="jtk-dragging",this.elementDraggingClass="jtk-element-dragging",this.sourceElementDraggingClass="jtk-source-element-dragging",this.targetElementDraggingClass="jtk-target-element-dragging",this.endpointAnchorClassPrefix="jtk-endpoint-anchor",this.hoverSourceClass="jtk-source-hover",this.hoverTargetClass="jtk-target-hover",this.dragSelectClass="jtk-drag-select",this.Anchors={},this.Connectors={svg:{}},this.Endpoints={svg:{}},this.Overlays={svg:{}},this.ConnectorRenderers={},this.SVG="svg",this.addEndpoint=function(e,t,r){r=r||{};var o=p.extend({},r);p.extend(o,t),o.endpoint=o.endpoint||i.Defaults.Endpoint,o.paintStyle=o.paintStyle||i.Defaults.EndpointStyle;for(var a=[],s=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],l=0,u=s.length;l<u;l++){o.source=i.getElement(s[l]),ce(o.source);var c=W(o.source),d=R(o,c),h=he(c,o.source,null,!C).info.o;n.addToList(b,c,d),C||d.paint({anchorLoc:d.anchor.compute({xy:[h.left,h.top],wh:S[c],element:d,timestamp:D,rotation:this.getRotation(c)}),timestamp:D}),a.push(d)}return 1===a.length?a[0]:a},this.addEndpoints=function(e,t,r){for(var o=[],a=0,s=t.length;a<s;a++){var l=i.addEndpoint(e,t[a],r);n.isArray(l)?Array.prototype.push.apply(o,l):o.push(l)}return o},this.animate=function(e,t,r){if(!this.animationSupported)return!1;r=r||{};var o=i.getElement(e),a=W(o),s=p.animEvents.step,l=p.animEvents.complete;r[s]=n.wrap(r[s],(function(){i.revalidate(a)})),r[l]=n.wrap(r[l],(function(){i.revalidate(a)})),i.doAnimate(o,t,r)},this.checkCondition=function(e,t){var r=i.getListener(e),o=!0;if(r&&r.length>0){var a=Array.prototype.slice.call(arguments,1);try{for(var s=0,l=r.length;s<l;s++)o=o&&r[s].apply(r[s],a)}catch(u){n.log(i,"cannot check condition ["+e+"]"+u)}}return o},this.connect=function(e,t){var i,r=A(e,t);if(r){if(null==r.source&&null==r.sourceEndpoint)return void n.log("Cannot establish connection - source does not exist");if(null==r.target&&null==r.targetEndpoint)return void n.log("Cannot establish connection - target does not exist");ce(r.source),i=N(r),H(i,r)}return i};var V=[{el:"source",elId:"sourceId",epDefs:"sourceEndpointDefinitions"},{el:"target",elId:"targetId",epDefs:"targetEndpointDefinitions"}],U=function(e,t,n,i){var r,o,a,s=V[n],l=e[s.elId],u=(e[s.el],e.endpoints[n]),c={index:n,originalSourceId:0===n?l:e.sourceId,newSourceId:e.sourceId,originalTargetId:1===n?l:e.targetId,newTargetId:e.targetId,connection:e};if(t.constructor===p.Endpoint)r=t,r.addConnection(e),t=r.element;else if(o=W(t),a=this[s.epDefs][o],o===e[s.elId])r=null;else if(a)for(var d in a){if(!a[d].enabled)return;r=null!=a[d].endpoint&&a[d].endpoint._jsPlumb?a[d].endpoint:this.addEndpoint(t,a[d].def),a[d].uniqueEndpoint&&(a[d].endpoint=r),r.addConnection(e)}else r=e.makeEndpoint(0===n,t,o);return null!=r&&(u.detachFromConnection(e),e.endpoints[n]=r,e[s.el]=r.element,e[s.elId]=r.elementId,c[0===n?"newSourceId":"newTargetId"]=r.elementId,G(c),i||e.repaint()),c.element=t,c}.bind(this);this.setSource=function(e,t,n){var i=U(e,t,0,n);this.router.sourceOrTargetChanged(i.originalSourceId,i.newSourceId,e,i.el,0)},this.setTarget=function(e,t,n){var i=U(e,t,1,n);this.router.sourceOrTargetChanged(i.originalTargetId,i.newTargetId,e,i.el,1)},this.deleteEndpoint=function(e,t,n){var r="string"===typeof e?_[e]:e;return r&&i.deleteObject({endpoint:r,dontUpdateHover:t,deleteAttachedObjects:n}),i},this.deleteEveryEndpoint=function(){var e=i.setSuspendDrawing(!0);for(var t in b){var n=b[t];if(n&&n.length)for(var r=0,o=n.length;r<o;r++)i.deleteEndpoint(n[r],!0)}b={},w={},_={},x={},k={},i.router.reset();var a=i.getDragManager();return a&&a.reset(),e||i.setSuspendDrawing(!1),i};var q=function(e,t,n){var r=i.Defaults.ConnectionType||i.getDefaultConnectionType(),o=e.constructor===r,a=o?{connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]}:e;t&&i.fire("connectionDetached",a,n),i.fire("internal.connectionDetached",a,n),i.router.connectionDetached(a)},G=i.fireMoveEvent=function(e,t){i.fire("connectionMoved",e,t)};this.unregisterEndpoint=function(e){for(var t in e._jsPlumb.uuid&&(_[e._jsPlumb.uuid]=null),i.router.deleteEndpoint(e),b){var n=b[t];if(n){for(var r=[],o=0,a=n.length;o<a;o++)n[o]!==e&&r.push(n[o]);b[t]=r}b[t].length<1&&delete b[t]}};var K="isDetachAllowed",J="beforeDetach",X="checkCondition";this.deleteConnection=function(e,t){return!(null==e||(t=t||{},!t.force&&!n.functionChain(!0,!1,[[e.endpoints[0],K,[e]],[e.endpoints[1],K,[e]],[e,K,[e]],[i,X,[J,e]]])))&&(e.setHover(!1),q(e,!e.pending&&!1!==t.fireEvent,t.originalEvent),e.endpoints[0].detachFromConnection(e),e.endpoints[1].detachFromConnection(e),n.removeWithFunction(y,(function(t){return e.id===t.id})),e.cleanup(),e.destroy(),!0)},this.deleteEveryConnection=function(e){e=e||{};var t=y.length,n=0;return i.batch((function(){for(var r=0;r<t;r++)n+=i.deleteConnection(y[0],e)?1:0})),n},this.deleteConnectionsForElement=function(e,t){t=t||{},e=i.getElement(e);var n=W(e),r=b[n];if(r&&r.length)for(var o=0,a=r.length;o<a;o++)r[o].deleteEveryConnection(t);return i},this.deleteObject=function(e){var t={endpoints:{},connections:{},endpointCount:0,connectionCount:0},r=!1!==e.deleteAttachedObjects,o=function(n){null!=n&&null==t.connections[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.connections[n.id]=n,t.connectionCount++)},a=function(n){if(null!=n&&null==t.endpoints[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.endpoints[n.id]=n,t.endpointCount++,r))for(var i=0;i<n.connections.length;i++){var a=n.connections[i];o(a)}};for(var s in e.connection?o(e.connection):a(e.endpoint),t.connections){var l=t.connections[s];if(l._jsPlumb){n.removeWithFunction(y,(function(e){return l.id===e.id})),q(l,!1!==e.fireEvent&&!l.pending,e.originalEvent);var u=null==e.deleteAttachedObjects?null:!e.deleteAttachedObjects;l.endpoints[0].detachFromConnection(l,null,u),l.endpoints[1].detachFromConnection(l,null,u),l.cleanup(!0),l.destroy(!0)}}for(var c in t.endpoints){var d=t.endpoints[c];d._jsPlumb&&(i.unregisterEndpoint(d),d.cleanup(!0),d.destroy(!0))}return t};var Z=function(e,t,n,i){for(var r=0,o=e.length;r<o;r++)e[r][t].apply(e[r],n);return i(e)},Q=function(e,t,n){for(var i=[],r=0,o=e.length;r<o;r++)i.push([e[r][t].apply(e[r],n),e[r]]);return i},ee=function(e,t,n){return function(){return Z(e,t,arguments,n)}},te=function(e,t){return function(){return Q(e,t,arguments)}},ne=function(e,t){var n=[];if(e)if("string"===typeof e){if("*"===e)return e;n.push(e)}else if(t)n=e;else if(e.length)for(var i=0,r=e.length;i<r;i++)n.push(c(e[i]).id);else n.push(c(e).id);return n},ie=function(e,t,n){return"*"===e||(e.length>0?-1!==e.indexOf(t):!n)};this.getConnections=function(e,t){e?e.constructor===String&&(e={scope:e}):e={};for(var n=e.scope||i.getDefaultScope(),r=ne(n,!0),o=ne(e.source),a=ne(e.target),s=!t&&r.length>1?{}:[],l=function(e,n){if(!t&&r.length>1){var i=s[e];null==i&&(i=s[e]=[]),i.push(n)}else s.push(n)},u=0,c=y.length;u<c;u++){var d=y[u],h=d.proxies&&d.proxies[0]?d.proxies[0].originalEp.elementId:d.sourceId,f=d.proxies&&d.proxies[1]?d.proxies[1].originalEp.elementId:d.targetId;ie(r,d.scope)&&ie(o,h)&&ie(a,f)&&l(d.scope,d)}return s};var re=function(e,t){return function(n){for(var i=0,r=e.length;i<r;i++)n(e[i]);return t(e)}},oe=function(e){return function(t){return e[t]}},ae=function(e,t){var n,i,r={length:e.length,each:re(e,t),get:oe(e)},o=["setHover","removeAllOverlays","setLabel","addClass","addOverlay","removeOverlay","removeOverlays","showOverlay","hideOverlay","showOverlays","hideOverlays","setPaintStyle","setHoverPaintStyle","setSuspendEvents","setParameter","setParameters","setVisible","repaint","addType","toggleType","removeType","removeClass","setType","bind","unbind"],a=["getLabel","getOverlay","isHover","getParameter","getParameters","getPaintStyle","getHoverPaintStyle","isVisible","hasType","getType","isSuspendEvents"];for(n=0,i=o.length;n<i;n++)r[o[n]]=ee(e,o[n],t);for(n=0,i=a.length;n<i;n++)r[a[n]]=te(e,a[n]);return r},se=function(e){var t=ae(e,se);return p.extend(t,{setDetachable:ee(e,"setDetachable",se),setReattach:ee(e,"setReattach",se),setConnector:ee(e,"setConnector",se),delete:function(){for(var t=0,n=e.length;t<n;t++)i.deleteConnection(e[t])},isDetachable:te(e,"isDetachable"),isReattach:te(e,"isReattach")})},le=function(e){var t=ae(e,le);return p.extend(t,{setEnabled:ee(e,"setEnabled",le),setAnchor:ee(e,"setAnchor",le),isEnabled:te(e,"isEnabled"),deleteEveryConnection:function(){for(var t=0,n=e.length;t<n;t++)e[t].deleteEveryConnection()},delete:function(){for(var t=0,n=e.length;t<n;t++)i.deleteEndpoint(e[t])}})};this.select=function(e){return e=e||{},e.scope=e.scope||"*",se(e.connections||i.getConnections(e,!0))},this.selectEndpoints=function(e){e=e||{},e.scope=e.scope||"*";var t=!e.element&&!e.source&&!e.target,n=t?"*":ne(e.element),i=t?"*":ne(e.source),r=t?"*":ne(e.target),o=ne(e.scope,!0),a=[];for(var s in b){var l=ie(n,s,!0),u=ie(i,s,!0),c="*"!==i,d=ie(r,s,!0),h="*"!==r;if(l||u||d)e:for(var f=0,p=b[s].length;f<p;f++){var m=b[s][f];if(ie(o,m.scope,!0)){var v=c&&i.length>0&&!m.isSource,g=h&&r.length>0&&!m.isTarget;if(v||g)continue e;a.push(m)}}}return le(a)},this.getAllConnections=function(){return y},this.getDefaultScope=function(){return L},this.getEndpoint=O,this.getEndpoints=function(e){return b[c(e).id]||[]},this.getDefaultEndpointType=function(){return p.Endpoint},this.getDefaultConnectionType=function(){return p.Connection},this.getId=W,this.draw=j,this.info=c,this.appendElement=P;var ue=!1;this.isHoverSuspended=function(){return ue},this.setHoverSuspended=function(e){ue=e},this.hide=function(e,t){return z(e,"none",t),i},this.idstamp=E;var ce=function(e){if(!f&&e){var t=i.getElement(e);t.offsetParent&&i.setContainer(t.offsetParent)}},de=function(){i.Defaults.Container&&i.setContainer(i.Defaults.Container)},he=i.manage=function(e,t,n,r){return w[e]?r&&(w[e].info=fe({elId:e,timestamp:D,recalc:!0})):(w[e]={el:t,endpoints:[],connections:[],rotation:0},w[e].info=fe({elId:e,timestamp:D}),i.addClass(t,"jtk-managed"),n||i.fire("manageElement",{id:e,info:w[e].info,el:t})),w[e]};this.unmanage=function(e){if(w[e]){var t=w[e].el;i.removeClass(t,"jtk-managed"),delete w[e],i.fire("unmanageElement",{id:e,el:t})}},this.rotate=function(e,t,n){return w[e]&&(w[e].rotation=t,w[e].el.style.transform="rotate("+t+"deg)",w[e].el.style.transformOrigin="center center",!0!==n)?this.revalidate(e):{c:[],e:[]}},this.getRotation=function(e){return w[e]&&w[e].rotation||0};var fe=function(e){var t,n=e.timestamp,r=e.recalc,o=e.offset,a=e.elId;return C&&!n&&(n=D),!r&&n&&n===k[a]?{o:e.offset||x[a],s:S[a]}:(r||!o&&null==x[a]?(t=w[a]?w[a].el:null,null!=t&&(S[a]=i.getSize(t),x[a]=i.getOffset(t),k[a]=n)):(x[a]=o||x[a],null==S[a]&&(t=w[a].el,null!=t&&(S[a]=i.getSize(t))),k[a]=n),x[a]&&!x[a].right&&(x[a].right=x[a].left+S[a][0],x[a].bottom=x[a].top+S[a][1],x[a].width=S[a][0],x[a].height=S[a][1],x[a].centerx=x[a].left+x[a].width/2,x[a].centery=x[a].top+x[a].height/2),{o:x[a],s:S[a]})};this.updateOffset=fe,this.init=function(){g||(de(),i.router=new e.jsPlumb.DefaultRouter(i),i.anchorManager=i.router.anchorManager,g=!0,i.fire("ready",i))}.bind(this),this.log=v,this.jsPlumbUIComponent=u,this.makeAnchor=function(){var t,r=function(t,n){if(e.jsPlumb.Anchors[t])return new e.jsPlumb.Anchors[t](n);if(!i.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown anchor type '"+t+"'"}};if(0===arguments.length)return null;var o=arguments[0],a=arguments[1],s=null;if(o.compute&&o.getOrientation)return o;if("string"===typeof o)s=r(arguments[0],{elementId:a,jsPlumbInstance:i});else if(n.isArray(o))if(n.isArray(o[0])||n.isString(o[0]))2===o.length&&n.isObject(o[1])?n.isString(o[0])?(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:i},o[1]),s=r(o[0],t)):(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:i,anchors:o[0]},o[1]),s=new e.jsPlumb.DynamicAnchor(t)):s=new p.DynamicAnchor({anchors:o,selector:null,elementId:a,jsPlumbInstance:i});else{var l={x:o[0],y:o[1],orientation:o.length>=4?[o[2],o[3]]:[0,0],offsets:o.length>=6?[o[4],o[5]]:[0,0],elementId:a,jsPlumbInstance:i,cssClass:7===o.length?o[6]:null};s=new e.jsPlumb.Anchor(l),s.clone=function(){return new e.jsPlumb.Anchor(l)}}return s.id||(s.id="anchor_"+E()),s},this.makeAnchors=function(t,r,o){for(var a=[],s=0,l=t.length;s<l;s++)"string"===typeof t[s]?a.push(e.jsPlumb.Anchors[t[s]]({elementId:r,jsPlumbInstance:o})):n.isArray(t[s])&&a.push(i.makeAnchor(t[s],r,o));return a},this.makeDynamicAnchor=function(t,n){return new e.jsPlumb.DynamicAnchor({anchors:t,selector:n,elementId:null,jsPlumbInstance:i})},this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={};var pe=function(e,t,n,i,r){for(var o=e.target||e.srcElement,a=!1,s=i.getSelector(t,n),l=0;l<s.length;l++)if(s[l]===o){a=!0;break}return r?!a:a},me=function(t,r,o,a,s){var l=new u(r),c=r._jsPlumb.EndpointDropHandler({jsPlumb:i,enabled:function(){return t.def.enabled},isFull:function(){var e=i.select({target:t.id}).length;return t.def.maxConnections>0&&e>=t.def.maxConnections},element:t.el,elementId:t.id,isSource:a,isTarget:s,addClass:function(e){i.addClass(t.el,e)},removeClass:function(e){i.removeClass(t.el,e)},onDrop:function(e){var t=e.endpoints[0];t.anchor.locked=!1},isDropAllowed:function(){return l.isDropAllowed.apply(l,arguments)},isRedrop:function(e){return null!=e.suspendedElement&&null!=e.suspendedEndpoint&&e.suspendedEndpoint.element===t.el},getEndpoint:function(n){var o=t.def.endpoint;if(null==o||null==o._jsPlumb){var a=i.deriveEndpointAndAnchorSpec(n.getType().join(" "),!0),s=a.endpoints?e.jsPlumb.extend(r,{endpoint:t.def.def.endpoint||a.endpoints[1]}):r;a.anchors&&(s=e.jsPlumb.extend(s,{anchor:t.def.def.anchor||a.anchors[1]})),o=i.addEndpoint(t.el,s),o._mtNew=!0}if(r.uniqueEndpoint&&(t.def.endpoint=o),o.setDeleteOnEmpty(!0),n.isDetachable()&&o.initDraggable(),null!=o.anchor.positionFinder){var l=i.getUIPosition(arguments,i.getZoom()),u=i.getOffset(t.el),c=i.getSize(t.el),d=null==l?[0,0]:o.anchor.positionFinder(l,u,c,o.anchor.constructorParams);o.anchor.x=d[0],o.anchor.y=d[1]}return o},maybeCleanup:function(e){e._mtNew&&0===e.connections.length?i.deleteObject({endpoint:e}):delete e._mtNew}}),d=e.jsPlumb.dragEvents.drop;return o.scope=o.scope||r.scope||i.Defaults.Scope,o[d]=n.wrap(o[d],c,!0),o.rank=r.rank||0,s&&(o[e.jsPlumb.dragEvents.over]=function(){return!0}),!1===r.allowLoopback&&(o.canDrop=function(e){var n=e.getDragElement()._jsPlumbRelatedElement;return n!==t.el}),i.initDroppable(t.el,o,"internal"),c};this.makeTarget=function(t,n,r){var o=e.jsPlumb.extend({_jsPlumb:this},r);e.jsPlumb.extend(o,n);for(var a=o.maxConnections||-1,s=function(t){var n=c(t),r=n.id,s=e.jsPlumb.extend({},o.dropOptions||{}),l=o.connectionType||"default";this.targetEndpointDefinitions[r]=this.targetEndpointDefinitions[r]||{},ce(r),n.el._isJsPlumbGroup&&null==s.rank&&(s.rank=-1);var u={def:e.jsPlumb.extend({},o),uniqueEndpoint:o.uniqueEndpoint,maxConnections:a,enabled:!0};o.createEndpoint&&(u.uniqueEndpoint=!0,u.endpoint=i.addEndpoint(t,u.def),u.endpoint.setDeleteOnEmpty(!1)),n.def=u,this.targetEndpointDefinitions[r][l]=u,me(n,o,s,!0===o.isSource,!0),n.el._katavorioDrop[n.el._katavorioDrop.length-1].targetDef=u}.bind(this),l=t.length&&t.constructor!==String?t:[t],u=0,d=l.length;u<d;u++)s(l[u]);return this},this.unmakeTarget=function(e,t){var n=c(e);return i.destroyDroppable(n.el,"internal"),t||delete this.targetEndpointDefinitions[n.id],this},this.makeSource=function(t,r,o){var a=e.jsPlumb.extend({_jsPlumb:this},o);e.jsPlumb.extend(a,r);var s=a.connectionType||"default",u=i.deriveEndpointAndAnchorSpec(s);a.endpoint=a.endpoint||u.endpoints[0],a.anchor=a.anchor||u.anchors[0];for(var d=a.maxConnections||-1,h=a.onMaxConnections,f=function(r){var o=r.id,u=this.getElement(r.el);this.sourceEndpointDefinitions[o]=this.sourceEndpointDefinitions[o]||{},ce(o);var c={def:e.jsPlumb.extend({},a),uniqueEndpoint:a.uniqueEndpoint,maxConnections:d,enabled:!0};a.createEndpoint&&(c.uniqueEndpoint=!0,c.endpoint=i.addEndpoint(t,c.def),c.endpoint.setDeleteOnEmpty(!1)),this.sourceEndpointDefinitions[o][s]=c,r.def=c;var f=e.jsPlumb.dragEvents.stop,p=e.jsPlumb.dragEvents.drag,m=e.jsPlumb.extend({},a.dragOptions||{}),v=m.drag,g=m.stop,y=null,b=!1;m.scope=m.scope||a.scope,m[p]=n.wrap(m[p],(function(){v&&v.apply(this,arguments),b=!1})),m[f]=n.wrap(m[f],function(){if(g&&g.apply(this,arguments),this.currentlyDragging=!1,null!=y._jsPlumb){var e=a.anchor||this.Defaults.Anchor,t=y.anchor,n=y.connections[0],r=this.makeAnchor(e,o,this),s=y.element;if(null!=r.positionFinder){var l=i.getOffset(s),u=this.getSize(s),c={left:l.left+t.x*u[0],top:l.top+t.y*u[1]},d=r.positionFinder(c,l,u,r.constructorParams);r.x=d[0],r.y=d[1]}y.setAnchor(r,!0),y.repaint(),this.repaint(y.elementId),null!=n&&this.repaint(n.targetId)}}.bind(this));var _=function(t){if(3!==t.which&&2!==t.button){o=this.getId(this.getElement(r.el));var c=this.sourceEndpointDefinitions[o][s];if(c.enabled){if(a.filter){var f=n.isString(a.filter)?pe(t,r.el,a.filter,this,a.filterExclude):a.filter(t,r.el);if(!1===f)return}var p=this.select({source:o}).length;if(c.maxConnections>=0&&p>=c.maxConnections)return h&&h({element:r.el,maxConnections:d},t),!1;var v=e.jsPlumb.getPositionOnElement(t,u,l),g={};e.jsPlumb.extend(g,c.def),g.isTemporarySource=!0,g.anchor=[v[0],v[1],0,0],g.dragOptions=m,c.def.scope&&(g.scope=c.def.scope),y=this.addEndpoint(o,g),b=!0,y.setDeleteOnEmpty(!0),c.uniqueEndpoint&&(c.endpoint?y.finalEndpoint=c.endpoint:(c.endpoint=y,y.setDeleteOnEmpty(!1)));var _=function(){i.off(y.canvas,"mouseup",_),i.off(r.el,"mouseup",_),b&&(b=!1,i.deleteEndpoint(y))};i.on(y.canvas,"mouseup",_),i.on(r.el,"mouseup",_);var w={};if(c.def.extract)for(var x in c.def.extract){var k=(t.srcElement||t.target).getAttribute(x);k&&(w[c.def.extract[x]]=k)}i.trigger(y.canvas,"mousedown",t,w),n.consume(t)}}}.bind(this);this.on(r.el,"mousedown",_),c.trigger=_,a.filter&&(n.isString(a.filter)||n.isFunction(a.filter))&&i.setDragFilter(r.el,a.filter);var w=e.jsPlumb.extend({},a.dropOptions||{});me(r,a,w,!0,!0===a.isTarget)}.bind(this),p=t.length&&t.constructor!==String?t:[t],m=0,v=p.length;m<v;m++)f(c(p[m]));return this},this.unmakeSource=function(e,t,n){var r=c(e);i.destroyDroppable(r.el,"internal");var o=this.sourceEndpointDefinitions[r.id];if(o)for(var a in o)if(null==t||t===a){var s=o[a].trigger;s&&i.off(r.el,"mousedown",s),n||delete this.sourceEndpointDefinitions[r.id][a]}return this},this.unmakeEverySource=function(){for(var e in this.sourceEndpointDefinitions)i.unmakeSource(e,null,!0);return this.sourceEndpointDefinitions={},this};var ve=function(e,t,i){t=n.isArray(t)?t:[t];var r=W(e);i=i||"default";for(var o=0;o<t.length;o++){var a=this[t[o]][r];if(a&&a[i])return a[i].def.scope||this.Defaults.Scope}}.bind(this),ge=function(e,t,i,r){i=n.isArray(i)?i:[i];var o=W(e);r=r||"default";for(var a=0;a<i.length;a++){var s=this[i[a]][o];s&&s[r]&&(s[r].def.scope=t)}}.bind(this);this.getScope=function(e,t){return ve(e,["sourceEndpointDefinitions","targetEndpointDefinitions"])},this.getSourceScope=function(e){return ve(e,"sourceEndpointDefinitions")},this.getTargetScope=function(e){return ve(e,"targetEndpointDefinitions")},this.setScope=function(e,t,n){this.setSourceScope(e,t,n),this.setTargetScope(e,t,n)},this.setSourceScope=function(e,t,n){ge(e,t,"sourceEndpointDefinitions",n),this.setDragScope(e,t)},this.setTargetScope=function(e,t,n){ge(e,t,"targetEndpointDefinitions",n),this.setDropScope(e,t)},this.unmakeEveryTarget=function(){for(var e in this.targetEndpointDefinitions)i.unmakeTarget(e,!0);return this.targetEndpointDefinitions={},this};var ye=function(e,t,r,o,a){var s,l,u,d="source"===e?this.sourceEndpointDefinitions:this.targetEndpointDefinitions;if(a=a||"default",t.length&&!n.isString(t)){s=[];for(var h=0,f=t.length;h<f;h++)l=c(t[h]),d[l.id]&&d[l.id][a]&&(s[h]=d[l.id][a].enabled,u=o?!s[h]:r,d[l.id][a].enabled=u,i[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}else{l=c(t);var p=l.id;d[p]&&d[p][a]&&(s=d[p][a].enabled,u=o?!s:r,d[p][a].enabled=u,i[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}return s}.bind(this),be=function(e,t){if(null!=e){if(n.isString(e)||!e.length)return t.apply(this,[e]);if(e.length)return t.apply(this,[e[0]])}}.bind(this);this.toggleSourceEnabled=function(e,t){return ye("source",e,null,!0,t),this.isSourceEnabled(e,t)},this.setSourceEnabled=function(e,t,n){return ye("source",e,t,null,n)},this.isSource=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isSourceEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.toggleTargetEnabled=function(e,t){return ye("target",e,null,!0,t),this.isTargetEnabled(e,t)},this.isTarget=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isTargetEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.setTargetEnabled=function(e,t,n){return ye("target",e,t,null,n)},this.ready=function(e){i.bind("ready",e)};var _e=function(e,t){if("object"===typeof e&&e.length)for(var n=0,r=e.length;n<r;n++)t(e[n]);else t(e);return i};this.repaint=function(e,t,n){return _e(e,(function(e){j(e,t,n)}))},this.revalidate=function(e,t,n){var r=n?e:i.getId(e);i.updateOffset({elId:r,recalc:!0,timestamp:t});var o=i.getDragManager();return o&&o.updateOffsets(r),j(e,null,t)},this.repaintEverything=function(){var e,t=jsPlumbUtil.uuid();for(e in b)i.updateOffset({elId:e,recalc:!0,timestamp:t});for(e in b)j(e,null,t);return this},this.removeAllEndpoints=function(e,t,n){n=n||[];var r=function(e){var o,a,s=c(e),l=b[s.id];if(l)for(n.push(s),o=0,a=l.length;o<a;o++)i.deleteEndpoint(l[o],!1);if(delete b[s.id],t&&s.el&&3!==s.el.nodeType&&8!==s.el.nodeType)for(o=0,a=s.el.childNodes.length;o<a;o++)r(s.el.childNodes[o])};return r(e),this};var we=function(e,t){i.removeAllEndpoints(e.id,!0,t);for(var n=i.getDragManager(),r=function(e){n&&n.elementRemoved(e.id),i.router.elementRemoved(e.id),i.isSource(e.el)&&i.unmakeSource(e.el),i.isTarget(e.el)&&i.unmakeTarget(e.el),i.destroyDraggable(e.el),i.destroyDroppable(e.el),delete i.floatingConnections[e.id],delete w[e.id],delete x[e.id],e.el&&(i.removeElement(e.el),e.el._jsPlumb=null)},o=1;o<t.length;o++)r(t[o]);r(e)};this.remove=function(e,t){var n=c(e),r=[];return n.text&&n.el.parentNode?n.el.parentNode.removeChild(n.el):n.id&&i.batch((function(){we(n,r)}),!0===t),i},this.empty=function(e,t){var n=[],r=function(e,t){var i=c(e);if(i.text)i.el.parentNode.removeChild(i.el);else if(i.el){while(i.el.childNodes.length>0)r(i.el.childNodes[0]);t||we(i,n)}};return i.batch((function(){r(e,!0)}),!1===t),i},this.reset=function(e){i.silently(function(){ue=!1,i.removeAllGroups(),i.removeGroupManager(),i.deleteEveryEndpoint(),e||i.unbind(),this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={},y.length=0,this.doReset&&this.doReset()}.bind(this))},this.destroy=function(){this.reset(),f=null,m=null};var xe=function(e){e.canvas&&e.canvas.parentNode&&e.canvas.parentNode.removeChild(e.canvas),e.cleanup(),e.destroy()};this.clear=function(){i.select().each(xe),i.selectEndpoints().each(xe),b={},_={}},this.setDefaultScope=function(e){return L=e,i},this.deriveEndpointAndAnchorSpec=function(e,t){for(var n=((t?"":"default ")+e).split(/[\s]/),r=null,o=null,a=null,s=null,l=0;l<n.length;l++){var u=i.getType(n[l],"connection");u&&(u.endpoints&&(r=u.endpoints),u.endpoint&&(o=u.endpoint),u.anchors&&(s=u.anchors),u.anchor&&(a=u.anchor))}return{endpoints:r||[o,o],anchors:s||[a,a]}},this.setId=function(e,t,i){var r;n.isString(e)?r=e:(e=this.getElement(e),r=this.getId(e));var o=this.getConnections({source:r,scope:"*"},!0),a=this.getConnections({target:r,scope:"*"},!0);t=""+t,i?e=this.getElement(t):(e=this.getElement(r),this.setAttribute(e,"id",t)),b[t]=b[r]||[];for(var s=0,l=b[t].length;s<l;s++)b[t][s].setElementId(t),b[t][s].setReferenceElement(e);delete b[r],this.sourceEndpointDefinitions[t]=this.sourceEndpointDefinitions[r],delete this.sourceEndpointDefinitions[r],this.targetEndpointDefinitions[t]=this.targetEndpointDefinitions[r],delete this.targetEndpointDefinitions[r],this.router.changeId(r,t);var u=this.getDragManager();u&&u.changeId(r,t),w[t]=w[r],delete w[r];var c=function(n,i,r){for(var o=0,a=n.length;o<a;o++)n[o].endpoints[i].setElementId(t),n[o].endpoints[i].setReferenceElement(e),n[o][r+"Id"]=t,n[o][r]=e};c(o,0,"source"),c(a,1,"target"),this.repaint(t)},this.setDebugLog=function(e){v=e},this.setSuspendDrawing=function(e,t){var n=C;return C=e,D=e?(new Date).getTime():null,t&&this.repaintEverything(),n},this.isSuspendDrawing=function(){return C},this.getSuspendedAt=function(){return D},this.batch=function(e,t){var i=this.isSuspendDrawing();i||this.setSuspendDrawing(!0);try{e()}catch(r){n.log("Function run while suspended failed",r)}i||this.setSuspendDrawing(!1,!t)},this.doWhileSuspended=this.batch,this.getCachedData=B,this.show=function(e,t){return z(e,"block",t),i},this.toggleVisible=$,this.addListener=this.bind;var ke=[];this.registerFloatingConnection=function(e,t,i){ke[e.id]=t,n.addToList(b,e.id,i)},this.getFloatingConnectionFor=function(e){return ke[e]},this.listManager=new e.jsPlumbListManager(this,this.Defaults.ListStyle)};n.extend(e.jsPlumbInstance,n.EventGenerator,{setAttribute:function(e,t,n){this.setAttribute(e,t,n)},getAttribute:function(t,n){return this.getAttribute(e.jsPlumb.getElement(t),n)},convertToFullOverlaySpec:function(e){return n.isString(e)&&(e=[e,{}]),e[1].id=e[1].id||n.uuid(),e},registerConnectionType:function(t,n){if(this._connectionTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var i={},r=0;r<n.overlays.length;r++){var o=this.convertToFullOverlaySpec(n.overlays[r]);i[o[1].id]=o}this._connectionTypes[t].overlays=i}},registerConnectionTypes:function(e){for(var t in e)this.registerConnectionType(t,e[t])},registerEndpointType:function(t,n){if(this._endpointTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var i={},r=0;r<n.overlays.length;r++){var o=this.convertToFullOverlaySpec(n.overlays[r]);i[o[1].id]=o}this._endpointTypes[t].overlays=i}},registerEndpointTypes:function(e){for(var t in e)this.registerEndpointType(t,e[t])},getType:function(e,t){return"connection"===t?this._connectionTypes[e]:this._endpointTypes[e]},setIdChanged:function(e,t){this.setId(e,t,!0)},setParent:function(e,t){var n=this.getElement(e),i=this.getId(n),r=this.getElement(t),o=this.getId(r),a=this.getDragManager();n.parentNode.removeChild(n),r.appendChild(n),a&&a.setParent(n,i,r,o)},extend:function(e,t,n){var i;if(n)for(i=0;i<n.length;i++)e[n[i]]=t[n[i]];else for(i in t)e[i]=t[i];return e},floatingConnections:{},getFloatingAnchorIndex:function(e){return e.endpoints[0].isFloating()?0:e.endpoints[1].isFloating()?1:-1},proxyConnection:function(e,t,n,i,r,o){var a,s=e.endpoints[t].elementId,l=e.endpoints[t];e.proxies=e.proxies||[],a=e.proxies[t]?e.proxies[t].ep:this.addEndpoint(n,{endpoint:r(e,t),anchor:o(e,t),parameters:{isProxyEndpoint:!0}}),a.setDeleteOnEmpty(!0),e.proxies[t]={ep:a,originalEp:l},0===t?this.router.sourceOrTargetChanged(s,i,e,n,0):this.router.sourceOrTargetChanged(s,i,e,n,1),l.detachFromConnection(e,null,!0),a.connections=[e],e.endpoints[t]=a,l.setVisible(!1),e.setVisible(!0),this.revalidate(n)},unproxyConnection:function(e,t,n){if(null!=e._jsPlumb&&null!=e.proxies&&null!=e.proxies[t]){var i=e.proxies[t].originalEp.element,r=e.proxies[t].originalEp.elementId;e.endpoints[t]=e.proxies[t].originalEp,0===t?this.router.sourceOrTargetChanged(n,r,e,i,0):this.router.sourceOrTargetChanged(n,r,e,i,1),e.proxies[t].ep.detachFromConnection(e,null),e.proxies[t].originalEp.addConnection(e),e.isVisible()&&e.proxies[t].originalEp.setVisible(!0),delete e.proxies[t]}}});var p=new f;e.jsPlumb=p,p.getInstance=function(e,t){var n=new f(e);if(t)for(var i in t)n[i]=t[i];return n.init(),n},p.each=function(e,t){if(null!=e)if("string"===typeof e)t(p.getElement(e));else if(null!=e.length)for(var n=0;n<e.length;n++)t(p.getElement(e[n]));else t(e)},t.jsPlumb=p}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="__label",r=function(e,n){var r={cssClass:n.cssClass,labelStyle:e.labelStyle,id:i,component:e,_jsPlumb:e._jsPlumb.instance},o=t.extend(r,n);return new(t.Overlays[e._jsPlumb.instance.getRenderMode()].Label)(o)},o=function(e,i){var r=null;if(n.isArray(i)){var o=i[0],a=t.extend({component:e,_jsPlumb:e._jsPlumb.instance},i[1]);3===i.length&&t.extend(a,i[2]),r=new(t.Overlays[e._jsPlumb.instance.getRenderMode()][o])(a)}else r=i.constructor===String?new(t.Overlays[e._jsPlumb.instance.getRenderMode()][i])({component:e,_jsPlumb:e._jsPlumb.instance}):i;return r.id=r.id||n.uuid(),e.cacheTypeItem("overlay",r,r.id),e._jsPlumb.overlays[r.id]=r,r};t.OverlayCapableJsPlumbUIComponent=function(t){e.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.overlays={},this._jsPlumb.overlayPositions={},t.label&&(this.getDefaultType().overlays[i]=["Label",{label:t.label,location:t.labelLocation||this.defaultLabelLocation||.5,labelStyle:t.labelStyle||this._jsPlumb.instance.Defaults.LabelStyle,id:i}]),this.setListenerComponent=function(e){if(this._jsPlumb)for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].setListenerComponent(e)}},t.OverlayCapableJsPlumbUIComponent.applyType=function(e,t){if(t.overlays){var n,i={};for(n in t.overlays){var r=e._jsPlumb.overlays[t.overlays[n][1].id];if(r)r.updateFrom(t.overlays[n][1]),i[t.overlays[n][1].id]=!0,r.reattach(e._jsPlumb.instance,e);else{var o=e.getCachedTypeItem("overlay",t.overlays[n][1].id);null!=o?(o.reattach(e._jsPlumb.instance,e),o.setVisible(!0),o.updateFrom(t.overlays[n][1]),e._jsPlumb.overlays[o.id]=o):o=e.addOverlay(t.overlays[n],!0),i[o.id]=!0}}for(n in e._jsPlumb.overlays)null==i[e._jsPlumb.overlays[n].id]&&e.removeOverlay(e._jsPlumb.overlays[n].id,!0)}},n.extend(t.OverlayCapableJsPlumbUIComponent,e.jsPlumbUIComponent,{setHover:function(e,t){if(this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged())for(var n in this._jsPlumb.overlays)this._jsPlumb.overlays[n][e?"addClass":"removeClass"](this._jsPlumb.instance.hoverClass)},addOverlay:function(e,t){var i=o(this,e);if(this.getData&&"Label"===i.type&&n.isArray(e)){var r=this.getData(),a=e[1];if(r){var s=a.labelLocationAttribute||"labelLocation",l=r?r[s]:null;l&&(i.loc=l)}}return t||this.repaint(),i},getOverlay:function(e){return this._jsPlumb.overlays[e]},getOverlays:function(){return this._jsPlumb.overlays},hideOverlay:function(e){var t=this.getOverlay(e);t&&t.hide()},hideOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].hide()},showOverlay:function(e){var t=this.getOverlay(e);t&&t.show()},showOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].show()},removeAllOverlays:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup&&this._jsPlumb.overlays[t].cleanup();this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null,this._jsPlumb.overlayPlacements={},e||this.repaint()},removeOverlay:function(e,t){var n=this._jsPlumb.overlays[e];n&&(n.setVisible(!1),!t&&n.cleanup&&n.cleanup(),delete this._jsPlumb.overlays[e],this._jsPlumb.overlayPositions&&delete this._jsPlumb.overlayPositions[e],this._jsPlumb.overlayPlacements&&delete this._jsPlumb.overlayPlacements[e])},removeOverlays:function(){for(var e=0,t=arguments.length;e<t;e++)this.removeOverlay(arguments[e])},moveParent:function(e){if(this.bgCanvas&&(this.bgCanvas.parentNode.removeChild(this.bgCanvas),e.appendChild(this.bgCanvas)),this.canvas&&this.canvas.parentNode)for(var t in this.canvas.parentNode.removeChild(this.canvas),e.appendChild(this.canvas),this._jsPlumb.overlays)if(this._jsPlumb.overlays[t].isAppendedAtTopLevel){var n=this._jsPlumb.overlays[t].getElement();n.parentNode.removeChild(n),e.appendChild(n)}},getLabel:function(){var e=this.getOverlay(i);return null!=e?e.getLabel():null},getLabelOverlay:function(){return this.getOverlay(i)},setLabel:function(e){var t=this.getOverlay(i);if(t)e.constructor===String||e.constructor===Function?t.setLabel(e):(e.label&&t.setLabel(e.label),e.location&&t.setLocation(e.location));else{var n=e.constructor===String||e.constructor===Function?{label:e}:e;t=r(this,n),this._jsPlumb.overlays[i]=t}this._jsPlumb.instance.isSuspendDrawing()||this.repaint()},cleanup:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup(e),this._jsPlumb.overlays[t].destroy(e);e&&(this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null)},setVisible:function(e){this[e?"showOverlays":"hideOverlays"]()},setAbsoluteOverlayPosition:function(e,t){this._jsPlumb.overlayPositions[e.id]=t},getAbsoluteOverlayPosition:function(e){return this._jsPlumb.overlayPositions?this._jsPlumb.overlayPositions[e.id]:null},_clazzManip:function(e,t,n){if(!n)for(var i in this._jsPlumb.overlays)this._jsPlumb.overlays[i][e+"Class"](t)},addClass:function(e,t){this._clazzManip("add",e,t)},removeClass:function(e,t){this._clazzManip("remove",e,t)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,t,n){var i=!1;return{drag:function(){if(i)return i=!1,!0;if(t.element){var r=n.getUIPosition(arguments,n.getZoom());null!=r&&n.setPosition(t.element,r),n.repaint(t.element,r),e.paint({anchorPoint:e.anchor.getCurrentLocation({element:e})})}},stopDrag:function(){i=!0}}},r=function(e,t,n,i){var r=t.createElement("div",{position:"absolute"});t.appendElement(r);var o=t.getId(r);t.setPosition(r,n),r.style.width=i[0]+"px",r.style.height=i[1]+"px",t.manage(o,r,!0),e.id=o,e.element=r},o=function(e,n,i,r,o,a,s,l){var u=new t.FloatingAnchor({reference:n,referenceCanvas:r,jsPlumbInstance:a});return s({paintStyle:e,endpoint:i,anchor:u,source:o,scope:l})},a=["connectorStyle","connectorHoverStyle","connectorOverlays","connector","connectionType","connectorClass","connectorHoverClass"],s=function(e,t){var n=0;if(null!=t)for(var i=0;i<e.connections.length;i++)if(e.connections[i].sourceId===t||e.connections[i].targetId===t){n=i;break}return e.connections[n]};t.Endpoint=function(e){var l=e._jsPlumb,u=e.newConnection,c=e.newEndpoint;this.idPrefix="_jsplumb_e_",this.defaultLabelLocation=[.5,.5],this.defaultOverlayKeys=["Overlays","EndpointOverlays"],t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),this.appendToDefaultType({connectionType:e.connectionType,maxConnections:null==e.maxConnections?this._jsPlumb.instance.Defaults.MaxConnections:e.maxConnections,paintStyle:e.endpointStyle||e.paintStyle||e.style||this._jsPlumb.instance.Defaults.EndpointStyle||t.Defaults.EndpointStyle,hoverPaintStyle:e.endpointHoverStyle||e.hoverPaintStyle||this._jsPlumb.instance.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle,connectorStyle:e.connectorStyle,connectorHoverStyle:e.connectorHoverStyle,connectorClass:e.connectorClass,connectorHoverClass:e.connectorHoverClass,connectorOverlays:e.connectorOverlays,connector:e.connector,connectorTooltip:e.connectorTooltip}),this._jsPlumb.enabled=!(!1===e.enabled),this._jsPlumb.visible=!0,this.element=t.getElement(e.source),this._jsPlumb.uuid=e.uuid,this._jsPlumb.floatingEndpoint=null;var d=null;this._jsPlumb.uuid&&(e.endpointsByUUID[this._jsPlumb.uuid]=this),this.elementId=e.elementId,this.dragProxy=e.dragProxy,this._jsPlumb.connectionCost=e.connectionCost,this._jsPlumb.connectionsDirected=e.connectionsDirected,this._jsPlumb.currentAnchorClass="",this._jsPlumb.events={};var h=!0===e.deleteOnEmpty;this.setDeleteOnEmpty=function(e){h=e};var f=function(){var e=l.endpointAnchorClassPrefix+"-"+this._jsPlumb.currentAnchorClass;this._jsPlumb.currentAnchorClass=this.anchor.getCssClass();var n=l.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");this.removeClass(e),this.addClass(n),t.updateClasses(this.element,n,e)}.bind(this);this.prepareAnchor=function(e){var t=this._jsPlumb.instance.makeAnchor(e,this.elementId,l);return t.bind("anchorChanged",function(e){this.fire("anchorChanged",{endpoint:this,anchor:e}),f()}.bind(this)),t},this.setPreparedAnchor=function(e,t){return this._jsPlumb.instance.continuousAnchorFactory.clear(this.elementId),this.anchor=e,f(),t||this._jsPlumb.instance.repaint(this.elementId),this},this.setAnchor=function(e,t){var n=this.prepareAnchor(e);return this.setPreparedAnchor(n,t),this};var p=function(e){if(this.connections.length>0)for(var t=0;t<this.connections.length;t++)this.connections[t].setHover(e,!1);else this.setHover(e)}.bind(this);this.bind("mouseover",(function(){p(!0)})),this.bind("mouseout",(function(){p(!1)})),e._transient||this._jsPlumb.instance.router.addEndpoint(this,this.elementId),this.prepareEndpoint=function(i,r){var o,a=function(e,n){var i=l.getRenderMode();if(t.Endpoints[i][e])return new t.Endpoints[i][e](n);if(!l.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown endpoint type '"+e+"'"}},s={_jsPlumb:this._jsPlumb.instance,cssClass:e.cssClass,container:e.container,tooltip:e.tooltip,connectorTooltip:e.connectorTooltip,endpoint:this};return n.isString(i)?o=a(i,s):n.isArray(i)?(s=n.merge(i[1],s),o=a(i[0],s)):o=i.clone(),o.clone=function(){return n.isString(i)?a(i,s):n.isArray(i)?(s=n.merge(i[1],s),a(i[0],s)):void 0}.bind(this),o.typeId=r,o},this.setEndpoint=function(e,t){var n=this.prepareEndpoint(e);this.setPreparedEndpoint(n,!0)},this.setPreparedEndpoint=function(e,t){null!=this.endpoint&&(this.endpoint.cleanup(),this.endpoint.destroy()),this.endpoint=e,this.type=this.endpoint.type,this.canvas=this.endpoint.canvas},t.extend(this,e,a),this.isSource=e.isSource||!1,this.isTemporarySource=e.isTemporarySource||!1,this.isTarget=e.isTarget||!1,this.connections=e.connections||[],this.connectorPointerEvents=e["connector-pointer-events"],this.scope=e.scope||l.getDefaultScope(),this.timestamp=null,this.reattachConnections=e.reattach||l.Defaults.ReattachConnections,this.connectionsDetachable=l.Defaults.ConnectionsDetachable,!1!==e.connectionsDetachable&&!1!==e.detachable||(this.connectionsDetachable=!1),this.dragAllowedWhenFull=!1!==e.dragAllowedWhenFull,e.onMaxConnections&&this.bind("maxConnections",e.onMaxConnections),this.addConnection=function(e){this.connections.push(e),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)},this.detachFromConnection=function(e,t,n){t=null==t?this.connections.indexOf(e):t,t>=0&&(this.connections.splice(t,1),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)),!n&&h&&0===this.connections.length&&l.deleteObject({endpoint:this,fireEvent:!1,deleteAttachedObjects:!0!==n})},this.deleteEveryConnection=function(e){for(var t=this.connections.length,n=0;n<t;n++)l.deleteConnection(this.connections[0],e)},this.detachFrom=function(e,t,n){for(var i=[],r=0;r<this.connections.length;r++)this.connections[r].endpoints[1]!==e&&this.connections[r].endpoints[0]!==e||i.push(this.connections[r]);for(var o=0,a=i.length;o<a;o++)l.deleteConnection(i[0]);return this},this.getElement=function(){return this.element},this.setElement=function(i){var r=this._jsPlumb.instance.getId(i),o=this.elementId;return n.removeWithFunction(e.endpointsByElement[this.elementId],function(e){return e.id===this.id}.bind(this)),this.element=t.getElement(i),this.elementId=l.getId(this.element),l.router.rehomeEndpoint(this,o,this.element),l.dragManager.endpointAdded(this.element),n.addToList(e.endpointsByElement,r,this),this},this.makeInPlaceCopy=function(){var t=this.anchor.getCurrentLocation({element:this}),n=this.anchor.getOrientation(this),i=this.anchor.getCssClass(),r={bind:function(){},compute:function(){return[t[0],t[1]]},getCurrentLocation:function(){return[t[0],t[1]]},getOrientation:function(){return n},getCssClass:function(){return i}};return c({dropOptions:e.dropOptions,anchor:r,source:this.element,paintStyle:this.getPaintStyle(),endpoint:e.hideOnDrag?"Blank":this.endpoint,_transient:!0,scope:this.scope,reference:this})},this.connectorSelector=function(){return this.connections[0]},this.setStyle=this.setPaintStyle,this.paint=function(e){e=e||{};var t=e.timestamp,n=!(!1===e.recalc);if(!t||this.timestamp!==t){var i=l.updateOffset({elId:this.elementId,timestamp:t}),r=e.offset?e.offset.o:i.o;if(null!=r){var o=e.anchorPoint,a=e.connectorPaintStyle;if(null==o){var u=e.dimensions||i.s,c={xy:[r.left,r.top],wh:u,element:this,timestamp:t};if(n&&this.anchor.isDynamic&&this.connections.length>0){var d=s(this,e.elementWithPrecedence),h=d.endpoints[0]===this?1:0,f=0===h?d.sourceId:d.targetId,p=l.getCachedData(f),m=p.o,v=p.s;c.index=0===h?1:0,c.connection=d,c.txy=[m.left,m.top],c.twh=v,c.tElement=d.endpoints[h],c.tRotation=l.getRotation(f)}else this.connections.length>0&&(c.connection=this.connections[0]);c.rotation=l.getRotation(this.elementId),o=this.anchor.compute(c)}for(var g in this.endpoint.compute(o,this.anchor.getOrientation(this),this._jsPlumb.paintStyleInUse,a||this.paintStyleInUse),this.endpoint.paint(this._jsPlumb.paintStyleInUse,this.anchor),this.timestamp=t,this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(g)){var y=this._jsPlumb.overlays[g];y.isVisible()&&(this._jsPlumb.overlayPlacements[g]=y.draw(this.endpoint,this._jsPlumb.paintStyleInUse),y.paint(this._jsPlumb.overlayPlacements[g]))}}}},this.getTypeDescriptor=function(){return"endpoint"},this.isVisible=function(){return this._jsPlumb.visible},this.repaint=this.paint;var m=!1;this.initDraggable=function(){if(!m&&t.isDragSupported(this.element)){var a,s={id:null,element:null},h=null,f=!1,p=null,v=i(this,s,l),g=e.dragOptions||{},y={},b=t.dragEvents.start,_=t.dragEvents.stop,w=t.dragEvents.drag,x=t.dragEvents.beforeStart,k=function(e){a=e.e.payload||{}},M=function(n){h=this.connectorSelector();var i=!0;this.isEnabled()||(i=!1),null!=h||this.isSource||this.isTemporarySource||(i=!1),!this.isSource||!this.isFull()||null!=h&&this.dragAllowedWhenFull||(i=!1),null==h||h.isDetachable(this)||(this.isFull()?i=!1:h=null);var d=l.checkCondition(null==h?"beforeDrag":"beforeStartDetach",{endpoint:this,source:this.element,sourceId:this.elementId,connection:h});if(!1===d?i=!1:"object"===typeof d?t.extend(d,a||{}):d=a||{},!1===i)return l.stopDrag&&l.stopDrag(this.canvas),v.stopDrag(),!1;for(var m=0;m<this.connections.length;m++)this.connections[m].setHover(!1);this.addClass("endpointDrag"),l.setConnectionBeingDragged(!0),h&&!this.isFull()&&this.isSource&&(h=null),l.updateOffset({elId:this.elementId});var g=this._jsPlumb.instance.getOffset(this.canvas),y=this.canvas,b=this._jsPlumb.instance.getSize(this.canvas);r(s,l,g,b),l.setAttributes(this.canvas,{dragId:s.id,elId:this.elementId});var _=this.dragProxy||this.endpoint;if(null==this.dragProxy&&null!=this.connectionType){var w=this._jsPlumb.instance.deriveEndpointAndAnchorSpec(this.connectionType);w.endpoints[1]&&(_=w.endpoints[1])}var x=this._jsPlumb.instance.makeAnchor("Center");x.isFloating=!0,this._jsPlumb.floatingEndpoint=o(this.getPaintStyle(),x,_,this.canvas,s.element,l,c,this.scope);var k=this._jsPlumb.floatingEndpoint.anchor;if(null==h)this.setHover(!1,!1),h=u({sourceEndpoint:this,targetEndpoint:this._jsPlumb.floatingEndpoint,source:this.element,target:s.element,anchors:[this.anchor,this._jsPlumb.floatingEndpoint.anchor],paintStyle:e.connectorStyle,hoverPaintStyle:e.connectorHoverStyle,connector:e.connector,overlays:e.connectorOverlays,type:this.connectionType,cssClass:this.connectorClass,hoverClass:this.connectorHoverClass,scope:e.scope,data:d}),h.pending=!0,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.anchor=k,l.fire("connectionDrag",h),l.router.newConnection(h);else{f=!0,h.setHover(!1);var M=h.endpoints[0].id===this.id?0:1;this.detachFromConnection(h,null,!0);var S=l.getDragScope(y);l.setAttribute(this.canvas,"originalScope",S),l.fire("connectionDrag",h),0===M?(p=[h.source,h.sourceId,y,S],l.router.sourceOrTargetChanged(h.endpoints[M].elementId,s.id,h,s.element,0)):(p=[h.target,h.targetId,y,S],l.router.sourceOrTargetChanged(h.endpoints[M].elementId,s.id,h,s.element,1)),h.suspendedEndpoint=h.endpoints[M],h.suspendedElement=h.endpoints[M].getElement(),h.suspendedElementId=h.endpoints[M].elementId,h.suspendedElementType=0===M?"source":"target",h.suspendedEndpoint.setHover(!1),this._jsPlumb.floatingEndpoint.referenceEndpoint=h.suspendedEndpoint,h.endpoints[M]=this._jsPlumb.floatingEndpoint,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass)}l.registerFloatingConnection(s,h,this._jsPlumb.floatingEndpoint),l.currentlyDragging=!0}.bind(this),S=function(){if(l.setConnectionBeingDragged(!1),h&&null!=h.endpoints){var e=l.getDropEvent(arguments),t=l.getFloatingAnchorIndex(h);if(h.endpoints[0===t?1:0].anchor.locked=!1,h.removeClass(l.draggingClass),this._jsPlumb&&(h.deleteConnectionNow||h.endpoints[t]===this._jsPlumb.floatingEndpoint)&&f&&h.suspendedEndpoint){0===t?(h.floatingElement=h.source,h.floatingId=h.sourceId,h.floatingEndpoint=h.endpoints[0],h.floatingIndex=0,h.source=p[0],h.sourceId=p[1]):(h.floatingElement=h.target,h.floatingId=h.targetId,h.floatingEndpoint=h.endpoints[1],h.floatingIndex=1,h.target=p[0],h.targetId=p[1]);var n=this._jsPlumb.floatingEndpoint;l.setDragScope(p[2],p[3]),h.endpoints[t]=h.suspendedEndpoint,h.isReattach()||h._forceReattach||h._forceDetach||!l.deleteConnection(h,{originalEvent:e})?(h.setHover(!1),h._forceDetach=null,h._forceReattach=null,this._jsPlumb.floatingEndpoint.detachFromConnection(h),h.suspendedEndpoint.addConnection(h),1===t?l.router.sourceOrTargetChanged(h.floatingId,h.targetId,h,h.target,t):l.router.sourceOrTargetChanged(h.floatingId,h.sourceId,h,h.source,t),l.repaint(p[1])):l.deleteObject({endpoint:n})}this.deleteAfterDragStop?l.deleteObject({endpoint:this}):this._jsPlumb&&this.paint({recalc:!1}),l.fire("connectionDragStop",h,e),h.pending&&l.fire("connectionAborted",h,e),l.currentlyDragging=!1,h.suspendedElement=null,h.suspendedEndpoint=null,h=null}s&&s.element&&l.remove(s.element,!1,!1),d&&l.deleteObject({endpoint:d}),this._jsPlumb&&(this.canvas.style.visibility="visible",this.anchor.locked=!1,this._jsPlumb.floatingEndpoint=null)}.bind(this);g=t.extend(y,g),g.scope=this.scope||g.scope,g[x]=n.wrap(g[x],k,!1),g[b]=n.wrap(g[b],M,!1),g[w]=n.wrap(g[w],v.drag),g[_]=n.wrap(g[_],S),g.multipleDrop=!1,g.canDrag=function(){return this.isSource||this.isTemporarySource||this.connections.length>0&&!1!==this.connectionsDetachable}.bind(this),l.initDraggable(this.canvas,g,"internal"),this.canvas._jsPlumbRelatedElement=this.element,m=!0}};var v=e.endpoint||this._jsPlumb.instance.Defaults.Endpoint||t.Defaults.Endpoint;this.setEndpoint(v,!0);var g=e.anchor?e.anchor:e.anchors?e.anchors:l.Defaults.Anchor||"Top";this.setAnchor(g,!0);var y=["default",e.type||""].join(" ");this.addType(y,e.data,!0),this.canvas=this.endpoint.canvas,this.canvas._jsPlumb=this,this.initDraggable();var b=function(i,r,o,a){if(t.isDropSupported(this.element)){var s=e.dropOptions||l.Defaults.DropOptions||t.Defaults.DropOptions;s=t.extend({},s),s.scope=s.scope||this.scope;var u=t.dragEvents.drop,c=t.dragEvents.over,d=t.dragEvents.out,h=this,f=l.EndpointDropHandler({getEndpoint:function(){return h},jsPlumb:l,enabled:function(){return null==o||o.isEnabled()},isFull:function(){return o.isFull()},element:this.element,elementId:this.elementId,isSource:this.isSource,isTarget:this.isTarget,addClass:function(e){h.addClass(e)},removeClass:function(e){h.removeClass(e)},isDropAllowed:function(){return h.isDropAllowed.apply(h,arguments)},reference:a,isRedrop:function(e,t){return e.suspendedEndpoint&&t.reference&&e.suspendedEndpoint.id===t.reference.id}});s[u]=n.wrap(s[u],f,!0),s[c]=n.wrap(s[c],function(){var e=t.getDragObject(arguments),n=l.getAttribute(t.getElement(e),"dragId"),i=l.getFloatingConnectionFor(n);if(null!=i){var r=l.getFloatingAnchorIndex(i),o=this.isTarget&&0!==r||i.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===i.suspendedEndpoint.id;if(o){var a=l.checkCondition("checkDropAllowed",{sourceEndpoint:i.endpoints[r],targetEndpoint:this,connection:i});this[(a?"add":"remove")+"Class"](l.endpointDropAllowedClass),this[(a?"remove":"add")+"Class"](l.endpointDropForbiddenClass),i.endpoints[r].anchor.over(this.anchor,this)}}}.bind(this)),s[d]=n.wrap(s[d],function(){var e=t.getDragObject(arguments),n=null==e?null:l.getAttribute(t.getElement(e),"dragId"),i=n?l.getFloatingConnectionFor(n):null;if(null!=i){var r=l.getFloatingAnchorIndex(i),o=this.isTarget&&0!==r||i.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===i.suspendedEndpoint.id;o&&(this.removeClass(l.endpointDropAllowedClass),this.removeClass(l.endpointDropForbiddenClass),i.endpoints[r].anchor.out())}}.bind(this)),l.initDroppable(i,s,"internal",r)}}.bind(this);return this.anchor.isFloating||b(this.canvas,!(e._transient||this.anchor.isFloating),this,e.reference),this},n.extend(t.Endpoint,t.OverlayCapableJsPlumbUIComponent,{setVisible:function(e,t,n){if(this._jsPlumb.visible=e,this.canvas&&(this.canvas.style.display=e?"block":"none"),this[e?"showOverlays":"hideOverlays"](),!t)for(var i=0;i<this.connections.length;i++)if(this.connections[i].setVisible(e),!n){var r=this===this.connections[i].endpoints[0]?1:0;1===this.connections[i].endpoints[r].connections.length&&this.connections[i].endpoints[r].setVisible(e,!0,!0)}},getAttachedElements:function(){return this.connections},applyType:function(e,n){this.setPaintStyle(e.endpointStyle||e.paintStyle,n),this.setHoverPaintStyle(e.endpointHoverStyle||e.hoverPaintStyle,n),null!=e.maxConnections&&(this._jsPlumb.maxConnections=e.maxConnections),e.scope&&(this.scope=e.scope),t.extend(this,e,a),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},isEnabled:function(){return this._jsPlumb.enabled},setEnabled:function(e){this._jsPlumb.enabled=e},cleanup:function(){var e=this._jsPlumb.instance.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");t.removeClass(this.element,e),this.anchor=null,this.endpoint.cleanup(!0),this.endpoint.destroy(),this.endpoint=null,this._jsPlumb.instance.destroyDraggable(this.canvas,"internal"),this._jsPlumb.instance.destroyDroppable(this.canvas,"internal")},setHover:function(e){this.endpoint&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&this.endpoint.setHover(e)},isFull:function(){return 0===this._jsPlumb.maxConnections||!(this.isFloating()||this._jsPlumb.maxConnections<0||this.connections.length<this._jsPlumb.maxConnections)},isFloating:function(){return null!=this.anchor&&this.anchor.isFloating},isConnectedTo:function(e){var t=!1;if(e)for(var n=0;n<this.connections.length;n++)if(this.connections[n].endpoints[1]===e||this.connections[n].endpoints[0]===e){t=!0;break}return t},getConnectionCost:function(){return this._jsPlumb.connectionCost},setConnectionCost:function(e){this._jsPlumb.connectionCost=e},areConnectionsDirected:function(){return this._jsPlumb.connectionsDirected},setConnectionsDirected:function(e){this._jsPlumb.connectionsDirected=e},setElementId:function(e){this.elementId=e,this.anchor.elementId=e},setReferenceElement:function(e){this.element=t.getElement(e)},setDragAllowedWhenFull:function(e){this.dragAllowedWhenFull=e},equals:function(e){return this.anchor.equals(e.anchor)},getUuid:function(){return this._jsPlumb.uuid},computeAnchor:function(e){return this.anchor.compute(e)}}),e.jsPlumbInstance.prototype.EndpointDropHandler=function(e){return function(t){var i=e.jsPlumb;e.removeClass(i.endpointDropAllowedClass),e.removeClass(i.endpointDropForbiddenClass);var r=i.getDropEvent(arguments),o=i.getDragObject(arguments),a=i.getAttribute(o,"dragId"),s=(i.getAttribute(o,"elId"),i.getAttribute(o,"originalScope")),l=i.getFloatingConnectionFor(a);if(null!=l){var u=null!=l.suspendedEndpoint;if(!u||null!=l.suspendedEndpoint._jsPlumb){var c=e.getEndpoint(l);if(null!=c){if(e.isRedrop(l,e))return l._forceReattach=!0,l.setHover(!1),void(e.maybeCleanup&&e.maybeCleanup(c));var d=i.getFloatingAnchorIndex(l);if(0===d&&!e.isSource||1===d&&!e.isTarget)e.maybeCleanup&&e.maybeCleanup(c);else{e.onDrop&&e.onDrop(l),s&&i.setDragScope(o,s);var h=e.isFull(t);if(h&&c.fire("maxConnections",{endpoint:this,connection:l,maxConnections:c._jsPlumb.maxConnections},r),!h&&e.enabled()){var f=!0;0===d?(l.floatingElement=l.source,l.floatingId=l.sourceId,l.floatingEndpoint=l.endpoints[0],l.floatingIndex=0,l.source=e.element,l.sourceId=i.getId(e.element)):(l.floatingElement=l.target,l.floatingId=l.targetId,l.floatingEndpoint=l.endpoints[1],l.floatingIndex=1,l.target=e.element,l.targetId=i.getId(e.element)),u&&l.suspendedEndpoint.id!==c.id&&(l.isDetachAllowed(l)&&l.endpoints[d].isDetachAllowed(l)&&l.suspendedEndpoint.isDetachAllowed(l)&&i.checkCondition("beforeDetach",l)||(f=!1));var p=function(t){l.endpoints[d].detachFromConnection(l),l.suspendedEndpoint&&l.suspendedEndpoint.detachFromConnection(l),l.endpoints[d]=c,c.addConnection(l);var o=c.getParameters();for(var a in o)l.setParameter(a,o[a]);if(u){var s=l.suspendedEndpoint.elementId;i.fireMoveEvent({index:d,originalSourceId:0===d?s:l.sourceId,newSourceId:0===d?c.elementId:l.sourceId,originalTargetId:1===d?s:l.targetId,newTargetId:1===d?c.elementId:l.targetId,originalSourceEndpoint:0===d?l.suspendedEndpoint:l.endpoints[0],newSourceEndpoint:0===d?c:l.endpoints[0],originalTargetEndpoint:1===d?l.suspendedEndpoint:l.endpoints[1],newTargetEndpoint:1===d?c:l.endpoints[1],connection:l},r)}else o.draggable&&i.initDraggable(this.element,e.dragOptions,"internal",i);if(1===d?i.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):i.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),l.endpoints[0].finalEndpoint){var h=l.endpoints[0];h.detachFromConnection(l),l.endpoints[0]=l.endpoints[0].finalEndpoint,l.endpoints[0].addConnection(l)}n.isObject(t)&&l.mergeData(t),i.finaliseConnection(l,null,r,!1),l.setHover(!1),i.revalidate(l.endpoints[0].element)}.bind(this),m=function(){l.suspendedEndpoint&&(l.endpoints[d]=l.suspendedEndpoint,l.setHover(!1),l._forceDetach=!0,0===d?(l.source=l.suspendedEndpoint.element,l.sourceId=l.suspendedEndpoint.elementId):(l.target=l.suspendedEndpoint.element,l.targetId=l.suspendedEndpoint.elementId),l.suspendedEndpoint.addConnection(l),1===d?i.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):i.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),i.repaint(l.sourceId),l._forceDetach=!1)};if(f=f&&e.isDropAllowed(l.sourceId,l.targetId,l.scope,l,c),f)return p(f),!0;m()}e.maybeCleanup&&e.maybeCleanup(c),i.currentlyDragging=!1}}}}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,i,r,o,a){if(t.Connectors[i]=t.Connectors[i]||{},null==t.Connectors[i][r]){if(null==t.Connectors[r]){if(e.Defaults.DoNotThrowErrors)return null;throw new TypeError("jsPlumb: unknown connector type '"+r+"'")}t.Connectors[i][r]=function(){t.Connectors[r].apply(this,arguments),t.ConnectorRenderers[i].apply(this,arguments)},n.extend(t.Connectors[i][r],[t.Connectors[r],t.ConnectorRenderers[i]])}return new t.Connectors[i][r](o,a)},r=function(e,t,n){return e?n.makeAnchor(e,t,n):null},o=function(e,t,i,r){null!=t&&(t._jsPlumbConnections=t._jsPlumbConnections||{},r?delete t._jsPlumbConnections[e.id]:t._jsPlumbConnections[e.id]=!0,n.isEmpty(t._jsPlumbConnections)?i.removeClass(t,i.connectedClass):i.addClass(t,i.connectedClass))};t.Connection=function(e){var i=e.newEndpoint;this.id=e.id,this.connector=null,this.idPrefix="_jsplumb_c_",this.defaultLabelLocation=.5,this.defaultOverlayKeys=["Overlays","ConnectionOverlays"],this.previousConnection=e.previousConnection,this.source=t.getElement(e.source),this.target=t.getElement(e.target),t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),e.sourceEndpoint?(this.source=e.sourceEndpoint.getElement(),this.sourceId=e.sourceEndpoint.elementId):this.sourceId=this._jsPlumb.instance.getId(this.source),e.targetEndpoint?(this.target=e.targetEndpoint.getElement(),this.targetId=e.targetEndpoint.elementId):this.targetId=this._jsPlumb.instance.getId(this.target),this.scope=e.scope,this.endpoints=[],this.endpointStyles=[];var r=this._jsPlumb.instance;r.manage(this.sourceId,this.source),r.manage(this.targetId,this.target),this._jsPlumb.visible=!0,this._jsPlumb.params={cssClass:e.cssClass,container:e.container,"pointer-events":e["pointer-events"],editorParams:e.editorParams,overlays:e.overlays},this._jsPlumb.lastPaintedAt=null,this.bind("mouseover",function(){this.setHover(!0)}.bind(this)),this.bind("mouseout",function(){this.setHover(!1)}.bind(this)),this.makeEndpoint=function(t,n,o,a,s){return o=o||this._jsPlumb.instance.getId(n),this.prepareEndpoint(r,i,this,a,t?0:1,e,n,o,s)},e.type&&(e.endpoints=e.endpoints||this._jsPlumb.instance.deriveEndpointAndAnchorSpec(e.type).endpoints);var o=this.makeEndpoint(!0,this.source,this.sourceId,e.sourceEndpoint),a=this.makeEndpoint(!1,this.target,this.targetId,e.targetEndpoint);o&&n.addToList(e.endpointsByElement,this.sourceId,o),a&&n.addToList(e.endpointsByElement,this.targetId,a),this.scope||(this.scope=this.endpoints[0].scope),null!=e.deleteEndpointsOnEmpty&&(this.endpoints[0].setDeleteOnEmpty(e.deleteEndpointsOnEmpty),this.endpoints[1].setDeleteOnEmpty(e.deleteEndpointsOnEmpty));var s=r.Defaults.ConnectionsDetachable;!1===e.detachable&&(s=!1),!1===this.endpoints[0].connectionsDetachable&&(s=!1),!1===this.endpoints[1].connectionsDetachable&&(s=!1);var l=e.reattach||this.endpoints[0].reattachConnections||this.endpoints[1].reattachConnections||r.Defaults.ReattachConnections;this.appendToDefaultType({detachable:s,reattach:l,paintStyle:this.endpoints[0].connectorStyle||this.endpoints[1].connectorStyle||e.paintStyle||r.Defaults.PaintStyle||t.Defaults.PaintStyle,hoverPaintStyle:this.endpoints[0].connectorHoverStyle||this.endpoints[1].connectorHoverStyle||e.hoverPaintStyle||r.Defaults.HoverPaintStyle||t.Defaults.HoverPaintStyle});var u=r.getSuspendedAt();if(!r.isSuspendDrawing()){var c=r.getCachedData(this.sourceId),d=c.o,h=c.s,f=r.getCachedData(this.targetId),p=f.o,m=f.s,v=u||jsPlumbUtil.uuid(),g=this.endpoints[0].anchor.compute({xy:[d.left,d.top],wh:h,element:this.endpoints[0],elementId:this.endpoints[0].elementId,txy:[p.left,p.top],twh:m,tElement:this.endpoints[1],timestamp:v,rotation:r.getRotation(this.endpoints[0].elementId)});this.endpoints[0].paint({anchorLoc:g,timestamp:v}),g=this.endpoints[1].anchor.compute({xy:[p.left,p.top],wh:m,element:this.endpoints[1],elementId:this.endpoints[1].elementId,txy:[d.left,d.top],twh:h,tElement:this.endpoints[0],timestamp:v,rotation:r.getRotation(this.endpoints[1].elementId)}),this.endpoints[1].paint({anchorLoc:g,timestamp:v})}this.getTypeDescriptor=function(){return"connection"},this.getAttachedElements=function(){return this.endpoints},this.isDetachable=function(e){return!1!==this._jsPlumb.detachable&&(null!=e?!0===e.connectionsDetachable:!0===this._jsPlumb.detachable)},this.setDetachable=function(e){this._jsPlumb.detachable=!0===e},this.isReattach=function(){return!0===this._jsPlumb.reattach||!0===this.endpoints[0].reattachConnections||!0===this.endpoints[1].reattachConnections},this.setReattach=function(e){this._jsPlumb.reattach=!0===e},this._jsPlumb.cost=e.cost||this.endpoints[0].getConnectionCost(),this._jsPlumb.directed=e.directed,null==e.directed&&(this._jsPlumb.directed=this.endpoints[0].areConnectionsDirected());var y=t.extend({},this.endpoints[1].getParameters());t.extend(y,this.endpoints[0].getParameters()),t.extend(y,this.getParameters()),this.setParameters(y),this.setConnector(this.endpoints[0].connector||this.endpoints[1].connector||e.connector||r.Defaults.Connector||t.Defaults.Connector,!0);var b=null!=e.data&&n.isObject(e.data)?e.data:{};this.getData=function(){return b},this.setData=function(e){b=e||{}},this.mergeData=function(e){b=t.extend(b,e)};var _=["default",this.endpoints[0].connectionType,this.endpoints[1].connectionType,e.type].join(" ");/[^\s]/.test(_)&&this.addType(_,e.data,!0),this.updateConnectedClass()},n.extend(t.Connection,t.OverlayCapableJsPlumbUIComponent,{applyType:function(e,n,i){var r=null;null!=e.connector&&(r=this.getCachedTypeItem("connector",i.connector),null==r&&(r=this.prepareConnector(e.connector,i.connector),this.cacheTypeItem("connector",r,i.connector)),this.setPreparedConnector(r)),null!=e.detachable&&this.setDetachable(e.detachable),null!=e.reattach&&this.setReattach(e.reattach),e.scope&&(this.scope=e.scope),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass);var o=null;e.anchor?(o=this.getCachedTypeItem("anchors",i.anchor),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchor),this._jsPlumb.instance.makeAnchor(e.anchor)],this.cacheTypeItem("anchors",o,i.anchor))):e.anchors&&(o=this.getCachedTypeItem("anchors",i.anchors),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchors[0]),this._jsPlumb.instance.makeAnchor(e.anchors[1])],this.cacheTypeItem("anchors",o,i.anchors))),null!=o&&(this.endpoints[0].anchor=o[0],this.endpoints[1].anchor=o[1],this.endpoints[1].anchor.isDynamic&&this._jsPlumb.instance.repaint(this.endpoints[1].elementId)),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},addClass:function(e,t){t&&(this.endpoints[0].addClass(e),this.endpoints[1].addClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.addClass(e)),this.connector&&this.connector.addClass(e)},removeClass:function(e,t){t&&(this.endpoints[0].removeClass(e),this.endpoints[1].removeClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.removeClass(e)),this.connector&&this.connector.removeClass(e)},isVisible:function(){return this._jsPlumb.visible},setVisible:function(e){this._jsPlumb.visible=e,this.connector&&this.connector.setVisible(e),this.repaint()},cleanup:function(){this.updateConnectedClass(!0),this.endpoints=null,this.source=null,this.target=null,null!=this.connector&&(this.connector.cleanup(!0),this.connector.destroy(!0)),this.connector=null},updateConnectedClass:function(e){this._jsPlumb&&(o(this,this.source,this._jsPlumb.instance,e),o(this,this.target,this._jsPlumb.instance,e))},setHover:function(t){this.connector&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&(this.connector.setHover(t),e.jsPlumb[t?"addClass":"removeClass"](this.source,this._jsPlumb.instance.hoverSourceClass),e.jsPlumb[t?"addClass":"removeClass"](this.target,this._jsPlumb.instance.hoverTargetClass))},getUuids:function(){return[this.endpoints[0].getUuid(),this.endpoints[1].getUuid()]},getCost:function(){return this._jsPlumb?this._jsPlumb.cost:-1/0},setCost:function(e){this._jsPlumb.cost=e},isDirected:function(){return this._jsPlumb.directed},getConnector:function(){return this.connector},prepareConnector:function(e,t){var r,o={_jsPlumb:this._jsPlumb.instance,cssClass:this._jsPlumb.params.cssClass,container:this._jsPlumb.params.container,"pointer-events":this._jsPlumb.params["pointer-events"]},a=this._jsPlumb.instance.getRenderMode();return n.isString(e)?r=i(this._jsPlumb.instance,a,e,o,this):n.isArray(e)&&(r=1===e.length?i(this._jsPlumb.instance,a,e[0],o,this):i(this._jsPlumb.instance,a,e[0],n.merge(e[1],o),this)),null!=t&&(r.typeId=t),r},setPreparedConnector:function(e,t,n,i){if(this.connector!==e){var r,o="";if(null!=this.connector&&(r=this.connector,o=r.getClass(),this.connector.cleanup(),this.connector.destroy()),this.connector=e,i&&this.cacheTypeItem("connector",e,i),this.canvas=this.connector.canvas,this.bgCanvas=this.connector.bgCanvas,this.connector.reattach(this._jsPlumb.instance),this.addClass(o),this.canvas&&(this.canvas._jsPlumb=this),this.bgCanvas&&(this.bgCanvas._jsPlumb=this),null!=r)for(var a=this.getOverlays(),s=0;s<a.length;s++)a[s].transfer&&a[s].transfer(this.connector);n||this.setListenerComponent(this.connector),t||this.repaint()}},setConnector:function(e,t,n,i){var r=this.prepareConnector(e,i);this.setPreparedConnector(r,t,n,i)},paint:function(e){if(!this._jsPlumb.instance.isSuspendDrawing()&&this._jsPlumb.visible){e=e||{};var t=e.timestamp,n=!1,i=n?this.sourceId:this.targetId,r=n?this.targetId:this.sourceId,o=n?0:1,a=n?1:0;if(null==t||t!==this._jsPlumb.lastPaintedAt){var s=this._jsPlumb.instance.updateOffset({elId:r}).o,l=this._jsPlumb.instance.updateOffset({elId:i}).o,u=this.endpoints[a],c=this.endpoints[o],d=u.anchor.getCurrentLocation({xy:[s.left,s.top],wh:[s.width,s.height],element:u,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.sourceId)}),h=c.anchor.getCurrentLocation({xy:[l.left,l.top],wh:[l.width,l.height],element:c,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.targetId)});this.connector.resetBounds(),this.connector.compute({sourcePos:d,targetPos:h,sourceOrientation:u.anchor.getOrientation(u),targetOrientation:c.anchor.getOrientation(c),sourceEndpoint:this.endpoints[a],targetEndpoint:this.endpoints[o],"stroke-width":this._jsPlumb.paintStyleInUse.strokeWidth,sourceInfo:s,targetInfo:l});var f={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(var p in this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(p)){var m=this._jsPlumb.overlays[p];m.isVisible()&&(this._jsPlumb.overlayPlacements[p]=m.draw(this.connector,this._jsPlumb.paintStyleInUse,this.getAbsoluteOverlayPosition(m)),f.minX=Math.min(f.minX,this._jsPlumb.overlayPlacements[p].minX),f.maxX=Math.max(f.maxX,this._jsPlumb.overlayPlacements[p].maxX),f.minY=Math.min(f.minY,this._jsPlumb.overlayPlacements[p].minY),f.maxY=Math.max(f.maxY,this._jsPlumb.overlayPlacements[p].maxY))}var v=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||1)/2,g=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||0),y={xmin:Math.min(this.connector.bounds.minX-(v+g),f.minX),ymin:Math.min(this.connector.bounds.minY-(v+g),f.minY),xmax:Math.max(this.connector.bounds.maxX+(v+g),f.maxX),ymax:Math.max(this.connector.bounds.maxY+(v+g),f.maxY)};for(var b in this.connector.paintExtents=y,this.connector.paint(this._jsPlumb.paintStyleInUse,null,y),this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(b)){var _=this._jsPlumb.overlays[b];_.isVisible()&&_.paint(this._jsPlumb.overlayPlacements[b],y)}}this._jsPlumb.lastPaintedAt=t}},repaint:function(e){var t=jsPlumb.extend(e||{},{});t.elId=this.sourceId,this.paint(t)},prepareEndpoint:function(e,n,i,o,a,s,l,u,c){var d;if(o)i.endpoints[a]=o,o.addConnection(i);else{s.endpoints||(s.endpoints=[null,null]);var h=c||s.endpoints[a]||s.endpoint||e.Defaults.Endpoints[a]||t.Defaults.Endpoints[a]||e.Defaults.Endpoint||t.Defaults.Endpoint;s.endpointStyles||(s.endpointStyles=[null,null]),s.endpointHoverStyles||(s.endpointHoverStyles=[null,null]);var f=s.endpointStyles[a]||s.endpointStyle||e.Defaults.EndpointStyles[a]||t.Defaults.EndpointStyles[a]||e.Defaults.EndpointStyle||t.Defaults.EndpointStyle;null==f.fill&&null!=s.paintStyle&&(f.fill=s.paintStyle.stroke),null==f.outlineStroke&&null!=s.paintStyle&&(f.outlineStroke=s.paintStyle.outlineStroke),null==f.outlineWidth&&null!=s.paintStyle&&(f.outlineWidth=s.paintStyle.outlineWidth);var p=s.endpointHoverStyles[a]||s.endpointHoverStyle||e.Defaults.EndpointHoverStyles[a]||t.Defaults.EndpointHoverStyles[a]||e.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle;null!=s.hoverPaintStyle&&(null==p&&(p={}),null==p.fill&&(p.fill=s.hoverPaintStyle.stroke));var m=s.anchors?s.anchors[a]:s.anchor?s.anchor:r(e.Defaults.Anchors[a],u,e)||r(t.Defaults.Anchors[a],u,e)||r(e.Defaults.Anchor,u,e)||r(t.Defaults.Anchor,u,e),v=s.uuids?s.uuids[a]:null;d=n({paintStyle:f,hoverPaintStyle:p,endpoint:h,connections:[i],uuid:v,anchor:m,source:l,scope:s.scope,reattach:s.reattach||e.Defaults.ReattachConnections,detachable:s.detachable||e.Defaults.ConnectionsDetachable}),null==o&&d.setDeleteOnEmpty(!0),i.endpoints[a]=d,!1===s.drawEndpoints&&d.setVisible(!1,!0,!0)}return d},replaceEndpoint:function(e,t){var n=this.endpoints[e],i=n.elementId,r=this._jsPlumb.instance.getEndpoints(i),o=r.indexOf(n),a=this.makeEndpoint(0===e,n.element,i,null,t);this.endpoints[e]=a,r.splice(o,1,a),this._jsPlumb.instance.deleteObject({endpoint:n,deleteAttachedObjects:!1}),this._jsPlumb.instance.fire("endpointReplaced",{previous:n,current:a}),this._jsPlumb.instance.router.sourceOrTargetChanged(this.endpoints[1].elementId,this.endpoints[1].elementId,this,this.endpoints[1].element,1)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumb;n.AnchorManager=function(e){var i={},r={},o={},a={},s=this,l={},u=e.jsPlumbInstance,c={},d=function(e,t,n,i,r,o,a,s){for(var l=[],u=t[r?0:1]/(i.length+1),c=0;c<i.length;c++){var d=(c+1)*u,h=o*t[r?1:0];a&&(d=t[r?0:1]-d);var f=r?d:h,p=n.left+f,m=f/t[0],v=r?h:d,g=n.top+v,y=v/t[1];if(0!==s){var b=jsPlumbUtil.rotatePoint([p,g],[n.centerx,n.centery],s);p=b[0],g=b[1]}l.push([p,g,m,y,i[c][1],i[c][2]])}return l},h=function(e,t){return t[0][0]-e[0][0]},f=function(e,t){var n=e[0][0]<0?-Math.PI-e[0][0]:Math.PI-e[0][0],i=t[0][0]<0?-Math.PI-t[0][0]:Math.PI-t[0][0];return n-i},p={top:f,right:h,bottom:h,left:f},m=function(e,t){return e.sort(t)},v=function(e,t){var n=u.getCachedData(e),i=n.s,a=n.o,s=function(t,n,i,a,s,l,c){if(a.length>0)for(var h=m(a,p[t]),f="right"===t||"top"===t,v=u.getRotation(e),g=d(t,n,i,h,s,l,f,v),y=function(e,t){r[e.id]=[t[0],t[1],t[2],t[3]],o[e.id]=c},b=0;b<g.length;b++){var _=g[b][4],w=_.endpoints[0].elementId===e,x=_.endpoints[1].elementId===e;w&&y(_.endpoints[0],g[b]),x&&y(_.endpoints[1],g[b])}};s("bottom",i,a,t.bottom,!0,1,[0,1]),s("top",i,a,t.top,!0,0,[0,-1]),s("left",i,a,t.left,!1,0,[-1,0]),s("right",i,a,t.right,!1,1,[1,0])};this.reset=function(){i={},a={},l={}},this.addFloatingConnection=function(e,t){c[e]=t},this.newConnection=function(e){var i=e.sourceId,r=e.targetId,o=e.endpoints,s=!0,l=function(l,u,c,d,h){i===r&&c.isContinuous&&(e._jsPlumb.instance.removeElement(o[1].canvas),s=!1),t.addToList(a,d,[h,u,c.constructor===n.DynamicAnchor])};l(0,o[0],o[0].anchor,r,e),s&&l(1,o[1],o[1].anchor,i,e)};var g=function(e){(function(e,n){if(e){var i=function(e){return e[4]===n};t.removeWithFunction(e.top,i),t.removeWithFunction(e.left,i),t.removeWithFunction(e.bottom,i),t.removeWithFunction(e.right,i)}})(l[e.elementId],e.id)};this.connectionDetached=function(e,n){var i=e.connection||e,r=e.sourceId,o=e.targetId,l=i.endpoints,u=function(e,n,i,r,o){t.removeWithFunction(a[r],(function(e){return e[0].id===o.id}))};u(1,l[1],l[1].anchor,r,i),u(0,l[0],l[0].anchor,o,i),i.floatingId&&(u(i.floatingIndex,i.floatingEndpoint,i.floatingEndpoint.anchor,i.floatingId,i),g(i.floatingEndpoint)),g(i.endpoints[0]),g(i.endpoints[1]),n||(s.redraw(i.sourceId),i.targetId!==i.sourceId&&s.redraw(i.targetId))},this.addEndpoint=function(e,n){t.addToList(i,n,e)},this.changeId=function(e,t){a[t]=a[e],i[t]=i[e],delete a[e],delete i[e]},this.getConnectionsFor=function(e){return a[e]||[]},this.getEndpointsFor=function(e){return i[e]||[]},this.deleteEndpoint=function(e){t.removeWithFunction(i[e.elementId],(function(t){return t.id===e.id})),g(e)},this.elementRemoved=function(e){delete c[e],delete i[e],i[e]=[]};var y=function(n,i,r,o,a,s,l,u,c,d,h,f){var p,m,v=-1,g=-1,y=o.endpoints[l],b=y.id,_=[1,0][l],w=[[i,r],o,a,s,b],x=n[c],k=y._continuousAnchorEdge?n[y._continuousAnchorEdge]:null;if(k){var M=t.findWithFunction(k,(function(e){return e[4]===b}));if(-1!==M)for(k.splice(M,1),p=0;p<k.length;p++)m=k[p][1],t.addWithFunction(h,m,(function(e){return e.id===m.id})),t.addWithFunction(f,k[p][1].endpoints[l],(function(e){return e.id===m.endpoints[l].id})),t.addWithFunction(f,k[p][1].endpoints[_],(function(e){return e.id===m.endpoints[_].id}))}for(p=0;p<x.length;p++)m=x[p][1],1===e.idx&&x[p][3]===s&&-1===g&&(g=p),t.addWithFunction(h,m,(function(e){return e.id===m.id})),t.addWithFunction(f,x[p][1].endpoints[l],(function(e){return e.id===m.endpoints[l].id})),t.addWithFunction(f,x[p][1].endpoints[_],(function(e){return e.id===m.endpoints[_].id}));if(-1!==v)x[v]=w;else{var S=u?-1!==g?g:0:x.length;x.splice(S,0,w)}y._continuousAnchorEdge=c};this.sourceOrTargetChanged=function(e,i,r,o,s){if(0===s){if(e!==i){r.sourceId=i,r.source=o,t.removeWithFunction(a[e],(function(e){return e[0].id===r.id}));var l=t.findWithFunction(a[r.targetId],(function(e){return e[0].id===r.id}));l>-1&&(a[r.targetId][l][0]=r,a[r.targetId][l][1]=r.endpoints[0],a[r.targetId][l][2]=r.endpoints[0].anchor.constructor===n.DynamicAnchor),t.addToList(a,i,[r,r.endpoints[1],r.endpoints[1].anchor.constructor===n.DynamicAnchor]),r.endpoints[1].anchor.isContinuous&&(r.source===r.target?r._jsPlumb.instance.removeElement(r.endpoints[1].canvas):null==r.endpoints[1].canvas.parentNode&&r._jsPlumb.instance.appendElement(r.endpoints[1].canvas)),r.updateConnectedClass()}}else if(1===s){var u=r.endpoints[0].elementId;r.target=o,r.targetId=i;var c=t.findWithFunction(a[u],(function(e){return e[0].id===r.id})),d=t.findWithFunction(a[e],(function(e){return e[0].id===r.id}));-1!==c&&(a[u][c][0]=r,a[u][c][1]=r.endpoints[1],a[u][c][2]=r.endpoints[1].anchor.constructor===n.DynamicAnchor),d>-1&&(a[e].splice(d,1),t.addToList(a,i,[r,r.endpoints[0],r.endpoints[0].anchor.constructor===n.DynamicAnchor])),r.updateConnectedClass()}},this.rehomeEndpoint=function(e,t,n){var r=i[t]||[],o=u.getId(n);if(o!==t){var a=r.indexOf(e);if(a>-1){var l=r.splice(a,1)[0];s.add(l,o)}}for(var c=0;c<e.connections.length;c++)e.connections[c].sourceId===t?s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,0):e.connections[c].targetId===t&&s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,1)},this.redraw=function(e,r,o,s,d,h){var f=[],p=[],m=[];if(!u.isSuspendDrawing()){var g=i[e]||[],b=a[e]||[];o=o||jsPlumbUtil.uuid(),s=s||{left:0,top:0},r&&(r={left:r.left+s.left,top:r.top+s.top});for(var _=u.updateOffset({elId:e,offset:r,recalc:!1,timestamp:o}),w={},x=0;x<b.length;x++){var k=b[x][0],M=k.sourceId,S=k.targetId,C=k.endpoints[0].anchor.isContinuous,D=k.endpoints[1].anchor.isContinuous;if(C||D){var L=M+"_"+S,T=w[L],E=k.sourceId===e?1:0,P=u.getRotation(S),j=u.getRotation(M);C&&!l[M]&&(l[M]={top:[],right:[],bottom:[],left:[]}),D&&!l[S]&&(l[S]={top:[],right:[],bottom:[],left:[]}),e!==S&&u.updateOffset({elId:S,timestamp:o}),e!==M&&u.updateOffset({elId:M,timestamp:o});var O=u.getCachedData(S),I=u.getCachedData(M);S===M&&(C||D)?(y(l[M],-Math.PI/2,0,k,!1,S,0,!1,"top",M,f,p),y(l[S],-Math.PI/2,0,k,!1,M,1,!1,"top",S,f,p)):(T||(T=this.calculateOrientation(M,S,I.o,O.o,k.endpoints[0].anchor,k.endpoints[1].anchor,k,j,P),w[L]=T),C&&y(l[M],T.theta,0,k,!1,S,0,!1,T.a[0],M,f,p),D&&y(l[S],T.theta2,-1,k,!0,M,1,!0,T.a[1],S,f,p)),C&&t.addWithFunction(m,M,(function(e){return e===M})),D&&t.addWithFunction(m,S,(function(e){return e===S})),t.addWithFunction(f,k,(function(e){return e.id===k.id})),(C&&0===E||D&&1===E)&&t.addWithFunction(p,k.endpoints[E],(function(e){return e.id===k.endpoints[E].id}))}}for(x=0;x<g.length;x++)0===g[x].connections.length&&g[x].anchor.isContinuous&&(l[e]||(l[e]={top:[],right:[],bottom:[],left:[]}),y(l[e],-Math.PI/2,0,{endpoints:[g[x],g[x]],paint:function(){}},!1,e,0,!1,g[x].anchor.getDefaultFace(),e,f,p),t.addWithFunction(m,e,(function(t){return t===e})));for(x=0;x<m.length;x++)v(m[x],l[m[x]]);for(x=0;x<g.length;x++)g[x].paint({timestamp:o,offset:_,dimensions:_.s,recalc:!0!==h});for(x=0;x<p.length;x++){var Y=u.getCachedData(p[x].elementId);p[x].paint({timestamp:null,offset:Y,dimensions:Y.s})}for(x=0;x<b.length;x++){var A=b[x][1];if(A.anchor.constructor===n.DynamicAnchor){A.paint({elementWithPrecedence:e,timestamp:o}),t.addWithFunction(f,b[x][0],(function(e){return e.id===b[x][0].id}));for(var N=0;N<A.connections.length;N++)A.connections[N]!==b[x][0]&&t.addWithFunction(f,A.connections[N],(function(e){return e.id===A.connections[N].id}))}else t.addWithFunction(f,b[x][0],(function(e){return e.id===b[x][0].id}))}var H=c[e];for(H&&H.paint({timestamp:o,recalc:!1,elId:e}),x=0;x<f.length;x++)f[x].paint({elId:e,timestamp:null,recalc:!1,clearEdits:d})}return{c:f,e:p}};var b=function(e){t.EventGenerator.apply(this),this.type="Continuous",this.isDynamic=!0,this.isContinuous=!0;for(var n=e.faces||["top","right","bottom","left"],i=!(!1===e.clockwise),a={},s={top:"bottom",right:"left",left:"right",bottom:"top"},l={top:"right",right:"bottom",left:"top",bottom:"left"},u={top:"left",right:"top",left:"bottom",bottom:"right"},c=i?l:u,d=i?u:l,h=e.cssClass||"",f=null,p=null,m=["left","right"],v=["top","bottom"],g=null,y=0;y<n.length;y++)a[n[y]]=!0;this.getDefaultFace=function(){return 0===n.length?"top":n[0]},this.isRelocatable=function(){return!0},this.isSnapOnRelocate=function(){return!0},this.verifyEdge=function(e){return a[e]?e:a[s[e]]?s[e]:a[c[e]]?c[e]:a[d[e]]?d[e]:e},this.isEdgeSupported=function(e){return null==g?null==p?!0===a[e]:p===e:-1!==g.indexOf(e)},this.setCurrentFace=function(e,t){f=e,t&&null!=p&&(p=f)},this.getCurrentFace=function(){return f},this.getSupportedFaces=function(){var e=[];for(var t in a)a[t]&&e.push(t);return e},this.lock=function(){p=f},this.unlock=function(){p=null},this.isLocked=function(){return null!=p},this.lockCurrentAxis=function(){null!=f&&(g="left"===f||"right"===f?m:v)},this.unlockCurrentAxis=function(){g=null},this.compute=function(e){return r[e.element.id]||[0,0]},this.getCurrentLocation=function(e){return r[e.element.id]||[0,0]},this.getOrientation=function(e){return o[e.id]||[0,0]},this.getCssClass=function(){return h}};u.continuousAnchorFactory={get:function(e){return new b(e)},clear:function(e){delete r[e]}}},n.AnchorManager.prototype.calculateOrientation=function(e,t,n,i,r,o,a,s,l){var u={HORIZONTAL:"horizontal",VERTICAL:"vertical",DIAGONAL:"diagonal",IDENTITY:"identity"},c=["left","top","right","bottom"];if(e===t)return{orientation:u.IDENTITY,a:["top","top"]};var d=Math.atan2(i.centery-n.centery,i.centerx-n.centerx),h=Math.atan2(n.centery-i.centery,n.centerx-i.centerx),f=[],p={};(function(e,t){for(var n=0;n<e.length;n++)if(p[e[n]]={left:[t[n][0].left,t[n][0].centery],right:[t[n][0].right,t[n][0].centery],top:[t[n][0].centerx,t[n][0].top],bottom:[t[n][0].centerx,t[n][0].bottom]},0!==t[n][1])for(var i in p[e[n]])p[e[n]][i]=jsPlumbUtil.rotatePoint(p[e[n]][i],[t[n][0].centerx,t[n][0].centery],t[n][1])})(["source","target"],[[n,s],[i,l]]);for(var m=0;m<c.length;m++)for(var v=0;v<c.length;v++)f.push({source:c[m],target:c[v],dist:Biltong.lineLength(p.source[c[m]],p.target[c[v]])});f.sort((function(e,t){return e.dist<t.dist?-1:e.dist>t.dist?1:0}));for(var g=f[0].source,y=f[0].target,b=0;b<f.length;b++)if(g=r.isContinuous&&r.locked?r.getCurrentFace():!r.isContinuous||r.isEdgeSupported(f[b].source)?f[b].source:null,y=o.isContinuous&&o.locked?o.getCurrentFace():!o.isContinuous||o.isEdgeSupported(f[b].target)?f[b].target:null,null!=g&&null!=y)break;return r.isContinuous&&r.setCurrentFace(g),o.isContinuous&&o.setCurrentFace(y),{a:[g,y],theta:d,theta2:h}},n.Anchor=function(e){this.x=e.x||0,this.y=e.y||0,this.elementId=e.elementId,this.cssClass=e.cssClass||"",this.orientation=e.orientation||[0,0],this.lastReturnValue=null,this.offsets=e.offsets||[0,0],this.timestamp=null,this._unrotatedOrientation=[this.orientation[0],this.orientation[1]],this.relocatable=!1!==e.relocatable,this.snapOnRelocate=!1!==e.snapOnRelocate,this.locked=!1,t.EventGenerator.apply(this),this.compute=function(e){var t=e.xy,n=e.wh,i=e.timestamp;if(i&&i===this.timestamp)return this.lastReturnValue;var r=[t[0]+this.x*n[0]+this.offsets[0],t[1]+this.y*n[1]+this.offsets[1],this.x,this.y],o=e.rotation;if(null!=o&&0!==o){var a=jsPlumbUtil.rotatePoint(r,[t[0]+n[0]/2,t[1]+n[1]/2],o);this.orientation[0]=Math.round(this._unrotatedOrientation[0]*a[2]-this._unrotatedOrientation[1]*a[3]),this.orientation[1]=Math.round(this._unrotatedOrientation[1]*a[2]+this._unrotatedOrientation[0]*a[3]),this.lastReturnValue=[a[0],a[1],this.x,this.y]}else this.orientation[0]=this._unrotatedOrientation[0],this.orientation[1]=this._unrotatedOrientation[1],this.lastReturnValue=r;return this.timestamp=i,this.lastReturnValue},this.getCurrentLocation=function(e){return e=e||{},null==this.lastReturnValue||null!=e.timestamp&&this.timestamp!==e.timestamp?this.compute(e):this.lastReturnValue},this.setPosition=function(e,t,n,i,r){this.locked&&!r||(this.x=e,this.y=t,this.orientation=[n,i],this.lastReturnValue=null)}},t.extend(n.Anchor,t.EventGenerator,{equals:function(e){if(!e)return!1;var t=e.getOrientation(),n=this.getOrientation();return this.x===e.x&&this.y===e.y&&this.offsets[0]===e.offsets[0]&&this.offsets[1]===e.offsets[1]&&n[0]===t[0]&&n[1]===t[1]},getOrientation:function(){return this.orientation},getCssClass:function(){return this.cssClass}}),n.FloatingAnchor=function(e){n.Anchor.apply(this,arguments);var t=e.reference,i=e.referenceCanvas,r=n.getSize(i),o=0,a=0,s=null,l=null;this.orientation=null,this.x=0,this.y=0,this.isFloating=!0,this.compute=function(e){var t=e.xy,n=[t[0]+r[0]/2,t[1]+r[1]/2];return l=n,n},this.getOrientation=function(e){if(s)return s;var n=t.getOrientation(e);return[Math.abs(n[0])*o*-1,Math.abs(n[1])*a*-1]},this.over=function(e,t){s=e.getOrientation(t)},this.out=function(){s=null},this.getCurrentLocation=function(e){return null==l?this.compute(e):l}},t.extend(n.FloatingAnchor,n.Anchor);var i=function(e,t,i){return e.constructor===n.Anchor?e:t.makeAnchor(e,i,t)};n.DynamicAnchor=function(e){n.Anchor.apply(this,arguments),this.isDynamic=!0,this.anchors=[],this.elementId=e.elementId,this.jsPlumbInstance=e.jsPlumbInstance;for(var t=0;t<e.anchors.length;t++)this.anchors[t]=i(e.anchors[t],this.jsPlumbInstance,this.elementId);this.getAnchors=function(){return this.anchors};var r=this.anchors.length>0?this.anchors[0]:null,o=r,a=function(e,t,n,i,r,o,a){var s=i[0]+e.x*r[0],l=i[1]+e.y*r[1],u=i[0]+r[0]/2,c=i[1]+r[1]/2;if(null!=o&&0!==o){var d=jsPlumbUtil.rotatePoint([s,l],[u,c],o);s=d[0],l=d[1]}return Math.sqrt(Math.pow(t-s,2)+Math.pow(n-l,2))+Math.sqrt(Math.pow(u-s,2)+Math.pow(c-l,2))},s=e.selector||function(e,t,n,i,r,o,s){for(var l=n[0]+i[0]/2,u=n[1]+i[1]/2,c=-1,d=1/0,h=0;h<s.length;h++){var f=a(s[h],l,u,e,t,r,o);f<d&&(c=h+0,d=f)}return s[c]};this.compute=function(e){var t=e.xy,n=e.wh,i=e.txy,a=e.twh,l=e.rotation,u=e.tRotation;return this.timestamp=e.timestamp,this.locked||null==i||null==a?(this.lastReturnValue=r.compute(e),this.lastReturnValue):(e.timestamp=null,r=s(t,n,i,a,l,u,this.anchors),this.x=r.x,this.y=r.y,r!==o&&this.fire("anchorChanged",r),o=r,this.lastReturnValue=r.compute(e),this.lastReturnValue)},this.getCurrentLocation=function(e){return null!=r?r.getCurrentLocation(e):null},this.getOrientation=function(e){return null!=r?r.getOrientation(e):[0,0]},this.over=function(e,t){null!=r&&r.over(e,t)},this.out=function(){null!=r&&r.out()},this.setAnchor=function(e){r=e},this.getCssClass=function(){return r&&r.getCssClass()||""},this.setAnchorCoordinates=function(e){var t=jsPlumbUtil.findWithFunction(this.anchors,(function(t){return t.x===e[0]&&t.y===e[1]}));return-1!==t&&(this.setAnchor(this.anchors[t]),!0)}},t.extend(n.DynamicAnchor,n.Anchor);var r=function(e,t,i,r,o,a){n.Anchors[o]=function(n){var s=n.jsPlumbInstance.makeAnchor([e,t,i,r,0,0],n.elementId,n.jsPlumbInstance);return s.type=o,a&&a(s,n),s}};r(.5,0,0,-1,"TopCenter"),r(.5,1,0,1,"BottomCenter"),r(0,.5,-1,0,"LeftMiddle"),r(1,.5,1,0,"RightMiddle"),r(.5,0,0,-1,"Top"),r(.5,1,0,1,"Bottom"),r(0,.5,-1,0,"Left"),r(1,.5,1,0,"Right"),r(.5,.5,0,0,"Center"),r(1,0,0,-1,"TopRight"),r(1,1,0,1,"BottomRight"),r(0,0,0,-1,"TopLeft"),r(0,1,0,1,"BottomLeft"),n.Defaults.DynamicAnchors=function(e){return e.jsPlumbInstance.makeAnchors(["TopCenter","RightMiddle","BottomCenter","LeftMiddle"],e.elementId,e.jsPlumbInstance)},n.Anchors.AutoDefault=function(e){var t=e.jsPlumbInstance.makeDynamicAnchor(n.Defaults.DynamicAnchors(e));return t.type="AutoDefault",t};var o=function(e,t){n.Anchors[e]=function(n){var i=n.jsPlumbInstance.makeAnchor(["Continuous",{faces:t}],n.elementId,n.jsPlumbInstance);return i.type=e,i}};n.Anchors.Continuous=function(e){return e.jsPlumbInstance.continuousAnchorFactory.get(e)},o("ContinuousLeft",["left"]),o("ContinuousTop",["top"]),o("ContinuousBottom",["bottom"]),o("ContinuousRight",["right"]),r(0,0,0,0,"Assign",(function(e,t){var n=t.position||"Fixed";e.positionFinder=n.constructor===String?t.jsPlumbInstance.AnchorPositionFinders[n]:n,e.constructorParams=t})),e.jsPlumbInstance.prototype.AnchorPositionFinders={Fixed:function(e,t,n){return[(e.left-t.left)/n[0],(e.top-t.top)/n[1]]},Grid:function(e,t,n,i){var r=e.left-t.left,o=e.top-t.top,a=n[0]/i.grid[0],s=n[1]/i.grid[1],l=Math.floor(r/a),u=Math.floor(o/s);return[(l*a+a/2)/n[0],(u*s+s/2)/n[1]]}},n.Anchors.Perimeter=function(e){e=e||{};var t=e.anchorCount||60,n=e.shape;if(!n)throw new Error("no shape supplied to Perimeter Anchor type");var i=function(){for(var e=.5,n=2*Math.PI/t,i=0,r=[],o=0;o<t;o++){var a=e+e*Math.sin(i),s=e+e*Math.cos(i);r.push([a,s,0,0]),i+=n}return r},r=function(e){for(var n=t/e.length,i=[],r=function(e,r,o,a,s,l,u){n=t*s;for(var c=(o-e)/n,d=(a-r)/n,h=0;h<n;h++)i.push([e+c*h,r+d*h,null==l?0:l,null==u?0:u])},o=0;o<e.length;o++)r.apply(null,e[o]);return i},o=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][0],e[n][1],e[n][2],e[n][3],1/e.length,e[n][4],e[n][5]]);return r(t)},a=function(){return o([[0,0,1,0,0,-1],[1,0,1,1,1,0],[1,1,0,1,0,1],[0,1,0,0,-1,0]])},s={Circle:i,Ellipse:i,Diamond:function(){return o([[.5,0,1,.5],[1,.5,.5,1],[.5,1,0,.5],[0,.5,.5,0]])},Rectangle:a,Square:a,Triangle:function(){return o([[.5,0,1,1],[1,1,0,1],[0,1,.5,0]])},Path:function(e){for(var t=e.points,n=[],i=0,o=0;o<t.length-1;o++){var a=Math.sqrt(Math.pow(t[o][2]-t[o][0])+Math.pow(t[o][3]-t[o][1]));i+=a,n.push([t[o][0],t[o][1],t[o+1][0],t[o+1][1],a])}for(var s=0;s<n.length;s++)n[s][4]=n[s][4]/i;return r(n)}},l=function(e,t){for(var n=[],i=t/180*Math.PI,r=0;r<e.length;r++){var o=e[r][0]-.5,a=e[r][1]-.5;n.push([o*Math.cos(i)-a*Math.sin(i)+.5,o*Math.sin(i)+a*Math.cos(i)+.5,e[r][2],e[r][3]])}return n};if(!s[n])throw new Error("Shape ["+n+"] is unknown by Perimeter Anchor type");var u=s[n](e);e.rotation&&(u=l(u,e.rotation));var c=e.jsPlumbInstance.makeDynamicAnchor(u);return c.type="Perimeter",c}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=(e.jsPlumbUtil,e.jsPlumb);t.DefaultRouter=function(e){this.jsPlumbInstance=e,this.anchorManager=new t.AnchorManager({jsPlumbInstance:e}),this.sourceOrTargetChanged=function(e,t,n,i,r){this.anchorManager.sourceOrTargetChanged(e,t,n,i,r)},this.reset=function(){this.anchorManager.reset()},this.changeId=function(e,t){this.anchorManager.changeId(e,t)},this.elementRemoved=function(e){this.anchorManager.elementRemoved(e)},this.newConnection=function(e){this.anchorManager.newConnection(e)},this.connectionDetached=function(e,t){this.anchorManager.connectionDetached(e,t)},this.redraw=function(e,t,n,i,r,o){return this.anchorManager.redraw(e,t,n,i,r,o)},this.deleteEndpoint=function(e){this.anchorManager.deleteEndpoint(e)},this.rehomeEndpoint=function(e,t,n){this.anchorManager.rehomeEndpoint(e,t,n)},this.addEndpoint=function(e,t){this.anchorManager.addEndpoint(e,t)}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=e.Biltong;t.Segments={AbstractSegment:function(e){this.params=e,this.findClosestPointOnPath=function(e,t){return{d:1/0,x:null,y:null,l:null}},this.getBounds=function(){return{minX:Math.min(e.x1,e.x2),minY:Math.min(e.y1,e.y2),maxX:Math.max(e.x1,e.x2),maxY:Math.max(e.y1,e.y2)}},this.lineIntersection=function(e,t,n,i){return[]},this.boxIntersection=function(e,t,n,i){var r=[];return r.push.apply(r,this.lineIntersection(e,t,e+n,t)),r.push.apply(r,this.lineIntersection(e+n,t,e+n,t+i)),r.push.apply(r,this.lineIntersection(e+n,t+i,e,t+i)),r.push.apply(r,this.lineIntersection(e,t+i,e,t)),r},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.y)}},Straight:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n,r,o,a,s,l,u,c=function(){n=Math.sqrt(Math.pow(s-a,2)+Math.pow(u-l,2)),r=i.gradient({x:a,y:l},{x:s,y:u}),o=-1/r};this.type="Straight",this.getLength=function(){return n},this.getGradient=function(){return r},this.getCoordinates=function(){return{x1:a,y1:l,x2:s,y2:u}},this.setCoordinates=function(e){a=e.x1,l=e.y1,s=e.x2,u=e.y2,c()},this.setCoordinates({x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2}),this.getBounds=function(){return{minX:Math.min(a,s),minY:Math.min(l,u),maxX:Math.max(a,s),maxY:Math.max(l,u)}},this.pointOnPath=function(e,t){if(0!==e||t){if(1!==e||t){var r=t?e>0?e:n+e:e*n;return i.pointOnLine({x:a,y:l},{x:s,y:u},r)}return{x:s,y:u}}return{x:a,y:l}},this.gradientAtPoint=function(e){return r},this.pointAlongPathFrom=function(e,t,n){var r=this.pointOnPath(e,n),o=t<=0?{x:a,y:l}:{x:s,y:u};return t<=0&&Math.abs(t)>1&&(t*=-1),i.pointOnLine(r,o,t)};var d=function(e,t,n){return n>=Math.min(e,t)&&n<=Math.max(e,t)},h=function(e,t,n){return Math.abs(n-e)<Math.abs(n-t)?e:t};this.findClosestPointOnPath=function(e,t){var c={d:1/0,x:null,y:null,l:null,x1:a,x2:s,y1:l,y2:u};if(0===r)c.y=l,c.x=d(a,s,e)?e:h(a,s,e);else if(r===1/0||r===-1/0)c.x=a,c.y=d(l,u,t)?t:h(l,u,t);else{var f=l-r*a,p=t-o*e,m=(p-f)/(r-o),v=r*m+f;c.x=d(a,s,m)?m:h(a,s,m),c.y=d(l,u,v)?v:h(l,u,v)}var g=i.lineLength([c.x,c.y],[a,l]);return c.d=i.lineLength([e,t],[c.x,c.y]),c.l=g/n,c};var f=function(e,t,n){return n>t?t<=e&&e<=n:t>=e&&e>=n},p=f;this.lineIntersection=function(e,t,n,o){var c=Math.abs(i.gradient({x:e,y:t},{x:n,y:o})),d=Math.abs(r),h=d===1/0?a:l-d*a,f=[],m=c===1/0?e:t-c*e;if(c!==d)if(c===1/0&&0===d)p(e,a,s)&&p(l,t,o)&&(f=[e,l]);else if(0===c&&d===1/0)p(t,l,u)&&p(a,e,n)&&(f=[a,t]);else{var v,g;c===1/0?(v=e,p(v,a,s)&&(g=d*e+h,p(g,t,o)&&(f=[v,g]))):0===c?(g=t,p(g,l,u)&&(v=(t-h)/d,p(v,e,n)&&(f=[v,g]))):(v=(m-h)/(d-c),g=d*v+h,p(v,a,s)&&p(g,l,u)&&(f=[v,g]))}return f},this.boxIntersection=function(e,t,n,i){var r=[];return r.push.apply(r,this.lineIntersection(e,t,e+n,t)),r.push.apply(r,this.lineIntersection(e+n,t,e+n,t+i)),r.push.apply(r,this.lineIntersection(e+n,t+i,e,t+i)),r.push.apply(r,this.lineIntersection(e,t+i,e,t)),r},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.h)}},Arc:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n=function(t,n){return i.theta([e.cx,e.cy],[t,n])},r=function(e,t){if(e.anticlockwise){var n=e.startAngle<e.endAngle?e.startAngle+o:e.startAngle,i=Math.abs(n-e.endAngle);return n-i*t}var r=e.endAngle<e.startAngle?e.endAngle+o:e.endAngle,a=Math.abs(r-e.startAngle);return e.startAngle+a*t},o=2*Math.PI;this.radius=e.r,this.anticlockwise=e.ac,this.type="Arc",e.startAngle&&e.endAngle?(this.startAngle=e.startAngle,this.endAngle=e.endAngle,this.x1=e.cx+this.radius*Math.cos(e.startAngle),this.y1=e.cy+this.radius*Math.sin(e.startAngle),this.x2=e.cx+this.radius*Math.cos(e.endAngle),this.y2=e.cy+this.radius*Math.sin(e.endAngle)):(this.startAngle=n(e.x1,e.y1),this.endAngle=n(e.x2,e.y2),this.x1=e.x1,this.y1=e.y1,this.x2=e.x2,this.y2=e.y2),this.endAngle<0&&(this.endAngle+=o),this.startAngle<0&&(this.startAngle+=o);var a=this.endAngle<this.startAngle?this.endAngle+o:this.endAngle;this.sweep=Math.abs(a-this.startAngle),this.anticlockwise&&(this.sweep=o-this.sweep);var s=2*Math.PI*this.radius,l=this.sweep/o,u=s*l;this.getLength=function(){return u},this.getBounds=function(){return{minX:e.cx-e.r,maxX:e.cx+e.r,minY:e.cy-e.r,maxY:e.cy+e.r}};var c=1e-10,d=function(e){var t=Math.floor(e),n=Math.ceil(e);return e-t<c?t:n-e<c?n:e};this.pointOnPath=function(t,n){if(0===t)return{x:this.x1,y:this.y1,theta:this.startAngle};if(1===t)return{x:this.x2,y:this.y2,theta:this.endAngle};n&&(t/=u);var i=r(this,t),o=e.cx+e.r*Math.cos(i),a=e.cy+e.r*Math.sin(i);return{x:d(o),y:d(a),theta:i}},this.gradientAtPoint=function(t,n){var r=this.pointOnPath(t,n),o=i.normal([e.cx,e.cy],[r.x,r.y]);return this.anticlockwise||o!==1/0&&o!==-1/0||(o*=-1),o},this.pointAlongPathFrom=function(t,n,i){var r=this.pointOnPath(t,i),o=n/s*2*Math.PI,a=this.anticlockwise?-1:1,l=r.theta+a*o,u=e.cx+this.radius*Math.cos(l),c=e.cy+this.radius*Math.sin(l);return{x:u,y:c}}},Bezier:function(n){this.curve=[{x:n.x1,y:n.y1},{x:n.cp1x,y:n.cp1y},{x:n.cp2x,y:n.cp2y},{x:n.x2,y:n.y2}];var i=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},r=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o=function(e){var t={x:0,y:0};if(0===e)return this.curve[0];var n=this.curve.length-1;if(1===e)return this.curve[n];var i=this.curve,r=1-e;if(0===n)return this.curve[0];if(1===n)return{x:r*i[0].x+e*i[1].x,y:r*i[0].y+e*i[1].y};if(n<4){var o,a,s,l=r*r,u=e*e,c=0;return 2===n?(i=[i[0],i[1],i[2],t],o=l,a=r*e*2,s=u):3===n&&(o=l*r,a=l*e*3,s=r*u*3,c=e*u),{x:o*i[0].x+a*i[1].x+s*i[2].x+c*i[3].x,y:o*i[0].y+a*i[1].y+s*i[2].y+c*i[3].y}}return t}.bind(this),a=function(e){var t=[];e--;for(var n=0;n<=e;n++)t.push(o(n/e));return t},s=function(){i(this.curve)&&(this.length=0);var e=16,t=a(e);this.length=0;for(var n=0;n<e-1;n++){var o=t[n],s=t[n+1];this.length+=r(o,s)}}.bind(this);t.Segments.AbstractSegment.apply(this,arguments);this.bounds={minX:Math.min(n.x1,n.x2,n.cp1x,n.cp2x),minY:Math.min(n.y1,n.y2,n.cp1y,n.cp2y),maxX:Math.max(n.x1,n.x2,n.cp1x,n.cp2x),maxY:Math.max(n.y1,n.y2,n.cp1y,n.cp2y)},this.type="Bezier",s();var l=function(t,n,i){return i&&(n=e.jsBezier.locationAlongCurveFrom(t,n>0?0:1,n)),n};this.pointOnPath=function(t,n){return t=l(this.curve,t,n),e.jsBezier.pointOnCurve(this.curve,t)},this.gradientAtPoint=function(t,n){return t=l(this.curve,t,n),e.jsBezier.gradientAtPoint(this.curve,t)},this.pointAlongPathFrom=function(t,n,i){return t=l(this.curve,t,i),e.jsBezier.pointAlongCurveFrom(this.curve,t,n)},this.getLength=function(){return this.length},this.getBounds=function(){return this.bounds},this.findClosestPointOnPath=function(t,n){var i=e.jsBezier.nearestPointOnCurve({x:t,y:n},this.curve);return{d:Math.sqrt(Math.pow(i.point.x-t,2)+Math.pow(i.point.y-n,2)),x:i.point.x,y:i.point.y,l:1-i.location,s:this}},this.lineIntersection=function(t,n,i,r){return e.jsBezier.lineIntersection(t,n,i,r,this.curve)}}},t.SegmentRenderer={getPath:function(e,t){return{Straight:function(t){var n=e.getCoordinates();return(t?"M "+n.x1+" "+n.y1+" ":"")+"L "+n.x2+" "+n.y2},Bezier:function(t){var n=e.params;return(t?"M "+n.x2+" "+n.y2+" ":"")+"C "+n.cp2x+" "+n.cp2y+" "+n.cp1x+" "+n.cp1y+" "+n.x1+" "+n.y1},Arc:function(t){var n=e.params,i=e.sweep>Math.PI?1:0,r=e.anticlockwise?0:1;return(t?"M"+e.x1+" "+e.y1+" ":"")+"A "+e.radius+" "+n.r+" 0 "+i+","+r+" "+e.x2+" "+e.y2}}[e.type](t)}};var r=function(){this.resetBounds=function(){this.bounds={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}},this.resetBounds()};t.Connectors.AbstractConnector=function(e){r.apply(this,arguments);var o=[],a=0,s=[],l=[],u=e.stub||0,c=n.isArray(u)?u[0]:u,d=n.isArray(u)?u[1]:u,h=e.gap||0,f=n.isArray(h)?h[0]:h,p=n.isArray(h)?h[1]:h,m=null,v=null;this.getPathData=function(){for(var e="",n=0;n<o.length;n++)e+=t.SegmentRenderer.getPath(o[n],0===n),e+=" ";return e},this.findSegmentForPoint=function(e,t){for(var n={d:1/0,s:null,x:null,y:null,l:null},i=0;i<o.length;i++){var r=o[i].findClosestPointOnPath(e,t);r.d<n.d&&(n.d=r.d,n.l=r.l,n.x=r.x,n.y=r.y,n.s=o[i],n.x1=r.x1,n.x2=r.x2,n.y1=r.y1,n.y2=r.y2,n.index=i,n.connectorLocation=s[i][0]+r.l*(s[i][1]-s[i][0]))}return n},this.lineIntersection=function(e,t,n,i){for(var r=[],a=0;a<o.length;a++)r.push.apply(r,o[a].lineIntersection(e,t,n,i));return r},this.boxIntersection=function(e,t,n,i){for(var r=[],a=0;a<o.length;a++)r.push.apply(r,o[a].boxIntersection(e,t,n,i));return r},this.boundingBoxIntersection=function(e){for(var t=[],n=0;n<o.length;n++)t.push.apply(t,o[n].boundingBoxIntersection(e));return t};var g=function(){for(var e=0,t=0;t<o.length;t++){var n=o[t].getLength();l[t]=n/a,s[t]=[e,e+=n/a]}},y=function(e,t){var n,i,r;if(t&&(e=e>0?e/a:(a+e)/a),1===e)n=o.length-1,r=1;else if(0===e)r=0,n=0;else if(e>=.5){for(n=0,r=0,i=s.length-1;i>-1;i--)if(s[i][1]>=e&&s[i][0]<=e){n=i,r=(e-s[i][0])/l[i];break}}else for(n=s.length-1,r=1,i=0;i<s.length;i++)if(s[i][1]>=e){n=i,r=(e-s[i][0])/l[i];break}return{segment:o[n],proportion:r,index:n}},b=function(e,n,i){if(i.x1!==i.x2||i.y1!==i.y2){var r=new t.Segments[n](i);o.push(r),a+=r.getLength(),e.updateBounds(r)}},_=function(){a=o.length=s.length=l.length=0};this.setSegments=function(e){m=[],a=0;for(var t=0;t<e.length;t++)m.push(e[t]),a+=e[t].getLength()},this.getLength=function(){return a};var w=function(e){this.strokeWidth=e.strokeWidth;var t=i.quadrant(e.sourcePos,e.targetPos),n=e.targetPos[0]<e.sourcePos[0],r=e.targetPos[1]<e.sourcePos[1],o=e.strokeWidth||1,a=e.sourceEndpoint.anchor.getOrientation(e.sourceEndpoint),s=e.targetEndpoint.anchor.getOrientation(e.targetEndpoint),l=n?e.targetPos[0]:e.sourcePos[0],u=r?e.targetPos[1]:e.sourcePos[1],h=Math.abs(e.targetPos[0]-e.sourcePos[0]),m=Math.abs(e.targetPos[1]-e.sourcePos[1]);if(0===a[0]&&0===a[1]||0===s[0]&&0===s[1]){var v=h>m?0:1,g=[1,0][v];a=[],s=[],a[v]=e.sourcePos[v]>e.targetPos[v]?-1:1,s[v]=e.sourcePos[v]>e.targetPos[v]?1:-1,a[g]=0,s[g]=0}var y=n?h+f*a[0]:f*a[0],b=r?m+f*a[1]:f*a[1],_=n?p*s[0]:h+p*s[0],w=r?p*s[1]:m+p*s[1],x=a[0]*s[0]+a[1]*s[1],k={sx:y,sy:b,tx:_,ty:w,lw:o,xSpan:Math.abs(_-y),ySpan:Math.abs(w-b),mx:(y+_)/2,my:(b+w)/2,so:a,to:s,x:l,y:u,w:h,h:m,segment:t,startStubX:y+a[0]*c,startStubY:b+a[1]*c,endStubX:_+s[0]*d,endStubY:w+s[1]*d,isXGreaterThanStubTimes2:Math.abs(y-_)>c+d,isYGreaterThanStubTimes2:Math.abs(b-w)>c+d,opposite:-1===x,perpendicular:0===x,orthogonal:1===x,sourceAxis:0===a[0]?"y":"x",points:[l,u,h,m,y,b,_,w],stubs:[c,d]};return k.anchorOrientation=k.opposite?"opposite":k.orthogonal?"orthogonal":"perpendicular",k};this.getSegments=function(){return o},this.updateBounds=function(e){var t=e.getBounds();this.bounds.minX=Math.min(this.bounds.minX,t.minX),this.bounds.maxX=Math.max(this.bounds.maxX,t.maxX),this.bounds.minY=Math.min(this.bounds.minY,t.minY),this.bounds.maxY=Math.max(this.bounds.maxY,t.maxY)};return this.pointOnPath=function(e,t){var n=y(e,t);return n.segment&&n.segment.pointOnPath(n.proportion,!1)||[0,0]},this.gradientAtPoint=function(e,t){var n=y(e,t);return n.segment&&n.segment.gradientAtPoint(n.proportion,!1)||0},this.pointAlongPathFrom=function(e,t,n){var i=y(e,n);return i.segment&&i.segment.pointAlongPathFrom(i.proportion,t,!1)||[0,0]},this.compute=function(e){v=w.call(this,e),_(),this._compute(v,e),this.x=v.points[0],this.y=v.points[1],this.w=v.points[2],this.h=v.points[3],this.segment=v.segment,g()},{addSegment:b,prepareCompute:w,sourceStub:c,targetStub:d,maxStub:Math.max(c,d),sourceGap:f,targetGap:p,maxGap:Math.max(f,p)}},n.extend(t.Connectors.AbstractConnector,r),t.Endpoints.AbstractEndpoint=function(e){r.apply(this,arguments);var t=this.compute=function(e,t,n,i){var r=this._compute.apply(this,arguments);return this.x=r[0],this.y=r[1],this.w=r[2],this.h=r[3],this.bounds.minX=this.x,this.bounds.minY=this.y,this.bounds.maxX=this.x+this.w,this.bounds.maxY=this.y+this.h,r};return{compute:t,cssClass:e.cssClass}},n.extend(t.Endpoints.AbstractEndpoint,r),t.Endpoints.Dot=function(e){this.type="Dot";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.radius=e.radius||10,this.defaultOffset=.5*this.radius,this.defaultInnerRadius=this.radius/3,this._compute=function(e,t,n,i){this.radius=n.radius||this.radius;var r=e[0]-this.radius,o=e[1]-this.radius,a=2*this.radius,s=2*this.radius;if(n.stroke){var l=n.strokeWidth||1;r-=l,o-=l,a+=2*l,s+=2*l}return[r,o,a,s,this.radius]}},n.extend(t.Endpoints.Dot,t.Endpoints.AbstractEndpoint),t.Endpoints.Rectangle=function(e){this.type="Rectangle";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.width=e.width||20,this.height=e.height||20,this._compute=function(e,t,n,i){var r=n.width||this.width,o=n.height||this.height,a=e[0]-r/2,s=e[1]-o/2;return[a,s,r,o]}},n.extend(t.Endpoints.Rectangle,t.Endpoints.AbstractEndpoint);var o=function(e){t.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.displayElements=[]};n.extend(o,t.jsPlumbUIComponent,{getDisplayElements:function(){return this._jsPlumb.displayElements},appendDisplayElement:function(e){this._jsPlumb.displayElements.push(e)}}),t.Endpoints.Image=function(i){this.type="Image",o.apply(this,arguments),t.Endpoints.AbstractEndpoint.apply(this,arguments);var r=i.onload,a=i.src||i.url,s=i.cssClass?" "+i.cssClass:"";this._jsPlumb.img=new Image,this._jsPlumb.ready=!1,this._jsPlumb.initialized=!1,this._jsPlumb.deleted=!1,this._jsPlumb.widthToUse=i.width,this._jsPlumb.heightToUse=i.height,this._jsPlumb.endpoint=i.endpoint,this._jsPlumb.img.onload=function(){null!=this._jsPlumb&&(this._jsPlumb.ready=!0,this._jsPlumb.widthToUse=this._jsPlumb.widthToUse||this._jsPlumb.img.width,this._jsPlumb.heightToUse=this._jsPlumb.heightToUse||this._jsPlumb.img.height,r&&r(this))}.bind(this),this._jsPlumb.endpoint.setImage=function(e,t){var n=e.constructor===String?e:e.src;r=t,this._jsPlumb.img.src=n,null!=this.canvas&&this.canvas.setAttribute("src",this._jsPlumb.img.src)}.bind(this),this._jsPlumb.endpoint.setImage(a,r),this._compute=function(e,t,n,i){return this.anchorPoint=e,this._jsPlumb.ready?[e[0]-this._jsPlumb.widthToUse/2,e[1]-this._jsPlumb.heightToUse/2,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse]:[0,0,0,0]},this.canvas=t.createElement("img",{position:"absolute",margin:0,padding:0,outline:0},this._jsPlumb.instance.endpointClass+s),this._jsPlumb.widthToUse&&this.canvas.setAttribute("width",this._jsPlumb.widthToUse),this._jsPlumb.heightToUse&&this.canvas.setAttribute("height",this._jsPlumb.heightToUse),this._jsPlumb.instance.appendElement(this.canvas),this.actuallyPaint=function(e,t,i){if(!this._jsPlumb.deleted){this._jsPlumb.initialized||(this.canvas.setAttribute("src",this._jsPlumb.img.src),this.appendDisplayElement(this.canvas),this._jsPlumb.initialized=!0);var r=this.anchorPoint[0]-this._jsPlumb.widthToUse/2,o=this.anchorPoint[1]-this._jsPlumb.heightToUse/2;n.sizeElement(this.canvas,r,o,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse)}},this.paint=function(t,n){null!=this._jsPlumb&&(this._jsPlumb.ready?this.actuallyPaint(t,n):e.setTimeout(function(){this.paint(t,n)}.bind(this),200))}},n.extend(t.Endpoints.Image,[o,t.Endpoints.AbstractEndpoint],{cleanup:function(e){e&&(this._jsPlumb.deleted=!0,this.canvas&&this.canvas.parentNode.removeChild(this.canvas),this.canvas=null)}}),t.Endpoints.Blank=function(e){t.Endpoints.AbstractEndpoint.apply(this,arguments);this.type="Blank",o.apply(this,arguments),this._compute=function(e,t,n,i){return[e[0],e[1],10,0]};var i=e.cssClass?" "+e.cssClass:"";this.canvas=t.createElement("div",{display:"block",width:"1px",height:"1px",background:"transparent",position:"absolute"},this._jsPlumb.instance.endpointClass+i),this._jsPlumb.instance.appendElement(this.canvas),this.paint=function(e,t){n.sizeElement(this.canvas,this.x,this.y,this.w,this.h)}},n.extend(t.Endpoints.Blank,[t.Endpoints.AbstractEndpoint,o],{cleanup:function(){this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas)}}),t.Endpoints.Triangle=function(e){this.type="Triangle",t.Endpoints.AbstractEndpoint.apply(this,arguments);var n=this;e=e||{},e.width=e.width||55,e.height=e.height||55,this.width=e.width,this.height=e.height,this._compute=function(e,t,i,r){var o=i.width||n.width,a=i.height||n.height,s=e[0]-o/2,l=e[1]-a/2;return[s,l,o,a]}};var a=t.Overlays.AbstractOverlay=function(e){this.visible=!0,this.isAppendedAtTopLevel=!0,this.component=e.component,this.loc=null==e.location?.5:e.location,this.endpointLoc=null==e.endpointLocation?[.5,.5]:e.endpointLocation,this.visible=!1!==e.visible};a.prototype={cleanup:function(e){e&&(this.component=null,this.canvas=null,this.endpointLoc=null)},reattach:function(e,t){},setVisible:function(e){this.visible=e,this.component.repaint()},isVisible:function(){return this.visible},hide:function(){this.setVisible(!1)},show:function(){this.setVisible(!0)},incrementLocation:function(e){this.loc+=e,this.component.repaint()},setLocation:function(e){this.loc=e,this.component.repaint()},getLocation:function(){return this.loc},updateFrom:function(){}},t.Overlays.Arrow=function(e){this.type="Arrow",a.apply(this,arguments),this.isAppendedAtTopLevel=!1,e=e||{};var r=this;this.length=e.length||20,this.width=e.width||20,this.id=e.id,this.direction=(e.direction||1)<0?-1:1;var o=e.paintStyle||{"stroke-width":1},s=e.foldback||.623;this.computeMaxSize=function(){return 1.5*r.width},this.elementCreated=function(n,i){if(this.path=n,e.events)for(var r in e.events)t.on(n,r,e.events[r])},this.draw=function(e,t){var r,a,l,u,c;if(e.pointAlongPathFrom){if(n.isString(this.loc)||this.loc>1||this.loc<0){var d=parseInt(this.loc,10),h=this.loc<0?1:0;r=e.pointAlongPathFrom(h,d,!1),a=e.pointAlongPathFrom(h,d-this.direction*this.length/2,!1),l=i.pointOnLine(r,a,this.length)}else if(1===this.loc){if(r=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,-this.length),l=i.pointOnLine(r,a,this.length),-1===this.direction){var f=l;l=r,r=f}}else if(0===this.loc){if(l=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,this.length),r=i.pointOnLine(l,a,this.length),-1===this.direction){var p=l;l=r,r=p}}else r=e.pointAlongPathFrom(this.loc,this.direction*this.length/2),a=e.pointOnPath(this.loc),l=i.pointOnLine(r,a,this.length);u=i.perpendicularLineTo(r,l,this.width),c=i.pointOnLine(r,l,s*this.length);var m={hxy:r,tail:u,cxy:c},v=o.stroke||t.stroke,g=o.fill||t.stroke,y=o.strokeWidth||t.strokeWidth;return{component:e,d:m,"stroke-width":y,stroke:v,fill:g,minX:Math.min(r.x,u[0].x,u[1].x),maxX:Math.max(r.x,u[0].x,u[1].x),minY:Math.min(r.y,u[0].y,u[1].y),maxY:Math.max(r.y,u[0].y,u[1].y)}}return{component:e,minX:0,maxX:0,minY:0,maxY:0}}},n.extend(t.Overlays.Arrow,a,{updateFrom:function(e){this.length=e.length||this.length,this.width=e.width||this.width,this.direction=null!=e.direction?e.direction:this.direction,this.foldback=e.foldback||this.foldback},cleanup:function(){this.path&&this.path.parentNode&&this.path.parentNode.removeChild(this.path)}}),t.Overlays.PlainArrow=function(e){e=e||{};var n=t.extend(e,{foldback:1});t.Overlays.Arrow.call(this,n),this.type="PlainArrow"},n.extend(t.Overlays.PlainArrow,t.Overlays.Arrow),t.Overlays.Diamond=function(e){e=e||{};var n=e.length||40,i=t.extend(e,{length:n/2,foldback:2});t.Overlays.Arrow.call(this,i),this.type="Diamond"},n.extend(t.Overlays.Diamond,t.Overlays.Arrow);var s=function(e,t){return(null==e._jsPlumb.cachedDimensions||t)&&(e._jsPlumb.cachedDimensions=e.getDimensions()),e._jsPlumb.cachedDimensions},l=function(e){t.jsPlumbUIComponent.apply(this,arguments),a.apply(this,arguments);var i=this.fire;this.fire=function(){i.apply(this,arguments),this.component&&this.component.fire.apply(this.component,arguments)},this.detached=!1,this.id=e.id,this._jsPlumb.div=null,this._jsPlumb.initialised=!1,this._jsPlumb.component=e.component,this._jsPlumb.cachedDimensions=null,this._jsPlumb.create=e.create,this._jsPlumb.initiallyInvisible=!1===e.visible,this.getElement=function(){if(null==this._jsPlumb.div){var n=this._jsPlumb.div=t.getElement(this._jsPlumb.create(this._jsPlumb.component));n.style.position="absolute",jsPlumb.addClass(n,this._jsPlumb.instance.overlayClass+" "+(this.cssClass?this.cssClass:e.cssClass?e.cssClass:"")),this._jsPlumb.instance.appendElement(n),this._jsPlumb.instance.getId(n),this.canvas=n;var i="translate(-50%, -50%)";n.style.webkitTransform=i,n.style.mozTransform=i,n.style.msTransform=i,n.style.oTransform=i,n.style.transform=i,n._jsPlumb=this,!1===e.visible&&(n.style.display="none")}return this._jsPlumb.div},this.draw=function(e,t,i){var r=s(this);if(null!=r&&2===r.length){var o={x:0,y:0};if(i)o={x:i[0],y:i[1]};else if(e.pointOnPath){var a=this.loc,l=!1;(n.isString(this.loc)||this.loc<0||this.loc>1)&&(a=parseInt(this.loc,10),l=!0),o=e.pointOnPath(a,l)}else{var u=this.loc.constructor===Array?this.loc:this.endpointLoc;o={x:u[0]*e.w,y:u[1]*e.h}}var c=o.x-r[0]/2,d=o.y-r[1]/2;return{component:e,d:{minx:c,miny:d,td:r,cxy:o},minX:c,maxX:c+r[0],minY:d,maxY:d+r[1]}}return{minX:0,maxX:0,minY:0,maxY:0}}};n.extend(l,[t.jsPlumbUIComponent,a],{getDimensions:function(){return[1,1]},setVisible:function(e){this._jsPlumb.div&&(this._jsPlumb.div.style.display=e?"block":"none",e&&this._jsPlumb.initiallyInvisible&&(s(this,!0),this.component.repaint(),this._jsPlumb.initiallyInvisible=!1))},clearCachedDimensions:function(){this._jsPlumb.cachedDimensions=null},cleanup:function(e){e?null!=this._jsPlumb.div&&(this._jsPlumb.div._jsPlumb=null,this._jsPlumb.instance.removeElement(this._jsPlumb.div)):(this._jsPlumb&&this._jsPlumb.div&&this._jsPlumb.div.parentNode&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div),this.detached=!0)},reattach:function(e,t){null!=this._jsPlumb.div&&e.getContainer().appendChild(this._jsPlumb.div),this.detached=!1},computeMaxSize:function(){var e=s(this);return Math.max(e[0],e[1])},paint:function(e,t){this._jsPlumb.initialised||(this.getElement(),e.component.appendDisplayElement(this._jsPlumb.div),this._jsPlumb.initialised=!0,this.detached&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div)),this._jsPlumb.div.style.left=e.component.x+e.d.minx+"px",this._jsPlumb.div.style.top=e.component.y+e.d.miny+"px"}}),t.Overlays.Custom=function(e){this.type="Custom",l.apply(this,arguments)},n.extend(t.Overlays.Custom,l),t.Overlays.GuideLines=function(){var e=this;e.length=50,e.strokeWidth=5,this.type="GuideLines",a.apply(this,arguments),t.jsPlumbUIComponent.apply(this,arguments),this.draw=function(t,n){var r=t.pointAlongPathFrom(e.loc,e.length/2),o=t.pointOnPath(e.loc),a=i.pointOnLine(r,o,e.length),s=i.perpendicularLineTo(r,a,40),l=i.perpendicularLineTo(a,r,20);return{connector:t,head:r,tail:a,headLine:l,tailLine:s,minX:Math.min(r.x,a.x,l[0].x,l[1].x),minY:Math.min(r.y,a.y,l[0].y,l[1].y),maxX:Math.max(r.x,a.x,l[0].x,l[1].x),maxY:Math.max(r.y,a.y,l[0].y,l[1].y)}}},t.Overlays.Label=function(e){this.labelStyle=e.labelStyle;this.cssClass=null!=this.labelStyle?this.labelStyle.cssClass:null;var n=t.extend({create:function(){return t.createElement("div")}},e);if(t.Overlays.Custom.call(this,n),this.type="Label",this.label=e.label||"",this.labelText=null,this.labelStyle){var i=this.getElement();if(this.labelStyle.font=this.labelStyle.font||"12px sans-serif",i.style.font=this.labelStyle.font,i.style.color=this.labelStyle.color||"black",this.labelStyle.fill&&(i.style.background=this.labelStyle.fill),this.labelStyle.borderWidth>0){var r=this.labelStyle.borderStyle?this.labelStyle.borderStyle:"black";i.style.border=this.labelStyle.borderWidth+"px solid "+r}this.labelStyle.padding&&(i.style.padding=this.labelStyle.padding)}},n.extend(t.Overlays.Label,t.Overlays.Custom,{cleanup:function(e){e&&(this.div=null,this.label=null,this.labelText=null,this.cssClass=null,this.labelStyle=null)},getLabel:function(){return this.label},setLabel:function(e){this.label=e,this.labelText=null,this.clearCachedDimensions(),this.update(),this.component.repaint()},getDimensions:function(){return this.update(),l.prototype.getDimensions.apply(this,arguments)},update:function(){if("function"===typeof this.label){var e=this.label(this);this.getElement().innerHTML=e.replace(/\r\n/g,"<br/>")}else null==this.labelText&&(this.labelText=this.label,this.getElement().innerHTML=this.labelText.replace(/\r\n/g,"<br/>"))},updateFrom:function(e){null!=e.label&&this.setLabel(e.label)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumbInstance,i="jtk-group-collapsed",r="jtk-group-expanded",o="[jtk-group-content]",a="elementDraggable",s="stop",l="revert",u="_groupManager",c="_jsPlumbGroup",d="_jsPlumbGroupDrag",h="group:addMember",f="group:removeMember",p="group:add",m="group:remove",v="group:expand",g="group:collapse",y="groupDragStop",b="connectionMoved",_="internal.connectionDetached",w="removeAll",x="orphanAll",k="show",M="hide",S=function(e){var n={},o={},a={},s=this;function l(t,n){var i=e.getContainer(),r=!1;while(!r){if(null==t||t===i)return!1;if(t===n)return!0;t=t.parentNode}}function u(e){delete e.proxies;var n,i=o[e.id];null!=i&&(n=function(t){return t.id===e.id},t.removeWithFunction(i.connections.source,n),t.removeWithFunction(i.connections.target,n),delete o[e.id]),i=a[e.id],null!=i&&(n=function(t){return t.id===e.id},t.removeWithFunction(i.connections.source,n),t.removeWithFunction(i.connections.target,n),delete a[e.id])}function d(t,n){for(var i=t.getEl().querySelectorAll(".jtk-managed"),r=0;r<i.length;r++)e[n?k:M](i[r],!0)}e.bind("connection",(function(n){var i=e.getGroupFor(n.source),r=e.getGroupFor(n.target);null!=i&&null!=r&&i===r?(o[n.connection.id]=i,a[n.connection.id]=i):(null!=i&&(t.suggest(i.connections.source,n.connection),o[n.connection.id]=i),null!=r&&(t.suggest(r.connections.target,n.connection),a[n.connection.id]=r))})),e.bind(_,(function(e){u(e.connection)})),e.bind(b,(function(e){var t=0===e.index?o:a,n=t[e.connection.id];if(n){var i=n.connections[0===e.index?"source":"target"],r=i.indexOf(e.connection);-1!==r&&i.splice(r,1)}})),this.addGroup=function(t){e.addClass(t.getEl(),r),n[t.id]=t,t.manager=this,S(t),e.fire(p,{group:t})},this.addToGroup=function(t,n,i){if(t=this.getGroup(t),t){var r=t.getEl();if(n._isJsPlumbGroup)return;var o=n._jsPlumbGroup;if(o!==t){e.removeFromDragSelection(n);var a=e.getOffset(n,!0),l=t.collapsed?e.getOffset(r,!0):e.getOffset(t.getDragArea(),!0);null!=o&&(o.remove(n,!1,i,!1,t),s.updateConnectionsForGroup(o)),t.add(n,i);var u=function(e,n){var i=0===n?1:0;e.each((function(e){e.setVisible(!1),e.endpoints[i].element._jsPlumbGroup===t?(e.endpoints[i].setVisible(!1),y(e,i,t)):(e.endpoints[n].setVisible(!1),f(e,n,t))}))};t.collapsed&&(u(e.select({source:n}),0),u(e.select({target:n}),1));var c=e.getId(n);e.dragManager.setParent(n,c,r,e.getId(r),a);var d={left:a.left-l.left,top:a.top-l.top};if(e.setPosition(n,d),e.dragManager.revalidateParent(n,c,a),s.updateConnectionsForGroup(t),e.revalidate(c),!i){var p={group:t,el:n,pos:d};o&&(p.sourceGroup=o),e.fire(h,p)}}}},this.removeFromGroup=function(e,t,n){if(e=this.getGroup(e),e){if(e.collapsed){var i=function(n,i){for(var r=0;r<n.length;r++){var o=n[r];if(o.proxies)for(var a=0;a<o.proxies.length;a++)if(null!=o.proxies[a]){var s=o.proxies[a].originalEp.element;(s===t||l(s,t))&&y(o,i,e)}}};i(e.connections.source.slice(),0),i(e.connections.target.slice(),1)}e.remove(t,null,n)}},this.getGroup=function(e){var i=e;if(t.isString(e)&&(i=n[e],null==i))throw new TypeError("No such group ["+e+"]");return i},this.getGroups=function(){var e=[];for(var t in n)e.push(n[t]);return e},this.removeGroup=function(t,i,r,o){t=this.getGroup(t),this.expandGroup(t,!0);var a=t[i?w:x](r,o);return e.remove(t.getEl()),delete n[t.id],delete e._groups[t.id],e.fire(m,{group:t}),a},this.removeAllGroups=function(e,t,i){for(var r in n)this.removeGroup(n[r],e,t,i)};var f=function(t,n,i){var r=t.endpoints[0===n?1:0].element;if(!r[c]||r[c].shouldProxy()||!r[c].collapsed){var o=i.getEl(),a=e.getId(o);e.proxyConnection(t,n,o,a,(function(e,t){return i.getEndpoint(e,t)}),(function(e,t){return i.getAnchor(e,t)}))}};this.collapseGroup=function(t){if(t=this.getGroup(t),null!=t&&!t.collapsed){var n=t.getEl();if(d(t,!1),t.shouldProxy()){var o=function(e,n){for(var i=0;i<e.length;i++){var r=e[i];f(r,n,t)}};o(t.connections.source,0),o(t.connections.target,1)}t.collapsed=!0,e.removeClass(n,r),e.addClass(n,i),e.revalidate(n),e.fire(g,{group:t})}};var y=function(t,n,i){e.unproxyConnection(t,n,e.getId(i.getEl()))};function S(t){for(var n=t.getMembers().slice(),i=[],r=0;r<n.length;r++)Array.prototype.push.apply(i,n[r].querySelectorAll(".jtk-managed"));Array.prototype.push.apply(n,i);var s=e.getConnections({source:n,scope:"*"},!0),l=e.getConnections({target:n,scope:"*"},!0),u={};t.connections.source.length=0,t.connections.target.length=0;var c=function(n){for(var i=0;i<n.length;i++)if(!u[n[i].id]){u[n[i].id]=!0;var r=e.getGroupFor(n[i].source),s=e.getGroupFor(n[i].target);r===t?(s!==t&&t.connections.source.push(n[i]),o[n[i].id]=t):s===t&&(t.connections.target.push(n[i]),a[n[i].id]=t)}};c(s),c(l)}this.expandGroup=function(t,n){if(t=this.getGroup(t),null!=t&&t.collapsed){var o=t.getEl();if(d(t,!0),t.shouldProxy()){var a=function(e,n){for(var i=0;i<e.length;i++){var r=e[i];y(r,n,t)}};a(t.connections.source,0),a(t.connections.target,1)}t.collapsed=!1,e.addClass(o,r),e.removeClass(o,i),e.revalidate(o),this.repaintGroup(t),n||e.fire(v,{group:t})}},this.repaintGroup=function(t){t=this.getGroup(t);for(var n=t.getMembers(),i=0;i<n.length;i++)e.revalidate(n[i])},this.updateConnectionsForGroup=S,this.refreshAllGroups=function(){for(var t in n)S(n[t]),e.dragManager.updateOffsets(e.getId(n[t].getEl()))}},C=function(n,i){var r=this,u=i.el;this.getEl=function(){return u},this.id=i.id||t.uuid(),u._isJsPlumbGroup=!0;var h=this.getDragArea=function(){var e=n.getSelector(u,o);return e&&e.length>0?e[0]:u},p=!0===i.ghost,m=p||!0===i.constrain,v=!1!==i.revert,g=!0===i.orphan,b=!0===i.prune,_=!0===i.dropOverride,w=!1!==i.proxied,x=[];if(this.connections={source:[],target:[],internal:[]},this.getAnchor=function(e,t){return i.anchor||"Continuous"},this.getEndpoint=function(e,t){return i.endpoint||["Dot",{radius:10}]},this.collapsed=!1,!1!==i.draggable){var k={drag:function(){for(var e=0;e<x.length;e++)n.draw(x[e])},stop:function(e){n.fire(y,jsPlumb.extend(e,{group:r}))},scope:d};i.dragOptions&&e.jsPlumb.extend(k,i.dragOptions),n.draggable(i.el,k)}!1!==i.droppable&&n.droppable(i.el,{drop:function(e){var t=e.drag.el;if(!t._isJsPlumbGroup){var i=t._jsPlumbGroup;if(i!==r){if(null!=i&&i.overrideDrop(t,r))return;n.getGroupManager().addToGroup(r,t,!1)}}}});var M=function(e,t){for(var n=null==e.nodeType?e:[e],i=0;i<n.length;i++)t(n[i])};function S(e){return e.offsetParent}function C(e,t){var i=S(e),r=n.getSize(i),o=n.getSize(e),a=t[0],s=a+o[0],l=t[1],u=l+o[1];return s>0&&a<r[0]&&u>0&&l<r[1]}function D(e){var t=n.getId(e),i=n.getOffset(e);return e.parentNode.removeChild(e),n.getContainer().appendChild(e),n.setPosition(e,i),E(e),n.dragManager.clearParent(e,t),[t,i]}function L(e){var t=[];function i(e,t,i){var r=null;if(!C(e,[t,i])){var o=e._jsPlumbGroup;b?n.remove(e):r=D(e),o.remove(e)}return r}for(var r=0;r<e.selection.length;r++)t.push(i(e.selection[r][0],e.selection[r][1].left,e.selection[r][1].top));return 1===t.length?t[0]:t}function T(e){var t=n.getId(e);n.revalidate(e),n.dragManager.revalidateParent(e,t)}function E(e){e._katavorioDrag&&((b||g)&&e._katavorioDrag.off(s,L),b||g||!v||(e._katavorioDrag.off(l,T),e._katavorioDrag.setRevert(null)))}function P(e){e._katavorioDrag&&((b||g)&&e._katavorioDrag.on(s,L),m&&e._katavorioDrag.setConstrain(!0),p&&e._katavorioDrag.setUseGhostProxy(!0),b||g||!v||(e._katavorioDrag.on(l,T),e._katavorioDrag.setRevert((function(e,t){return!C(e,t)}))))}this.overrideDrop=function(e,t){return _&&(v||b||g)},this.add=function(e,t){var i=h();M(e,(function(e){if(null!=e._jsPlumbGroup){if(e._jsPlumbGroup===r)return;e._jsPlumbGroup.remove(e,!0,t,!1)}e._jsPlumbGroup=r,x.push(e),n.isAlreadyDraggable(e)&&P(e),e.parentNode!==i&&i.appendChild(e)})),n.getGroupManager().updateConnectionsForGroup(r)},this.remove=function(e,i,o,a,s){M(e,(function(e){if(e._jsPlumbGroup===r){if(delete e._jsPlumbGroup,t.removeWithFunction(x,(function(t){return t===e})),i)try{r.getDragArea().removeChild(e)}catch(l){jsPlumbUtil.log("Could not remove element from Group "+l)}if(E(e),!o){var a={group:r,el:e};s&&(a.targetGroup=s),n.fire(f,a)}}})),a||n.getGroupManager().updateConnectionsForGroup(r)},this.removeAll=function(e,t){for(var i=0,o=x.length;i<o;i++){var a=x[0];r.remove(a,e,t,!0),n.remove(a,!0)}x.length=0,n.getGroupManager().updateConnectionsForGroup(r)},this.orphanAll=function(){for(var e={},t=0;t<x.length;t++){var n=D(x[t]);e[n[0]]=n[1]}return x.length=0,e},this.getMembers=function(){return x},u[c]=this,n.bind(a,function(e){e.el._jsPlumbGroup===this&&P(e.el)}.bind(this)),this.shouldProxy=function(){return w},n.getGroupManager().addGroup(this)};n.prototype.addGroup=function(e){var t=this;if(t._groups=t._groups||{},null!=t._groups[e.id])throw new TypeError("cannot create Group ["+e.id+"]; a Group with that ID exists");if(null!=e.el[c])throw new TypeError("cannot create Group ["+e.id+"]; the given element is already a Group");var n=new C(t,e);return t._groups[n.id]=n,e.collapsed&&this.collapseGroup(n),n},n.prototype.addToGroup=function(e,t,n){var i=function(t){var i=this.getId(t);this.manage(i,t),this.getGroupManager().addToGroup(e,t,n)}.bind(this);if(Array.isArray(t))for(var r=0;r<t.length;r++)i(t[r]);else i(t)},n.prototype.removeFromGroup=function(e,t,n){this.getGroupManager().removeFromGroup(e,t,n),this.getContainer().appendChild(t)},n.prototype.removeGroup=function(e,t,n,i){return this.getGroupManager().removeGroup(e,t,n,i)},n.prototype.removeAllGroups=function(e,t,n){this.getGroupManager().removeAllGroups(e,t,n)},n.prototype.getGroup=function(e){return this.getGroupManager().getGroup(e)},n.prototype.getGroups=function(){return this.getGroupManager().getGroups()},n.prototype.expandGroup=function(e){this.getGroupManager().expandGroup(e)},n.prototype.collapseGroup=function(e){this.getGroupManager().collapseGroup(e)},n.prototype.repaintGroup=function(e){this.getGroupManager().repaintGroup(e)},n.prototype.toggleGroup=function(e){e=this.getGroupManager().getGroup(e),null!=e&&this.getGroupManager()[e.collapsed?"expandGroup":"collapseGroup"](e)},n.prototype.getGroupManager=function(){var e=this[u];return null==e&&(e=this[u]=new S(this)),e},n.prototype.removeGroupManager=function(){delete this[u]},n.prototype.getGroupFor=function(e){if(e=this.getElement(e),e){var t=this.getContainer(),n=!1,i=null;while(!n)null==e||e===t?n=!0:e[c]?(i=e[c],e,n=!0):e=e.parentNode;return i}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="Straight",r="Arc",o=function(e){this.type="Flowchart",e=e||{},e.stub=null==e.stub?30:e.stub;var n,o=t.Connectors.AbstractConnector.apply(this,arguments),a=null==e.midpoint||isNaN(e.midpoint)?.5:e.midpoint,s=!0===e.alwaysRespectStubs,l=null,u=null,c=null!=e.cornerRadius?e.cornerRadius:0,d=(e.loopbackRadius,function(e){return e<0?-1:0===e?0:1}),h=function(e){return[d(e[2]-e[0]),d(e[3]-e[1])]},f=function(e,t,n,i){if(l!==t||u!==n){var r=null==l?i.sx:l,o=null==u?i.sy:u,a=r===t?"v":"h";l=t,u=n,e.push([r,o,t,n,a])}},p=function(e){return Math.sqrt(Math.pow(e[0]-e[2],2)+Math.pow(e[1]-e[3],2))},m=function(e){var t=[];return t.push.apply(t,e),t},v=function(e,t,n){for(var a,s,l,u=null,d=0;d<t.length-1;d++){if(u=u||m(t[d]),a=m(t[d+1]),s=h(u),l=h(a),c>0&&u[4]!==a[4]){var f=Math.min(p(u),p(a)),v=Math.min(c,f/2);u[2]-=s[0]*v,u[3]-=s[1]*v,a[0]+=l[0]*v,a[1]+=l[1]*v;var g=s[1]===l[0]&&1===l[0]||s[1]===l[0]&&0===l[0]&&s[0]!==l[1]||s[1]===l[0]&&-1===l[0],y=a[1]>u[3]?1:-1,b=a[0]>u[2]?1:-1,_=y===b,w=_&&g||!_&&!g?a[0]:u[2],x=_&&g||!_&&!g?u[3]:a[1];o.addSegment(e,i,{x1:u[0],y1:u[1],x2:u[2],y2:u[3]}),o.addSegment(e,r,{r:v,x1:u[2],y1:u[3],x2:a[0],y2:a[1],cx:w,cy:x,ac:g})}else{var k=u[2]===u[0]?0:u[2]>u[0]?n.lw/2:-n.lw/2,M=u[3]===u[1]?0:u[3]>u[1]?n.lw/2:-n.lw/2;o.addSegment(e,i,{x1:u[0]-k,y1:u[1]-M,x2:u[2]+k,y2:u[3]+M})}u=a}null!=a&&o.addSegment(e,i,{x1:a[0],y1:a[1],x2:a[2],y2:a[3]})};this.midpoint=a,this._compute=function(e,t){n=[],l=null,u=null,null;var i=function(){return[e.startStubX,e.startStubY,e.endStubX,e.endStubY]},r={perpendicular:i,orthogonal:i,opposite:function(t){var n=e,i="x"===t?0:1,r={x:function(){return 1===n.so[i]&&(n.startStubX>n.endStubX&&n.tx>n.startStubX||n.sx>n.endStubX&&n.tx>n.sx)||-1===n.so[i]&&(n.startStubX<n.endStubX&&n.tx<n.startStubX||n.sx<n.endStubX&&n.tx<n.sx)},y:function(){return 1===n.so[i]&&(n.startStubY>n.endStubY&&n.ty>n.startStubY||n.sy>n.endStubY&&n.ty>n.sy)||-1===n.so[i]&&(n.startStubY<n.endStubY&&n.ty<n.startStubY||n.sy<n.endStubY&&n.ty<n.sy)}};return!s&&r[t]()?{x:[(e.sx+e.tx)/2,e.startStubY,(e.sx+e.tx)/2,e.endStubY],y:[e.startStubX,(e.sy+e.ty)/2,e.endStubX,(e.sy+e.ty)/2]}[t]:[e.startStubX,e.startStubY,e.endStubX,e.endStubY]}},c=r[e.anchorOrientation](e.sourceAxis),d="x"===e.sourceAxis?0:1,h="x"===e.sourceAxis?1:0,p=c[d],m=c[h],g=c[d+2],y=c[h+2];f(n,c[0],c[1],e);var b=e.startStubX+(e.endStubX-e.startStubX)*a,_=e.startStubY+(e.endStubY-e.startStubY)*a,w={x:[0,1],y:[1,0]},x={perpendicular:function(t){var n=e,i={x:[[[1,2,3,4],null,[2,1,4,3]],null,[[4,3,2,1],null,[3,4,1,2]]],y:[[[3,2,1,4],null,[2,3,4,1]],null,[[4,1,2,3],null,[1,4,3,2]]]},r={x:[[n.startStubX,n.endStubX],null,[n.endStubX,n.startStubX]],y:[[n.startStubY,n.endStubY],null,[n.endStubY,n.startStubY]]},o={x:[[b,n.startStubY],[b,n.endStubY]],y:[[n.startStubX,_],[n.endStubX,_]]},a={x:[[n.endStubX,n.startStubY]],y:[[n.startStubX,n.endStubY]]},s={x:[[n.startStubX,n.endStubY],[n.endStubX,n.endStubY]],y:[[n.endStubX,n.startStubY],[n.endStubX,n.endStubY]]},l={x:[[n.startStubX,_],[n.endStubX,_],[n.endStubX,n.endStubY]],y:[[b,n.startStubY],[b,n.endStubY],[n.endStubX,n.endStubY]]},u={x:[n.startStubY,n.endStubY],y:[n.startStubX,n.endStubX]},c=w[t][0],d=w[t][1],h=n.so[c]+1,f=n.to[d]+1,p=-1===n.to[d]&&u[t][1]<u[t][0]||1===n.to[d]&&u[t][1]>u[t][0],m=r[t][h][0],v=r[t][h][1],g=i[t][h][f];return n.segment===g[3]||n.segment===g[2]&&p?o[t]:n.segment===g[2]&&v<m?a[t]:n.segment===g[2]&&v>=m||n.segment===g[1]&&!p?l[t]:n.segment===g[0]||n.segment===g[1]&&p?s[t]:void 0},orthogonal:function(t,n,i,r,o){var a=e,s={x:-1===a.so[0]?Math.min(n,r):Math.max(n,r),y:-1===a.so[1]?Math.min(n,r):Math.max(n,r)}[t];return{x:[[s,i],[s,o],[r,o]],y:[[i,s],[o,s],[o,r]]}[t]},opposite:function(n,i,r,a){var s=e,l={x:"y",y:"x"}[n],u={x:"height",y:"width"}[n],c=s["is"+n.toUpperCase()+"GreaterThanStubTimes2"];if(t.sourceEndpoint.elementId===t.targetEndpoint.elementId){var h=r+(1-t.sourceEndpoint.anchor[l])*t.sourceInfo[u]+o.maxStub;return{x:[[i,h],[a,h]],y:[[h,i],[h,a]]}[n]}return!c||1===s.so[d]&&i>a||-1===s.so[d]&&i<a?{x:[[i,_],[a,_]],y:[[b,i],[b,a]]}[n]:1===s.so[d]&&i<a||-1===s.so[d]&&i>a?{x:[[b,s.sy],[b,s.ty]],y:[[s.sx,_],[s.tx,_]]}[n]:void 0}},k=x[e.anchorOrientation](e.sourceAxis,p,m,g,y);if(k)for(var M=0;M<k.length;M++)f(n,k[M][0],k[M][1],e);f(n,c[2],c[3],e),f(n,e.tx,e.ty,e),v(this,n,e)}};t.Connectors.Flowchart=o,n.extend(t.Connectors.Flowchart,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil;t.Connectors.AbstractBezierConnector=function(e){e=e||{};var n,i=!1!==e.showLoopback,r=(e.curviness,e.margin||5),o=(e.proximityLimit,e.orientation&&"clockwise"===e.orientation),a=e.loopbackRadius||25;return this._compute=function(e,t){var s=t.sourcePos,l=t.targetPos,u=Math.abs(s[0]-l[0]),c=Math.abs(s[1]-l[1]);if(i&&t.sourceEndpoint.elementId===t.targetEndpoint.elementId){!0;var d=t.sourcePos[0],h=t.sourcePos[1]-r,f=d,p=h-a,m=f-a,v=p-a;u=2*a,c=2*a,e.points[0]=m,e.points[1]=v,e.points[2]=u,e.points[3]=c,n.addSegment(this,"Arc",{loopback:!0,x1:d-m+4,y1:h-v,startAngle:0,endAngle:2*Math.PI,r:a,ac:!o,x2:d-m-4,y2:h-v,cx:f-m,cy:p-v})}else!1,this._computeBezier(e,t,s,l,u,c)},n=t.Connectors.AbstractConnector.apply(this,arguments),n},n.extend(t.Connectors.AbstractBezierConnector,t.Connectors.AbstractConnector);var i=function(e){e=e||{},this.type="Bezier";var n=t.Connectors.AbstractBezierConnector.apply(this,arguments),i=e.curviness||150,r=10;this.getCurviness=function(){return i},this._findControlPoint=function(e,t,n,o,a,s,l){var u=s[0]!==l[0]||s[1]===l[1],c=[];return u?(0===l[0]?c.push(n[0]<t[0]?e[0]+r:e[0]-r):c.push(e[0]+i*l[0]),0===l[1]?c.push(n[1]<t[1]?e[1]+r:e[1]-r):c.push(e[1]+i*s[1])):(0===s[0]?c.push(t[0]<n[0]?e[0]+r:e[0]-r):c.push(e[0]-i*s[0]),0===s[1]?c.push(t[1]<n[1]?e[1]+r:e[1]-r):c.push(e[1]+i*l[1])),c},this._computeBezier=function(e,t,i,r,o,a){var s,l,u=i[0]<r[0]?o:0,c=i[1]<r[1]?a:0,d=i[0]<r[0]?0:o,h=i[1]<r[1]?0:a;s=this._findControlPoint([u,c],i,r,t.sourceEndpoint,t.targetEndpoint,e.so,e.to),l=this._findControlPoint([d,h],r,i,t.targetEndpoint,t.sourceEndpoint,e.to,e.so),n.addSegment(this,"Bezier",{x1:u,y1:c,x2:d,y2:h,cp1x:s[0],cp1y:s[1],cp2x:l[0],cp2y:l[1]})}};t.Connectors.Bezier=i,n.extend(i,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,t,n,i){return e<=n&&i<=t?1:e<=n&&t<=i?2:n<=e&&i>=t?3:4},r=function(e,t,n,i,r,o,a,s,l){return s<=l?[e,t]:1===n?i[3]<=0&&r[3]>=1?[e+(i[2]<.5?-1*o:o),t]:i[2]>=1&&r[2]<=0?[e,t+(i[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:2===n?i[3]>=1&&r[3]<=0?[e+(i[2]<.5?-1*o:o),t]:i[2]>=1&&r[2]<=0?[e,t+(i[3]<.5?-1*a:a)]:[e+o,t+-1*a]:3===n?i[3]>=1&&r[3]<=0?[e+(i[2]<.5?-1*o:o),t]:i[2]<=0&&r[2]>=1?[e,t+(i[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:4===n?i[3]<=0&&r[3]>=1?[e+(i[2]<.5?-1*o:o),t]:i[2]<=0&&r[2]>=1?[e,t+(i[3]<.5?-1*a:a)]:[e+o,t+-1*a]:void 0},o=function(e){e=e||{},this.type="StateMachine";var n,o=t.Connectors.AbstractBezierConnector.apply(this,arguments),a=e.curviness||10,s=e.margin||5,l=e.proximityLimit||80;e.orientation&&e.orientation;this._computeBezier=function(e,t,u,c,d,h){var f=t.sourcePos[0]<t.targetPos[0]?0:d,p=t.sourcePos[1]<t.targetPos[1]?0:h,m=t.sourcePos[0]<t.targetPos[0]?d:0,v=t.sourcePos[1]<t.targetPos[1]?h:0;0===t.sourcePos[2]&&(f-=s),1===t.sourcePos[2]&&(f+=s),0===t.sourcePos[3]&&(p-=s),1===t.sourcePos[3]&&(p+=s),0===t.targetPos[2]&&(m-=s),1===t.targetPos[2]&&(m+=s),0===t.targetPos[3]&&(v-=s),1===t.targetPos[3]&&(v+=s);var g,y,b,_,w=(f+m)/2,x=(p+v)/2,k=i(f,p,m,v),M=Math.sqrt(Math.pow(m-f,2)+Math.pow(v-p,2));n=r(w,x,k,t.sourcePos,t.targetPos,a,a,M,l),g=n[0],y=n[0],b=n[1],_=n[1],o.addSegment(this,"Bezier",{x1:m,y1:v,x2:f,y2:p,cp1x:g,cp1y:b,cp2x:y,cp2y:_})}};t.Connectors.StateMachine=o,n.extend(o,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="Straight",r=function(e){this.type=i;var n=t.Connectors.AbstractConnector.apply(this,arguments);this._compute=function(e,t){n.addSegment(this,i,{x1:e.sx,y1:e.sy,x2:e.startStubX,y2:e.startStubY}),n.addSegment(this,i,{x1:e.startStubX,y1:e.startStubY,x2:e.endStubX,y2:e.endStubY}),n.addSegment(this,i,{x1:e.endStubX,y1:e.endStubY,x2:e.tx,y2:e.ty})}};t.Connectors.Straight=r,n.extend(r,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i={"stroke-linejoin":"stroke-linejoin","stroke-dashoffset":"stroke-dashoffset","stroke-linecap":"stroke-linecap"},r="stroke-dasharray",o="dashstyle",a="linearGradient",s="radialGradient",l="defs",u="fill",c="stop",d="stroke",h="stroke-width",f="style",p="none",m="jsplumb_gradient_",v="strokeWidth",g={svg:"http://www.w3.org/2000/svg"},y=function(e,t){for(var n in t)e.setAttribute(n,""+t[n])},b=function(e,n){return n=n||{},n.version="1.1",n.xmlns=g.svg,t.createElementNS(g.svg,e,null,null,n)},_=function(e){return"position:absolute;left:"+e[0]+"px;top:"+e[1]+"px"},w=function(e){for(var t=e.querySelectorAll(" defs,linearGradient,radialGradient"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])},x=function(e,t,n,i,r){var o,h=m+r._jsPlumb.instance.idstamp();w(e),o=n.gradient.offset?b(s,{id:h}):b(a,{id:h,gradientUnits:"userSpaceOnUse"});var f=b(l);e.appendChild(f),f.appendChild(o);for(var p=0;p<n.gradient.stops.length;p++){var v=1===r.segment||2===r.segment?p:n.gradient.stops.length-1-p,g=n.gradient.stops[v][1],y=b(c,{offset:Math.floor(100*n.gradient.stops[p][0])+"%","stop-color":g});o.appendChild(y)}var _=n.stroke?d:u;t.setAttribute(_,"url(#"+h+")")},k=function(e,t,n,a,s){if(t.setAttribute(u,n.fill?n.fill:p),t.setAttribute(d,n.stroke?n.stroke:p),n.gradient?x(e,t,n,a,s):(w(e),t.setAttribute(f,"")),n.strokeWidth&&t.setAttribute(h,n.strokeWidth),n[o]&&n[v]&&!n[r]){var l=-1===n[o].indexOf(",")?" ":",",c=n[o].split(l),m="";c.forEach((function(e){m+=Math.floor(e*n.strokeWidth)+l})),t.setAttribute(r,m)}else n[r]&&t.setAttribute(r,n[r]);for(var g in i)n[g]&&t.setAttribute(i[g],n[g])},M=function(e,t,n){e.childNodes.length>n?e.insertBefore(t,e.childNodes[n]):e.appendChild(t)};n.svg={node:b,attr:y,pos:_};var S=function(e){var i=e.pointerEventsSpec||"all",r={};t.jsPlumbUIComponent.apply(this,e.originalArgs),this.canvas=null,this.path=null,this.svg=null,this.bgCanvas=null;var o=e.cssClass+" "+(e.originalArgs[0].cssClass||""),a={style:"",width:0,height:0,"pointer-events":i,position:"absolute"};this.svg=b("svg",a),e.useDivWrapper?(this.canvas=t.createElement("div",{position:"absolute"}),n.sizeElement(this.canvas,0,0,1,1),this.canvas.className=o):(y(this.svg,{class:o}),this.canvas=this.svg),e._jsPlumb.appendElement(this.canvas,e.originalArgs[0].parent),e.useDivWrapper&&this.canvas.appendChild(this.svg);var s=[this.canvas];return this.getDisplayElements=function(){return s},this.appendDisplayElement=function(e){s.push(e)},this.paint=function(t,i,o){if(null!=t){var a,s=[this.x,this.y],l=[this.w,this.h];null!=o&&(o.xmin<0&&(s[0]+=o.xmin),o.ymin<0&&(s[1]+=o.ymin),l[0]=o.xmax+(o.xmin<0?-o.xmin:0),l[1]=o.ymax+(o.ymin<0?-o.ymin:0)),e.useDivWrapper?(n.sizeElement(this.canvas,s[0],s[1],l[0]>0?l[0]:1,l[1]>0?l[1]:1),s[0]=0,s[1]=0,a=_([0,0])):a=_([s[0],s[1]]),r.paint.apply(this,arguments),y(this.svg,{style:a,width:l[0]||1,height:l[1]||1})}},{renderer:r}};n.extend(S,t.jsPlumbUIComponent,{cleanup:function(e){e||null==this.typeId?(this.canvas&&(this.canvas._jsPlumb=null),this.svg&&(this.svg._jsPlumb=null),this.bgCanvas&&(this.bgCanvas._jsPlumb=null),this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.svg=null,this.canvas=null,this.path=null,this.group=null,this._jsPlumb=null):(this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.bgCanvas.parentNode.removeChild(this.bgCanvas))},reattach:function(e){var t=e.getContainer();this.canvas&&null==this.canvas.parentNode&&t.appendChild(this.canvas),this.bgCanvas&&null==this.bgCanvas.parentNode&&t.appendChild(this.bgCanvas)},setVisible:function(e){this.canvas&&(this.canvas.style.display=e?"block":"none")}}),t.ConnectorRenderers.svg=function(e){var n=this,i=S.apply(this,[{cssClass:e._jsPlumb.connectorClass,originalArgs:arguments,pointerEventsSpec:"none",_jsPlumb:e._jsPlumb}]);i.renderer.paint=function(i,r,o){var a=n.getSegments(),s="",l=[0,0];if(o.xmin<0&&(l[0]=-o.xmin),o.ymin<0&&(l[1]=-o.ymin),a.length>0){s=n.getPathData();var u={d:s,transform:"translate("+l[0]+","+l[1]+")","pointer-events":e["pointer-events"]||"visibleStroke"},c=null,d=[n.x,n.y,n.w,n.h];if(i.outlineStroke){var h=i.outlineWidth||1,f=i.strokeWidth+2*h;c=t.extend({},i),delete c.gradient,c.stroke=i.outlineStroke,c.strokeWidth=f,null==n.bgPath?(n.bgPath=b("path",u),t.addClass(n.bgPath,t.connectorOutlineClass),M(n.svg,n.bgPath,0)):y(n.bgPath,u),k(n.svg,n.bgPath,c,d,n)}null==n.path?(n.path=b("path",u),M(n.svg,n.path,i.outlineStroke?1:0)):y(n.path,u),k(n.svg,n.path,i,d,n)}}},n.extend(t.ConnectorRenderers.svg,S);var C=t.SvgEndpoint=function(e){var n=S.apply(this,[{cssClass:e._jsPlumb.endpointClass,originalArgs:arguments,pointerEventsSpec:"all",useDivWrapper:!0,_jsPlumb:e._jsPlumb}]);n.renderer.paint=function(e){var n=t.extend({},e);n.outlineStroke&&(n.stroke=n.outlineStroke),null==this.node?(this.node=this.makeNode(n),this.svg.appendChild(this.node)):null!=this.updateNode&&this.updateNode(this.node),k(this.svg,this.node,n,[this.x,this.y,this.w,this.h],this),_(this.node,[this.x,this.y])}.bind(this)};n.extend(C,S),t.Endpoints.svg.Dot=function(){t.Endpoints.Dot.apply(this,arguments),C.apply(this,arguments),this.makeNode=function(e){return b("circle",{cx:this.w/2,cy:this.h/2,r:this.radius})},this.updateNode=function(e){y(e,{cx:this.w/2,cy:this.h/2,r:this.radius})}},n.extend(t.Endpoints.svg.Dot,[t.Endpoints.Dot,C]),t.Endpoints.svg.Rectangle=function(){t.Endpoints.Rectangle.apply(this,arguments),C.apply(this,arguments),this.makeNode=function(e){return b("rect",{width:this.w,height:this.h})},this.updateNode=function(e){y(e,{width:this.w,height:this.h})}},n.extend(t.Endpoints.svg.Rectangle,[t.Endpoints.Rectangle,C]),t.Endpoints.svg.Image=t.Endpoints.Image,t.Endpoints.svg.Blank=t.Endpoints.Blank,t.Overlays.svg.Label=t.Overlays.Label,t.Overlays.svg.Custom=t.Overlays.Custom;var D=function(e,n){e.apply(this,n),t.jsPlumbUIComponent.apply(this,n),this.isAppendedAtTopLevel=!1;this.path=null,this.paint=function(e,t){if(e.component.svg&&t){null==this.path&&(this.path=b("path",{"pointer-events":"all"}),e.component.svg.appendChild(this.path),this.elementCreated&&this.elementCreated(this.path,e.component),this.canvas=e.component.svg);var r=n&&1===n.length&&n[0].cssClass||"",o=[0,0];t.xmin<0&&(o[0]=-t.xmin),t.ymin<0&&(o[1]=-t.ymin),y(this.path,{d:i(e.d),class:r,stroke:e.stroke?e.stroke:null,fill:e.fill?e.fill:null,transform:"translate("+o[0]+","+o[1]+")"})}};var i=function(e){return isNaN(e.cxy.x)||isNaN(e.cxy.y)?"":"M"+e.hxy.x+","+e.hxy.y+" L"+e.tail[0].x+","+e.tail[0].y+" L"+e.cxy.x+","+e.cxy.y+" L"+e.tail[1].x+","+e.tail[1].y+" L"+e.hxy.x+","+e.hxy.y};this.transfer=function(e){e.canvas&&this.path&&this.path.parentNode&&(this.path.parentNode.removeChild(this.path),e.canvas.appendChild(this.path))}},L={cleanup:function(e){null!=this.path&&(e?this._jsPlumb.instance.removeElement(this.path):this.path.parentNode&&this.path.parentNode.removeChild(this.path))},reattach:function(e,t){this.path&&t.canvas&&t.canvas.appendChild(this.path)},setVisible:function(e){null!=this.path&&(this.path.style.display=e?"block":"none")}};n.extend(D,[t.jsPlumbUIComponent,t.Overlays.AbstractOverlay]),t.Overlays.svg.Arrow=function(){D.apply(this,[t.Overlays.Arrow,arguments])},n.extend(t.Overlays.svg.Arrow,[t.Overlays.Arrow,D],L),t.Overlays.svg.PlainArrow=function(){D.apply(this,[t.Overlays.PlainArrow,arguments])},n.extend(t.Overlays.svg.PlainArrow,[t.Overlays.PlainArrow,D],L),t.Overlays.svg.Diamond=function(){D.apply(this,[t.Overlays.Diamond,arguments])},n.extend(t.Overlays.svg.Diamond,[t.Overlays.Diamond,D],L),t.Overlays.svg.GuideLines=function(){var e,n,i=null,r=this;t.Overlays.GuideLines.apply(this,arguments),this.paint=function(t,a){null==i&&(i=b("path"),t.connector.svg.appendChild(i),r.attachListeners(i,t.connector),r.attachListeners(i,r),e=b("path"),t.connector.svg.appendChild(e),r.attachListeners(e,t.connector),r.attachListeners(e,r),n=b("path"),t.connector.svg.appendChild(n),r.attachListeners(n,t.connector),r.attachListeners(n,r));var s=[0,0];a.xmin<0&&(s[0]=-a.xmin),a.ymin<0&&(s[1]=-a.ymin),y(i,{d:o(t.head,t.tail),stroke:"red",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),y(e,{d:o(t.tailLine[0],t.tailLine[1]),stroke:"blue",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),y(n,{d:o(t.headLine[0],t.headLine[1]),stroke:"green",fill:null,transform:"translate("+s[0]+","+s[1]+")"})};var o=function(e,t){return"M "+e.x+","+e.y+" L"+t.x+","+t.y}},n.extend(t.Overlays.svg.GuideLines,t.Overlays.GuideLines)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=e.Katavorio,r=e.Biltong,o=function(t){var n=t._mottle;return n||(n=t._mottle=new e.Mottle),n},a=function(e,n){n=n||"main";var o="_katavorio_"+n,a=e[o],s=e.getEventManager();return a||(a=new i({bind:s.on,unbind:s.off,getSize:t.getSize,getConstrainingRectangle:function(e){return[e.parentNode.scrollWidth,e.parentNode.scrollHeight]},getPosition:function(t,n){var i=e.getOffset(t,n,t._katavorioDrag?t.offsetParent:null);return[i.left,i.top]},setPosition:function(e,t){e.style.left=t[0]+"px",e.style.top=t[1]+"px"},addClass:t.addClass,removeClass:t.removeClass,intersects:r.intersects,indexOf:function(e,t){return e.indexOf(t)},scope:e.getDefaultScope(),css:{noSelect:e.dragSelectClass,droppable:"jtk-droppable",draggable:"jtk-draggable",drag:"jtk-drag",selected:"jtk-drag-selected",active:"jtk-drag-active",hover:"jtk-drag-hover",ghostProxy:"jtk-ghost-proxy"}}),a.setZoom(e.getZoom()),e[o]=a,e.bind("zoom",a.setZoom)),a},s=function(e){var t=e.el._jsPlumbDragOptions,n=!0;return t.canDrag&&(n=t.canDrag()),n&&(this.setHoverSuspended(!0),this.select({source:e.el}).addClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:e.el}).addClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),this.setConnectionBeingDragged(!0)),n},l=function(e){var t=this.getUIPosition(arguments,this.getZoom());if(null!=t){var n=e.el._jsPlumbDragOptions;this.draw(e.el,t,null,!0),n._dragging&&this.addClass(e.el,"jtk-dragged"),n._dragging=!0}},u=function(e){for(var t,n=e.selection,i=function(n){var i;null!=n[1]&&(t=this.getUIPosition([{el:n[2].el,pos:[n[1].left,n[1].top]}]),i=this.draw(n[2].el,t)),null!=n[0]._jsPlumbDragOptions&&delete n[0]._jsPlumbDragOptions._dragging,this.removeClass(n[0],"jtk-dragged"),this.select({source:n[2].el}).removeClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:n[2].el}).removeClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),e.e._drawResult=e.e._drawResult||{c:[],e:[],a:[]},Array.prototype.push.apply(e.e._drawResult.c,i.c),Array.prototype.push.apply(e.e._drawResult.e,i.e),Array.prototype.push.apply(e.e._drawResult.a,i.a),this.getDragManager().dragEnded(n[2].el)}.bind(this),r=0;r<n.length;r++)i(n[r]);this.setHoverSuspended(!1),this.setConnectionBeingDragged(!1)},c=function(e,t){var i=function(i){if(null!=t[i]){if(n.isString(t[i])){var r=t[i].match(/-=/)?-1:1,o=t[i].substring(2);return e[i]+r*o}return t[i]}return e[i]};return[i("left"),i("top")]},d=function(e,t){if(null==t)return[0,0];var n=v(t),i=m(n,0);return[i[e+"X"],i[e+"Y"]]},h=d.bind(this,"page"),f=d.bind(this,"screen"),p=d.bind(this,"client"),m=function(e,t){return e.item?e.item(t):e[t]},v=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},g=function(e){var t={},n=[],i={},r={},o={};this.register=function(a){var s,l=e.getId(a);t[l]||(t[l]=a,n.push(a),i[l]={});var u=function(t){if(t)for(var n=0;n<t.childNodes.length;n++)if(3!==t.childNodes[n].nodeType&&8!==t.childNodes[n].nodeType){var c=jsPlumb.getElement(t.childNodes[n]),d=e.getId(t.childNodes[n],null,!0);if(d&&r[d]&&r[d]>0){s||(s=e.getOffset(a));var h=e.getOffset(c);i[l][d]={id:d,offset:{left:h.left-s.left,top:h.top-s.top}},o[d]=l}u(t.childNodes[n])}};u(a)},this.updateOffsets=function(t,n){if(null!=t){n=n||{};var r,a=jsPlumb.getElement(t),s=e.getId(a),l=i[s];if(l)for(var u in l)if(l.hasOwnProperty(u)){var c=jsPlumb.getElement(u),d=n[u]||e.getOffset(c);if(null==c.offsetParent&&null!=i[s][u])continue;r||(r=e.getOffset(a)),i[s][u]={id:u,offset:{left:d.left-r.left,top:d.top-r.top}},o[u]=s}}},this.endpointAdded=function(n,a){a=a||e.getId(n);var s=document.body,l=n.parentNode;r[a]=r[a]?r[a]+1:1;while(null!=l&&l!==s){var u=e.getId(l,null,!0);if(u&&t[u]){var c=e.getOffset(l);if(null==i[u][a]){var d=e.getOffset(n);i[u][a]={id:a,offset:{left:d.left-c.left,top:d.top-c.top}},o[a]=u}break}l=l.parentNode}},this.endpointDeleted=function(e){if(r[e.elementId]&&(r[e.elementId]--,r[e.elementId]<=0))for(var t in i)i.hasOwnProperty(t)&&i[t]&&(delete i[t][e.elementId],delete o[e.elementId])},this.changeId=function(e,t){i[t]=i[e],i[e]={},o[t]=o[e],o[e]=null},this.getElementsForDraggable=function(e){return i[e]},this.elementRemoved=function(e){var t=o[e];t&&(i[t]&&delete i[t][e],delete o[e])},this.reset=function(){t={},n=[],i={},r={}},this.dragEnded=function(t){if(null!=t.offsetParent){var n=e.getId(t),i=o[n];i&&this.updateOffsets(i)}},this.setParent=function(t,n,r,a,s){var l=o[n];i[a]||(i[a]={});var u=e.getOffset(r),c=s||e.getOffset(t);l&&i[l]&&delete i[l][n],i[a][n]={id:n,offset:{left:c.left-u.left,top:c.top-u.top}},o[n]=a},this.clearParent=function(e,t){var n=o[t];n&&(delete i[n][t],delete o[t])},this.revalidateParent=function(t,n,i){var r=o[n];if(r){var a={};a[n]=i,this.updateOffsets(r,a),e.revalidate(r)}},this.getDragAncestor=function(t){var n=jsPlumb.getElement(t),i=e.getId(n),r=o[i];return r?jsPlumb.getElement(r):null}},y=function(e,t,i){t=n.fastTrim(t),"undefined"!==typeof e.className.baseVal?e.className.baseVal=t:e.className=t;try{var r=e.classList;if(null!=r){while(r.length>0)r.remove(r.item(0));for(var o=0;o<i.length;o++)i[o]&&r.add(i[o])}}catch(a){n.log("JSPLUMB: cannot set class list",a)}},b=function(e){return"undefined"===typeof e.className.baseVal?e.className:e.className.baseVal},_=function(e,t,i){t=null==t?[]:n.isArray(t)?t:t.split(/\s+/),i=null==i?[]:n.isArray(i)?i:i.split(/\s+/);var r=b(e),o=r.split(/\s+/),a=function(e,t){for(var n=0;n<t.length;n++)if(e)-1===o.indexOf(t[n])&&o.push(t[n]);else{var i=o.indexOf(t[n]);-1!==i&&o.splice(i,1)}};a(!0,t),a(!1,i),y(e,o.join(" "),o)};e.jsPlumb.extend(e.jsPlumbInstance.prototype,{headless:!1,pageLocation:h,screenLocation:f,clientLocation:p,getDragManager:function(){return null==this.dragManager&&(this.dragManager=new g(this)),this.dragManager},recalculateOffsets:function(e){this.getDragManager().updateOffsets(e)},createElement:function(e,t,n,i){return this.createElementNS(null,e,t,n,i)},createElementNS:function(e,t,n,i,r){var o,a=null==e?document.createElement(t):document.createElementNS(e,t);for(o in n=n||{},n)a.style[o]=n[o];for(o in i&&(a.className=i),r=r||{},r)a.setAttribute(o,""+r[o]);return a},getAttribute:function(e,t){return null!=e.getAttribute?e.getAttribute(t):null},setAttribute:function(e,t,n){null!=e.setAttribute&&e.setAttribute(t,n)},setAttributes:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])},appendToRoot:function(e){document.body.appendChild(e)},getRenderModes:function(){return["svg"]},getClass:b,addClass:function(e,t){jsPlumb.each(e,(function(e){_(e,t)}))},hasClass:function(e,t){return e=jsPlumb.getElement(e),e.classList?e.classList.contains(t):-1!==b(e).indexOf(t)},removeClass:function(e,t){jsPlumb.each(e,(function(e){_(e,null,t)}))},toggleClass:function(e,t){jsPlumb.hasClass(e,t)?jsPlumb.removeClass(e,t):jsPlumb.addClass(e,t)},updateClasses:function(e,t,n){jsPlumb.each(e,(function(e){_(e,t,n)}))},setClass:function(e,t){null!=t&&jsPlumb.each(e,(function(e){y(e,t,t.split(/\s+/))}))},setPosition:function(e,t){e.style.left=t.left+"px",e.style.top=t.top+"px"},getPosition:function(e){var t=function(t){var n=e.style[t];return n?n.substring(0,n.length-2):0};return{left:t("left"),top:t("top")}},getStyle:function(e,t){return"undefined"!==typeof window.getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.currentStyle[t]},getSelector:function(e,t){var n=null;return n=1===arguments.length?null!=e.nodeType?e:document.querySelectorAll(e):e.querySelectorAll(t),n},getOffset:function(e,t,n){e=jsPlumb.getElement(e),n=n||this.getContainer();var i={left:e.offsetLeft,top:e.offsetTop},r=t||null!=n&&e!==n&&e.offsetParent!==n?e.offsetParent:null,o=function(e){null!=e&&e!==document.body&&(e.scrollTop>0||e.scrollLeft>0)&&(i.left-=e.scrollLeft,i.top-=e.scrollTop)}.bind(this);while(null!=r)i.left+=r.offsetLeft,i.top+=r.offsetTop,o(r),r=t?r.offsetParent:r.offsetParent===n?null:r.offsetParent;if(null!=n&&!t&&(n.scrollTop>0||n.scrollLeft>0)){var a=null!=e.offsetParent?this.getStyle(e.offsetParent,"position"):"static",s=this.getStyle(e,"position");"absolute"!==s&&"fixed"!==s&&"absolute"!==a&&"fixed"!==a&&(i.left-=n.scrollLeft,i.top-=n.scrollTop)}return i},getPositionOnElement:function(e,t,n){var i="undefined"!==typeof t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0,width:0,height:0},r=document.body,o=document.documentElement,a=window.pageYOffset||o.scrollTop||r.scrollTop,s=window.pageXOffset||o.scrollLeft||r.scrollLeft,l=o.clientTop||r.clientTop||0,u=o.clientLeft||r.clientLeft||0,c=0,d=0,h=i.top+a-l+c*n,f=i.left+s-u+d*n,p=jsPlumb.pageLocation(e),m=i.width||t.offsetWidth*n,v=i.height||t.offsetHeight*n,g=(p[0]-f)/m,y=(p[1]-h)/v;return[g,y]},getAbsolutePosition:function(e){var t=function(t){var n=e.style[t];if(n)return parseFloat(n.substring(0,n.length-2))};return[t("left"),t("top")]},setAbsolutePosition:function(e,t,n,i){n?this.animate(e,{left:"+="+(t[0]-n[0]),top:"+="+(t[1]-n[1])},i):(e.style.left=t[0]+"px",e.style.top=t[1]+"px")},getSize:function(e){return[e.offsetWidth,e.offsetHeight]},getWidth:function(e){return e.offsetWidth},getHeight:function(e){return e.offsetHeight},getRenderMode:function(){return"svg"},draggable:function(e,t){var i;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],Array.prototype.slice.call(e).forEach(function(e){i=this.info(e),i.el&&this._initDraggableIfNecessary(i.el,!0,t,i.id,!0)}.bind(this)),this},snapToGrid:function(e,t,n){var i=[],r=function(e){var r=this.info(e);if(null!=r.el&&r.el._katavorioDrag){var o=r.el._katavorioDrag.snap(t,n);this.revalidate(r.el),i.push([r.el,o])}}.bind(this);if(1===arguments.length||3===arguments.length)r(e,t,n);else{var o=this.getManagedElements();for(var a in o)r(a,arguments[0],arguments[1])}return i},initDraggable:function(e,t,n){a(this,n).draggable(e,t),e._jsPlumbDragOptions=t},destroyDraggable:function(e,t){a(this,t).destroyDraggable(e),e._jsPlumbDragOptions=null,e._jsPlumbRelatedElement=null},unbindDraggable:function(e,t,n,i){a(this,i).destroyDraggable(e,t,n)},setDraggable:function(e,t){return jsPlumb.each(e,function(e){this.isDragSupported(e)&&(this._draggableStates[this.getAttribute(e,"id")]=t,this.setElementDraggable(e,t))}.bind(this))},_draggableStates:{},toggleDraggable:function(e){var t;return jsPlumb.each(e,function(e){var n=this.getAttribute(e,"id");return t=null!=this._draggableStates[n]&&this._draggableStates[n],t=!t,this._draggableStates[n]=t,this.setDraggable(e,t),t}.bind(this)),t},_initDraggableIfNecessary:function(e,t,i,r,o){if(!jsPlumb.headless){var a=null!=t&&t;if(a&&jsPlumb.isDragSupported(e,this)){var c=i||this.Defaults.DragOptions;if(c=jsPlumb.extend({},c),jsPlumb.isAlreadyDraggable(e,this))i.force&&this.initDraggable(e,c);else{var d=jsPlumb.dragEvents.drag,h=jsPlumb.dragEvents.stop,f=jsPlumb.dragEvents.start;this.manage(r,e),c[f]=n.wrap(c[f],s.bind(this)),c[d]=n.wrap(c[d],l.bind(this)),c[h]=n.wrap(c[h],u.bind(this));var p=this.getId(e);this._draggableStates[p]=!0;var m=this._draggableStates[p];c.disabled=null!=m&&!m,this.initDraggable(e,c),this.getDragManager().register(e),o&&this.fire("elementDraggable",{el:e,options:c})}}}},animationSupported:!0,getElement:function(e){return null==e?null:(e="string"===typeof e?e:null==e.tagName&&null!=e.length&&null==e.enctype?e[0]:e,"string"===typeof e?document.getElementById(e):e)},removeElement:function(e){a(this).elementRemoved(e),this.getEventManager().remove(e)},doAnimate:function(e,n,i){i=i||{};var r=this.getOffset(e),o=c(r,n),a=o[0]-r.left,s=o[1]-r.top,l=i.duration||250,u=15,d=l/u,h=u/l*a,f=u/l*s,p=0,m=setInterval((function(){t.setPosition(e,{left:r.left+h*(p+1),top:r.top+f*(p+1)}),null!=i.step&&i.step(p,Math.ceil(d)),p++,p>=d&&(window.clearInterval(m),null!=i.complete&&i.complete())}),u)},destroyDroppable:function(e,t){a(this,t).destroyDroppable(e)},unbindDroppable:function(e,t,n,i){a(this,i).destroyDroppable(e,t,n)},droppable:function(e,t){var i;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],t=t||{},t.allowLoopback=!1,Array.prototype.slice.call(e).forEach(function(e){i=this.info(e),i.el&&this.initDroppable(i.el,t)}.bind(this)),this},initDroppable:function(e,t,n){a(this,n).droppable(e,t)},isAlreadyDraggable:function(e){return null!=e._katavorioDrag},isDragSupported:function(e,t){return!0},isDropSupported:function(e,t){return!0},isElementDraggable:function(e){return e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.isEnabled()},getDragObject:function(e){return e[0].drag.getDragElement()},getDragScope:function(e){return e._katavorioDrag&&e._katavorioDrag.scopes.join(" ")||""},getDropEvent:function(e){return e[0].e},getUIPosition:function(e,t){var n=e[0].el;if(null==n.offsetParent)return null;var i=e[0].finalPos||e[0].pos,r={left:i[0],top:i[1]};if(n._katavorioDrag&&n.offsetParent!==this.getContainer()){var o=this.getOffset(n.offsetParent);r.left+=o.left,r.top+=o.top}return r},setDragFilter:function(e,t,n){e._katavorioDrag&&e._katavorioDrag.setFilter(t,n)},setElementDraggable:function(e,n){e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.setEnabled(n)},setDragScope:function(e,t){e._katavorioDrag&&e._katavorioDrag.k.setDragScope(e,t)},setDropScope:function(e,t){e._katavorioDrop&&e._katavorioDrop.length>0&&e._katavorioDrop[0].k.setDropScope(e,t)},addToPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.addToPosse.apply(r,e)}))},setPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.setPosse.apply(r,e)}))},removeFromPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.removeFromPosse.apply(r,e)}))},removeFromAllPosses:function(e){var n=a(this);t.each(e,(function(e){n.removeFromAllPosses(t.getElement(e))}))},setPosseState:function(e,n,i){var r=a(this);t.each(e,(function(e){r.setPosseState(t.getElement(e),n,i)}))},dragEvents:{start:"start",stop:"stop",drag:"drag",step:"step",over:"over",out:"out",drop:"drop",complete:"complete",beforeStart:"beforeStart"},animEvents:{step:"step",complete:"complete"},stopDrag:function(e){e._katavorioDrag&&e._katavorioDrag.abort()},addToDragSelection:function(e){var t=this.getElement(e);null==t||!t._isJsPlumbGroup&&null!=t._jsPlumbGroup||a(this).select(e)},removeFromDragSelection:function(e){a(this).deselect(e)},getDragSelection:function(){return a(this).getSelection()},clearDragSelection:function(){a(this).deselectAll()},trigger:function(e,t,n,i){this.getEventManager().trigger(e,t,n,i)},doReset:function(){for(var e in this)0===e.indexOf("_katavorio_")&&this[e].reset()},getEventManager:function(){return o(this)},on:function(e,t,n){return this.getEventManager().on.apply(this,arguments),this},off:function(e,t,n){return this.getEventManager().off.apply(this,arguments),this}});var w=function(e){var t=function(){/complete|loaded|interactive/.test(document.readyState)&&"undefined"!==typeof document.body&&null!=document.body?e():setTimeout(t,9)};t()};w(t.init)}.call("undefined"!==typeof window?window:this)},"47ac":function(e,t,n){var i=n("5454");t=e.exports=n("690e")(!1),t.push([e.i,".right-plan{overflow-y:auto}.process-heard{padding:10px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.process-heard .el-icon-edit{cursor:pointer}.process-heard .process-title{font-size:18px;margin-right:10px}#flowContainer{height:10000px;position:relative;overflow:auto;height:calc(100vh - 144px)}.container-process{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.labelClass{background-color:#fff;padding:5px;opacity:.7;border:1px solid #346789;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aLabel{width:30px;height:30px;margin-top:25px;background:url("+i(n("4348"))+") 50% no-repeat;cursor:pointer}.switch{display:inline-block;margin-right:30px}.switch>span{margin-right:10px}.add-condition{color:#66a6e0;font-size:14px;text-align:center;padding:10px 0;border:1px solid #66a6e0;cursor:pointer;position:absolute;width:200px}.condition-container{display:-webkit-box;display:-ms-flexbox;display:flex}.condition-item{margin:30px;padding:20px}.gray-background-class{background-color:#f4f4f8}",""])},"488b":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"4a84":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
108
|
+
function t(e,t,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},4652:function(e,t,n){"use strict";var i,r,o,a=n("7bb6"),s=n("92e1"),l=n("3004"),u=n("2561"),c=n("ae12"),d=n("357f"),h=n("7195"),f=d("iterator"),p=!1;[].keys&&(o=[].keys(),"next"in o?(r=u(u(o)),r!==Object.prototype&&(i=r)):p=!0);var m=void 0==i||a((function(){var e={};return i[f].call(e)!==e}));m?i={}:h&&(i=l(i)),s(i[f])||c(i,f,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},"46f3":function(e,t,n){(function(){"undefined"==typeof Math.sgn&&(Math.sgn=function(e){return 0==e?0:e>0?1:-1});var e={subtract:function(e,t){return{x:e.x-t.x,y:e.y-t.y}},dotProduct:function(e,t){return e.x*t.x+e.y*t.y},square:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},scale:function(e,t){return{x:e.x*t,y:e.y*t}}},n=64,i=Math.pow(2,-n-1),r=function(t,n){for(var i=[],r=a(t,n),o=n.length-1,l=2*o-1,u=s(r,l,i,0),c=e.subtract(t,n[0]),h=e.square(c),f=0,p=0;p<u;p++){c=e.subtract(t,d(n,o,i[p],null,null));var m=e.square(c);m<h&&(h=m,f=i[p])}return c=e.subtract(t,n[o]),m=e.square(c),m<h&&(h=m,f=1),{location:f,distance:h}},o=function(e,t){var n=r(e,t);return{point:d(t,t.length-1,n.location,null,null),location:n.location}},a=function(t,n){for(var i=n.length-1,r=2*i-1,o=[],a=[],s=[],l=[],u=[[1,.6,.3,.1],[.4,.6,.6,.4],[.1,.3,.6,1]],c=0;c<=i;c++)o[c]=e.subtract(n[c],t);for(c=0;c<=i-1;c++)a[c]=e.subtract(n[c+1],n[c]),a[c]=e.scale(a[c],3);for(var d=0;d<=i-1;d++)for(var h=0;h<=i;h++)s[d]||(s[d]=[]),s[d][h]=e.dotProduct(a[d],o[h]);for(c=0;c<=r;c++)l[c]||(l[c]=[]),l[c].y=0,l[c].x=parseFloat(c)/r;for(var f=i,p=i-1,m=0;m<=f+p;m++){var v=Math.max(0,m-p),g=Math.min(m,f);for(c=v;c<=g;c++){var y=m-c;l[c+y].y+=s[y][c]*u[y][c]}}return l},s=function(e,t,i,r){var o,a,h=[],f=[],p=[],m=[];switch(l(e,t)){case 0:return 0;case 1:if(r>=n)return i[0]=(e[0].x+e[t].x)/2,1;if(u(e,t))return i[0]=c(e,t),1;break}d(e,t,.5,h,f),o=s(h,t,p,r+1),a=s(f,t,m,r+1);for(var v=0;v<o;v++)i[v]=p[v];for(v=0;v<a;v++)i[v+o]=m[v];return o+a},l=function(e,t){var n,i,r=0;n=i=Math.sgn(e[0].y);for(var o=1;o<=t;o++)n=Math.sgn(e[o].y),n!=i&&r++,i=n;return r},u=function(e,t){var n,r,o,a,s,l,u,c,d,h,f,p,m,v,g,y,b,_;l=e[0].y-e[t].y,u=e[t].x-e[0].x,c=e[0].x*e[t].y-e[t].x*e[0].y,b=_=0;for(var w=1;w<t;w++){var x=l*e[w].x+u*e[w].y+c;x>b?b=x:x<_&&(_=x)}return f=0,p=1,m=0,v=l,g=u,y=c-b,d=f*g-v*p,h=1/d,r=(p*y-g*m)*h,v=l,g=u,y=c-_,d=f*g-v*p,h=1/d,o=(p*y-g*m)*h,a=Math.min(r,o),s=Math.max(r,o),n=s-a,n<i?1:0},c=function(e,t){var n=1,i=0,r=e[t].x-e[0].x,o=e[t].y-e[0].y,a=e[0].x-0,s=e[0].y-0,l=r*i-o*n,u=1/l,c=(r*s-o*a)*u;return 0+n*c},d=function(e,t,n,i,r){for(var o=[[]],a=0;a<=t;a++)o[0][a]=e[a];for(var s=1;s<=t;s++)for(a=0;a<=t-s;a++)o[s]||(o[s]=[]),o[s][a]||(o[s][a]={}),o[s][a].x=(1-n)*o[s-1][a].x+n*o[s-1][a+1].x,o[s][a].y=(1-n)*o[s-1][a].y+n*o[s-1][a+1].y;if(null!=i)for(a=0;a<=t;a++)i[a]=o[a][0];if(null!=r)for(a=0;a<=t;a++)r[a]=o[t-a][a];return o[t][0]},h={},f=function(e){var t=h[e];if(!t){t=[];var n=function(){return function(t){return Math.pow(t,e)}},i=function(){return function(t){return Math.pow(1-t,e)}},r=function(e){return function(t){return e}},o=function(){return function(e){return e}},a=function(){return function(e){return 1-e}},s=function(e){return function(t){for(var n=1,i=0;i<e.length;i++)n*=e[i](t);return n}};t.push(new n);for(var l=1;l<e;l++){for(var u=[new r(e)],c=0;c<e-l;c++)u.push(new o);for(c=0;c<l;c++)u.push(new a);t.push(new s(u))}t.push(new i),h[e]=t}return t},p=function(e,t){for(var n=f(e.length-1),i=0,r=0,o=0;o<e.length;o++)i+=e[o].x*n[o](t),r+=e[o].y*n[o](t);return{x:i,y:r}},m=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},v=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},g=function(e,t,n){if(v(e))return{point:e[0],location:t};var i=p(e,t),r=0,o=t,a=n>0?1:-1,s=null;while(r<Math.abs(n))o+=.005*a,s=p(e,o),r+=m(s,i),i=s;return{point:s,location:o}},y=function(e){var t=(new Date).getTime();if(v(e))return 0;var n=p(e,0),i=0,r=0,o=1,a=null;while(r<1)r+=.005*o,a=p(e,r),i+=m(a,n),n=a;return console.log("length",(new Date).getTime()-t),i},b=function(e,t,n){return g(e,t,n).point},_=function(e,t,n){return g(e,t,n).location},w=function(e,t){var n=p(e,t),i=p(e.slice(0,e.length-1),t),r=i.y-n.y,o=i.x-n.x;return 0===r?1/0:Math.atan(r/o)},x=function(e,t,n){var i=g(e,t,n);return i.location>1&&(i.location=1),i.location<0&&(i.location=0),w(e,i.location)},k=function(e,t,n,i){i=null==i?0:i;var r=g(e,t,i),o=w(e,r.location),a=Math.atan(-1/o),s=n/2*Math.sin(a),l=n/2*Math.cos(a);return[{x:r.point.x+l,y:r.point.y+s},{x:r.point.x-l,y:r.point.y-s}]},M=function(e,t,n,i,r){var o=i-t,a=e-n,s=e*(t-i)+t*(n-e),l=L(r),u=[o*l[0][0]+a*l[1][0],o*l[0][1]+a*l[1][1],o*l[0][2]+a*l[1][2],o*l[0][3]+a*l[1][3]+s],c=E.apply(null,u),d=[];if(null!=c)for(var h=0;h<3;h++){var f,p=c[h],m=Math.pow(p,2),v=Math.pow(p,3),g=[l[0][0]*v+l[0][1]*m+l[0][2]*p+l[0][3],l[1][0]*v+l[1][1]*m+l[1][2]*p+l[1][3]];f=n-e!==0?(g[0]-e)/(n-e):(g[1]-t)/(i-t),p>=0&&p<=1&&f>=0&&f<=1&&d.push(g)}return d},S=function(e,t,n,i,r){var o=[];return o.push.apply(o,M(e,t,e+n,t,r)),o.push.apply(o,M(e+n,t,e+n,t+i,r)),o.push.apply(o,M(e+n,t+i,e,t+i,r)),o.push.apply(o,M(e,t+i,e,t,r)),o},C=function(e,t){var n=[];return n.push.apply(n,M(e.x,e.y,e.x+e.w,e.y,t)),n.push.apply(n,M(e.x+e.w,e.y,e.x+e.w,e.y+e.h,t)),n.push.apply(n,M(e.x+e.w,e.y+e.h,e.x,e.y+e.h,t)),n.push.apply(n,M(e.x,e.y+e.h,e.x,e.y,t)),n};function D(e,t){return[-e[0][t]+3*e[1][t]+-3*e[2][t]+e[3][t],3*e[0][t]-6*e[1][t]+3*e[2][t],-3*e[0][t]+3*e[1][t],e[0][t]]}function L(e){return[D(e,"x"),D(e,"y")]}function T(e){return e<0?-1:e>0?1:0}function E(e,t,n,i){var r,o,a=t/e,s=n/e,l=i/e,u=(3*s-Math.pow(a,2))/9,c=(9*a*s-27*l-2*Math.pow(a,3))/54,d=Math.pow(u,3)+Math.pow(c,2),h=[];if(d>=0)r=T(c+Math.sqrt(d))*Math.pow(Math.abs(c+Math.sqrt(d)),1/3),o=T(c-Math.sqrt(d))*Math.pow(Math.abs(c-Math.sqrt(d)),1/3),h[0]=-a/3+(r+o),h[1]=-a/3-(r+o)/2,h[2]=-a/3-(r+o)/2,0!==Math.abs(Math.sqrt(3)*(r-o)/2)&&(h[1]=-1,h[2]=-1);else{var f=Math.acos(c/Math.sqrt(-Math.pow(u,3)));h[0]=2*Math.sqrt(-u)*Math.cos(f/3)-a/3,h[1]=2*Math.sqrt(-u)*Math.cos((f+2*Math.PI)/3)-a/3,h[2]=2*Math.sqrt(-u)*Math.cos((f+4*Math.PI)/3)-a/3}for(var p=0;p<3;p++)(h[p]<0||h[p]>1)&&(h[p]=-1);return h}var P=this.jsBezier={distanceFromCurve:r,gradientAtPoint:w,gradientAtPointAlongCurveFrom:x,nearestPointOnCurve:o,pointOnCurve:p,pointAlongCurveFrom:b,perpendicularToCurveAt:k,locationAlongCurveFrom:_,getLength:y,lineIntersection:M,boxIntersection:S,boundingBoxIntersection:C,version:"0.9.0"};t.jsBezier=P}).call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.Biltong={version:"0.4.0"};t.Biltong=n;var i=function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=function(e,t,n){return e=i(e)?e:[e.x,e.y],t=i(t)?t:[t.x,t.y],n(e,t)},o=n.gradient=function(e,t){return r(e,t,(function(e,t){return t[0]==e[0]?t[1]>e[1]?1/0:-1/0:t[1]==e[1]?t[0]>e[0]?0:-0:(t[1]-e[1])/(t[0]-e[0])}))},a=(n.normal=function(e,t){return-1/o(e,t)},n.lineLength=function(e,t){return r(e,t,(function(e,t){return Math.sqrt(Math.pow(t[1]-e[1],2)+Math.pow(t[0]-e[0],2))}))},n.quadrant=function(e,t){return r(e,t,(function(e,t){return t[0]>e[0]||t[0]==e[0]?t[1]>e[1]?2:1:t[1]>e[1]?3:4}))}),s=(n.theta=function(e,t){return r(e,t,(function(e,t){var n=o(e,t),i=Math.atan(n),r=a(e,t);return 4!=r&&3!=r||(i+=Math.PI),i<0&&(i+=2*Math.PI),i}))},n.intersects=function(e,t){var n=e.x,i=e.x+e.w,r=e.y,o=e.y+e.h,a=t.x,s=t.x+t.w,l=t.y,u=t.y+t.h;return n<=a&&a<=i&&r<=l&&l<=o||n<=s&&s<=i&&r<=l&&l<=o||n<=a&&a<=i&&r<=u&&u<=o||n<=s&&a<=i&&r<=u&&u<=o||a<=n&&n<=s&&l<=r&&r<=u||a<=i&&i<=s&&l<=r&&r<=u||a<=n&&n<=s&&l<=o&&o<=u||a<=i&&n<=s&&l<=o&&o<=u},n.encloses=function(e,t,n){var i=e.x,r=e.x+e.w,o=e.y,a=e.y+e.h,s=t.x,l=t.x+t.w,u=t.y,c=t.y+t.h,d=function(e,t,i,r){return n?e<=t&&i>=r:e<t&&i>r};return d(i,s,r,l)&&d(o,u,a,c)},[null,[1,-1],[1,1],[-1,1],[-1,-1]]),l=[null,[-1,-1],[-1,1],[1,1],[1,-1]];n.pointOnLine=function(e,t,n){var i=o(e,t),r=a(e,t),u=n>0?s[r]:l[r],c=Math.atan(i),d=Math.abs(n*Math.sin(c))*u[1],h=Math.abs(n*Math.cos(c))*u[0];return{x:e.x+h,y:e.y+d}},n.perpendicularLineTo=function(e,t,n){var i=o(e,t),r=Math.atan(-1/i),a=n/2*Math.sin(r),s=n/2*Math.cos(r);return[{x:t.x+s,y:t.y+a},{x:t.x-s,y:t.y-a}]}}.call("undefined"!==typeof window?window:this),function(){"use strict";function e(e,t,n,i,r,o,a,s){return new Touch({target:t,identifier:A(),pageX:n,pageY:i,screenX:r,screenY:o,clientX:a||r,clientY:s||o})}function n(){var e=[];return Array.prototype.push.apply(e,arguments),e.item=function(e){return this[e]},e}function i(t,i,r,o,a,s,l,u){return n(e.apply(null,arguments))}var r=this,o=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},a=function(e){return"string"==typeof e||e.constructor===String?document.getElementById(e):e},s=function(e){return e.srcElement||e.target},l=function(e,t,n,i){if(i){if("undefined"!==typeof e.path&&e.path.indexOf)return{path:e.path,end:e.path.indexOf(n)};var r={path:[],end:-1},o=function(e){r.path.push(e),e===n?r.end=r.path.length-1:null!=e.parentNode&&o(e.parentNode)};return o(t),r}return{path:[t],end:1}},u=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]==t)break;n<e.length&&e.splice(n,1)},c=1,d=function(e,t,n){var i=c++;return e.__ta=e.__ta||{},e.__ta[t]=e.__ta[t]||{},e.__ta[t][i]=n,n.__tauid=i,i},h=function(e,t,n){if(e.__ta&&e.__ta[t]&&delete e.__ta[t][n.__tauid],n.__taExtra){for(var i=0;i<n.__taExtra.length;i++)I(e,n.__taExtra[i][0],n.__taExtra[i][1]);n.__taExtra.length=0}n.__taUnstore&&n.__taUnstore()},f=function(e,t,n,i){if(null==e)return n;var r=e.split(","),a=function(i){a.__tauid=n.__tauid;var u=s(i),c=u,d=l(i,u,t,null!=e);if(-1!=d.end)for(var h=0;h<d.end;h++){c=d.path[h];for(var f=0;f<r.length;f++)o(c,r[f],t)&&n.apply(c,arguments)}};return p(n,i,a),a},p=function(e,t,n){e.__taExtra=e.__taExtra||[],e.__taExtra.push([t,n])},m=function(e,t,n,i){if(w&&k[t]){var r=f(i,e,n,k[t]);O(e,k[t],r,n)}"focus"===t&&null==e.getAttribute("tabindex")&&e.setAttribute("tabindex","1"),O(e,t,f(i,e,n,t),n)},v=function(e,t,n,i){if(null==e.__taSmartClicks){var r=function(t){e.__tad=D(t)},o=function(t){e.__tau=D(t)},a=function(t){if(e.__tad&&e.__tau&&e.__tad[0]===e.__tau[0]&&e.__tad[1]===e.__tau[1])for(var n=0;n<e.__taSmartClicks.length;n++)e.__taSmartClicks[n].apply(s(t),[t])};m(e,"mousedown",r,i),m(e,"mouseup",o,i),m(e,"click",a,i),e.__taSmartClicks=[]}e.__taSmartClicks.push(n),n.__taUnstore=function(){u(e.__taSmartClicks,n)}},g={tap:{touches:1,taps:1},dbltap:{touches:1,taps:2},contextmenu:{touches:2,taps:1}},y=function(e,t){return function(n,i,r,a){if("contextmenu"==i&&x)m(n,i,r,a);else{if(null==n.__taTapHandler){var c=n.__taTapHandler={tap:[],dbltap:[],contextmenu:[],down:!1,taps:0,downSelectors:[]},d=function(i){for(var r=s(i),u=l(i,r,n,null!=a),d=!1,h=0;h<u.end;h++){if(d)return;r=u.path[h];for(var m=0;m<c.downSelectors.length;m++)if(null==c.downSelectors[m]||o(r,c.downSelectors[m],n)){c.down=!0,setTimeout(f,e),setTimeout(p,t),d=!0;break}}},h=function(e){if(c.down){var t,i,r=s(e);c.taps++;var a=j(e);for(var u in g)if(g.hasOwnProperty(u)){var d=g[u];if(d.touches===a&&(1===d.taps||d.taps===c.taps))for(var h=0;h<c[u].length;h++){i=l(e,r,n,null!=c[u][h][1]);for(var f=0;f<i.end;f++)if(t=i.path[f],null==c[u][h][1]||o(t,c[u][h][1],n)){c[u][h][0].apply(t,[e]);break}}}}},f=function(){c.down=!1},p=function(){c.taps=0};m(n,"mousedown",d),m(n,"mouseup",h)}n.__taTapHandler.downSelectors.push(a),n.__taTapHandler[i].push([r,a]),r.__taUnstore=function(){u(n.__taTapHandler[i],r)}}}},b=function(e,t,n,i){for(var r in n.__tamee[e])n.__tamee[e].hasOwnProperty(r)&&n.__tamee[e][r].apply(i,[t])},_=function(){var e=[];return function(t,n,i,r){if(!t.__tamee){t.__tamee={over:!1,mouseenter:[],mouseexit:[]};var a=function(n){var i=s(n);(null==r&&i==t&&!t.__tamee.over||o(i,r,t)&&(null==i.__tamee||!i.__tamee.over))&&(b("mouseenter",n,t,i),i.__tamee=i.__tamee||{},i.__tamee.over=!0,e.push(i))},l=function(n){for(var i=s(n),r=0;r<e.length;r++)i!=e[r]||o(n.relatedTarget||n.toElement,"*",i)||(i.__tamee.over=!1,e.splice(r,1),b("mouseexit",n,t,i))};O(t,"mouseover",f(r,t,a,"mouseover"),a),O(t,"mouseout",f(r,t,l,"mouseout"),l)}i.__taUnstore=function(){delete t.__tamee[n][i.__tauid]},d(t,n,i),t.__tamee[n][i.__tauid]=i}},w="ontouchstart"in document.documentElement||navigator.maxTouchPoints,x="onmousedown"in document.documentElement,k={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"},M=function(){var e=-1;if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),S=M>-1&&M<9,C=function(e,t){if(null==e)return[0,0];var n=P(e),i=E(n,0);return[i[t+"X"],i[t+"Y"]]},D=function(e){return null==e?[0,0]:S?[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop]:C(e,"page")},L=function(e){return C(e,"screen")},T=function(e){return C(e,"client")},E=function(e,t){return e.item?e.item(t):e[t]},P=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},j=function(e){return P(e).length},O=function(e,t,n,i){if(d(e,t,n),i.__tauid=n.__tauid,e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent){var r=t+n.__tauid;e["e"+r]=n,e[r]=function(){e["e"+r]&&e["e"+r](window.event)},e.attachEvent("on"+t,e[r])}},I=function(e,t,n){null!=n&&Y(e,(function(){var i=a(this);if(h(i,t,n),null!=n.__tauid)if(i.removeEventListener)i.removeEventListener(t,n,!1),w&&k[t]&&i.removeEventListener(k[t],n,!1);else if(this.detachEvent){var r=t+n.__tauid;i[r]&&i.detachEvent("on"+t,i[r]),i[r]=null,i["e"+r]=null}n.__taTouchProxy&&I(e,n.__taTouchProxy[1],n.__taTouchProxy[0])}))},Y=function(e,t){if(null!=e){e="undefined"!==typeof Window&&"unknown"!==typeof e.top&&e==e.top?[e]:"string"!==typeof e&&null==e.tagName&&null!=e.length?e:"string"===typeof e?document.querySelectorAll(e):[e];for(var n=0;n<e.length;n++)t.apply(e[n])}},A=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))};r.Mottle=function(e){e=e||{};var t=e.clickThreshold||250,n=e.dblClickThreshold||450,r=new _,o=new y(t,n),s=e.smartClicks,l=function(e,t,n,i){null!=n&&Y(e,(function(){var e=a(this);s&&"click"===t?v(e,t,n,i):"tap"===t||"dbltap"===t||"contextmenu"===t?o(e,t,n,i):"mouseenter"===t||"mouseexit"==t?r(e,t,n,i):m(e,t,n,i)}))};this.remove=function(e){return Y(e,(function(){var e=a(this);if(e.__ta)for(var t in e.__ta)if(e.__ta.hasOwnProperty(t))for(var n in e.__ta[t])e.__ta[t].hasOwnProperty(n)&&I(e,t,e.__ta[t][n]);e.parentNode&&e.parentNode.removeChild(e)})),this},this.on=function(e,t,n,i){var r=arguments[0],o=4==arguments.length?arguments[2]:null,a=arguments[1],s=arguments[arguments.length-1];return l(r,a,s,o),this},this.off=function(e,t,n){return I(e,t,n),this},this.trigger=function(e,t,n,r){var o=x&&("undefined"===typeof MouseEvent||null==n||n.constructor===MouseEvent),s=w&&!x&&k[t]?k[t]:t,l=!(w&&!x&&k[t]),u=D(n),c=L(n),d=T(n);return Y(e,(function(){var e,h=a(this);n=n||{screenX:c[0],screenY:c[1],clientX:d[0],clientY:d[1]};var f=function(e){r&&(e.payload=r)},p={TouchEvent:function(e){var t=i(window,h,0,u[0],u[1],c[0],c[1],d[0],d[1]),n=e.initTouchEvent||e.initEvent;n(s,!0,!0,window,null,c[0],c[1],d[0],d[1],!1,!1,!1,!1,t,t,t,1,0)},MouseEvents:function(e){e.initMouseEvent(s,!0,!0,window,0,c[0],c[1],d[0],d[1],!1,!1,!1,!1,1,h)}};if(document.createEvent){var m=!l&&!o&&w&&k[t],v=m?"TouchEvent":"MouseEvents";e=document.createEvent(v),p[v](e),f(e),h.dispatchEvent(e)}else document.createEventObject&&(e=document.createEventObject(),e.eventType=e.eventName=s,e.screenX=c[0],e.screenY=c[1],e.clientX=d[0],e.clientY=d[1],f(e),h.fireEvent("on"+s,e))})),this}},r.Mottle.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},r.Mottle.pageLocation=D,r.Mottle.setForceTouchEvents=function(e){w=e},r.Mottle.setForceMouseEvents=function(e){x=e},r.Mottle.version="0.8.0",t.Mottle=r.Mottle}.call("undefined"===typeof window?this:window),function(){"use strict";var e=this,n=function(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)},i=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)},r=function(e,t){for(var n=[],i=0;i<e.length;i++)-1===t.indexOf(e[i])&&n.push(e[i]);return n},o=function(e){return null!=e&&("string"===typeof e||e.constructor===String)},a=function(e){var t=e.getBoundingClientRect(),n=document.body,i=document.documentElement,r=window.pageYOffset||i.scrollTop||n.scrollTop,o=window.pageXOffset||i.scrollLeft||n.scrollLeft,a=i.clientTop||n.clientTop||0,s=i.clientLeft||n.clientLeft||0,l=t.top+r-a,u=t.left+o-s;return{top:Math.round(l),left:Math.round(u)}},s=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},l=function(e,t,n){if(s(t,n,e))return t;var i=t.parentNode;while(null!=i&&i!==e){if(s(i,n,e))return i;i=i.parentNode}},u=function(e,t,n){for(var i=null,r=t.getAttribute("katavorio-draggable"),o=null!=r?"[katavorio-draggable='"+r+"'] ":"",a=0;a<e.length;a++)if(i=l(t,n,o+e[a].selector),null!=i){if(e[a].filter){var u=s(n,e[a].filter,i),c=!0===e[a].filterExclude;if(c&&!u||u)return null}return[e[a],i]}return null},c=function(){var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,n=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=n.exec(t)&&(e=parseFloat(RegExp.$1))}return e}(),d=10,h=10,f=c>-1&&c<9,p=9===c,m=function(e){if(f)return[e.clientX+document.documentElement.scrollLeft,e.clientY+document.documentElement.scrollTop];var t=g(e),n=v(t,0);return p?[n.pageX||n.clientX,n.pageY||n.clientY]:[n.pageX,n.pageY]},v=function(e,t){return e.item?e.item(t):e[t]},g=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},y={delegatedDraggable:"katavorio-delegated-draggable",draggable:"katavorio-draggable",droppable:"katavorio-droppable",drag:"katavorio-drag",selected:"katavorio-drag-selected",active:"katavorio-drag-active",hover:"katavorio-drag-hover",noSelect:"katavorio-drag-no-select",ghostProxy:"katavorio-ghost-proxy",clonedDrag:"katavorio-clone-drag"},b="katavorio-drag-scope",_=["stop","start","drag","drop","over","out","beforeStart"],w=function(){},x=function(){return!0},k=function(e,t,n){for(var i=0;i<e.length;i++)e[i]!=n&&t(e[i])},M=function(e,t,n,i){k(e,(function(e){e.setActive(t),t&&e.updatePosition(),n&&e.setHover(i,t)}))},S=function(e,t){if(null!=e){e=o(e)||null!=e.tagName||null==e.length?[e]:e;for(var n=0;n<e.length;n++)t.apply(e[n],[e[n]])}},C=function(e){e.stopPropagation?(e.stopPropagation(),e.preventDefault()):e.returnValue=!1},D="input,textarea,select,button,option",L=function(e,t,n){var i=e.srcElement||e.target;return!s(i,n.getInputFilterSelector(),t)},T=function(e,t,n,i){this.params=t||{},this.el=e,this.params.addClass(this.el,this._class),this.uuid=I();var r=!0;return this.setEnabled=function(e){r=e},this.isEnabled=function(){return r},this.toggleEnabled=function(){r=!r},this.setScope=function(e){this.scopes=e?e.split(/\s+/):[i]},this.addScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.removeScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){delete t[e]})),this.scopes=[],t)this.scopes.push(n)},this.toggleScope=function(e){var t={};for(var n in S(this.scopes,(function(e){t[e]=!0})),S(e?e.split(/\s+/):[],(function(e){t[e]?delete t[e]:t[e]=!0})),this.scopes=[],t)this.scopes.push(n)},this.setScope(t.scope),this.k=t.katavorio,t.katavorio},E=function(){return!0},P=function(){return!1},j=function(e,t,n,i){this._class=n.draggable;var r=T.apply(this,arguments);this.rightButtonCanDrag=this.params.rightButtonCanDrag;var l,c,f,p,v,g,b=[0,0],_=null,w=null,k=[0,0],S=!1,D=[0,0],j=!1!==this.params.consumeStartEvent,O=this.el,A=this.params.clone,N=(this.params.scroll,!1!==t.multipleDrop),H=!1,R=null,F=[],z=null,$=t.ghostProxyParent;if(l=!0===t.ghostProxy?E:t.ghostProxy&&"function"===typeof t.ghostProxy?t.ghostProxy:function(e,t){return!(!z||!z.useGhostProxy)&&z.useGhostProxy(e,t)},c=t.makeGhostProxy?t.makeGhostProxy:function(e){return z&&z.makeGhostProxy?z.makeGhostProxy(e):e.cloneNode(!0)},t.selector){var B=e.getAttribute("katavorio-draggable");null==B&&(B=""+(new Date).getTime(),e.setAttribute("katavorio-draggable",B)),F.push(t)}var W,V=t.snapThreshold,U=function(e,t,n,i,r){var o=Math.floor(e[0]/t),a=t*o,s=a+t,l=Math.abs(e[0]-a)<=i?a:Math.abs(s-e[0])<=i?s:e[0],u=Math.floor(e[1]/n),c=n*u,d=c+n,h=Math.abs(e[1]-c)<=r?c:Math.abs(d-e[1])<=r?d:e[1];return[l,h]};this.posses=[],this.posseRoles={},this.toGrid=function(e){if(null==this.params.grid)return e;var t=this.params.grid?this.params.grid[0]/2:V||d/2,n=this.params.grid?this.params.grid[1]/2:V||h/2;return U(e,this.params.grid[0],this.params.grid[1],t,n)},this.snap=function(e,t){if(null!=O){e=e||(this.params.grid?this.params.grid[0]:d),t=t||(this.params.grid?this.params.grid[1]:h);var n=this.params.getPosition(O),i=this.params.grid?this.params.grid[0]/2:V,r=this.params.grid?this.params.grid[1]/2:V,o=U(n,e,t,i,r);return this.params.setPosition(O,o),o}},this.setUseGhostProxy=function(e){l=e?E:P};var q=function(e){return!1===t.allowNegative?[Math.max(0,e[0]),Math.max(0,e[1])]:e},G=function(e){W="function"===typeof e?e:e?function(e,t,n,i){return q([Math.max(0,Math.min(n.w-i[0],e[0])),Math.max(0,Math.min(n.h-i[1],e[1]))])}.bind(this):function(e){return q(e)}}.bind(this);G("function"===typeof this.params.constrain?this.params.constrain:this.params.constrain||this.params.containment),this.setConstrain=function(e){G(e)};var K,J=function(e,t,n,i){return null!=z&&z.constrain&&"function"===typeof z.constrain?z.constrain(e,t,n,i):W(e,t,n,i)};this.setRevert=function(e){K=e},this.params.revert&&(K=this.params.revert);var X=function(e){return"function"===typeof e?(e._katavorioId=I(),e._katavorioId):e},Z={},Q=function(e){for(var t in Z){var n=Z[t],i=n[0](e);if(n[1]&&(i=!i),!i)return!1}return!0},ee=this.setFilter=function(t,n){if(t){var i=X(t);Z[i]=[function(n){var i,r=n.srcElement||n.target;return o(t)?i=s(r,t,e):"function"===typeof t&&(i=t(n,e)),i},!1!==n]}};this.addFilter=ee,this.removeFilter=function(e){var t="function"===typeof e?e._katavorioId:e;delete Z[t]};this.clearAllFilters=function(){Z={}},this.canDrag=this.params.canDrag||x;var te,ne=[],ie=[];this.addSelector=function(e){e.selector&&F.push(e)},this.downListener=function(e){if(!e.defaultPrevented){var t=this.rightButtonCanDrag||3!==e.which&&2!==e.button;if(t&&this.isEnabled()&&this.canDrag()){var i=Q(e)&&L(e,this.el,this.k);if(i){if(z=null,R=null,F.length>0){var o=u(F,this.el,e.target||e.srcElement);if(null!=o&&(z=o[0],R=o[1]),null==R)return}else R=this.el;if(A)if(O=R.cloneNode(!0),this.params.addClass(O,y.clonedDrag),O.setAttribute("id",null),O.style.position="absolute",null!=this.params.parent){var s=this.params.getPosition(this.el);O.style.left=s[0]+"px",O.style.top=s[1]+"px",this.params.parent.appendChild(O)}else{var l=a(R);O.style.left=l.left+"px",O.style.top=l.top+"px",document.body.appendChild(O)}else O=R;j&&C(e),b=m(e),O&&O.parentNode&&(D=[O.parentNode.scrollLeft,O.parentNode.scrollTop]),this.params.bind(document,"mousemove",this.moveListener),this.params.bind(document,"mouseup",this.upListener),r.markSelection(this),r.markPosses(this),this.params.addClass(document.body,n.noSelect),ae("beforeStart",{el:this.el,pos:_,e:e,drag:this})}else this.params.consumeFilteredEvents&&C(e)}}}.bind(this),this.moveListener=function(e){if(b){if(!S){var t=ae("start",{el:this.el,pos:_,e:e,drag:this});if(!1!==t){if(!b)return;this.mark(!0),S=!0}else this.abort()}if(b){ie.length=0;var n=m(e),i=n[0]-b[0],o=n[1]-b[1],a=this.params.ignoreZoom?1:r.getZoom();O&&O.parentNode&&(i+=O.parentNode.scrollLeft-D[0],o+=O.parentNode.scrollTop-D[1]),i/=a,o/=a,this.moveBy(i,o,e),r.updateSelection(i,o,this),r.updatePosses(i,o,this)}}}.bind(this),this.upListener=function(e){b&&(b=null,this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.params.removeClass(document.body,n.noSelect),this.unmark(e),r.unmarkSelection(this,e),r.unmarkPosses(this,e),this.stop(e),r.notifyPosseDragStop(this,e),S=!1,ie.length=0,A?(O&&O.parentNode&&O.parentNode.removeChild(O),O=null):K&&!0===K(O,this.params.getPosition(O))&&(this.params.setPosition(O,_),ae("revert",O)))}.bind(this),this.getFilters=function(){return Z},this.abort=function(){null!=b&&this.upListener()},this.getDragElement=function(e){return e?R||this.el:O||this.el};var re={start:[],drag:[],stop:[],over:[],out:[],beforeStart:[],revert:[]};t.events.start&&re.start.push(t.events.start),t.events.beforeStart&&re.beforeStart.push(t.events.beforeStart),t.events.stop&&re.stop.push(t.events.stop),t.events.drag&&re.drag.push(t.events.drag),t.events.revert&&re.revert.push(t.events.revert),this.on=function(e,t){re[e]&&re[e].push(t)},this.off=function(e,t){if(re[e]){for(var n=[],i=0;i<re[e].length;i++)re[e][i]!==t&&n.push(re[e][i]);re[e]=n}};var oe,ae=function(e,t){var n=null;if(z&&z[e])n=z[e](t);else if(re[e])for(var i=0;i<re[e].length;i++)try{var r=re[e][i](t);null!=r&&(n=r)}catch(o){}return n};this.notifyStart=function(e){ae("start",{el:this.el,pos:this.params.getPosition(O),e:e,drag:this})},this.stop=function(e,t){if(t||S){var n=[],i=r.getSelection(),o=this.params.getPosition(O);if(i.length>0)for(var a=0;a<i.length;a++){var s=this.params.getPosition(i[a].el);n.push([i[a].el,{left:s[0],top:s[1]},i[a]])}else n.push([O,{left:o[0],top:o[1]},this]);ae("stop",{el:O,pos:oe||o,finalPos:o,e:e,drag:this,selection:n})}},this.mark=function(e){var t;_=this.params.getPosition(O),w=this.params.getPosition(O,!0),k=[w[0]-_[0],w[1]-_[1]],this.size=this.params.getSize(O),ne=r.getMatchingDroppables(this),M(ne,!0,!1,this),this.params.addClass(O,this.params.dragClass||n.drag),t=this.params.getConstrainingRectangle?this.params.getConstrainingRectangle(O):this.params.getSize(O.parentNode),te={w:t[0],h:t[1]},v=0,g=0,e&&r.notifySelectionDragStart(this)},this.unmark=function(e,i){if(M(ne,!1,!0,this),H&&l(R,O)?(oe=[O.offsetLeft-v,O.offsetTop-g],O.parentNode.removeChild(O),O=R):oe=null,this.params.removeClass(O,this.params.dragClass||n.drag),ne.length=0,H=!1,!i){ie.length>0&&oe&&t.setPosition(R,oe),ie.sort(Y);for(var r=0;r<ie.length;r++){var o=ie[r].drop(this,e);if(!0===o)break}}},this.moveBy=function(e,n,i){ie.length=0;var r=this.toGrid([_[0]+e,_[1]+n]),o=J(r,O,te,this.size);if(l(this.el,O))if(r[0]!==o[0]||r[1]!==o[1]){if(!H){var a=c(R);t.addClass(a,y.ghostProxy),$?($.appendChild(a),f=t.getPosition(R.parentNode,!0),p=t.getPosition(t.ghostProxyParent,!0),v=f[0]-p[0],g=f[1]-p[1]):R.parentNode.appendChild(a),O=a,H=!0}o=r}else H&&(O.parentNode.removeChild(O),O=R,H=!1,f=null,p=null,v=0,g=0);var s={x:o[0],y:o[1],w:this.size[0],h:this.size[1]},u={x:s.x+k[0],y:s.y+k[1],w:s.w,h:s.h},d=null;this.params.setPosition(O,[o[0]+v,o[1]+g]);for(var h=0;h<ne.length;h++){var m={x:ne[h].pagePosition[0],y:ne[h].pagePosition[1],w:ne[h].size[0],h:ne[h].size[1]};this.params.intersects(u,m)&&(N||null==d||d===ne[h].el)&&ne[h].canDrop(this)?(d||(d=ne[h].el),ie.push(ne[h]),ne[h].setHover(this,!0,i)):ne[h].isHover()&&ne[h].setHover(this,!1,i)}ae("drag",{el:this.el,pos:o,e:i,drag:this})},this.destroy=function(){this.params.unbind(this.el,"mousedown",this.downListener),this.params.unbind(document,"mousemove",this.moveListener),this.params.unbind(document,"mouseup",this.upListener),this.downListener=null,this.upListener=null,this.moveListener=null},this.params.bind(this.el,"mousedown",this.downListener),this.params.handle?ee(this.params.handle,!1):ee(this.params.filter,this.params.filterExclude)},O=function(e,t,n,i){this._class=n.droppable,this.params=t||{},this.rank=t.rank||0,this._activeClass=this.params.activeClass||n.active,this._hoverClass=this.params.hoverClass||n.hover,T.apply(this,arguments);var r=!1;this.allowLoopback=!1!==this.params.allowLoopback,this.setActive=function(e){this.params[e?"addClass":"removeClass"](this.el,this._activeClass)},this.updatePosition=function(){this.position=this.params.getPosition(this.el),this.pagePosition=this.params.getPosition(this.el,!0),this.size=this.params.getSize(this.el)},this.canDrop=this.params.canDrop||function(e){return!0},this.isHover=function(){return r},this.setHover=function(e,t,n){(t||null==this.el._katavorioDragHover||this.el._katavorioDragHover===e.el._katavorio)&&(this.params[t?"addClass":"removeClass"](this.el,this._hoverClass),this.el._katavorioDragHover=t?e.el._katavorio:null,r!==t&&this.params.events[t?"over":"out"]({el:this.el,e:n,drag:e,drop:this}),r=t)},this.drop=function(e,t){return this.params.events["drop"]({drag:e,e:t,drop:this})},this.destroy=function(){this._class=null,this._activeClass=null,this._hoverClass=null,r=null}},I=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)}))},Y=function(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:0},A=function(e){return null==e?null:(e="string"===typeof e||e.constructor===String?document.getElementById(e):e,null==e?null:(e._katavorio=e._katavorio||I(),e))};e.Katavorio=function(e){var t=[],a={};this._dragsByScope={},this._dropsByScope={};var s=1,l=function(e,t){S(e,(function(e){for(var n=0;n<e.scopes.length;n++)t[e.scopes[n]]=t[e.scopes[n]]||[],t[e.scopes[n]].push(e)}))},u=function(t,n){var i=0;return S(t,(function(t){for(var r=0;r<t.scopes.length;r++)if(n[t.scopes[r]]){var o=e.indexOf(n[t.scopes[r]],t);-1!==o&&(n[t.scopes[r]].splice(o,1),i++)}})),i>0},c=(this.getMatchingDroppables=function(e){for(var t=[],n={},i=0;i<e.scopes.length;i++){var r=this._dropsByScope[e.scopes[i]];if(r)for(var o=0;o<r.length;o++)!r[o].canDrop(e)||n[r[o].uuid]||!r[o].allowLoopback&&r[o].el===e.el||(n[r[o].uuid]=!0,t.push(r[o]))}return t.sort(Y),t},function(t){t=t||{};var n,i={events:{}};for(n in e)i[n]=e[n];for(n in t)i[n]=t[n];for(n=0;n<_.length;n++)i.events[_[n]]=t[_[n]]||w;return i.katavorio=this,i}.bind(this)),d=function(e,t){for(var n=0;n<_.length;n++)t[_[n]]&&e.on(_[n],t[_[n]])}.bind(this),h={},f=e.css||{},p=e.scope||b;for(var m in y)h[m]=y[m];for(var m in f)h[m]=f[m];var v=e.inputFilterSelector||D;this.getInputFilterSelector=function(){return v},this.setInputFilterSelector=function(e){return v=e,this},this.draggable=function(t,n){var i=[];return S(t,function(t){if(t=A(t),null!=t)if(null==t._katavorioDrag){var r=c(n);t._katavorioDrag=new j(t,r,h,p),l(t._katavorioDrag,this._dragsByScope),i.push(t._katavorioDrag),e.addClass(t,r.selector?h.delegatedDraggable:h.draggable)}else d(t._katavorioDrag,n)}.bind(this)),i},this.droppable=function(t,n){var i=[];return S(t,function(t){if(t=A(t),null!=t){var r=new O(t,c(n),h,p);t._katavorioDrop=t._katavorioDrop||[],t._katavorioDrop.push(r),l(r,this._dropsByScope),i.push(r),e.addClass(t,h.droppable)}}.bind(this)),i},this.select=function(n){return S(n,(function(){var n=A(this);n&&n._katavorioDrag&&(a[n._katavorio]||(t.push(n._katavorioDrag),a[n._katavorio]=[n,t.length-1],e.addClass(n,h.selected)))})),this},this.deselect=function(n){return S(n,(function(){var n=A(this);if(n&&n._katavorio){var i=a[n._katavorio];if(i){for(var r=[],o=0;o<t.length;o++)t[o].el!==n&&r.push(t[o]);t=r,delete a[n._katavorio],e.removeClass(n,h.selected)}}})),this},this.deselectAll=function(){for(var n in a){var i=a[n];e.removeClass(i[0],h.selected)}t.length=0,a={}},this.markSelection=function(e){k(t,(function(e){e.mark()}),e)},this.markPosses=function(e){e.posses&&S(e.posses,(function(t){e.posseRoles[t]&&L[t]&&k(L[t].members,(function(e){e.mark()}),e)}))},this.unmarkSelection=function(e,n){k(t,(function(e){e.unmark(n)}),e)},this.unmarkPosses=function(e,t){e.posses&&S(e.posses,(function(n){e.posseRoles[n]&&L[n]&&k(L[n].members,(function(e){e.unmark(t,!0)}),e)}))},this.getSelection=function(){return t.slice(0)},this.updateSelection=function(e,n,i){k(t,(function(t){t.moveBy(e,n)}),i)};var g=function(e,t){t.posses&&S(t.posses,(function(n){t.posseRoles[n]&&L[n]&&k(L[n].members,(function(t){e(t)}),t)}))};this.updatePosses=function(e,t,n){g((function(n){n.moveBy(e,t)}),n)},this.notifyPosseDragStop=function(e,t){g((function(e){e.stop(t,!0)}),e)},this.notifySelectionDragStop=function(e,n){k(t,(function(e){e.stop(n,!0)}),e)},this.notifySelectionDragStart=function(e,n){k(t,(function(e){e.notifyStart(n)}),e)},this.setZoom=function(e){s=e},this.getZoom=function(){return s};var x=function(e,t,n,i){S(e,(function(e){u(e,n),e[i](t),l(e,n)}))};S(["set","add","remove","toggle"],function(e){this[e+"Scope"]=function(t,n){x(t._katavorioDrag,n,this._dragsByScope,e+"Scope"),x(t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this),this[e+"DragScope"]=function(t,n){x(t.constructor===j?t:t._katavorioDrag,n,this._dragsByScope,e+"Scope")}.bind(this),this[e+"DropScope"]=function(t,n){x(t.constructor===O?t:t._katavorioDrop,n,this._dropsByScope,e+"Scope")}.bind(this)}.bind(this)),this.snapToGrid=function(e,t){for(var n in this._dragsByScope)k(this._dragsByScope[n],(function(n){n.snap(e,t)}))},this.getDragsForScope=function(e){return this._dragsByScope[e]},this.getDropsForScope=function(e){return this._dropsByScope[e]};var M=function(e,n,i){if(e=A(e),e[n]){var r=t.indexOf(e[n]);r>=0&&t.splice(r,1),u(e[n],i)&&S(e[n],(function(e){e.destroy()})),delete e[n]}},C=function(e,t,n,i){e=A(e),e[t]&&e[t].off(n,i)};this.elementRemoved=function(e){e["_katavorioDrag"]&&this.destroyDraggable(e),e["_katavorioDrop"]&&this.destroyDroppable(e)},this.destroyDraggable=function(e,t,n){1===arguments.length?M(e,"_katavorioDrag",this._dragsByScope):C(e,"_katavorioDrag",t,n)},this.destroyDroppable=function(e,t,n){1===arguments.length?M(e,"_katavorioDrop",this._dropsByScope):C(e,"_katavorioDrop",t,n)},this.reset=function(){this._dragsByScope={},this._dropsByScope={},t=[],a={},L={}};var L={},T=function(e,t,i){var r=o(t)?t:t.id,a=!!o(t)||!1!==t.active,s=L[r]||function(){var e={name:r,members:[]};return L[r]=e,e}();return S(e,(function(e){if(e._katavorioDrag){if(i&&null!=e._katavorioDrag.posseRoles[s.name])return;n(s.members,e._katavorioDrag),n(e._katavorioDrag.posses,s.name),e._katavorioDrag.posseRoles[s.name]=a}})),s};this.addToPosse=function(e,t){for(var n=[],i=1;i<arguments.length;i++)n.push(T(e,arguments[i]));return 1===n.length?n[0]:n},this.setPosse=function(e,t){for(var n=[],i=1;i<arguments.length;i++)n.push(T(e,arguments[i],!0).name);return S(e,function(e){if(e._katavorioDrag){var t=r(e._katavorioDrag.posses,n),i=[];Array.prototype.push.apply(i,e._katavorioDrag.posses);for(var o=0;o<t.length;o++)this.removeFromPosse(e,t[o])}}.bind(this)),1===n.length?n[0]:n},this.removeFromPosse=function(e,t){if(arguments.length<2)throw new TypeError("No posse id provided for remove operation");for(var n=1;n<arguments.length;n++)t=arguments[n],S(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var n=e._katavorioDrag;S(t,(function(e){i(L[e].members,n),i(n.posses,e),delete n.posseRoles[e]}))}}))},this.removeFromAllPosses=function(e){S(e,(function(e){if(e._katavorioDrag&&e._katavorioDrag.posses){var t=e._katavorioDrag;S(t.posses,(function(e){i(L[e].members,t)})),t.posses.length=0,t.posseRoles={}}}))},this.setPosseState=function(e,t,n){var i=L[t];i&&S(e,(function(e){e._katavorioDrag&&e._katavorioDrag.posses&&(e._katavorioDrag.posseRoles[i.name]=n)}))}},e.Katavorio.version="1.0.0",t.Katavorio=e.Katavorio}.call("undefined"!==typeof window?window:this),function(){var e=this;e.jsPlumbUtil=e.jsPlumbUtil||{};var n=e.jsPlumbUtil;function i(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e){return"[object Number]"===Object.prototype.toString.call(e)}function o(e){return"string"===typeof e}function a(e){return"boolean"===typeof e}function s(e){return null==e}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"[object Date]"===Object.prototype.toString.call(e)}function c(e){return"[object Function]"===Object.prototype.toString.call(e)}function d(e){return c(e)&&null!=e.name&&e.name.length>0}function h(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function f(e){if(o(e))return""+e;if(a(e))return!!e;if(u(e))return new Date(e.getTime());if(c(e))return e;if(i(e)){for(var t=[],n=0;n<e.length;n++)t.push(f(e[n]));return t}if(l(e)){var r={};for(var s in e)r[s]=f(e[s]);return r}return e}function p(e,t,n,r){var s,u,c={},d={};for(n=n||[],r=r||[],u=0;u<n.length;u++)c[n[u]]=!0;for(u=0;u<r.length;u++)d[r[u]]=!0;var h=f(e);for(u in t)if(null==h[u]||d[u])h[u]=t[u];else if(o(t[u])||a(t[u]))c[u]?(s=[],s.push.apply(s,i(h[u])?h[u]:[h[u]]),s.push.apply(s,a(t[u])?t[u]:[t[u]]),h[u]=s):h[u]=t[u];else if(i(t[u]))s=[],i(h[u])&&s.push.apply(s,h[u]),s.push.apply(s,t[u]),h[u]=s;else if(l(t[u]))for(var p in l(h[u])||(h[u]={}),t[u])h[u][p]=t[u][p];return h}function m(e,t,n){if(null!=e){var i=e,r=i;return t.replace(/([^\.])+/g,(function(e,t,i,o){var a=e.match(/([^\[0-9]+){1}(\[)([0-9+])/),s=i+e.length>=o.length,l=function(){return r[a[1]]||function(){return r[a[1]]=[],r[a[1]]}()};if(s)a?l()[a[3]]=n:r[e]=n;else if(a){var u=l();r=u[a[3]]||function(){return u[a[3]]={},u[a[3]]}()}else r=r[e]||function(){return r[e]={},r[e]}();return""})),e}}function v(e,t,n){for(var i=0;i<n.length;i++){var r=n[i][0][n[i][1]].apply(n[i][0],n[i][2]);if(r===t)return r}return e}function g(e,t,n,r){var a=function(e){var n=e.match(/(\${.*?})/g);if(null!=n)for(var i=0;i<n.length;i++){var r=t[n[i].substring(2,n[i].length-1)]||"";null!=r&&(e=e.replace(n[i],r))}return e},s=function(e){if(null!=e){if(o(e))return a(e);if(!c(e)||r||null!=n&&0!==(e.name||"").indexOf(n)){if(i(e)){for(var u=[],d=0;d<e.length;d++)u.push(s(e[d]));return u}if(l(e)){var h={};for(var f in e)h[f]=s(e[f]);return h}return e}return e(t)}};return s(e)}function y(e,t){if(e)for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function b(e,t){var n=y(e,t);return n>-1&&e.splice(n,1),-1!==n}function _(e,t){var n=e.indexOf(t);return n>-1&&e.splice(n,1),-1!==n}function w(e,t,n){-1===y(e,n)&&e.push(t)}function x(e,t,n,i){var r=e[t];return null==r&&(r=[],e[t]=r),r[i?"unshift":"push"](n),r}function k(e,t,n){return-1===e.indexOf(t)&&(n?e.unshift(t):e.push(t),!0)}function M(e,t,n){var r;t=i(t)?t:[t];var o=function(t){var n=t.__proto__;while(null!=n)if(null!=n.prototype){for(var i in n.prototype)n.prototype.hasOwnProperty(i)&&!e.prototype.hasOwnProperty(i)&&(e.prototype[i]=n.prototype[i]);n=n.prototype.__proto__}else n=null};for(r=0;r<t.length;r++){for(var a in t[r].prototype)t[r].prototype.hasOwnProperty(a)&&!e.prototype.hasOwnProperty(a)&&(e.prototype[a]=t[r].prototype[a]);o(t[r])}var s=function(e,n){return function(){for(r=0;r<t.length;r++)t[r].prototype[e]&&t[r].prototype[e].apply(this,arguments);return n.apply(this,arguments)}},l=function(t){for(var n in t)e.prototype[n]=s(n,t[n])};if(arguments.length>2)for(r=2;r<arguments.length;r++)l(arguments[r]);return e}t.jsPlumbUtil=n,n.isArray=i,n.isNumber=r,n.isString=o,n.isBoolean=a,n.isNull=s,n.isObject=l,n.isDate=u,n.isFunction=c,n.isNamedFunction=d,n.isEmpty=h,n.clone=f,n.merge=p,n.replace=m,n.functionChain=v,n.populate=g,n.findWithFunction=y,n.removeWithFunction=b,n.remove=_,n.addWithFunction=w,n.addToList=x,n.suggest=k,n.extend=M;for(var S=[],C=0;C<256;C++)S[C]=(C<16?"0":"")+C.toString(16);function D(){var e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,n=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return S[255&e]+S[e>>8&255]+S[e>>16&255]+S[e>>24&255]+"-"+S[255&t]+S[t>>8&255]+"-"+S[t>>16&15|64]+S[t>>24&255]+"-"+S[63&n|128]+S[n>>8&255]+"-"+S[n>>16&255]+S[n>>24&255]+S[255&i]+S[i>>8&255]+S[i>>16&255]+S[i>>24&255]}function L(e){if(null==e)return null;var t=e.replace(/^\s\s*/,""),n=/\s/,i=t.length;while(n.test(t.charAt(--i)));return t.slice(0,i+1)}function T(e,t){e=null==e.length||"string"===typeof e?[e]:e;for(var n=0;n<e.length;n++)t(e[n])}function E(e,t){for(var n=[],i=0;i<e.length;i++)n.push(t(e[i]));return n}function P(e,t,n){n=n||"parent";var i=function(e){return e?t[e]:null},r=function(e){return e?i(e[n]):null},o=function(e,t){if(null==e)return t;var n=["anchor","anchors","cssClass","connector","paintStyle","hoverPaintStyle","endpoint","endpoints"];"override"===t.mergeStrategy&&Array.prototype.push.apply(n,["events","overlays"]);var i=p(e,t,[],n);return o(r(e),i)},a=function(e){if(null==e)return{};if("string"===typeof e)return i(e);if(e.length){var t=!1,n=0,r=void 0;while(!t&&n<e.length)r=a(e[n]),r?t=!0:n++;return r}},s=a(e);return s?o(r(s),s):{}}function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n.logEnabled&&"undefined"!==typeof console)try{var i=arguments[arguments.length-1];console.log(i)}catch(r){}}function O(e,t,n){return function(){var i=null;try{null!=t&&(i=t.apply(this,arguments))}catch(r){j("jsPlumb function failed : "+r)}if(null!=e&&(null==n||i!==n))try{i=e.apply(this,arguments)}catch(r){j("wrapped function failed : "+r)}return i}}n.uuid=D,n.fastTrim=L,n.each=T,n.map=E,n.mergeWithParents=P,n.logEnabled=!0,n.log=j,n.wrap=O;var I=function(){function e(){var e=this;this._listeners={},this.eventsSuspended=!1,this.tick=!1,this.eventsToDieOn={ready:!0},this.queue=[],this.bind=function(t,n,i){var r=function(t){x(e._listeners,t,n,i),n.__jsPlumb=n.__jsPlumb||{},n.__jsPlumb[D()]=t};if("string"===typeof t)r(t);else if(null!=t.length)for(var o=0;o<t.length;o++)r(t[o]);return e},this.fire=function(e,t,n){if(this.tick)this.queue.unshift(arguments);else{if(this.tick=!0,!this.eventsSuspended&&this._listeners[e]){var i=this._listeners[e].length,r=0,o=!1,a=null;if(!this.shouldFireEvent||this.shouldFireEvent(e,t,n))while(!o&&r<i&&!1!==a){if(this.eventsToDieOn[e])this._listeners[e][r].apply(this,[t,n]);else try{a=this._listeners[e][r].apply(this,[t,n])}catch(s){j("jsPlumb: fire failed for event "+e+" : "+s)}r++,null!=this._listeners&&null!=this._listeners[e]||(o=!0)}}this.tick=!1,this._drain()}return this},this._drain=function(){var t=e.queue.pop();t&&e.fire.apply(e,t)},this.unbind=function(e,t){if(0===arguments.length)this._listeners={};else if(1===arguments.length){if("string"===typeof e)delete this._listeners[e];else if(e.__jsPlumb){var n=void 0;for(var i in e.__jsPlumb)n=e.__jsPlumb[i],_(this._listeners[n]||[],e)}}else 2===arguments.length&&_(this._listeners[e]||[],t);return this},this.getListener=function(t){return e._listeners[t]},this.setSuspendEvents=function(t){e.eventsSuspended=t},this.isSuspendEvents=function(){return e.eventsSuspended},this.silently=function(t){e.setSuspendEvents(!0);try{t()}catch(n){j("Cannot execute silent function "+n)}e.setSuspendEvents(!1)},this.cleanupListeners=function(){for(var t in e._listeners)e._listeners[t]=null}}return e}();function Y(e,t,n){var i=[e[0]-t[0],e[1]-t[1]],r=Math.cos(n/360*Math.PI*2),o=Math.sin(n/360*Math.PI*2);return[i[0]*r-i[1]*o+t[0],i[1]*r+i[0]*o+t[1],r,o]}function A(e,t){var n=Y(e,[0,0],t);return[Math.round(n[0]),Math.round(n[1])]}n.EventGenerator=I,n.rotatePoint=Y,n.rotateAnchorOrientation=A}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this;e.jsPlumbUtil.matchesSelector=function(e,t,n){n=n||e.parentNode;for(var i=n.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]===e)return!0;return!1},e.jsPlumbUtil.consume=function(e,t){e.stopPropagation?e.stopPropagation():e.returnValue=!1,!t&&e.preventDefault&&e.preventDefault()},e.jsPlumbUtil.sizeElement=function(e,t,n,i,r){e&&(e.style.height=r+"px",e.height=r,e.style.width=i+"px",e.width=i,e.style.left=t+"px",e.style.top=n+"px")}}.call("undefined"!==typeof window?window:this),function(){var e={deriveAnchor:function(e,t,n,i){return{top:["TopRight","TopLeft"],bottom:["BottomRight","BottomLeft"]}[e][t]}},t=this,n=function(e,t){this.count=0,this.instance=e,this.lists={},this.options=t||{},this.instance.addList=function(e,t){return this.listManager.addList(e,t)},this.instance.removeList=function(e){this.listManager.removeList(e)},this.instance.bind("manageElement",function(e){for(var t=this.instance.getSelector(e.el,"[jtk-scrollable-list]"),n=0;n<t.length;n++)this.addList(t[n])}.bind(this)),this.instance.bind("unmanageElement",(function(e){this.removeList(e.el)})),this.instance.bind("connection",function(e,t){null==t&&(this._maybeUpdateParentList(e.source),this._maybeUpdateParentList(e.target))}.bind(this))};t.jsPlumbListManager=n,n.prototype={addList:function(t,n){var r=this.instance.extend({},e);this.instance.extend(r,this.options),n=this.instance.extend(r,n||{});var o=[this.instance.getInstanceIndex(),this.count++].join("_");this.lists[o]=new i(this.instance,t,n,o)},removeList:function(e){var t=this.lists[e._jsPlumbList];t&&(t.destroy(),delete this.lists[e._jsPlumbList])},_maybeUpdateParentList:function(e){var t=e.parentNode,n=this.instance.getContainer();while(null!=t&&t!==n){if(null!=t._jsPlumbList&&null!=this.lists[t._jsPlumbList])return void t._jsPlumbScrollHandler();t=t.parentNode}}};var i=function(e,t,n,i){function r(e,t,i,r){return n.anchor?n.anchor:n.deriveAnchor(e,t,i,r)}function o(e,t,i,r){return n.deriveEndpoint?n.deriveEndpoint(e,t,i,r):n.endpoint?n.endpoint:i.type}function a(t){var n=t.parentNode,i=e.getContainer();while(null!=n&&n!==i){if(e.hasClass(n,"jtk-managed"))return void e.recalculateOffsets(n);n=n.parentNode}}t["_jsPlumbList"]=i;var s=function(n){for(var i=e.getSelector(t,".jtk-managed"),s=e.getId(t),l=0;l<i.length;l++){if(i[l].offsetTop<t.scrollTop)i[l]._jsPlumbProxies||(i[l]._jsPlumbProxies=i[l]._jsPlumbProxies||[],e.select({source:i[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("top",0,n.endpoints[0],n)}),(function(){return r("top",0,n.endpoints[0],n)})),i[l]._jsPlumbProxies.push([n,0])})),e.select({target:i[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("top",1,n.endpoints[1],n)}),(function(){return r("top",1,n.endpoints[1],n)})),i[l]._jsPlumbProxies.push([n,1])})));else if(i[l].offsetTop+i[l].offsetHeight>t.scrollTop+t.offsetHeight)i[l]._jsPlumbProxies||(i[l]._jsPlumbProxies=i[l]._jsPlumbProxies||[],e.select({source:i[l]}).each((function(n){e.proxyConnection(n,0,t,s,(function(){return o("bottom",0,n.endpoints[0],n)}),(function(){return r("bottom",0,n.endpoints[0],n)})),i[l]._jsPlumbProxies.push([n,0])})),e.select({target:i[l]}).each((function(n){e.proxyConnection(n,1,t,s,(function(){return o("bottom",1,n.endpoints[1],n)}),(function(){return r("bottom",1,n.endpoints[1],n)})),i[l]._jsPlumbProxies.push([n,1])})));else if(i[l]._jsPlumbProxies){for(var u=0;u<i[l]._jsPlumbProxies.length;u++)e.unproxyConnection(i[l]._jsPlumbProxies[u][0],i[l]._jsPlumbProxies[u][1],s);delete i[l]._jsPlumbProxies}e.revalidate(i[l])}a(t)};e.setAttribute(t,"jtk-scrollable-list","true"),t._jsPlumbScrollHandler=s,e.on(t,"scroll",s),s(),this.destroy=function(){e.off(t,"scroll",s),delete t._jsPlumbScrollHandler;for(var n=e.getSelector(t,".jtk-managed"),i=e.getId(t),r=0;r<n.length;r++)if(n[r]._jsPlumbProxies){for(var o=0;o<n[r]._jsPlumbProxies.length;o++)e.unproxyConnection(n[r]._jsPlumbProxies[o][0],n[r]._jsPlumbProxies[o][1],i);delete n[r]._jsPlumbProxies}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,n=e.jsPlumbUtil,i=function(e){if(e._jsPlumb.paintStyle&&e._jsPlumb.hoverPaintStyle){var t={};p.extend(t,e._jsPlumb.paintStyle),p.extend(t,e._jsPlumb.hoverPaintStyle),delete e._jsPlumb.hoverPaintStyle,t.gradient&&e._jsPlumb.paintStyle.fill&&delete t.gradient,e._jsPlumb.hoverPaintStyle=t}},r=["tap","dbltap","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","contextmenu"],o=function(e,t,n,i){var r=e.getAttachedElements();if(r)for(var o=0,a=r.length;o<a;o++)i&&i===r[o]||r[o].setHover(t,!0,n)},a=function(e){return null==e?null:e.split(" ")},s=function(e,t,n){for(var i in t)e[i]=n},l=function(e,t,i){if(e.getDefaultType){var r=e.getTypeDescriptor(),o={},a=e.getDefaultType(),l=n.merge({},a);s(o,a,"__default");for(var u=0,c=e._jsPlumb.types.length;u<c;u++){var d=e._jsPlumb.types[u];if("__default"!==d){var h=e._jsPlumb.instance.getType(d,r);if(null!=h){var f=["anchor","anchors","connector","paintStyle","hoverPaintStyle","endpoint","endpoints","connectorOverlays","connectorStyle","connectorHoverStyle","endpointStyle","endpointHoverStyle"],p=[];"override"===h.mergeStrategy?Array.prototype.push.apply(f,["events","overlays","cssClass"]):p.push("cssClass"),l=n.merge(l,h,p,f),s(o,h,d)}}}t&&(l=n.populate(l,t,"_")),e.applyType(l,i,o),i||e.repaint()}},u=e.jsPlumbUIComponent=function(e){n.EventGenerator.apply(this,arguments);var t=this,i=arguments,r=t.idPrefix,o=r+(new Date).getTime();this._jsPlumb={instance:e._jsPlumb,parameters:e.parameters||{},paintStyle:null,hoverPaintStyle:null,paintStyleInUse:null,hover:!1,beforeDetach:e.beforeDetach,beforeDrop:e.beforeDrop,overlayPlacements:[],hoverClass:e.hoverClass||e._jsPlumb.Defaults.HoverClass,types:[],typeCache:{}},this.cacheTypeItem=function(e,t,n){this._jsPlumb.typeCache[n]=this._jsPlumb.typeCache[n]||{},this._jsPlumb.typeCache[n][e]=t},this.getCachedTypeItem=function(e,t){return this._jsPlumb.typeCache[t]?this._jsPlumb.typeCache[t][e]:null},this.getId=function(){return o};var a=e.overlays||[],s={};if(this.defaultOverlayKeys){for(var l=0;l<this.defaultOverlayKeys.length;l++)Array.prototype.push.apply(a,this._jsPlumb.instance.Defaults[this.defaultOverlayKeys[l]]||[]);for(l=0;l<a.length;l++){var u=p.convertToFullOverlaySpec(a[l]);s[u[1].id]=u}}var c={overlays:s,parameters:e.parameters||{},scope:e.scope||this._jsPlumb.instance.getDefaultScope()};if(this.getDefaultType=function(){return c},this.appendToDefaultType=function(e){for(var t in e)c[t]=e[t]},e.events)for(var d in e.events)t.bind(d,e.events[d]);this.clone=function(){var e=Object.create(this.constructor.prototype);return this.constructor.apply(e,i),e}.bind(this),this.isDetachAllowed=function(e){var t=!0;if(this._jsPlumb.beforeDetach)try{t=this._jsPlumb.beforeDetach(e)}catch(i){n.log("jsPlumb: beforeDetach callback failed",i)}return t},this.isDropAllowed=function(e,t,i,r,o,a,s){var l=this._jsPlumb.instance.checkCondition("beforeDrop",{sourceId:e,targetId:t,scope:i,connection:r,dropEndpoint:o,source:a,target:s});if(this._jsPlumb.beforeDrop)try{l=this._jsPlumb.beforeDrop({sourceId:e,targetId:t,scope:i,connection:r,dropEndpoint:o,source:a,target:s})}catch(u){n.log("jsPlumb: beforeDrop callback failed",u)}return l};var h=[];this.setListenerComponent=function(e){for(var t=0;t<h.length;t++)h[t][3]=e}},c=function(e,t){var n=e._jsPlumb.types[t],i=e._jsPlumb.instance.getType(n,e.getTypeDescriptor());null!=i&&i.cssClass&&e.canvas&&e._jsPlumb.instance.removeClass(e.canvas,i.cssClass)};n.extend(e.jsPlumbUIComponent,n.EventGenerator,{getParameter:function(e){return this._jsPlumb.parameters[e]},setParameter:function(e,t){this._jsPlumb.parameters[e]=t},getParameters:function(){return this._jsPlumb.parameters},setParameters:function(e){this._jsPlumb.parameters=e},getClass:function(){return p.getClass(this.canvas)},hasClass:function(e){return p.hasClass(this.canvas,e)},addClass:function(e){p.addClass(this.canvas,e)},removeClass:function(e){p.removeClass(this.canvas,e)},updateClasses:function(e,t){p.updateClasses(this.canvas,e,t)},setType:function(e,t,n){this.clearTypes(),this._jsPlumb.types=a(e)||[],l(this,t,n)},getType:function(){return this._jsPlumb.types},reapplyTypes:function(e,t){l(this,e,t)},hasType:function(e){return-1!==this._jsPlumb.types.indexOf(e)},addType:function(e,t,n){var i=a(e),r=!1;if(null!=i){for(var o=0,s=i.length;o<s;o++)this.hasType(i[o])||(this._jsPlumb.types.push(i[o]),r=!0);r&&l(this,t,n)}},removeType:function(e,t,n){var i=a(e),r=!1,o=function(e){var t=this._jsPlumb.types.indexOf(e);return-1!==t&&(c(this,t),this._jsPlumb.types.splice(t,1),!0)}.bind(this);if(null!=i){for(var s=0,u=i.length;s<u;s++)r=o(i[s])||r;r&&l(this,t,n)}},clearTypes:function(e,t){for(var n=this._jsPlumb.types.length,i=0;i<n;i++)c(this,0),this._jsPlumb.types.splice(0,1);l(this,e,t)},toggleType:function(e,t,n){var i=a(e);if(null!=i){for(var r=0,o=i.length;r<o;r++){var s=this._jsPlumb.types.indexOf(i[r]);-1!==s?(c(this,s),this._jsPlumb.types.splice(s,1)):this._jsPlumb.types.push(i[r])}l(this,t,n)}},applyType:function(e,t){if(this.setPaintStyle(e.paintStyle,t),this.setHoverPaintStyle(e.hoverPaintStyle,t),e.parameters)for(var n in e.parameters)this.setParameter(n,e.parameters[n]);this._jsPlumb.paintStyleInUse=this.getPaintStyle()},setPaintStyle:function(e,t){this._jsPlumb.paintStyle=e,this._jsPlumb.paintStyleInUse=this._jsPlumb.paintStyle,i(this),t||this.repaint()},getPaintStyle:function(){return this._jsPlumb.paintStyle},setHoverPaintStyle:function(e,t){this._jsPlumb.hoverPaintStyle=e,i(this),t||this.repaint()},getHoverPaintStyle:function(){return this._jsPlumb.hoverPaintStyle},destroy:function(e){(e||null==this.typeId)&&(this.cleanupListeners(),this.clone=null,this._jsPlumb=null)},isHover:function(){return this._jsPlumb.hover},setHover:function(e,t,n){if(this._jsPlumb&&!this._jsPlumb.instance.currentlyDragging&&!this._jsPlumb.instance.isHoverSuspended()){this._jsPlumb.hover=e;var i=e?"addClass":"removeClass";null!=this.canvas&&(null!=this._jsPlumb.instance.hoverClass&&this._jsPlumb.instance[i](this.canvas,this._jsPlumb.instance.hoverClass),null!=this._jsPlumb.hoverClass&&this._jsPlumb.instance[i](this.canvas,this._jsPlumb.hoverClass)),null!=this._jsPlumb.hoverPaintStyle&&(this._jsPlumb.paintStyleInUse=e?this._jsPlumb.hoverPaintStyle:this._jsPlumb.paintStyle,this._jsPlumb.instance.isSuspendDrawing()||(n=n||jsPlumbUtil.uuid(),this.repaint({timestamp:n,recalc:!1}))),this.getAttachedElements&&!t&&o(this,e,jsPlumbUtil.uuid(),this)}}});var d=0,h=function(){var e=d+1;return d++,e},f=e.jsPlumbInstance=function(t){this.version="2.15.6",this.Defaults={Anchor:"Bottom",Anchors:[null,null],ConnectionsDetachable:!0,ConnectionOverlays:[],Connector:"Bezier",Container:null,DoNotThrowErrors:!1,DragOptions:{},DropOptions:{},Endpoint:"Dot",EndpointOverlays:[],Endpoints:[null,null],EndpointStyle:{fill:"#456"},EndpointStyles:[null,null],EndpointHoverStyle:null,EndpointHoverStyles:[null,null],HoverPaintStyle:null,LabelStyle:{color:"black"},ListStyle:{},LogEnabled:!1,Overlays:[],MaxConnections:1,PaintStyle:{"stroke-width":4,stroke:"#456"},ReattachConnections:!1,RenderMode:"svg",Scope:"jsPlumb_DefaultScope"},t&&p.extend(this.Defaults,t),this.logEnabled=this.Defaults.LogEnabled,this._connectionTypes={},this._endpointTypes={},n.EventGenerator.apply(this);var i=this,o=h(),a=i.bind,s={},l=1,c=function(e){if(null==e)return null;if(3===e.nodeType||8===e.nodeType)return{el:e,text:!0};var t=i.getElement(e);return{el:t,id:n.isString(e)&&null==t?e:W(t)}};for(var d in this.getInstanceIndex=function(){return o},this.setZoom=function(e,t){return l=e,i.fire("zoom",l),t&&i.repaintEverything(),!0},this.getZoom=function(){return l},this.Defaults)s[d]=this.Defaults[d];var f,m=[];this.unbindContainer=function(){if(null!=f&&m.length>0)for(var e=0;e<m.length;e++)i.off(f,m[e][0],m[e][1])},this.setContainer=function(e){this.unbindContainer(),e=this.getElement(e),this.select().each((function(t){t.moveParent(e)})),this.selectEndpoints().each((function(t){t.moveParent(e)}));var t=f;f=e,m.length=0;for(var n={endpointclick:"endpointClick",endpointdblclick:"endpointDblClick"},o=function(e,t,r){var o=t.srcElement||t.target,a=(o&&o.parentNode?o.parentNode._jsPlumb:null)||(o?o._jsPlumb:null)||(o&&o.parentNode&&o.parentNode.parentNode?o.parentNode.parentNode._jsPlumb:null);if(a){a.fire(e,a,t);var s=r&&n[r+e]||e;i.fire(s,a.component||a,t)}},a=function(e,t,n){m.push([e,n]),i.on(f,e,t,n)},s=function(e){a(e,".jtk-connector",(function(t){o(e,t)})),a(e,".jtk-endpoint",(function(t){o(e,t,"endpoint")})),a(e,".jtk-overlay",(function(t){o(e,t)}))},l=0;l<r.length;l++)s(r[l]);for(var u in w){var c=w[u].el;c.parentNode===t&&(t.removeChild(c),f.appendChild(c))}},this.getContainer=function(){return f},this.bind=function(e,t){"ready"===e&&g?t():a.apply(i,[e,t])},i.importDefaults=function(e){for(var t in e)i.Defaults[t]=e[t];return e.Container&&i.setContainer(e.Container),i},i.restoreDefaults=function(){return i.Defaults=p.extend({},s),i};var v=null,g=!1,y=[],b={},_={},w={},x={},k={},M=!1,S=[],C=!1,D=null,L=this.Defaults.Scope,T=1,E=function(){return""+T++},P=function(e,t){f?f.appendChild(e):t?this.getElement(t).appendChild(e):this.appendToRoot(e)}.bind(this),j=function(e,t,n,r){var o={c:[],e:[]};if(!C&&(e=i.getElement(e),null!=e)){var a=W(e),s=e.querySelectorAll(".jtk-managed");null==n&&(n=jsPlumbUtil.uuid());fe({elId:a,offset:t,recalc:!1,timestamp:n});for(var l=0;l<s.length;l++)fe({elId:s[l].getAttribute("id"),recalc:!0,timestamp:n});var u=i.router.redraw(a,t,n,null,r);if(Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e),s)for(var c=0;c<s.length;c++)u=i.router.redraw(s[c].getAttribute("id"),null,n,null,r,!0),Array.prototype.push.apply(o.c,u.c),Array.prototype.push.apply(o.e,u.e)}return o},O=function(e){return _[e]},I=function(e,t){for(var n=e.scope.split(/\s/),i=t.scope.split(/\s/),r=0;r<n.length;r++)for(var o=0;o<i.length;o++)if(i[o]===n[r])return!0;return!1},Y=function(e,t){var n=p.extend({},e);for(var i in t)t[i]&&(n[i]=t[i]);return n},A=function(e,t){var r=p.extend({},e);if(t&&p.extend(r,t),r.source&&(r.source.endpoint?r.sourceEndpoint=r.source:r.source=i.getElement(r.source)),r.target&&(r.target.endpoint?r.targetEndpoint=r.target:r.target=i.getElement(r.target)),e.uuids&&(r.sourceEndpoint=O(e.uuids[0]),r.targetEndpoint=O(e.uuids[1])),r.sourceEndpoint&&r.sourceEndpoint.isFull())n.log(i,"could not add connection; source endpoint is full");else if(r.targetEndpoint&&r.targetEndpoint.isFull())n.log(i,"could not add connection; target endpoint is full");else{if(!r.type&&r.sourceEndpoint&&(r.type=r.sourceEndpoint.connectionType),r.sourceEndpoint&&r.sourceEndpoint.connectorOverlays){r.overlays=r.overlays||[];for(var o=0,a=r.sourceEndpoint.connectorOverlays.length;o<a;o++)r.overlays.push(r.sourceEndpoint.connectorOverlays[o])}r.sourceEndpoint&&r.sourceEndpoint.scope&&(r.scope=r.sourceEndpoint.scope),!r["pointer-events"]&&r.sourceEndpoint&&r.sourceEndpoint.connectorPointerEvents&&(r["pointer-events"]=r.sourceEndpoint.connectorPointerEvents);var s=function(e,t,n){var o=Y(t,{anchor:r.anchors?r.anchors[n]:r.anchor,endpoint:r.endpoints?r.endpoints[n]:r.endpoint,paintStyle:r.endpointStyles?r.endpointStyles[n]:r.endpointStyle,hoverPaintStyle:r.endpointHoverStyles?r.endpointHoverStyles[n]:r.endpointHoverStyle});return i.addEndpoint(e,o)},l=function(e,t,n,i){if(r[e]&&!r[e].endpoint&&!r[e+"Endpoint"]&&!r.newConnection){var o=W(r[e]),a=n[o];if(a=a?a[i]:null,a){if(!a.enabled)return!1;var l=p.extend({},a.def);delete l.label;var u=null!=a.endpoint&&a.endpoint._jsPlumb?a.endpoint:s(r[e],l,t);if(u.isFull())return!1;r[e+"Endpoint"]=u,!r.scope&&l.scope&&(r.scope=l.scope),a.uniqueEndpoint?a.endpoint?u.finalEndpoint=a.endpoint:(a.endpoint=u,u.setDeleteOnEmpty(!1)):u.setDeleteOnEmpty(!0),0===t&&a.def.connectorOverlays&&(r.overlays=r.overlays||[],Array.prototype.push.apply(r.overlays,a.def.connectorOverlays))}}};if(!1!==l("source",0,this.sourceEndpointDefinitions,r.type||"default")&&!1!==l("target",1,this.targetEndpointDefinitions,r.type||"default"))return r.sourceEndpoint&&r.targetEndpoint&&(I(r.sourceEndpoint,r.targetEndpoint)||(r=null)),r}}.bind(i),N=function(e){var t=i.Defaults.ConnectionType||i.getDefaultConnectionType();e._jsPlumb=i,e.newConnection=N,e.newEndpoint=R,e.endpointsByUUID=_,e.endpointsByElement=b,e.finaliseConnection=H,e.id="con_"+E();var n=new t(e);return n.isDetachable()&&(n.endpoints[0].initDraggable("_jsPlumbSource"),n.endpoints[1].initDraggable("_jsPlumbTarget")),n},H=i.finaliseConnection=function(e,t,n,r){if(t=t||{},e.suspendedEndpoint||y.push(e),e.pending=null,e.endpoints[0].isTemporarySource=!1,!1!==r&&i.router.newConnection(e),j(e.source),!t.doNotFireConnectionEvent&&!1!==t.fireEvent){var o={connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]};i.fire("connection",o,n)}},R=function(e,t){var n=i.Defaults.EndpointType||p.Endpoint,r=p.extend({},e);r._jsPlumb=i,r.newConnection=N,r.newEndpoint=R,r.endpointsByUUID=_,r.endpointsByElement=b,r.fireDetachEvent=q,r.elementId=t||W(r.source);var o=new n(r);return o.id="ep_"+E(),he(r.elementId,r.source),p.headless||i.getDragManager().endpointAdded(r.source,t),o},F=function(e,t,n){var i=b[e];if(i&&i.length)for(var r=0,o=i.length;r<o;r++){for(var a=0,s=i[r].connections.length;a<s;a++){var l=t(i[r].connections[a]);if(l)return}n&&n(i[r])}},z=function(e,t,n){t="block"===t;var i=null;n&&(i=function(e){e.setVisible(t,!0,!0)});var r=c(e);F(r.id,(function(e){if(t&&n){var i=e.sourceId===r.id?1:0;e.endpoints[i].isVisible()&&e.setVisible(!0)}else e.setVisible(t)}),i)},$=function(e,t){var n=null;t&&(n=function(e){var t=e.isVisible();e.setVisible(!t)}),F(e,(function(e){var t=e.isVisible();e.setVisible(!t)}),n)},B=function(e){var t=x[e];return t?{o:t,s:S[e]}:fe({elId:e})},W=function(e,t,r){if(n.isString(e))return e;if(null==e)return null;var a=i.getAttribute(e,"id");return a&&"undefined"!==a||(2===arguments.length&&void 0!==arguments[1]?a=t:(1===arguments.length||3===arguments.length&&!arguments[2])&&(a="jsPlumb_"+o+"_"+E()),r||i.setAttribute(e,"id",a)),a};this.setConnectionBeingDragged=function(e){M=e},this.isConnectionBeingDragged=function(){return M},this.getManagedElements=function(){return w},this.connectorClass="jtk-connector",this.connectorOutlineClass="jtk-connector-outline",this.connectedClass="jtk-connected",this.hoverClass="jtk-hover",this.endpointClass="jtk-endpoint",this.endpointConnectedClass="jtk-endpoint-connected",this.endpointFullClass="jtk-endpoint-full",this.endpointDropAllowedClass="jtk-endpoint-drop-allowed",this.endpointDropForbiddenClass="jtk-endpoint-drop-forbidden",this.overlayClass="jtk-overlay",this.draggingClass="jtk-dragging",this.elementDraggingClass="jtk-element-dragging",this.sourceElementDraggingClass="jtk-source-element-dragging",this.targetElementDraggingClass="jtk-target-element-dragging",this.endpointAnchorClassPrefix="jtk-endpoint-anchor",this.hoverSourceClass="jtk-source-hover",this.hoverTargetClass="jtk-target-hover",this.dragSelectClass="jtk-drag-select",this.Anchors={},this.Connectors={svg:{}},this.Endpoints={svg:{}},this.Overlays={svg:{}},this.ConnectorRenderers={},this.SVG="svg",this.addEndpoint=function(e,t,r){r=r||{};var o=p.extend({},r);p.extend(o,t),o.endpoint=o.endpoint||i.Defaults.Endpoint,o.paintStyle=o.paintStyle||i.Defaults.EndpointStyle;for(var a=[],s=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],l=0,u=s.length;l<u;l++){o.source=i.getElement(s[l]),ce(o.source);var c=W(o.source),d=R(o,c),h=he(c,o.source,null,!C).info.o;n.addToList(b,c,d),C||d.paint({anchorLoc:d.anchor.compute({xy:[h.left,h.top],wh:S[c],element:d,timestamp:D,rotation:this.getRotation(c)}),timestamp:D}),a.push(d)}return 1===a.length?a[0]:a},this.addEndpoints=function(e,t,r){for(var o=[],a=0,s=t.length;a<s;a++){var l=i.addEndpoint(e,t[a],r);n.isArray(l)?Array.prototype.push.apply(o,l):o.push(l)}return o},this.animate=function(e,t,r){if(!this.animationSupported)return!1;r=r||{};var o=i.getElement(e),a=W(o),s=p.animEvents.step,l=p.animEvents.complete;r[s]=n.wrap(r[s],(function(){i.revalidate(a)})),r[l]=n.wrap(r[l],(function(){i.revalidate(a)})),i.doAnimate(o,t,r)},this.checkCondition=function(e,t){var r=i.getListener(e),o=!0;if(r&&r.length>0){var a=Array.prototype.slice.call(arguments,1);try{for(var s=0,l=r.length;s<l;s++)o=o&&r[s].apply(r[s],a)}catch(u){n.log(i,"cannot check condition ["+e+"]"+u)}}return o},this.connect=function(e,t){var i,r=A(e,t);if(r){if(null==r.source&&null==r.sourceEndpoint)return void n.log("Cannot establish connection - source does not exist");if(null==r.target&&null==r.targetEndpoint)return void n.log("Cannot establish connection - target does not exist");ce(r.source),i=N(r),H(i,r)}return i};var V=[{el:"source",elId:"sourceId",epDefs:"sourceEndpointDefinitions"},{el:"target",elId:"targetId",epDefs:"targetEndpointDefinitions"}],U=function(e,t,n,i){var r,o,a,s=V[n],l=e[s.elId],u=(e[s.el],e.endpoints[n]),c={index:n,originalSourceId:0===n?l:e.sourceId,newSourceId:e.sourceId,originalTargetId:1===n?l:e.targetId,newTargetId:e.targetId,connection:e};if(t.constructor===p.Endpoint)r=t,r.addConnection(e),t=r.element;else if(o=W(t),a=this[s.epDefs][o],o===e[s.elId])r=null;else if(a)for(var d in a){if(!a[d].enabled)return;r=null!=a[d].endpoint&&a[d].endpoint._jsPlumb?a[d].endpoint:this.addEndpoint(t,a[d].def),a[d].uniqueEndpoint&&(a[d].endpoint=r),r.addConnection(e)}else r=e.makeEndpoint(0===n,t,o);return null!=r&&(u.detachFromConnection(e),e.endpoints[n]=r,e[s.el]=r.element,e[s.elId]=r.elementId,c[0===n?"newSourceId":"newTargetId"]=r.elementId,G(c),i||e.repaint()),c.element=t,c}.bind(this);this.setSource=function(e,t,n){var i=U(e,t,0,n);this.router.sourceOrTargetChanged(i.originalSourceId,i.newSourceId,e,i.el,0)},this.setTarget=function(e,t,n){var i=U(e,t,1,n);this.router.sourceOrTargetChanged(i.originalTargetId,i.newTargetId,e,i.el,1)},this.deleteEndpoint=function(e,t,n){var r="string"===typeof e?_[e]:e;return r&&i.deleteObject({endpoint:r,dontUpdateHover:t,deleteAttachedObjects:n}),i},this.deleteEveryEndpoint=function(){var e=i.setSuspendDrawing(!0);for(var t in b){var n=b[t];if(n&&n.length)for(var r=0,o=n.length;r<o;r++)i.deleteEndpoint(n[r],!0)}b={},w={},_={},x={},k={},i.router.reset();var a=i.getDragManager();return a&&a.reset(),e||i.setSuspendDrawing(!1),i};var q=function(e,t,n){var r=i.Defaults.ConnectionType||i.getDefaultConnectionType(),o=e.constructor===r,a=o?{connection:e,source:e.source,target:e.target,sourceId:e.sourceId,targetId:e.targetId,sourceEndpoint:e.endpoints[0],targetEndpoint:e.endpoints[1]}:e;t&&i.fire("connectionDetached",a,n),i.fire("internal.connectionDetached",a,n),i.router.connectionDetached(a)},G=i.fireMoveEvent=function(e,t){i.fire("connectionMoved",e,t)};this.unregisterEndpoint=function(e){for(var t in e._jsPlumb.uuid&&(_[e._jsPlumb.uuid]=null),i.router.deleteEndpoint(e),b){var n=b[t];if(n){for(var r=[],o=0,a=n.length;o<a;o++)n[o]!==e&&r.push(n[o]);b[t]=r}b[t].length<1&&delete b[t]}};var K="isDetachAllowed",J="beforeDetach",X="checkCondition";this.deleteConnection=function(e,t){return!(null==e||(t=t||{},!t.force&&!n.functionChain(!0,!1,[[e.endpoints[0],K,[e]],[e.endpoints[1],K,[e]],[e,K,[e]],[i,X,[J,e]]])))&&(e.setHover(!1),q(e,!e.pending&&!1!==t.fireEvent,t.originalEvent),e.endpoints[0].detachFromConnection(e),e.endpoints[1].detachFromConnection(e),n.removeWithFunction(y,(function(t){return e.id===t.id})),e.cleanup(),e.destroy(),!0)},this.deleteEveryConnection=function(e){e=e||{};var t=y.length,n=0;return i.batch((function(){for(var r=0;r<t;r++)n+=i.deleteConnection(y[0],e)?1:0})),n},this.deleteConnectionsForElement=function(e,t){t=t||{},e=i.getElement(e);var n=W(e),r=b[n];if(r&&r.length)for(var o=0,a=r.length;o<a;o++)r[o].deleteEveryConnection(t);return i},this.deleteObject=function(e){var t={endpoints:{},connections:{},endpointCount:0,connectionCount:0},r=!1!==e.deleteAttachedObjects,o=function(n){null!=n&&null==t.connections[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.connections[n.id]=n,t.connectionCount++)},a=function(n){if(null!=n&&null==t.endpoints[n.id]&&(e.dontUpdateHover||null==n._jsPlumb||n.setHover(!1),t.endpoints[n.id]=n,t.endpointCount++,r))for(var i=0;i<n.connections.length;i++){var a=n.connections[i];o(a)}};for(var s in e.connection?o(e.connection):a(e.endpoint),t.connections){var l=t.connections[s];if(l._jsPlumb){n.removeWithFunction(y,(function(e){return l.id===e.id})),q(l,!1!==e.fireEvent&&!l.pending,e.originalEvent);var u=null==e.deleteAttachedObjects?null:!e.deleteAttachedObjects;l.endpoints[0].detachFromConnection(l,null,u),l.endpoints[1].detachFromConnection(l,null,u),l.cleanup(!0),l.destroy(!0)}}for(var c in t.endpoints){var d=t.endpoints[c];d._jsPlumb&&(i.unregisterEndpoint(d),d.cleanup(!0),d.destroy(!0))}return t};var Z=function(e,t,n,i){for(var r=0,o=e.length;r<o;r++)e[r][t].apply(e[r],n);return i(e)},Q=function(e,t,n){for(var i=[],r=0,o=e.length;r<o;r++)i.push([e[r][t].apply(e[r],n),e[r]]);return i},ee=function(e,t,n){return function(){return Z(e,t,arguments,n)}},te=function(e,t){return function(){return Q(e,t,arguments)}},ne=function(e,t){var n=[];if(e)if("string"===typeof e){if("*"===e)return e;n.push(e)}else if(t)n=e;else if(e.length)for(var i=0,r=e.length;i<r;i++)n.push(c(e[i]).id);else n.push(c(e).id);return n},ie=function(e,t,n){return"*"===e||(e.length>0?-1!==e.indexOf(t):!n)};this.getConnections=function(e,t){e?e.constructor===String&&(e={scope:e}):e={};for(var n=e.scope||i.getDefaultScope(),r=ne(n,!0),o=ne(e.source),a=ne(e.target),s=!t&&r.length>1?{}:[],l=function(e,n){if(!t&&r.length>1){var i=s[e];null==i&&(i=s[e]=[]),i.push(n)}else s.push(n)},u=0,c=y.length;u<c;u++){var d=y[u],h=d.proxies&&d.proxies[0]?d.proxies[0].originalEp.elementId:d.sourceId,f=d.proxies&&d.proxies[1]?d.proxies[1].originalEp.elementId:d.targetId;ie(r,d.scope)&&ie(o,h)&&ie(a,f)&&l(d.scope,d)}return s};var re=function(e,t){return function(n){for(var i=0,r=e.length;i<r;i++)n(e[i]);return t(e)}},oe=function(e){return function(t){return e[t]}},ae=function(e,t){var n,i,r={length:e.length,each:re(e,t),get:oe(e)},o=["setHover","removeAllOverlays","setLabel","addClass","addOverlay","removeOverlay","removeOverlays","showOverlay","hideOverlay","showOverlays","hideOverlays","setPaintStyle","setHoverPaintStyle","setSuspendEvents","setParameter","setParameters","setVisible","repaint","addType","toggleType","removeType","removeClass","setType","bind","unbind"],a=["getLabel","getOverlay","isHover","getParameter","getParameters","getPaintStyle","getHoverPaintStyle","isVisible","hasType","getType","isSuspendEvents"];for(n=0,i=o.length;n<i;n++)r[o[n]]=ee(e,o[n],t);for(n=0,i=a.length;n<i;n++)r[a[n]]=te(e,a[n]);return r},se=function(e){var t=ae(e,se);return p.extend(t,{setDetachable:ee(e,"setDetachable",se),setReattach:ee(e,"setReattach",se),setConnector:ee(e,"setConnector",se),delete:function(){for(var t=0,n=e.length;t<n;t++)i.deleteConnection(e[t])},isDetachable:te(e,"isDetachable"),isReattach:te(e,"isReattach")})},le=function(e){var t=ae(e,le);return p.extend(t,{setEnabled:ee(e,"setEnabled",le),setAnchor:ee(e,"setAnchor",le),isEnabled:te(e,"isEnabled"),deleteEveryConnection:function(){for(var t=0,n=e.length;t<n;t++)e[t].deleteEveryConnection()},delete:function(){for(var t=0,n=e.length;t<n;t++)i.deleteEndpoint(e[t])}})};this.select=function(e){return e=e||{},e.scope=e.scope||"*",se(e.connections||i.getConnections(e,!0))},this.selectEndpoints=function(e){e=e||{},e.scope=e.scope||"*";var t=!e.element&&!e.source&&!e.target,n=t?"*":ne(e.element),i=t?"*":ne(e.source),r=t?"*":ne(e.target),o=ne(e.scope,!0),a=[];for(var s in b){var l=ie(n,s,!0),u=ie(i,s,!0),c="*"!==i,d=ie(r,s,!0),h="*"!==r;if(l||u||d)e:for(var f=0,p=b[s].length;f<p;f++){var m=b[s][f];if(ie(o,m.scope,!0)){var v=c&&i.length>0&&!m.isSource,g=h&&r.length>0&&!m.isTarget;if(v||g)continue e;a.push(m)}}}return le(a)},this.getAllConnections=function(){return y},this.getDefaultScope=function(){return L},this.getEndpoint=O,this.getEndpoints=function(e){return b[c(e).id]||[]},this.getDefaultEndpointType=function(){return p.Endpoint},this.getDefaultConnectionType=function(){return p.Connection},this.getId=W,this.draw=j,this.info=c,this.appendElement=P;var ue=!1;this.isHoverSuspended=function(){return ue},this.setHoverSuspended=function(e){ue=e},this.hide=function(e,t){return z(e,"none",t),i},this.idstamp=E;var ce=function(e){if(!f&&e){var t=i.getElement(e);t.offsetParent&&i.setContainer(t.offsetParent)}},de=function(){i.Defaults.Container&&i.setContainer(i.Defaults.Container)},he=i.manage=function(e,t,n,r){return w[e]?r&&(w[e].info=fe({elId:e,timestamp:D,recalc:!0})):(w[e]={el:t,endpoints:[],connections:[],rotation:0},w[e].info=fe({elId:e,timestamp:D}),i.addClass(t,"jtk-managed"),n||i.fire("manageElement",{id:e,info:w[e].info,el:t})),w[e]};this.unmanage=function(e){if(w[e]){var t=w[e].el;i.removeClass(t,"jtk-managed"),delete w[e],i.fire("unmanageElement",{id:e,el:t})}},this.rotate=function(e,t,n){return w[e]&&(w[e].rotation=t,w[e].el.style.transform="rotate("+t+"deg)",w[e].el.style.transformOrigin="center center",!0!==n)?this.revalidate(e):{c:[],e:[]}},this.getRotation=function(e){return w[e]&&w[e].rotation||0};var fe=function(e){var t,n=e.timestamp,r=e.recalc,o=e.offset,a=e.elId;return C&&!n&&(n=D),!r&&n&&n===k[a]?{o:e.offset||x[a],s:S[a]}:(r||!o&&null==x[a]?(t=w[a]?w[a].el:null,null!=t&&(S[a]=i.getSize(t),x[a]=i.getOffset(t),k[a]=n)):(x[a]=o||x[a],null==S[a]&&(t=w[a].el,null!=t&&(S[a]=i.getSize(t))),k[a]=n),x[a]&&!x[a].right&&(x[a].right=x[a].left+S[a][0],x[a].bottom=x[a].top+S[a][1],x[a].width=S[a][0],x[a].height=S[a][1],x[a].centerx=x[a].left+x[a].width/2,x[a].centery=x[a].top+x[a].height/2),{o:x[a],s:S[a]})};this.updateOffset=fe,this.init=function(){g||(de(),i.router=new e.jsPlumb.DefaultRouter(i),i.anchorManager=i.router.anchorManager,g=!0,i.fire("ready",i))}.bind(this),this.log=v,this.jsPlumbUIComponent=u,this.makeAnchor=function(){var t,r=function(t,n){if(e.jsPlumb.Anchors[t])return new e.jsPlumb.Anchors[t](n);if(!i.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown anchor type '"+t+"'"}};if(0===arguments.length)return null;var o=arguments[0],a=arguments[1],s=null;if(o.compute&&o.getOrientation)return o;if("string"===typeof o)s=r(arguments[0],{elementId:a,jsPlumbInstance:i});else if(n.isArray(o))if(n.isArray(o[0])||n.isString(o[0]))2===o.length&&n.isObject(o[1])?n.isString(o[0])?(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:i},o[1]),s=r(o[0],t)):(t=e.jsPlumb.extend({elementId:a,jsPlumbInstance:i,anchors:o[0]},o[1]),s=new e.jsPlumb.DynamicAnchor(t)):s=new p.DynamicAnchor({anchors:o,selector:null,elementId:a,jsPlumbInstance:i});else{var l={x:o[0],y:o[1],orientation:o.length>=4?[o[2],o[3]]:[0,0],offsets:o.length>=6?[o[4],o[5]]:[0,0],elementId:a,jsPlumbInstance:i,cssClass:7===o.length?o[6]:null};s=new e.jsPlumb.Anchor(l),s.clone=function(){return new e.jsPlumb.Anchor(l)}}return s.id||(s.id="anchor_"+E()),s},this.makeAnchors=function(t,r,o){for(var a=[],s=0,l=t.length;s<l;s++)"string"===typeof t[s]?a.push(e.jsPlumb.Anchors[t[s]]({elementId:r,jsPlumbInstance:o})):n.isArray(t[s])&&a.push(i.makeAnchor(t[s],r,o));return a},this.makeDynamicAnchor=function(t,n){return new e.jsPlumb.DynamicAnchor({anchors:t,selector:n,elementId:null,jsPlumbInstance:i})},this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={};var pe=function(e,t,n,i,r){for(var o=e.target||e.srcElement,a=!1,s=i.getSelector(t,n),l=0;l<s.length;l++)if(s[l]===o){a=!0;break}return r?!a:a},me=function(t,r,o,a,s){var l=new u(r),c=r._jsPlumb.EndpointDropHandler({jsPlumb:i,enabled:function(){return t.def.enabled},isFull:function(){var e=i.select({target:t.id}).length;return t.def.maxConnections>0&&e>=t.def.maxConnections},element:t.el,elementId:t.id,isSource:a,isTarget:s,addClass:function(e){i.addClass(t.el,e)},removeClass:function(e){i.removeClass(t.el,e)},onDrop:function(e){var t=e.endpoints[0];t.anchor.locked=!1},isDropAllowed:function(){return l.isDropAllowed.apply(l,arguments)},isRedrop:function(e){return null!=e.suspendedElement&&null!=e.suspendedEndpoint&&e.suspendedEndpoint.element===t.el},getEndpoint:function(n){var o=t.def.endpoint;if(null==o||null==o._jsPlumb){var a=i.deriveEndpointAndAnchorSpec(n.getType().join(" "),!0),s=a.endpoints?e.jsPlumb.extend(r,{endpoint:t.def.def.endpoint||a.endpoints[1]}):r;a.anchors&&(s=e.jsPlumb.extend(s,{anchor:t.def.def.anchor||a.anchors[1]})),o=i.addEndpoint(t.el,s),o._mtNew=!0}if(r.uniqueEndpoint&&(t.def.endpoint=o),o.setDeleteOnEmpty(!0),n.isDetachable()&&o.initDraggable(),null!=o.anchor.positionFinder){var l=i.getUIPosition(arguments,i.getZoom()),u=i.getOffset(t.el),c=i.getSize(t.el),d=null==l?[0,0]:o.anchor.positionFinder(l,u,c,o.anchor.constructorParams);o.anchor.x=d[0],o.anchor.y=d[1]}return o},maybeCleanup:function(e){e._mtNew&&0===e.connections.length?i.deleteObject({endpoint:e}):delete e._mtNew}}),d=e.jsPlumb.dragEvents.drop;return o.scope=o.scope||r.scope||i.Defaults.Scope,o[d]=n.wrap(o[d],c,!0),o.rank=r.rank||0,s&&(o[e.jsPlumb.dragEvents.over]=function(){return!0}),!1===r.allowLoopback&&(o.canDrop=function(e){var n=e.getDragElement()._jsPlumbRelatedElement;return n!==t.el}),i.initDroppable(t.el,o,"internal"),c};this.makeTarget=function(t,n,r){var o=e.jsPlumb.extend({_jsPlumb:this},r);e.jsPlumb.extend(o,n);for(var a=o.maxConnections||-1,s=function(t){var n=c(t),r=n.id,s=e.jsPlumb.extend({},o.dropOptions||{}),l=o.connectionType||"default";this.targetEndpointDefinitions[r]=this.targetEndpointDefinitions[r]||{},ce(r),n.el._isJsPlumbGroup&&null==s.rank&&(s.rank=-1);var u={def:e.jsPlumb.extend({},o),uniqueEndpoint:o.uniqueEndpoint,maxConnections:a,enabled:!0};o.createEndpoint&&(u.uniqueEndpoint=!0,u.endpoint=i.addEndpoint(t,u.def),u.endpoint.setDeleteOnEmpty(!1)),n.def=u,this.targetEndpointDefinitions[r][l]=u,me(n,o,s,!0===o.isSource,!0),n.el._katavorioDrop[n.el._katavorioDrop.length-1].targetDef=u}.bind(this),l=t.length&&t.constructor!==String?t:[t],u=0,d=l.length;u<d;u++)s(l[u]);return this},this.unmakeTarget=function(e,t){var n=c(e);return i.destroyDroppable(n.el,"internal"),t||delete this.targetEndpointDefinitions[n.id],this},this.makeSource=function(t,r,o){var a=e.jsPlumb.extend({_jsPlumb:this},o);e.jsPlumb.extend(a,r);var s=a.connectionType||"default",u=i.deriveEndpointAndAnchorSpec(s);a.endpoint=a.endpoint||u.endpoints[0],a.anchor=a.anchor||u.anchors[0];for(var d=a.maxConnections||-1,h=a.onMaxConnections,f=function(r){var o=r.id,u=this.getElement(r.el);this.sourceEndpointDefinitions[o]=this.sourceEndpointDefinitions[o]||{},ce(o);var c={def:e.jsPlumb.extend({},a),uniqueEndpoint:a.uniqueEndpoint,maxConnections:d,enabled:!0};a.createEndpoint&&(c.uniqueEndpoint=!0,c.endpoint=i.addEndpoint(t,c.def),c.endpoint.setDeleteOnEmpty(!1)),this.sourceEndpointDefinitions[o][s]=c,r.def=c;var f=e.jsPlumb.dragEvents.stop,p=e.jsPlumb.dragEvents.drag,m=e.jsPlumb.extend({},a.dragOptions||{}),v=m.drag,g=m.stop,y=null,b=!1;m.scope=m.scope||a.scope,m[p]=n.wrap(m[p],(function(){v&&v.apply(this,arguments),b=!1})),m[f]=n.wrap(m[f],function(){if(g&&g.apply(this,arguments),this.currentlyDragging=!1,null!=y._jsPlumb){var e=a.anchor||this.Defaults.Anchor,t=y.anchor,n=y.connections[0],r=this.makeAnchor(e,o,this),s=y.element;if(null!=r.positionFinder){var l=i.getOffset(s),u=this.getSize(s),c={left:l.left+t.x*u[0],top:l.top+t.y*u[1]},d=r.positionFinder(c,l,u,r.constructorParams);r.x=d[0],r.y=d[1]}y.setAnchor(r,!0),y.repaint(),this.repaint(y.elementId),null!=n&&this.repaint(n.targetId)}}.bind(this));var _=function(t){if(3!==t.which&&2!==t.button){o=this.getId(this.getElement(r.el));var c=this.sourceEndpointDefinitions[o][s];if(c.enabled){if(a.filter){var f=n.isString(a.filter)?pe(t,r.el,a.filter,this,a.filterExclude):a.filter(t,r.el);if(!1===f)return}var p=this.select({source:o}).length;if(c.maxConnections>=0&&p>=c.maxConnections)return h&&h({element:r.el,maxConnections:d},t),!1;var v=e.jsPlumb.getPositionOnElement(t,u,l),g={};e.jsPlumb.extend(g,c.def),g.isTemporarySource=!0,g.anchor=[v[0],v[1],0,0],g.dragOptions=m,c.def.scope&&(g.scope=c.def.scope),y=this.addEndpoint(o,g),b=!0,y.setDeleteOnEmpty(!0),c.uniqueEndpoint&&(c.endpoint?y.finalEndpoint=c.endpoint:(c.endpoint=y,y.setDeleteOnEmpty(!1)));var _=function(){i.off(y.canvas,"mouseup",_),i.off(r.el,"mouseup",_),b&&(b=!1,i.deleteEndpoint(y))};i.on(y.canvas,"mouseup",_),i.on(r.el,"mouseup",_);var w={};if(c.def.extract)for(var x in c.def.extract){var k=(t.srcElement||t.target).getAttribute(x);k&&(w[c.def.extract[x]]=k)}i.trigger(y.canvas,"mousedown",t,w),n.consume(t)}}}.bind(this);this.on(r.el,"mousedown",_),c.trigger=_,a.filter&&(n.isString(a.filter)||n.isFunction(a.filter))&&i.setDragFilter(r.el,a.filter);var w=e.jsPlumb.extend({},a.dropOptions||{});me(r,a,w,!0,!0===a.isTarget)}.bind(this),p=t.length&&t.constructor!==String?t:[t],m=0,v=p.length;m<v;m++)f(c(p[m]));return this},this.unmakeSource=function(e,t,n){var r=c(e);i.destroyDroppable(r.el,"internal");var o=this.sourceEndpointDefinitions[r.id];if(o)for(var a in o)if(null==t||t===a){var s=o[a].trigger;s&&i.off(r.el,"mousedown",s),n||delete this.sourceEndpointDefinitions[r.id][a]}return this},this.unmakeEverySource=function(){for(var e in this.sourceEndpointDefinitions)i.unmakeSource(e,null,!0);return this.sourceEndpointDefinitions={},this};var ve=function(e,t,i){t=n.isArray(t)?t:[t];var r=W(e);i=i||"default";for(var o=0;o<t.length;o++){var a=this[t[o]][r];if(a&&a[i])return a[i].def.scope||this.Defaults.Scope}}.bind(this),ge=function(e,t,i,r){i=n.isArray(i)?i:[i];var o=W(e);r=r||"default";for(var a=0;a<i.length;a++){var s=this[i[a]][o];s&&s[r]&&(s[r].def.scope=t)}}.bind(this);this.getScope=function(e,t){return ve(e,["sourceEndpointDefinitions","targetEndpointDefinitions"])},this.getSourceScope=function(e){return ve(e,"sourceEndpointDefinitions")},this.getTargetScope=function(e){return ve(e,"targetEndpointDefinitions")},this.setScope=function(e,t,n){this.setSourceScope(e,t,n),this.setTargetScope(e,t,n)},this.setSourceScope=function(e,t,n){ge(e,t,"sourceEndpointDefinitions",n),this.setDragScope(e,t)},this.setTargetScope=function(e,t,n){ge(e,t,"targetEndpointDefinitions",n),this.setDropScope(e,t)},this.unmakeEveryTarget=function(){for(var e in this.targetEndpointDefinitions)i.unmakeTarget(e,!0);return this.targetEndpointDefinitions={},this};var ye=function(e,t,r,o,a){var s,l,u,d="source"===e?this.sourceEndpointDefinitions:this.targetEndpointDefinitions;if(a=a||"default",t.length&&!n.isString(t)){s=[];for(var h=0,f=t.length;h<f;h++)l=c(t[h]),d[l.id]&&d[l.id][a]&&(s[h]=d[l.id][a].enabled,u=o?!s[h]:r,d[l.id][a].enabled=u,i[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}else{l=c(t);var p=l.id;d[p]&&d[p][a]&&(s=d[p][a].enabled,u=o?!s:r,d[p][a].enabled=u,i[u?"removeClass":"addClass"](l.el,"jtk-"+e+"-disabled"))}return s}.bind(this),be=function(e,t){if(null!=e){if(n.isString(e)||!e.length)return t.apply(this,[e]);if(e.length)return t.apply(this,[e[0]])}}.bind(this);this.toggleSourceEnabled=function(e,t){return ye("source",e,null,!0,t),this.isSourceEnabled(e,t)},this.setSourceEnabled=function(e,t,n){return ye("source",e,t,null,n)},this.isSource=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isSourceEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.sourceEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.toggleTargetEnabled=function(e,t){return ye("target",e,null,!0,t),this.isTargetEnabled(e,t)},this.isTarget=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return null!=n&&null!=n[t]}.bind(this))},this.isTargetEnabled=function(e,t){return t=t||"default",be(e,function(e){var n=this.targetEndpointDefinitions[c(e).id];return n&&n[t]&&!0===n[t].enabled}.bind(this))},this.setTargetEnabled=function(e,t,n){return ye("target",e,t,null,n)},this.ready=function(e){i.bind("ready",e)};var _e=function(e,t){if("object"===typeof e&&e.length)for(var n=0,r=e.length;n<r;n++)t(e[n]);else t(e);return i};this.repaint=function(e,t,n){return _e(e,(function(e){j(e,t,n)}))},this.revalidate=function(e,t,n){var r=n?e:i.getId(e);i.updateOffset({elId:r,recalc:!0,timestamp:t});var o=i.getDragManager();return o&&o.updateOffsets(r),j(e,null,t)},this.repaintEverything=function(){var e,t=jsPlumbUtil.uuid();for(e in b)i.updateOffset({elId:e,recalc:!0,timestamp:t});for(e in b)j(e,null,t);return this},this.removeAllEndpoints=function(e,t,n){n=n||[];var r=function(e){var o,a,s=c(e),l=b[s.id];if(l)for(n.push(s),o=0,a=l.length;o<a;o++)i.deleteEndpoint(l[o],!1);if(delete b[s.id],t&&s.el&&3!==s.el.nodeType&&8!==s.el.nodeType)for(o=0,a=s.el.childNodes.length;o<a;o++)r(s.el.childNodes[o])};return r(e),this};var we=function(e,t){i.removeAllEndpoints(e.id,!0,t);for(var n=i.getDragManager(),r=function(e){n&&n.elementRemoved(e.id),i.router.elementRemoved(e.id),i.isSource(e.el)&&i.unmakeSource(e.el),i.isTarget(e.el)&&i.unmakeTarget(e.el),i.destroyDraggable(e.el),i.destroyDroppable(e.el),delete i.floatingConnections[e.id],delete w[e.id],delete x[e.id],e.el&&(i.removeElement(e.el),e.el._jsPlumb=null)},o=1;o<t.length;o++)r(t[o]);r(e)};this.remove=function(e,t){var n=c(e),r=[];return n.text&&n.el.parentNode?n.el.parentNode.removeChild(n.el):n.id&&i.batch((function(){we(n,r)}),!0===t),i},this.empty=function(e,t){var n=[],r=function(e,t){var i=c(e);if(i.text)i.el.parentNode.removeChild(i.el);else if(i.el){while(i.el.childNodes.length>0)r(i.el.childNodes[0]);t||we(i,n)}};return i.batch((function(){r(e,!0)}),!1===t),i},this.reset=function(e){i.silently(function(){ue=!1,i.removeAllGroups(),i.removeGroupManager(),i.deleteEveryEndpoint(),e||i.unbind(),this.targetEndpointDefinitions={},this.sourceEndpointDefinitions={},y.length=0,this.doReset&&this.doReset()}.bind(this))},this.destroy=function(){this.reset(),f=null,m=null};var xe=function(e){e.canvas&&e.canvas.parentNode&&e.canvas.parentNode.removeChild(e.canvas),e.cleanup(),e.destroy()};this.clear=function(){i.select().each(xe),i.selectEndpoints().each(xe),b={},_={}},this.setDefaultScope=function(e){return L=e,i},this.deriveEndpointAndAnchorSpec=function(e,t){for(var n=((t?"":"default ")+e).split(/[\s]/),r=null,o=null,a=null,s=null,l=0;l<n.length;l++){var u=i.getType(n[l],"connection");u&&(u.endpoints&&(r=u.endpoints),u.endpoint&&(o=u.endpoint),u.anchors&&(s=u.anchors),u.anchor&&(a=u.anchor))}return{endpoints:r||[o,o],anchors:s||[a,a]}},this.setId=function(e,t,i){var r;n.isString(e)?r=e:(e=this.getElement(e),r=this.getId(e));var o=this.getConnections({source:r,scope:"*"},!0),a=this.getConnections({target:r,scope:"*"},!0);t=""+t,i?e=this.getElement(t):(e=this.getElement(r),this.setAttribute(e,"id",t)),b[t]=b[r]||[];for(var s=0,l=b[t].length;s<l;s++)b[t][s].setElementId(t),b[t][s].setReferenceElement(e);delete b[r],this.sourceEndpointDefinitions[t]=this.sourceEndpointDefinitions[r],delete this.sourceEndpointDefinitions[r],this.targetEndpointDefinitions[t]=this.targetEndpointDefinitions[r],delete this.targetEndpointDefinitions[r],this.router.changeId(r,t);var u=this.getDragManager();u&&u.changeId(r,t),w[t]=w[r],delete w[r];var c=function(n,i,r){for(var o=0,a=n.length;o<a;o++)n[o].endpoints[i].setElementId(t),n[o].endpoints[i].setReferenceElement(e),n[o][r+"Id"]=t,n[o][r]=e};c(o,0,"source"),c(a,1,"target"),this.repaint(t)},this.setDebugLog=function(e){v=e},this.setSuspendDrawing=function(e,t){var n=C;return C=e,D=e?(new Date).getTime():null,t&&this.repaintEverything(),n},this.isSuspendDrawing=function(){return C},this.getSuspendedAt=function(){return D},this.batch=function(e,t){var i=this.isSuspendDrawing();i||this.setSuspendDrawing(!0);try{e()}catch(r){n.log("Function run while suspended failed",r)}i||this.setSuspendDrawing(!1,!t)},this.doWhileSuspended=this.batch,this.getCachedData=B,this.show=function(e,t){return z(e,"block",t),i},this.toggleVisible=$,this.addListener=this.bind;var ke=[];this.registerFloatingConnection=function(e,t,i){ke[e.id]=t,n.addToList(b,e.id,i)},this.getFloatingConnectionFor=function(e){return ke[e]},this.listManager=new e.jsPlumbListManager(this,this.Defaults.ListStyle)};n.extend(e.jsPlumbInstance,n.EventGenerator,{setAttribute:function(e,t,n){this.setAttribute(e,t,n)},getAttribute:function(t,n){return this.getAttribute(e.jsPlumb.getElement(t),n)},convertToFullOverlaySpec:function(e){return n.isString(e)&&(e=[e,{}]),e[1].id=e[1].id||n.uuid(),e},registerConnectionType:function(t,n){if(this._connectionTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var i={},r=0;r<n.overlays.length;r++){var o=this.convertToFullOverlaySpec(n.overlays[r]);i[o[1].id]=o}this._connectionTypes[t].overlays=i}},registerConnectionTypes:function(e){for(var t in e)this.registerConnectionType(t,e[t])},registerEndpointType:function(t,n){if(this._endpointTypes[t]=e.jsPlumb.extend({},n),n.overlays){for(var i={},r=0;r<n.overlays.length;r++){var o=this.convertToFullOverlaySpec(n.overlays[r]);i[o[1].id]=o}this._endpointTypes[t].overlays=i}},registerEndpointTypes:function(e){for(var t in e)this.registerEndpointType(t,e[t])},getType:function(e,t){return"connection"===t?this._connectionTypes[e]:this._endpointTypes[e]},setIdChanged:function(e,t){this.setId(e,t,!0)},setParent:function(e,t){var n=this.getElement(e),i=this.getId(n),r=this.getElement(t),o=this.getId(r),a=this.getDragManager();n.parentNode.removeChild(n),r.appendChild(n),a&&a.setParent(n,i,r,o)},extend:function(e,t,n){var i;if(n)for(i=0;i<n.length;i++)e[n[i]]=t[n[i]];else for(i in t)e[i]=t[i];return e},floatingConnections:{},getFloatingAnchorIndex:function(e){return e.endpoints[0].isFloating()?0:e.endpoints[1].isFloating()?1:-1},proxyConnection:function(e,t,n,i,r,o){var a,s=e.endpoints[t].elementId,l=e.endpoints[t];e.proxies=e.proxies||[],a=e.proxies[t]?e.proxies[t].ep:this.addEndpoint(n,{endpoint:r(e,t),anchor:o(e,t),parameters:{isProxyEndpoint:!0}}),a.setDeleteOnEmpty(!0),e.proxies[t]={ep:a,originalEp:l},0===t?this.router.sourceOrTargetChanged(s,i,e,n,0):this.router.sourceOrTargetChanged(s,i,e,n,1),l.detachFromConnection(e,null,!0),a.connections=[e],e.endpoints[t]=a,l.setVisible(!1),e.setVisible(!0),this.revalidate(n)},unproxyConnection:function(e,t,n){if(null!=e._jsPlumb&&null!=e.proxies&&null!=e.proxies[t]){var i=e.proxies[t].originalEp.element,r=e.proxies[t].originalEp.elementId;e.endpoints[t]=e.proxies[t].originalEp,0===t?this.router.sourceOrTargetChanged(n,r,e,i,0):this.router.sourceOrTargetChanged(n,r,e,i,1),e.proxies[t].ep.detachFromConnection(e,null),e.proxies[t].originalEp.addConnection(e),e.isVisible()&&e.proxies[t].originalEp.setVisible(!0),delete e.proxies[t]}}});var p=new f;e.jsPlumb=p,p.getInstance=function(e,t){var n=new f(e);if(t)for(var i in t)n[i]=t[i];return n.init(),n},p.each=function(e,t){if(null!=e)if("string"===typeof e)t(p.getElement(e));else if(null!=e.length)for(var n=0;n<e.length;n++)t(p.getElement(e[n]));else t(e)},t.jsPlumb=p}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="__label",r=function(e,n){var r={cssClass:n.cssClass,labelStyle:e.labelStyle,id:i,component:e,_jsPlumb:e._jsPlumb.instance},o=t.extend(r,n);return new(t.Overlays[e._jsPlumb.instance.getRenderMode()].Label)(o)},o=function(e,i){var r=null;if(n.isArray(i)){var o=i[0],a=t.extend({component:e,_jsPlumb:e._jsPlumb.instance},i[1]);3===i.length&&t.extend(a,i[2]),r=new(t.Overlays[e._jsPlumb.instance.getRenderMode()][o])(a)}else r=i.constructor===String?new(t.Overlays[e._jsPlumb.instance.getRenderMode()][i])({component:e,_jsPlumb:e._jsPlumb.instance}):i;return r.id=r.id||n.uuid(),e.cacheTypeItem("overlay",r,r.id),e._jsPlumb.overlays[r.id]=r,r};t.OverlayCapableJsPlumbUIComponent=function(t){e.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.overlays={},this._jsPlumb.overlayPositions={},t.label&&(this.getDefaultType().overlays[i]=["Label",{label:t.label,location:t.labelLocation||this.defaultLabelLocation||.5,labelStyle:t.labelStyle||this._jsPlumb.instance.Defaults.LabelStyle,id:i}]),this.setListenerComponent=function(e){if(this._jsPlumb)for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].setListenerComponent(e)}},t.OverlayCapableJsPlumbUIComponent.applyType=function(e,t){if(t.overlays){var n,i={};for(n in t.overlays){var r=e._jsPlumb.overlays[t.overlays[n][1].id];if(r)r.updateFrom(t.overlays[n][1]),i[t.overlays[n][1].id]=!0,r.reattach(e._jsPlumb.instance,e);else{var o=e.getCachedTypeItem("overlay",t.overlays[n][1].id);null!=o?(o.reattach(e._jsPlumb.instance,e),o.setVisible(!0),o.updateFrom(t.overlays[n][1]),e._jsPlumb.overlays[o.id]=o):o=e.addOverlay(t.overlays[n],!0),i[o.id]=!0}}for(n in e._jsPlumb.overlays)null==i[e._jsPlumb.overlays[n].id]&&e.removeOverlay(e._jsPlumb.overlays[n].id,!0)}},n.extend(t.OverlayCapableJsPlumbUIComponent,e.jsPlumbUIComponent,{setHover:function(e,t){if(this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged())for(var n in this._jsPlumb.overlays)this._jsPlumb.overlays[n][e?"addClass":"removeClass"](this._jsPlumb.instance.hoverClass)},addOverlay:function(e,t){var i=o(this,e);if(this.getData&&"Label"===i.type&&n.isArray(e)){var r=this.getData(),a=e[1];if(r){var s=a.labelLocationAttribute||"labelLocation",l=r?r[s]:null;l&&(i.loc=l)}}return t||this.repaint(),i},getOverlay:function(e){return this._jsPlumb.overlays[e]},getOverlays:function(){return this._jsPlumb.overlays},hideOverlay:function(e){var t=this.getOverlay(e);t&&t.hide()},hideOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].hide()},showOverlay:function(e){var t=this.getOverlay(e);t&&t.show()},showOverlays:function(){for(var e in this._jsPlumb.overlays)this._jsPlumb.overlays[e].show()},removeAllOverlays:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup&&this._jsPlumb.overlays[t].cleanup();this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null,this._jsPlumb.overlayPlacements={},e||this.repaint()},removeOverlay:function(e,t){var n=this._jsPlumb.overlays[e];n&&(n.setVisible(!1),!t&&n.cleanup&&n.cleanup(),delete this._jsPlumb.overlays[e],this._jsPlumb.overlayPositions&&delete this._jsPlumb.overlayPositions[e],this._jsPlumb.overlayPlacements&&delete this._jsPlumb.overlayPlacements[e])},removeOverlays:function(){for(var e=0,t=arguments.length;e<t;e++)this.removeOverlay(arguments[e])},moveParent:function(e){if(this.bgCanvas&&(this.bgCanvas.parentNode.removeChild(this.bgCanvas),e.appendChild(this.bgCanvas)),this.canvas&&this.canvas.parentNode)for(var t in this.canvas.parentNode.removeChild(this.canvas),e.appendChild(this.canvas),this._jsPlumb.overlays)if(this._jsPlumb.overlays[t].isAppendedAtTopLevel){var n=this._jsPlumb.overlays[t].getElement();n.parentNode.removeChild(n),e.appendChild(n)}},getLabel:function(){var e=this.getOverlay(i);return null!=e?e.getLabel():null},getLabelOverlay:function(){return this.getOverlay(i)},setLabel:function(e){var t=this.getOverlay(i);if(t)e.constructor===String||e.constructor===Function?t.setLabel(e):(e.label&&t.setLabel(e.label),e.location&&t.setLocation(e.location));else{var n=e.constructor===String||e.constructor===Function?{label:e}:e;t=r(this,n),this._jsPlumb.overlays[i]=t}this._jsPlumb.instance.isSuspendDrawing()||this.repaint()},cleanup:function(e){for(var t in this._jsPlumb.overlays)this._jsPlumb.overlays[t].cleanup(e),this._jsPlumb.overlays[t].destroy(e);e&&(this._jsPlumb.overlays={},this._jsPlumb.overlayPositions=null)},setVisible:function(e){this[e?"showOverlays":"hideOverlays"]()},setAbsoluteOverlayPosition:function(e,t){this._jsPlumb.overlayPositions[e.id]=t},getAbsoluteOverlayPosition:function(e){return this._jsPlumb.overlayPositions?this._jsPlumb.overlayPositions[e.id]:null},_clazzManip:function(e,t,n){if(!n)for(var i in this._jsPlumb.overlays)this._jsPlumb.overlays[i][e+"Class"](t)},addClass:function(e,t){this._clazzManip("add",e,t)},removeClass:function(e,t){this._clazzManip("remove",e,t)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,t,n){var i=!1;return{drag:function(){if(i)return i=!1,!0;if(t.element){var r=n.getUIPosition(arguments,n.getZoom());null!=r&&n.setPosition(t.element,r),n.repaint(t.element,r),e.paint({anchorPoint:e.anchor.getCurrentLocation({element:e})})}},stopDrag:function(){i=!0}}},r=function(e,t,n,i){var r=t.createElement("div",{position:"absolute"});t.appendElement(r);var o=t.getId(r);t.setPosition(r,n),r.style.width=i[0]+"px",r.style.height=i[1]+"px",t.manage(o,r,!0),e.id=o,e.element=r},o=function(e,n,i,r,o,a,s,l){var u=new t.FloatingAnchor({reference:n,referenceCanvas:r,jsPlumbInstance:a});return s({paintStyle:e,endpoint:i,anchor:u,source:o,scope:l})},a=["connectorStyle","connectorHoverStyle","connectorOverlays","connector","connectionType","connectorClass","connectorHoverClass"],s=function(e,t){var n=0;if(null!=t)for(var i=0;i<e.connections.length;i++)if(e.connections[i].sourceId===t||e.connections[i].targetId===t){n=i;break}return e.connections[n]};t.Endpoint=function(e){var l=e._jsPlumb,u=e.newConnection,c=e.newEndpoint;this.idPrefix="_jsplumb_e_",this.defaultLabelLocation=[.5,.5],this.defaultOverlayKeys=["Overlays","EndpointOverlays"],t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),this.appendToDefaultType({connectionType:e.connectionType,maxConnections:null==e.maxConnections?this._jsPlumb.instance.Defaults.MaxConnections:e.maxConnections,paintStyle:e.endpointStyle||e.paintStyle||e.style||this._jsPlumb.instance.Defaults.EndpointStyle||t.Defaults.EndpointStyle,hoverPaintStyle:e.endpointHoverStyle||e.hoverPaintStyle||this._jsPlumb.instance.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle,connectorStyle:e.connectorStyle,connectorHoverStyle:e.connectorHoverStyle,connectorClass:e.connectorClass,connectorHoverClass:e.connectorHoverClass,connectorOverlays:e.connectorOverlays,connector:e.connector,connectorTooltip:e.connectorTooltip}),this._jsPlumb.enabled=!(!1===e.enabled),this._jsPlumb.visible=!0,this.element=t.getElement(e.source),this._jsPlumb.uuid=e.uuid,this._jsPlumb.floatingEndpoint=null;var d=null;this._jsPlumb.uuid&&(e.endpointsByUUID[this._jsPlumb.uuid]=this),this.elementId=e.elementId,this.dragProxy=e.dragProxy,this._jsPlumb.connectionCost=e.connectionCost,this._jsPlumb.connectionsDirected=e.connectionsDirected,this._jsPlumb.currentAnchorClass="",this._jsPlumb.events={};var h=!0===e.deleteOnEmpty;this.setDeleteOnEmpty=function(e){h=e};var f=function(){var e=l.endpointAnchorClassPrefix+"-"+this._jsPlumb.currentAnchorClass;this._jsPlumb.currentAnchorClass=this.anchor.getCssClass();var n=l.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");this.removeClass(e),this.addClass(n),t.updateClasses(this.element,n,e)}.bind(this);this.prepareAnchor=function(e){var t=this._jsPlumb.instance.makeAnchor(e,this.elementId,l);return t.bind("anchorChanged",function(e){this.fire("anchorChanged",{endpoint:this,anchor:e}),f()}.bind(this)),t},this.setPreparedAnchor=function(e,t){return this._jsPlumb.instance.continuousAnchorFactory.clear(this.elementId),this.anchor=e,f(),t||this._jsPlumb.instance.repaint(this.elementId),this},this.setAnchor=function(e,t){var n=this.prepareAnchor(e);return this.setPreparedAnchor(n,t),this};var p=function(e){if(this.connections.length>0)for(var t=0;t<this.connections.length;t++)this.connections[t].setHover(e,!1);else this.setHover(e)}.bind(this);this.bind("mouseover",(function(){p(!0)})),this.bind("mouseout",(function(){p(!1)})),e._transient||this._jsPlumb.instance.router.addEndpoint(this,this.elementId),this.prepareEndpoint=function(i,r){var o,a=function(e,n){var i=l.getRenderMode();if(t.Endpoints[i][e])return new t.Endpoints[i][e](n);if(!l.Defaults.DoNotThrowErrors)throw{msg:"jsPlumb: unknown endpoint type '"+e+"'"}},s={_jsPlumb:this._jsPlumb.instance,cssClass:e.cssClass,container:e.container,tooltip:e.tooltip,connectorTooltip:e.connectorTooltip,endpoint:this};return n.isString(i)?o=a(i,s):n.isArray(i)?(s=n.merge(i[1],s),o=a(i[0],s)):o=i.clone(),o.clone=function(){return n.isString(i)?a(i,s):n.isArray(i)?(s=n.merge(i[1],s),a(i[0],s)):void 0}.bind(this),o.typeId=r,o},this.setEndpoint=function(e,t){var n=this.prepareEndpoint(e);this.setPreparedEndpoint(n,!0)},this.setPreparedEndpoint=function(e,t){null!=this.endpoint&&(this.endpoint.cleanup(),this.endpoint.destroy()),this.endpoint=e,this.type=this.endpoint.type,this.canvas=this.endpoint.canvas},t.extend(this,e,a),this.isSource=e.isSource||!1,this.isTemporarySource=e.isTemporarySource||!1,this.isTarget=e.isTarget||!1,this.connections=e.connections||[],this.connectorPointerEvents=e["connector-pointer-events"],this.scope=e.scope||l.getDefaultScope(),this.timestamp=null,this.reattachConnections=e.reattach||l.Defaults.ReattachConnections,this.connectionsDetachable=l.Defaults.ConnectionsDetachable,!1!==e.connectionsDetachable&&!1!==e.detachable||(this.connectionsDetachable=!1),this.dragAllowedWhenFull=!1!==e.dragAllowedWhenFull,e.onMaxConnections&&this.bind("maxConnections",e.onMaxConnections),this.addConnection=function(e){this.connections.push(e),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)},this.detachFromConnection=function(e,t,n){t=null==t?this.connections.indexOf(e):t,t>=0&&(this.connections.splice(t,1),this[(this.connections.length>0?"add":"remove")+"Class"](l.endpointConnectedClass),this[(this.isFull()?"add":"remove")+"Class"](l.endpointFullClass)),!n&&h&&0===this.connections.length&&l.deleteObject({endpoint:this,fireEvent:!1,deleteAttachedObjects:!0!==n})},this.deleteEveryConnection=function(e){for(var t=this.connections.length,n=0;n<t;n++)l.deleteConnection(this.connections[0],e)},this.detachFrom=function(e,t,n){for(var i=[],r=0;r<this.connections.length;r++)this.connections[r].endpoints[1]!==e&&this.connections[r].endpoints[0]!==e||i.push(this.connections[r]);for(var o=0,a=i.length;o<a;o++)l.deleteConnection(i[0]);return this},this.getElement=function(){return this.element},this.setElement=function(i){var r=this._jsPlumb.instance.getId(i),o=this.elementId;return n.removeWithFunction(e.endpointsByElement[this.elementId],function(e){return e.id===this.id}.bind(this)),this.element=t.getElement(i),this.elementId=l.getId(this.element),l.router.rehomeEndpoint(this,o,this.element),l.dragManager.endpointAdded(this.element),n.addToList(e.endpointsByElement,r,this),this},this.makeInPlaceCopy=function(){var t=this.anchor.getCurrentLocation({element:this}),n=this.anchor.getOrientation(this),i=this.anchor.getCssClass(),r={bind:function(){},compute:function(){return[t[0],t[1]]},getCurrentLocation:function(){return[t[0],t[1]]},getOrientation:function(){return n},getCssClass:function(){return i}};return c({dropOptions:e.dropOptions,anchor:r,source:this.element,paintStyle:this.getPaintStyle(),endpoint:e.hideOnDrag?"Blank":this.endpoint,_transient:!0,scope:this.scope,reference:this})},this.connectorSelector=function(){return this.connections[0]},this.setStyle=this.setPaintStyle,this.paint=function(e){e=e||{};var t=e.timestamp,n=!(!1===e.recalc);if(!t||this.timestamp!==t){var i=l.updateOffset({elId:this.elementId,timestamp:t}),r=e.offset?e.offset.o:i.o;if(null!=r){var o=e.anchorPoint,a=e.connectorPaintStyle;if(null==o){var u=e.dimensions||i.s,c={xy:[r.left,r.top],wh:u,element:this,timestamp:t};if(n&&this.anchor.isDynamic&&this.connections.length>0){var d=s(this,e.elementWithPrecedence),h=d.endpoints[0]===this?1:0,f=0===h?d.sourceId:d.targetId,p=l.getCachedData(f),m=p.o,v=p.s;c.index=0===h?1:0,c.connection=d,c.txy=[m.left,m.top],c.twh=v,c.tElement=d.endpoints[h],c.tRotation=l.getRotation(f)}else this.connections.length>0&&(c.connection=this.connections[0]);c.rotation=l.getRotation(this.elementId),o=this.anchor.compute(c)}for(var g in this.endpoint.compute(o,this.anchor.getOrientation(this),this._jsPlumb.paintStyleInUse,a||this.paintStyleInUse),this.endpoint.paint(this._jsPlumb.paintStyleInUse,this.anchor),this.timestamp=t,this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(g)){var y=this._jsPlumb.overlays[g];y.isVisible()&&(this._jsPlumb.overlayPlacements[g]=y.draw(this.endpoint,this._jsPlumb.paintStyleInUse),y.paint(this._jsPlumb.overlayPlacements[g]))}}}},this.getTypeDescriptor=function(){return"endpoint"},this.isVisible=function(){return this._jsPlumb.visible},this.repaint=this.paint;var m=!1;this.initDraggable=function(){if(!m&&t.isDragSupported(this.element)){var a,s={id:null,element:null},h=null,f=!1,p=null,v=i(this,s,l),g=e.dragOptions||{},y={},b=t.dragEvents.start,_=t.dragEvents.stop,w=t.dragEvents.drag,x=t.dragEvents.beforeStart,k=function(e){a=e.e.payload||{}},M=function(n){h=this.connectorSelector();var i=!0;this.isEnabled()||(i=!1),null!=h||this.isSource||this.isTemporarySource||(i=!1),!this.isSource||!this.isFull()||null!=h&&this.dragAllowedWhenFull||(i=!1),null==h||h.isDetachable(this)||(this.isFull()?i=!1:h=null);var d=l.checkCondition(null==h?"beforeDrag":"beforeStartDetach",{endpoint:this,source:this.element,sourceId:this.elementId,connection:h});if(!1===d?i=!1:"object"===typeof d?t.extend(d,a||{}):d=a||{},!1===i)return l.stopDrag&&l.stopDrag(this.canvas),v.stopDrag(),!1;for(var m=0;m<this.connections.length;m++)this.connections[m].setHover(!1);this.addClass("endpointDrag"),l.setConnectionBeingDragged(!0),h&&!this.isFull()&&this.isSource&&(h=null),l.updateOffset({elId:this.elementId});var g=this._jsPlumb.instance.getOffset(this.canvas),y=this.canvas,b=this._jsPlumb.instance.getSize(this.canvas);r(s,l,g,b),l.setAttributes(this.canvas,{dragId:s.id,elId:this.elementId});var _=this.dragProxy||this.endpoint;if(null==this.dragProxy&&null!=this.connectionType){var w=this._jsPlumb.instance.deriveEndpointAndAnchorSpec(this.connectionType);w.endpoints[1]&&(_=w.endpoints[1])}var x=this._jsPlumb.instance.makeAnchor("Center");x.isFloating=!0,this._jsPlumb.floatingEndpoint=o(this.getPaintStyle(),x,_,this.canvas,s.element,l,c,this.scope);var k=this._jsPlumb.floatingEndpoint.anchor;if(null==h)this.setHover(!1,!1),h=u({sourceEndpoint:this,targetEndpoint:this._jsPlumb.floatingEndpoint,source:this.element,target:s.element,anchors:[this.anchor,this._jsPlumb.floatingEndpoint.anchor],paintStyle:e.connectorStyle,hoverPaintStyle:e.connectorHoverStyle,connector:e.connector,overlays:e.connectorOverlays,type:this.connectionType,cssClass:this.connectorClass,hoverClass:this.connectorHoverClass,scope:e.scope,data:d}),h.pending=!0,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.anchor=k,l.fire("connectionDrag",h),l.router.newConnection(h);else{f=!0,h.setHover(!1);var M=h.endpoints[0].id===this.id?0:1;this.detachFromConnection(h,null,!0);var S=l.getDragScope(y);l.setAttribute(this.canvas,"originalScope",S),l.fire("connectionDrag",h),0===M?(p=[h.source,h.sourceId,y,S],l.router.sourceOrTargetChanged(h.endpoints[M].elementId,s.id,h,s.element,0)):(p=[h.target,h.targetId,y,S],l.router.sourceOrTargetChanged(h.endpoints[M].elementId,s.id,h,s.element,1)),h.suspendedEndpoint=h.endpoints[M],h.suspendedElement=h.endpoints[M].getElement(),h.suspendedElementId=h.endpoints[M].elementId,h.suspendedElementType=0===M?"source":"target",h.suspendedEndpoint.setHover(!1),this._jsPlumb.floatingEndpoint.referenceEndpoint=h.suspendedEndpoint,h.endpoints[M]=this._jsPlumb.floatingEndpoint,h.addClass(l.draggingClass),this._jsPlumb.floatingEndpoint.addClass(l.draggingClass)}l.registerFloatingConnection(s,h,this._jsPlumb.floatingEndpoint),l.currentlyDragging=!0}.bind(this),S=function(){if(l.setConnectionBeingDragged(!1),h&&null!=h.endpoints){var e=l.getDropEvent(arguments),t=l.getFloatingAnchorIndex(h);if(h.endpoints[0===t?1:0].anchor.locked=!1,h.removeClass(l.draggingClass),this._jsPlumb&&(h.deleteConnectionNow||h.endpoints[t]===this._jsPlumb.floatingEndpoint)&&f&&h.suspendedEndpoint){0===t?(h.floatingElement=h.source,h.floatingId=h.sourceId,h.floatingEndpoint=h.endpoints[0],h.floatingIndex=0,h.source=p[0],h.sourceId=p[1]):(h.floatingElement=h.target,h.floatingId=h.targetId,h.floatingEndpoint=h.endpoints[1],h.floatingIndex=1,h.target=p[0],h.targetId=p[1]);var n=this._jsPlumb.floatingEndpoint;l.setDragScope(p[2],p[3]),h.endpoints[t]=h.suspendedEndpoint,h.isReattach()||h._forceReattach||h._forceDetach||!l.deleteConnection(h,{originalEvent:e})?(h.setHover(!1),h._forceDetach=null,h._forceReattach=null,this._jsPlumb.floatingEndpoint.detachFromConnection(h),h.suspendedEndpoint.addConnection(h),1===t?l.router.sourceOrTargetChanged(h.floatingId,h.targetId,h,h.target,t):l.router.sourceOrTargetChanged(h.floatingId,h.sourceId,h,h.source,t),l.repaint(p[1])):l.deleteObject({endpoint:n})}this.deleteAfterDragStop?l.deleteObject({endpoint:this}):this._jsPlumb&&this.paint({recalc:!1}),l.fire("connectionDragStop",h,e),h.pending&&l.fire("connectionAborted",h,e),l.currentlyDragging=!1,h.suspendedElement=null,h.suspendedEndpoint=null,h=null}s&&s.element&&l.remove(s.element,!1,!1),d&&l.deleteObject({endpoint:d}),this._jsPlumb&&(this.canvas.style.visibility="visible",this.anchor.locked=!1,this._jsPlumb.floatingEndpoint=null)}.bind(this);g=t.extend(y,g),g.scope=this.scope||g.scope,g[x]=n.wrap(g[x],k,!1),g[b]=n.wrap(g[b],M,!1),g[w]=n.wrap(g[w],v.drag),g[_]=n.wrap(g[_],S),g.multipleDrop=!1,g.canDrag=function(){return this.isSource||this.isTemporarySource||this.connections.length>0&&!1!==this.connectionsDetachable}.bind(this),l.initDraggable(this.canvas,g,"internal"),this.canvas._jsPlumbRelatedElement=this.element,m=!0}};var v=e.endpoint||this._jsPlumb.instance.Defaults.Endpoint||t.Defaults.Endpoint;this.setEndpoint(v,!0);var g=e.anchor?e.anchor:e.anchors?e.anchors:l.Defaults.Anchor||"Top";this.setAnchor(g,!0);var y=["default",e.type||""].join(" ");this.addType(y,e.data,!0),this.canvas=this.endpoint.canvas,this.canvas._jsPlumb=this,this.initDraggable();var b=function(i,r,o,a){if(t.isDropSupported(this.element)){var s=e.dropOptions||l.Defaults.DropOptions||t.Defaults.DropOptions;s=t.extend({},s),s.scope=s.scope||this.scope;var u=t.dragEvents.drop,c=t.dragEvents.over,d=t.dragEvents.out,h=this,f=l.EndpointDropHandler({getEndpoint:function(){return h},jsPlumb:l,enabled:function(){return null==o||o.isEnabled()},isFull:function(){return o.isFull()},element:this.element,elementId:this.elementId,isSource:this.isSource,isTarget:this.isTarget,addClass:function(e){h.addClass(e)},removeClass:function(e){h.removeClass(e)},isDropAllowed:function(){return h.isDropAllowed.apply(h,arguments)},reference:a,isRedrop:function(e,t){return e.suspendedEndpoint&&t.reference&&e.suspendedEndpoint.id===t.reference.id}});s[u]=n.wrap(s[u],f,!0),s[c]=n.wrap(s[c],function(){var e=t.getDragObject(arguments),n=l.getAttribute(t.getElement(e),"dragId"),i=l.getFloatingConnectionFor(n);if(null!=i){var r=l.getFloatingAnchorIndex(i),o=this.isTarget&&0!==r||i.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===i.suspendedEndpoint.id;if(o){var a=l.checkCondition("checkDropAllowed",{sourceEndpoint:i.endpoints[r],targetEndpoint:this,connection:i});this[(a?"add":"remove")+"Class"](l.endpointDropAllowedClass),this[(a?"remove":"add")+"Class"](l.endpointDropForbiddenClass),i.endpoints[r].anchor.over(this.anchor,this)}}}.bind(this)),s[d]=n.wrap(s[d],function(){var e=t.getDragObject(arguments),n=null==e?null:l.getAttribute(t.getElement(e),"dragId"),i=n?l.getFloatingConnectionFor(n):null;if(null!=i){var r=l.getFloatingAnchorIndex(i),o=this.isTarget&&0!==r||i.suspendedEndpoint&&this.referenceEndpoint&&this.referenceEndpoint.id===i.suspendedEndpoint.id;o&&(this.removeClass(l.endpointDropAllowedClass),this.removeClass(l.endpointDropForbiddenClass),i.endpoints[r].anchor.out())}}.bind(this)),l.initDroppable(i,s,"internal",r)}}.bind(this);return this.anchor.isFloating||b(this.canvas,!(e._transient||this.anchor.isFloating),this,e.reference),this},n.extend(t.Endpoint,t.OverlayCapableJsPlumbUIComponent,{setVisible:function(e,t,n){if(this._jsPlumb.visible=e,this.canvas&&(this.canvas.style.display=e?"block":"none"),this[e?"showOverlays":"hideOverlays"](),!t)for(var i=0;i<this.connections.length;i++)if(this.connections[i].setVisible(e),!n){var r=this===this.connections[i].endpoints[0]?1:0;1===this.connections[i].endpoints[r].connections.length&&this.connections[i].endpoints[r].setVisible(e,!0,!0)}},getAttachedElements:function(){return this.connections},applyType:function(e,n){this.setPaintStyle(e.endpointStyle||e.paintStyle,n),this.setHoverPaintStyle(e.endpointHoverStyle||e.hoverPaintStyle,n),null!=e.maxConnections&&(this._jsPlumb.maxConnections=e.maxConnections),e.scope&&(this.scope=e.scope),t.extend(this,e,a),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},isEnabled:function(){return this._jsPlumb.enabled},setEnabled:function(e){this._jsPlumb.enabled=e},cleanup:function(){var e=this._jsPlumb.instance.endpointAnchorClassPrefix+(this._jsPlumb.currentAnchorClass?"-"+this._jsPlumb.currentAnchorClass:"");t.removeClass(this.element,e),this.anchor=null,this.endpoint.cleanup(!0),this.endpoint.destroy(),this.endpoint=null,this._jsPlumb.instance.destroyDraggable(this.canvas,"internal"),this._jsPlumb.instance.destroyDroppable(this.canvas,"internal")},setHover:function(e){this.endpoint&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&this.endpoint.setHover(e)},isFull:function(){return 0===this._jsPlumb.maxConnections||!(this.isFloating()||this._jsPlumb.maxConnections<0||this.connections.length<this._jsPlumb.maxConnections)},isFloating:function(){return null!=this.anchor&&this.anchor.isFloating},isConnectedTo:function(e){var t=!1;if(e)for(var n=0;n<this.connections.length;n++)if(this.connections[n].endpoints[1]===e||this.connections[n].endpoints[0]===e){t=!0;break}return t},getConnectionCost:function(){return this._jsPlumb.connectionCost},setConnectionCost:function(e){this._jsPlumb.connectionCost=e},areConnectionsDirected:function(){return this._jsPlumb.connectionsDirected},setConnectionsDirected:function(e){this._jsPlumb.connectionsDirected=e},setElementId:function(e){this.elementId=e,this.anchor.elementId=e},setReferenceElement:function(e){this.element=t.getElement(e)},setDragAllowedWhenFull:function(e){this.dragAllowedWhenFull=e},equals:function(e){return this.anchor.equals(e.anchor)},getUuid:function(){return this._jsPlumb.uuid},computeAnchor:function(e){return this.anchor.compute(e)}}),e.jsPlumbInstance.prototype.EndpointDropHandler=function(e){return function(t){var i=e.jsPlumb;e.removeClass(i.endpointDropAllowedClass),e.removeClass(i.endpointDropForbiddenClass);var r=i.getDropEvent(arguments),o=i.getDragObject(arguments),a=i.getAttribute(o,"dragId"),s=(i.getAttribute(o,"elId"),i.getAttribute(o,"originalScope")),l=i.getFloatingConnectionFor(a);if(null!=l){var u=null!=l.suspendedEndpoint;if(!u||null!=l.suspendedEndpoint._jsPlumb){var c=e.getEndpoint(l);if(null!=c){if(e.isRedrop(l,e))return l._forceReattach=!0,l.setHover(!1),void(e.maybeCleanup&&e.maybeCleanup(c));var d=i.getFloatingAnchorIndex(l);if(0===d&&!e.isSource||1===d&&!e.isTarget)e.maybeCleanup&&e.maybeCleanup(c);else{e.onDrop&&e.onDrop(l),s&&i.setDragScope(o,s);var h=e.isFull(t);if(h&&c.fire("maxConnections",{endpoint:this,connection:l,maxConnections:c._jsPlumb.maxConnections},r),!h&&e.enabled()){var f=!0;0===d?(l.floatingElement=l.source,l.floatingId=l.sourceId,l.floatingEndpoint=l.endpoints[0],l.floatingIndex=0,l.source=e.element,l.sourceId=i.getId(e.element)):(l.floatingElement=l.target,l.floatingId=l.targetId,l.floatingEndpoint=l.endpoints[1],l.floatingIndex=1,l.target=e.element,l.targetId=i.getId(e.element)),u&&l.suspendedEndpoint.id!==c.id&&(l.isDetachAllowed(l)&&l.endpoints[d].isDetachAllowed(l)&&l.suspendedEndpoint.isDetachAllowed(l)&&i.checkCondition("beforeDetach",l)||(f=!1));var p=function(t){l.endpoints[d].detachFromConnection(l),l.suspendedEndpoint&&l.suspendedEndpoint.detachFromConnection(l),l.endpoints[d]=c,c.addConnection(l);var o=c.getParameters();for(var a in o)l.setParameter(a,o[a]);if(u){var s=l.suspendedEndpoint.elementId;i.fireMoveEvent({index:d,originalSourceId:0===d?s:l.sourceId,newSourceId:0===d?c.elementId:l.sourceId,originalTargetId:1===d?s:l.targetId,newTargetId:1===d?c.elementId:l.targetId,originalSourceEndpoint:0===d?l.suspendedEndpoint:l.endpoints[0],newSourceEndpoint:0===d?c:l.endpoints[0],originalTargetEndpoint:1===d?l.suspendedEndpoint:l.endpoints[1],newTargetEndpoint:1===d?c:l.endpoints[1],connection:l},r)}else o.draggable&&i.initDraggable(this.element,e.dragOptions,"internal",i);if(1===d?i.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):i.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),l.endpoints[0].finalEndpoint){var h=l.endpoints[0];h.detachFromConnection(l),l.endpoints[0]=l.endpoints[0].finalEndpoint,l.endpoints[0].addConnection(l)}n.isObject(t)&&l.mergeData(t),i.finaliseConnection(l,null,r,!1),l.setHover(!1),i.revalidate(l.endpoints[0].element)}.bind(this),m=function(){l.suspendedEndpoint&&(l.endpoints[d]=l.suspendedEndpoint,l.setHover(!1),l._forceDetach=!0,0===d?(l.source=l.suspendedEndpoint.element,l.sourceId=l.suspendedEndpoint.elementId):(l.target=l.suspendedEndpoint.element,l.targetId=l.suspendedEndpoint.elementId),l.suspendedEndpoint.addConnection(l),1===d?i.router.sourceOrTargetChanged(l.floatingId,l.targetId,l,l.target,1):i.router.sourceOrTargetChanged(l.floatingId,l.sourceId,l,l.source,0),i.repaint(l.sourceId),l._forceDetach=!1)};if(f=f&&e.isDropAllowed(l.sourceId,l.targetId,l.scope,l,c),f)return p(f),!0;m()}e.maybeCleanup&&e.maybeCleanup(c),i.currentlyDragging=!1}}}}}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,i,r,o,a){if(t.Connectors[i]=t.Connectors[i]||{},null==t.Connectors[i][r]){if(null==t.Connectors[r]){if(e.Defaults.DoNotThrowErrors)return null;throw new TypeError("jsPlumb: unknown connector type '"+r+"'")}t.Connectors[i][r]=function(){t.Connectors[r].apply(this,arguments),t.ConnectorRenderers[i].apply(this,arguments)},n.extend(t.Connectors[i][r],[t.Connectors[r],t.ConnectorRenderers[i]])}return new t.Connectors[i][r](o,a)},r=function(e,t,n){return e?n.makeAnchor(e,t,n):null},o=function(e,t,i,r){null!=t&&(t._jsPlumbConnections=t._jsPlumbConnections||{},r?delete t._jsPlumbConnections[e.id]:t._jsPlumbConnections[e.id]=!0,n.isEmpty(t._jsPlumbConnections)?i.removeClass(t,i.connectedClass):i.addClass(t,i.connectedClass))};t.Connection=function(e){var i=e.newEndpoint;this.id=e.id,this.connector=null,this.idPrefix="_jsplumb_c_",this.defaultLabelLocation=.5,this.defaultOverlayKeys=["Overlays","ConnectionOverlays"],this.previousConnection=e.previousConnection,this.source=t.getElement(e.source),this.target=t.getElement(e.target),t.OverlayCapableJsPlumbUIComponent.apply(this,arguments),e.sourceEndpoint?(this.source=e.sourceEndpoint.getElement(),this.sourceId=e.sourceEndpoint.elementId):this.sourceId=this._jsPlumb.instance.getId(this.source),e.targetEndpoint?(this.target=e.targetEndpoint.getElement(),this.targetId=e.targetEndpoint.elementId):this.targetId=this._jsPlumb.instance.getId(this.target),this.scope=e.scope,this.endpoints=[],this.endpointStyles=[];var r=this._jsPlumb.instance;r.manage(this.sourceId,this.source),r.manage(this.targetId,this.target),this._jsPlumb.visible=!0,this._jsPlumb.params={cssClass:e.cssClass,container:e.container,"pointer-events":e["pointer-events"],editorParams:e.editorParams,overlays:e.overlays},this._jsPlumb.lastPaintedAt=null,this.bind("mouseover",function(){this.setHover(!0)}.bind(this)),this.bind("mouseout",function(){this.setHover(!1)}.bind(this)),this.makeEndpoint=function(t,n,o,a,s){return o=o||this._jsPlumb.instance.getId(n),this.prepareEndpoint(r,i,this,a,t?0:1,e,n,o,s)},e.type&&(e.endpoints=e.endpoints||this._jsPlumb.instance.deriveEndpointAndAnchorSpec(e.type).endpoints);var o=this.makeEndpoint(!0,this.source,this.sourceId,e.sourceEndpoint),a=this.makeEndpoint(!1,this.target,this.targetId,e.targetEndpoint);o&&n.addToList(e.endpointsByElement,this.sourceId,o),a&&n.addToList(e.endpointsByElement,this.targetId,a),this.scope||(this.scope=this.endpoints[0].scope),null!=e.deleteEndpointsOnEmpty&&(this.endpoints[0].setDeleteOnEmpty(e.deleteEndpointsOnEmpty),this.endpoints[1].setDeleteOnEmpty(e.deleteEndpointsOnEmpty));var s=r.Defaults.ConnectionsDetachable;!1===e.detachable&&(s=!1),!1===this.endpoints[0].connectionsDetachable&&(s=!1),!1===this.endpoints[1].connectionsDetachable&&(s=!1);var l=e.reattach||this.endpoints[0].reattachConnections||this.endpoints[1].reattachConnections||r.Defaults.ReattachConnections;this.appendToDefaultType({detachable:s,reattach:l,paintStyle:this.endpoints[0].connectorStyle||this.endpoints[1].connectorStyle||e.paintStyle||r.Defaults.PaintStyle||t.Defaults.PaintStyle,hoverPaintStyle:this.endpoints[0].connectorHoverStyle||this.endpoints[1].connectorHoverStyle||e.hoverPaintStyle||r.Defaults.HoverPaintStyle||t.Defaults.HoverPaintStyle});var u=r.getSuspendedAt();if(!r.isSuspendDrawing()){var c=r.getCachedData(this.sourceId),d=c.o,h=c.s,f=r.getCachedData(this.targetId),p=f.o,m=f.s,v=u||jsPlumbUtil.uuid(),g=this.endpoints[0].anchor.compute({xy:[d.left,d.top],wh:h,element:this.endpoints[0],elementId:this.endpoints[0].elementId,txy:[p.left,p.top],twh:m,tElement:this.endpoints[1],timestamp:v,rotation:r.getRotation(this.endpoints[0].elementId)});this.endpoints[0].paint({anchorLoc:g,timestamp:v}),g=this.endpoints[1].anchor.compute({xy:[p.left,p.top],wh:m,element:this.endpoints[1],elementId:this.endpoints[1].elementId,txy:[d.left,d.top],twh:h,tElement:this.endpoints[0],timestamp:v,rotation:r.getRotation(this.endpoints[1].elementId)}),this.endpoints[1].paint({anchorLoc:g,timestamp:v})}this.getTypeDescriptor=function(){return"connection"},this.getAttachedElements=function(){return this.endpoints},this.isDetachable=function(e){return!1!==this._jsPlumb.detachable&&(null!=e?!0===e.connectionsDetachable:!0===this._jsPlumb.detachable)},this.setDetachable=function(e){this._jsPlumb.detachable=!0===e},this.isReattach=function(){return!0===this._jsPlumb.reattach||!0===this.endpoints[0].reattachConnections||!0===this.endpoints[1].reattachConnections},this.setReattach=function(e){this._jsPlumb.reattach=!0===e},this._jsPlumb.cost=e.cost||this.endpoints[0].getConnectionCost(),this._jsPlumb.directed=e.directed,null==e.directed&&(this._jsPlumb.directed=this.endpoints[0].areConnectionsDirected());var y=t.extend({},this.endpoints[1].getParameters());t.extend(y,this.endpoints[0].getParameters()),t.extend(y,this.getParameters()),this.setParameters(y),this.setConnector(this.endpoints[0].connector||this.endpoints[1].connector||e.connector||r.Defaults.Connector||t.Defaults.Connector,!0);var b=null!=e.data&&n.isObject(e.data)?e.data:{};this.getData=function(){return b},this.setData=function(e){b=e||{}},this.mergeData=function(e){b=t.extend(b,e)};var _=["default",this.endpoints[0].connectionType,this.endpoints[1].connectionType,e.type].join(" ");/[^\s]/.test(_)&&this.addType(_,e.data,!0),this.updateConnectedClass()},n.extend(t.Connection,t.OverlayCapableJsPlumbUIComponent,{applyType:function(e,n,i){var r=null;null!=e.connector&&(r=this.getCachedTypeItem("connector",i.connector),null==r&&(r=this.prepareConnector(e.connector,i.connector),this.cacheTypeItem("connector",r,i.connector)),this.setPreparedConnector(r)),null!=e.detachable&&this.setDetachable(e.detachable),null!=e.reattach&&this.setReattach(e.reattach),e.scope&&(this.scope=e.scope),null!=e.cssClass&&this.canvas&&this._jsPlumb.instance.addClass(this.canvas,e.cssClass);var o=null;e.anchor?(o=this.getCachedTypeItem("anchors",i.anchor),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchor),this._jsPlumb.instance.makeAnchor(e.anchor)],this.cacheTypeItem("anchors",o,i.anchor))):e.anchors&&(o=this.getCachedTypeItem("anchors",i.anchors),null==o&&(o=[this._jsPlumb.instance.makeAnchor(e.anchors[0]),this._jsPlumb.instance.makeAnchor(e.anchors[1])],this.cacheTypeItem("anchors",o,i.anchors))),null!=o&&(this.endpoints[0].anchor=o[0],this.endpoints[1].anchor=o[1],this.endpoints[1].anchor.isDynamic&&this._jsPlumb.instance.repaint(this.endpoints[1].elementId)),t.OverlayCapableJsPlumbUIComponent.applyType(this,e)},addClass:function(e,t){t&&(this.endpoints[0].addClass(e),this.endpoints[1].addClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.addClass(e)),this.connector&&this.connector.addClass(e)},removeClass:function(e,t){t&&(this.endpoints[0].removeClass(e),this.endpoints[1].removeClass(e),this.suspendedEndpoint&&this.suspendedEndpoint.removeClass(e)),this.connector&&this.connector.removeClass(e)},isVisible:function(){return this._jsPlumb.visible},setVisible:function(e){this._jsPlumb.visible=e,this.connector&&this.connector.setVisible(e),this.repaint()},cleanup:function(){this.updateConnectedClass(!0),this.endpoints=null,this.source=null,this.target=null,null!=this.connector&&(this.connector.cleanup(!0),this.connector.destroy(!0)),this.connector=null},updateConnectedClass:function(e){this._jsPlumb&&(o(this,this.source,this._jsPlumb.instance,e),o(this,this.target,this._jsPlumb.instance,e))},setHover:function(t){this.connector&&this._jsPlumb&&!this._jsPlumb.instance.isConnectionBeingDragged()&&(this.connector.setHover(t),e.jsPlumb[t?"addClass":"removeClass"](this.source,this._jsPlumb.instance.hoverSourceClass),e.jsPlumb[t?"addClass":"removeClass"](this.target,this._jsPlumb.instance.hoverTargetClass))},getUuids:function(){return[this.endpoints[0].getUuid(),this.endpoints[1].getUuid()]},getCost:function(){return this._jsPlumb?this._jsPlumb.cost:-1/0},setCost:function(e){this._jsPlumb.cost=e},isDirected:function(){return this._jsPlumb.directed},getConnector:function(){return this.connector},prepareConnector:function(e,t){var r,o={_jsPlumb:this._jsPlumb.instance,cssClass:this._jsPlumb.params.cssClass,container:this._jsPlumb.params.container,"pointer-events":this._jsPlumb.params["pointer-events"]},a=this._jsPlumb.instance.getRenderMode();return n.isString(e)?r=i(this._jsPlumb.instance,a,e,o,this):n.isArray(e)&&(r=1===e.length?i(this._jsPlumb.instance,a,e[0],o,this):i(this._jsPlumb.instance,a,e[0],n.merge(e[1],o),this)),null!=t&&(r.typeId=t),r},setPreparedConnector:function(e,t,n,i){if(this.connector!==e){var r,o="";if(null!=this.connector&&(r=this.connector,o=r.getClass(),this.connector.cleanup(),this.connector.destroy()),this.connector=e,i&&this.cacheTypeItem("connector",e,i),this.canvas=this.connector.canvas,this.bgCanvas=this.connector.bgCanvas,this.connector.reattach(this._jsPlumb.instance),this.addClass(o),this.canvas&&(this.canvas._jsPlumb=this),this.bgCanvas&&(this.bgCanvas._jsPlumb=this),null!=r)for(var a=this.getOverlays(),s=0;s<a.length;s++)a[s].transfer&&a[s].transfer(this.connector);n||this.setListenerComponent(this.connector),t||this.repaint()}},setConnector:function(e,t,n,i){var r=this.prepareConnector(e,i);this.setPreparedConnector(r,t,n,i)},paint:function(e){if(!this._jsPlumb.instance.isSuspendDrawing()&&this._jsPlumb.visible){e=e||{};var t=e.timestamp,n=!1,i=n?this.sourceId:this.targetId,r=n?this.targetId:this.sourceId,o=n?0:1,a=n?1:0;if(null==t||t!==this._jsPlumb.lastPaintedAt){var s=this._jsPlumb.instance.updateOffset({elId:r}).o,l=this._jsPlumb.instance.updateOffset({elId:i}).o,u=this.endpoints[a],c=this.endpoints[o],d=u.anchor.getCurrentLocation({xy:[s.left,s.top],wh:[s.width,s.height],element:u,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.sourceId)}),h=c.anchor.getCurrentLocation({xy:[l.left,l.top],wh:[l.width,l.height],element:c,timestamp:t,rotation:this._jsPlumb.instance.getRotation(this.targetId)});this.connector.resetBounds(),this.connector.compute({sourcePos:d,targetPos:h,sourceOrientation:u.anchor.getOrientation(u),targetOrientation:c.anchor.getOrientation(c),sourceEndpoint:this.endpoints[a],targetEndpoint:this.endpoints[o],"stroke-width":this._jsPlumb.paintStyleInUse.strokeWidth,sourceInfo:s,targetInfo:l});var f={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};for(var p in this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(p)){var m=this._jsPlumb.overlays[p];m.isVisible()&&(this._jsPlumb.overlayPlacements[p]=m.draw(this.connector,this._jsPlumb.paintStyleInUse,this.getAbsoluteOverlayPosition(m)),f.minX=Math.min(f.minX,this._jsPlumb.overlayPlacements[p].minX),f.maxX=Math.max(f.maxX,this._jsPlumb.overlayPlacements[p].maxX),f.minY=Math.min(f.minY,this._jsPlumb.overlayPlacements[p].minY),f.maxY=Math.max(f.maxY,this._jsPlumb.overlayPlacements[p].maxY))}var v=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||1)/2,g=parseFloat(this._jsPlumb.paintStyleInUse.strokeWidth||0),y={xmin:Math.min(this.connector.bounds.minX-(v+g),f.minX),ymin:Math.min(this.connector.bounds.minY-(v+g),f.minY),xmax:Math.max(this.connector.bounds.maxX+(v+g),f.maxX),ymax:Math.max(this.connector.bounds.maxY+(v+g),f.maxY)};for(var b in this.connector.paintExtents=y,this.connector.paint(this._jsPlumb.paintStyleInUse,null,y),this._jsPlumb.overlays)if(this._jsPlumb.overlays.hasOwnProperty(b)){var _=this._jsPlumb.overlays[b];_.isVisible()&&_.paint(this._jsPlumb.overlayPlacements[b],y)}}this._jsPlumb.lastPaintedAt=t}},repaint:function(e){var t=jsPlumb.extend(e||{},{});t.elId=this.sourceId,this.paint(t)},prepareEndpoint:function(e,n,i,o,a,s,l,u,c){var d;if(o)i.endpoints[a]=o,o.addConnection(i);else{s.endpoints||(s.endpoints=[null,null]);var h=c||s.endpoints[a]||s.endpoint||e.Defaults.Endpoints[a]||t.Defaults.Endpoints[a]||e.Defaults.Endpoint||t.Defaults.Endpoint;s.endpointStyles||(s.endpointStyles=[null,null]),s.endpointHoverStyles||(s.endpointHoverStyles=[null,null]);var f=s.endpointStyles[a]||s.endpointStyle||e.Defaults.EndpointStyles[a]||t.Defaults.EndpointStyles[a]||e.Defaults.EndpointStyle||t.Defaults.EndpointStyle;null==f.fill&&null!=s.paintStyle&&(f.fill=s.paintStyle.stroke),null==f.outlineStroke&&null!=s.paintStyle&&(f.outlineStroke=s.paintStyle.outlineStroke),null==f.outlineWidth&&null!=s.paintStyle&&(f.outlineWidth=s.paintStyle.outlineWidth);var p=s.endpointHoverStyles[a]||s.endpointHoverStyle||e.Defaults.EndpointHoverStyles[a]||t.Defaults.EndpointHoverStyles[a]||e.Defaults.EndpointHoverStyle||t.Defaults.EndpointHoverStyle;null!=s.hoverPaintStyle&&(null==p&&(p={}),null==p.fill&&(p.fill=s.hoverPaintStyle.stroke));var m=s.anchors?s.anchors[a]:s.anchor?s.anchor:r(e.Defaults.Anchors[a],u,e)||r(t.Defaults.Anchors[a],u,e)||r(e.Defaults.Anchor,u,e)||r(t.Defaults.Anchor,u,e),v=s.uuids?s.uuids[a]:null;d=n({paintStyle:f,hoverPaintStyle:p,endpoint:h,connections:[i],uuid:v,anchor:m,source:l,scope:s.scope,reattach:s.reattach||e.Defaults.ReattachConnections,detachable:s.detachable||e.Defaults.ConnectionsDetachable}),null==o&&d.setDeleteOnEmpty(!0),i.endpoints[a]=d,!1===s.drawEndpoints&&d.setVisible(!1,!0,!0)}return d},replaceEndpoint:function(e,t){var n=this.endpoints[e],i=n.elementId,r=this._jsPlumb.instance.getEndpoints(i),o=r.indexOf(n),a=this.makeEndpoint(0===e,n.element,i,null,t);this.endpoints[e]=a,r.splice(o,1,a),this._jsPlumb.instance.deleteObject({endpoint:n,deleteAttachedObjects:!1}),this._jsPlumb.instance.fire("endpointReplaced",{previous:n,current:a}),this._jsPlumb.instance.router.sourceOrTargetChanged(this.endpoints[1].elementId,this.endpoints[1].elementId,this,this.endpoints[1].element,1)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumb;n.AnchorManager=function(e){var i={},r={},o={},a={},s=this,l={},u=e.jsPlumbInstance,c={},d=function(e,t,n,i,r,o,a,s){for(var l=[],u=t[r?0:1]/(i.length+1),c=0;c<i.length;c++){var d=(c+1)*u,h=o*t[r?1:0];a&&(d=t[r?0:1]-d);var f=r?d:h,p=n.left+f,m=f/t[0],v=r?h:d,g=n.top+v,y=v/t[1];if(0!==s){var b=jsPlumbUtil.rotatePoint([p,g],[n.centerx,n.centery],s);p=b[0],g=b[1]}l.push([p,g,m,y,i[c][1],i[c][2]])}return l},h=function(e,t){return t[0][0]-e[0][0]},f=function(e,t){var n=e[0][0]<0?-Math.PI-e[0][0]:Math.PI-e[0][0],i=t[0][0]<0?-Math.PI-t[0][0]:Math.PI-t[0][0];return n-i},p={top:f,right:h,bottom:h,left:f},m=function(e,t){return e.sort(t)},v=function(e,t){var n=u.getCachedData(e),i=n.s,a=n.o,s=function(t,n,i,a,s,l,c){if(a.length>0)for(var h=m(a,p[t]),f="right"===t||"top"===t,v=u.getRotation(e),g=d(t,n,i,h,s,l,f,v),y=function(e,t){r[e.id]=[t[0],t[1],t[2],t[3]],o[e.id]=c},b=0;b<g.length;b++){var _=g[b][4],w=_.endpoints[0].elementId===e,x=_.endpoints[1].elementId===e;w&&y(_.endpoints[0],g[b]),x&&y(_.endpoints[1],g[b])}};s("bottom",i,a,t.bottom,!0,1,[0,1]),s("top",i,a,t.top,!0,0,[0,-1]),s("left",i,a,t.left,!1,0,[-1,0]),s("right",i,a,t.right,!1,1,[1,0])};this.reset=function(){i={},a={},l={}},this.addFloatingConnection=function(e,t){c[e]=t},this.newConnection=function(e){var i=e.sourceId,r=e.targetId,o=e.endpoints,s=!0,l=function(l,u,c,d,h){i===r&&c.isContinuous&&(e._jsPlumb.instance.removeElement(o[1].canvas),s=!1),t.addToList(a,d,[h,u,c.constructor===n.DynamicAnchor])};l(0,o[0],o[0].anchor,r,e),s&&l(1,o[1],o[1].anchor,i,e)};var g=function(e){(function(e,n){if(e){var i=function(e){return e[4]===n};t.removeWithFunction(e.top,i),t.removeWithFunction(e.left,i),t.removeWithFunction(e.bottom,i),t.removeWithFunction(e.right,i)}})(l[e.elementId],e.id)};this.connectionDetached=function(e,n){var i=e.connection||e,r=e.sourceId,o=e.targetId,l=i.endpoints,u=function(e,n,i,r,o){t.removeWithFunction(a[r],(function(e){return e[0].id===o.id}))};u(1,l[1],l[1].anchor,r,i),u(0,l[0],l[0].anchor,o,i),i.floatingId&&(u(i.floatingIndex,i.floatingEndpoint,i.floatingEndpoint.anchor,i.floatingId,i),g(i.floatingEndpoint)),g(i.endpoints[0]),g(i.endpoints[1]),n||(s.redraw(i.sourceId),i.targetId!==i.sourceId&&s.redraw(i.targetId))},this.addEndpoint=function(e,n){t.addToList(i,n,e)},this.changeId=function(e,t){a[t]=a[e],i[t]=i[e],delete a[e],delete i[e]},this.getConnectionsFor=function(e){return a[e]||[]},this.getEndpointsFor=function(e){return i[e]||[]},this.deleteEndpoint=function(e){t.removeWithFunction(i[e.elementId],(function(t){return t.id===e.id})),g(e)},this.elementRemoved=function(e){delete c[e],delete i[e],i[e]=[]};var y=function(n,i,r,o,a,s,l,u,c,d,h,f){var p,m,v=-1,g=-1,y=o.endpoints[l],b=y.id,_=[1,0][l],w=[[i,r],o,a,s,b],x=n[c],k=y._continuousAnchorEdge?n[y._continuousAnchorEdge]:null;if(k){var M=t.findWithFunction(k,(function(e){return e[4]===b}));if(-1!==M)for(k.splice(M,1),p=0;p<k.length;p++)m=k[p][1],t.addWithFunction(h,m,(function(e){return e.id===m.id})),t.addWithFunction(f,k[p][1].endpoints[l],(function(e){return e.id===m.endpoints[l].id})),t.addWithFunction(f,k[p][1].endpoints[_],(function(e){return e.id===m.endpoints[_].id}))}for(p=0;p<x.length;p++)m=x[p][1],1===e.idx&&x[p][3]===s&&-1===g&&(g=p),t.addWithFunction(h,m,(function(e){return e.id===m.id})),t.addWithFunction(f,x[p][1].endpoints[l],(function(e){return e.id===m.endpoints[l].id})),t.addWithFunction(f,x[p][1].endpoints[_],(function(e){return e.id===m.endpoints[_].id}));if(-1!==v)x[v]=w;else{var S=u?-1!==g?g:0:x.length;x.splice(S,0,w)}y._continuousAnchorEdge=c};this.sourceOrTargetChanged=function(e,i,r,o,s){if(0===s){if(e!==i){r.sourceId=i,r.source=o,t.removeWithFunction(a[e],(function(e){return e[0].id===r.id}));var l=t.findWithFunction(a[r.targetId],(function(e){return e[0].id===r.id}));l>-1&&(a[r.targetId][l][0]=r,a[r.targetId][l][1]=r.endpoints[0],a[r.targetId][l][2]=r.endpoints[0].anchor.constructor===n.DynamicAnchor),t.addToList(a,i,[r,r.endpoints[1],r.endpoints[1].anchor.constructor===n.DynamicAnchor]),r.endpoints[1].anchor.isContinuous&&(r.source===r.target?r._jsPlumb.instance.removeElement(r.endpoints[1].canvas):null==r.endpoints[1].canvas.parentNode&&r._jsPlumb.instance.appendElement(r.endpoints[1].canvas)),r.updateConnectedClass()}}else if(1===s){var u=r.endpoints[0].elementId;r.target=o,r.targetId=i;var c=t.findWithFunction(a[u],(function(e){return e[0].id===r.id})),d=t.findWithFunction(a[e],(function(e){return e[0].id===r.id}));-1!==c&&(a[u][c][0]=r,a[u][c][1]=r.endpoints[1],a[u][c][2]=r.endpoints[1].anchor.constructor===n.DynamicAnchor),d>-1&&(a[e].splice(d,1),t.addToList(a,i,[r,r.endpoints[0],r.endpoints[0].anchor.constructor===n.DynamicAnchor])),r.updateConnectedClass()}},this.rehomeEndpoint=function(e,t,n){var r=i[t]||[],o=u.getId(n);if(o!==t){var a=r.indexOf(e);if(a>-1){var l=r.splice(a,1)[0];s.add(l,o)}}for(var c=0;c<e.connections.length;c++)e.connections[c].sourceId===t?s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,0):e.connections[c].targetId===t&&s.sourceOrTargetChanged(t,e.elementId,e.connections[c],e.element,1)},this.redraw=function(e,r,o,s,d,h){var f=[],p=[],m=[];if(!u.isSuspendDrawing()){var g=i[e]||[],b=a[e]||[];o=o||jsPlumbUtil.uuid(),s=s||{left:0,top:0},r&&(r={left:r.left+s.left,top:r.top+s.top});for(var _=u.updateOffset({elId:e,offset:r,recalc:!1,timestamp:o}),w={},x=0;x<b.length;x++){var k=b[x][0],M=k.sourceId,S=k.targetId,C=k.endpoints[0].anchor.isContinuous,D=k.endpoints[1].anchor.isContinuous;if(C||D){var L=M+"_"+S,T=w[L],E=k.sourceId===e?1:0,P=u.getRotation(S),j=u.getRotation(M);C&&!l[M]&&(l[M]={top:[],right:[],bottom:[],left:[]}),D&&!l[S]&&(l[S]={top:[],right:[],bottom:[],left:[]}),e!==S&&u.updateOffset({elId:S,timestamp:o}),e!==M&&u.updateOffset({elId:M,timestamp:o});var O=u.getCachedData(S),I=u.getCachedData(M);S===M&&(C||D)?(y(l[M],-Math.PI/2,0,k,!1,S,0,!1,"top",M,f,p),y(l[S],-Math.PI/2,0,k,!1,M,1,!1,"top",S,f,p)):(T||(T=this.calculateOrientation(M,S,I.o,O.o,k.endpoints[0].anchor,k.endpoints[1].anchor,k,j,P),w[L]=T),C&&y(l[M],T.theta,0,k,!1,S,0,!1,T.a[0],M,f,p),D&&y(l[S],T.theta2,-1,k,!0,M,1,!0,T.a[1],S,f,p)),C&&t.addWithFunction(m,M,(function(e){return e===M})),D&&t.addWithFunction(m,S,(function(e){return e===S})),t.addWithFunction(f,k,(function(e){return e.id===k.id})),(C&&0===E||D&&1===E)&&t.addWithFunction(p,k.endpoints[E],(function(e){return e.id===k.endpoints[E].id}))}}for(x=0;x<g.length;x++)0===g[x].connections.length&&g[x].anchor.isContinuous&&(l[e]||(l[e]={top:[],right:[],bottom:[],left:[]}),y(l[e],-Math.PI/2,0,{endpoints:[g[x],g[x]],paint:function(){}},!1,e,0,!1,g[x].anchor.getDefaultFace(),e,f,p),t.addWithFunction(m,e,(function(t){return t===e})));for(x=0;x<m.length;x++)v(m[x],l[m[x]]);for(x=0;x<g.length;x++)g[x].paint({timestamp:o,offset:_,dimensions:_.s,recalc:!0!==h});for(x=0;x<p.length;x++){var Y=u.getCachedData(p[x].elementId);p[x].paint({timestamp:null,offset:Y,dimensions:Y.s})}for(x=0;x<b.length;x++){var A=b[x][1];if(A.anchor.constructor===n.DynamicAnchor){A.paint({elementWithPrecedence:e,timestamp:o}),t.addWithFunction(f,b[x][0],(function(e){return e.id===b[x][0].id}));for(var N=0;N<A.connections.length;N++)A.connections[N]!==b[x][0]&&t.addWithFunction(f,A.connections[N],(function(e){return e.id===A.connections[N].id}))}else t.addWithFunction(f,b[x][0],(function(e){return e.id===b[x][0].id}))}var H=c[e];for(H&&H.paint({timestamp:o,recalc:!1,elId:e}),x=0;x<f.length;x++)f[x].paint({elId:e,timestamp:null,recalc:!1,clearEdits:d})}return{c:f,e:p}};var b=function(e){t.EventGenerator.apply(this),this.type="Continuous",this.isDynamic=!0,this.isContinuous=!0;for(var n=e.faces||["top","right","bottom","left"],i=!(!1===e.clockwise),a={},s={top:"bottom",right:"left",left:"right",bottom:"top"},l={top:"right",right:"bottom",left:"top",bottom:"left"},u={top:"left",right:"top",left:"bottom",bottom:"right"},c=i?l:u,d=i?u:l,h=e.cssClass||"",f=null,p=null,m=["left","right"],v=["top","bottom"],g=null,y=0;y<n.length;y++)a[n[y]]=!0;this.getDefaultFace=function(){return 0===n.length?"top":n[0]},this.isRelocatable=function(){return!0},this.isSnapOnRelocate=function(){return!0},this.verifyEdge=function(e){return a[e]?e:a[s[e]]?s[e]:a[c[e]]?c[e]:a[d[e]]?d[e]:e},this.isEdgeSupported=function(e){return null==g?null==p?!0===a[e]:p===e:-1!==g.indexOf(e)},this.setCurrentFace=function(e,t){f=e,t&&null!=p&&(p=f)},this.getCurrentFace=function(){return f},this.getSupportedFaces=function(){var e=[];for(var t in a)a[t]&&e.push(t);return e},this.lock=function(){p=f},this.unlock=function(){p=null},this.isLocked=function(){return null!=p},this.lockCurrentAxis=function(){null!=f&&(g="left"===f||"right"===f?m:v)},this.unlockCurrentAxis=function(){g=null},this.compute=function(e){return r[e.element.id]||[0,0]},this.getCurrentLocation=function(e){return r[e.element.id]||[0,0]},this.getOrientation=function(e){return o[e.id]||[0,0]},this.getCssClass=function(){return h}};u.continuousAnchorFactory={get:function(e){return new b(e)},clear:function(e){delete r[e]}}},n.AnchorManager.prototype.calculateOrientation=function(e,t,n,i,r,o,a,s,l){var u={HORIZONTAL:"horizontal",VERTICAL:"vertical",DIAGONAL:"diagonal",IDENTITY:"identity"},c=["left","top","right","bottom"];if(e===t)return{orientation:u.IDENTITY,a:["top","top"]};var d=Math.atan2(i.centery-n.centery,i.centerx-n.centerx),h=Math.atan2(n.centery-i.centery,n.centerx-i.centerx),f=[],p={};(function(e,t){for(var n=0;n<e.length;n++)if(p[e[n]]={left:[t[n][0].left,t[n][0].centery],right:[t[n][0].right,t[n][0].centery],top:[t[n][0].centerx,t[n][0].top],bottom:[t[n][0].centerx,t[n][0].bottom]},0!==t[n][1])for(var i in p[e[n]])p[e[n]][i]=jsPlumbUtil.rotatePoint(p[e[n]][i],[t[n][0].centerx,t[n][0].centery],t[n][1])})(["source","target"],[[n,s],[i,l]]);for(var m=0;m<c.length;m++)for(var v=0;v<c.length;v++)f.push({source:c[m],target:c[v],dist:Biltong.lineLength(p.source[c[m]],p.target[c[v]])});f.sort((function(e,t){return e.dist<t.dist?-1:e.dist>t.dist?1:0}));for(var g=f[0].source,y=f[0].target,b=0;b<f.length;b++)if(g=r.isContinuous&&r.locked?r.getCurrentFace():!r.isContinuous||r.isEdgeSupported(f[b].source)?f[b].source:null,y=o.isContinuous&&o.locked?o.getCurrentFace():!o.isContinuous||o.isEdgeSupported(f[b].target)?f[b].target:null,null!=g&&null!=y)break;return r.isContinuous&&r.setCurrentFace(g),o.isContinuous&&o.setCurrentFace(y),{a:[g,y],theta:d,theta2:h}},n.Anchor=function(e){this.x=e.x||0,this.y=e.y||0,this.elementId=e.elementId,this.cssClass=e.cssClass||"",this.orientation=e.orientation||[0,0],this.lastReturnValue=null,this.offsets=e.offsets||[0,0],this.timestamp=null,this._unrotatedOrientation=[this.orientation[0],this.orientation[1]],this.relocatable=!1!==e.relocatable,this.snapOnRelocate=!1!==e.snapOnRelocate,this.locked=!1,t.EventGenerator.apply(this),this.compute=function(e){var t=e.xy,n=e.wh,i=e.timestamp;if(i&&i===this.timestamp)return this.lastReturnValue;var r=[t[0]+this.x*n[0]+this.offsets[0],t[1]+this.y*n[1]+this.offsets[1],this.x,this.y],o=e.rotation;if(null!=o&&0!==o){var a=jsPlumbUtil.rotatePoint(r,[t[0]+n[0]/2,t[1]+n[1]/2],o);this.orientation[0]=Math.round(this._unrotatedOrientation[0]*a[2]-this._unrotatedOrientation[1]*a[3]),this.orientation[1]=Math.round(this._unrotatedOrientation[1]*a[2]+this._unrotatedOrientation[0]*a[3]),this.lastReturnValue=[a[0],a[1],this.x,this.y]}else this.orientation[0]=this._unrotatedOrientation[0],this.orientation[1]=this._unrotatedOrientation[1],this.lastReturnValue=r;return this.timestamp=i,this.lastReturnValue},this.getCurrentLocation=function(e){return e=e||{},null==this.lastReturnValue||null!=e.timestamp&&this.timestamp!==e.timestamp?this.compute(e):this.lastReturnValue},this.setPosition=function(e,t,n,i,r){this.locked&&!r||(this.x=e,this.y=t,this.orientation=[n,i],this.lastReturnValue=null)}},t.extend(n.Anchor,t.EventGenerator,{equals:function(e){if(!e)return!1;var t=e.getOrientation(),n=this.getOrientation();return this.x===e.x&&this.y===e.y&&this.offsets[0]===e.offsets[0]&&this.offsets[1]===e.offsets[1]&&n[0]===t[0]&&n[1]===t[1]},getOrientation:function(){return this.orientation},getCssClass:function(){return this.cssClass}}),n.FloatingAnchor=function(e){n.Anchor.apply(this,arguments);var t=e.reference,i=e.referenceCanvas,r=n.getSize(i),o=0,a=0,s=null,l=null;this.orientation=null,this.x=0,this.y=0,this.isFloating=!0,this.compute=function(e){var t=e.xy,n=[t[0]+r[0]/2,t[1]+r[1]/2];return l=n,n},this.getOrientation=function(e){if(s)return s;var n=t.getOrientation(e);return[Math.abs(n[0])*o*-1,Math.abs(n[1])*a*-1]},this.over=function(e,t){s=e.getOrientation(t)},this.out=function(){s=null},this.getCurrentLocation=function(e){return null==l?this.compute(e):l}},t.extend(n.FloatingAnchor,n.Anchor);var i=function(e,t,i){return e.constructor===n.Anchor?e:t.makeAnchor(e,i,t)};n.DynamicAnchor=function(e){n.Anchor.apply(this,arguments),this.isDynamic=!0,this.anchors=[],this.elementId=e.elementId,this.jsPlumbInstance=e.jsPlumbInstance;for(var t=0;t<e.anchors.length;t++)this.anchors[t]=i(e.anchors[t],this.jsPlumbInstance,this.elementId);this.getAnchors=function(){return this.anchors};var r=this.anchors.length>0?this.anchors[0]:null,o=r,a=function(e,t,n,i,r,o,a){var s=i[0]+e.x*r[0],l=i[1]+e.y*r[1],u=i[0]+r[0]/2,c=i[1]+r[1]/2;if(null!=o&&0!==o){var d=jsPlumbUtil.rotatePoint([s,l],[u,c],o);s=d[0],l=d[1]}return Math.sqrt(Math.pow(t-s,2)+Math.pow(n-l,2))+Math.sqrt(Math.pow(u-s,2)+Math.pow(c-l,2))},s=e.selector||function(e,t,n,i,r,o,s){for(var l=n[0]+i[0]/2,u=n[1]+i[1]/2,c=-1,d=1/0,h=0;h<s.length;h++){var f=a(s[h],l,u,e,t,r,o);f<d&&(c=h+0,d=f)}return s[c]};this.compute=function(e){var t=e.xy,n=e.wh,i=e.txy,a=e.twh,l=e.rotation,u=e.tRotation;return this.timestamp=e.timestamp,this.locked||null==i||null==a?(this.lastReturnValue=r.compute(e),this.lastReturnValue):(e.timestamp=null,r=s(t,n,i,a,l,u,this.anchors),this.x=r.x,this.y=r.y,r!==o&&this.fire("anchorChanged",r),o=r,this.lastReturnValue=r.compute(e),this.lastReturnValue)},this.getCurrentLocation=function(e){return null!=r?r.getCurrentLocation(e):null},this.getOrientation=function(e){return null!=r?r.getOrientation(e):[0,0]},this.over=function(e,t){null!=r&&r.over(e,t)},this.out=function(){null!=r&&r.out()},this.setAnchor=function(e){r=e},this.getCssClass=function(){return r&&r.getCssClass()||""},this.setAnchorCoordinates=function(e){var t=jsPlumbUtil.findWithFunction(this.anchors,(function(t){return t.x===e[0]&&t.y===e[1]}));return-1!==t&&(this.setAnchor(this.anchors[t]),!0)}},t.extend(n.DynamicAnchor,n.Anchor);var r=function(e,t,i,r,o,a){n.Anchors[o]=function(n){var s=n.jsPlumbInstance.makeAnchor([e,t,i,r,0,0],n.elementId,n.jsPlumbInstance);return s.type=o,a&&a(s,n),s}};r(.5,0,0,-1,"TopCenter"),r(.5,1,0,1,"BottomCenter"),r(0,.5,-1,0,"LeftMiddle"),r(1,.5,1,0,"RightMiddle"),r(.5,0,0,-1,"Top"),r(.5,1,0,1,"Bottom"),r(0,.5,-1,0,"Left"),r(1,.5,1,0,"Right"),r(.5,.5,0,0,"Center"),r(1,0,0,-1,"TopRight"),r(1,1,0,1,"BottomRight"),r(0,0,0,-1,"TopLeft"),r(0,1,0,1,"BottomLeft"),n.Defaults.DynamicAnchors=function(e){return e.jsPlumbInstance.makeAnchors(["TopCenter","RightMiddle","BottomCenter","LeftMiddle"],e.elementId,e.jsPlumbInstance)},n.Anchors.AutoDefault=function(e){var t=e.jsPlumbInstance.makeDynamicAnchor(n.Defaults.DynamicAnchors(e));return t.type="AutoDefault",t};var o=function(e,t){n.Anchors[e]=function(n){var i=n.jsPlumbInstance.makeAnchor(["Continuous",{faces:t}],n.elementId,n.jsPlumbInstance);return i.type=e,i}};n.Anchors.Continuous=function(e){return e.jsPlumbInstance.continuousAnchorFactory.get(e)},o("ContinuousLeft",["left"]),o("ContinuousTop",["top"]),o("ContinuousBottom",["bottom"]),o("ContinuousRight",["right"]),r(0,0,0,0,"Assign",(function(e,t){var n=t.position||"Fixed";e.positionFinder=n.constructor===String?t.jsPlumbInstance.AnchorPositionFinders[n]:n,e.constructorParams=t})),e.jsPlumbInstance.prototype.AnchorPositionFinders={Fixed:function(e,t,n){return[(e.left-t.left)/n[0],(e.top-t.top)/n[1]]},Grid:function(e,t,n,i){var r=e.left-t.left,o=e.top-t.top,a=n[0]/i.grid[0],s=n[1]/i.grid[1],l=Math.floor(r/a),u=Math.floor(o/s);return[(l*a+a/2)/n[0],(u*s+s/2)/n[1]]}},n.Anchors.Perimeter=function(e){e=e||{};var t=e.anchorCount||60,n=e.shape;if(!n)throw new Error("no shape supplied to Perimeter Anchor type");var i=function(){for(var e=.5,n=2*Math.PI/t,i=0,r=[],o=0;o<t;o++){var a=e+e*Math.sin(i),s=e+e*Math.cos(i);r.push([a,s,0,0]),i+=n}return r},r=function(e){for(var n=t/e.length,i=[],r=function(e,r,o,a,s,l,u){n=t*s;for(var c=(o-e)/n,d=(a-r)/n,h=0;h<n;h++)i.push([e+c*h,r+d*h,null==l?0:l,null==u?0:u])},o=0;o<e.length;o++)r.apply(null,e[o]);return i},o=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][0],e[n][1],e[n][2],e[n][3],1/e.length,e[n][4],e[n][5]]);return r(t)},a=function(){return o([[0,0,1,0,0,-1],[1,0,1,1,1,0],[1,1,0,1,0,1],[0,1,0,0,-1,0]])},s={Circle:i,Ellipse:i,Diamond:function(){return o([[.5,0,1,.5],[1,.5,.5,1],[.5,1,0,.5],[0,.5,.5,0]])},Rectangle:a,Square:a,Triangle:function(){return o([[.5,0,1,1],[1,1,0,1],[0,1,.5,0]])},Path:function(e){for(var t=e.points,n=[],i=0,o=0;o<t.length-1;o++){var a=Math.sqrt(Math.pow(t[o][2]-t[o][0])+Math.pow(t[o][3]-t[o][1]));i+=a,n.push([t[o][0],t[o][1],t[o+1][0],t[o+1][1],a])}for(var s=0;s<n.length;s++)n[s][4]=n[s][4]/i;return r(n)}},l=function(e,t){for(var n=[],i=t/180*Math.PI,r=0;r<e.length;r++){var o=e[r][0]-.5,a=e[r][1]-.5;n.push([o*Math.cos(i)-a*Math.sin(i)+.5,o*Math.sin(i)+a*Math.cos(i)+.5,e[r][2],e[r][3]])}return n};if(!s[n])throw new Error("Shape ["+n+"] is unknown by Perimeter Anchor type");var u=s[n](e);e.rotation&&(u=l(u,e.rotation));var c=e.jsPlumbInstance.makeDynamicAnchor(u);return c.type="Perimeter",c}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=(e.jsPlumbUtil,e.jsPlumb);t.DefaultRouter=function(e){this.jsPlumbInstance=e,this.anchorManager=new t.AnchorManager({jsPlumbInstance:e}),this.sourceOrTargetChanged=function(e,t,n,i,r){this.anchorManager.sourceOrTargetChanged(e,t,n,i,r)},this.reset=function(){this.anchorManager.reset()},this.changeId=function(e,t){this.anchorManager.changeId(e,t)},this.elementRemoved=function(e){this.anchorManager.elementRemoved(e)},this.newConnection=function(e){this.anchorManager.newConnection(e)},this.connectionDetached=function(e,t){this.anchorManager.connectionDetached(e,t)},this.redraw=function(e,t,n,i,r,o){return this.anchorManager.redraw(e,t,n,i,r,o)},this.deleteEndpoint=function(e){this.anchorManager.deleteEndpoint(e)},this.rehomeEndpoint=function(e,t,n){this.anchorManager.rehomeEndpoint(e,t,n)},this.addEndpoint=function(e,t){this.anchorManager.addEndpoint(e,t)}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=e.Biltong;t.Segments={AbstractSegment:function(e){this.params=e,this.findClosestPointOnPath=function(e,t){return{d:1/0,x:null,y:null,l:null}},this.getBounds=function(){return{minX:Math.min(e.x1,e.x2),minY:Math.min(e.y1,e.y2),maxX:Math.max(e.x1,e.x2),maxY:Math.max(e.y1,e.y2)}},this.lineIntersection=function(e,t,n,i){return[]},this.boxIntersection=function(e,t,n,i){var r=[];return r.push.apply(r,this.lineIntersection(e,t,e+n,t)),r.push.apply(r,this.lineIntersection(e+n,t,e+n,t+i)),r.push.apply(r,this.lineIntersection(e+n,t+i,e,t+i)),r.push.apply(r,this.lineIntersection(e,t+i,e,t)),r},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.y)}},Straight:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n,r,o,a,s,l,u,c=function(){n=Math.sqrt(Math.pow(s-a,2)+Math.pow(u-l,2)),r=i.gradient({x:a,y:l},{x:s,y:u}),o=-1/r};this.type="Straight",this.getLength=function(){return n},this.getGradient=function(){return r},this.getCoordinates=function(){return{x1:a,y1:l,x2:s,y2:u}},this.setCoordinates=function(e){a=e.x1,l=e.y1,s=e.x2,u=e.y2,c()},this.setCoordinates({x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2}),this.getBounds=function(){return{minX:Math.min(a,s),minY:Math.min(l,u),maxX:Math.max(a,s),maxY:Math.max(l,u)}},this.pointOnPath=function(e,t){if(0!==e||t){if(1!==e||t){var r=t?e>0?e:n+e:e*n;return i.pointOnLine({x:a,y:l},{x:s,y:u},r)}return{x:s,y:u}}return{x:a,y:l}},this.gradientAtPoint=function(e){return r},this.pointAlongPathFrom=function(e,t,n){var r=this.pointOnPath(e,n),o=t<=0?{x:a,y:l}:{x:s,y:u};return t<=0&&Math.abs(t)>1&&(t*=-1),i.pointOnLine(r,o,t)};var d=function(e,t,n){return n>=Math.min(e,t)&&n<=Math.max(e,t)},h=function(e,t,n){return Math.abs(n-e)<Math.abs(n-t)?e:t};this.findClosestPointOnPath=function(e,t){var c={d:1/0,x:null,y:null,l:null,x1:a,x2:s,y1:l,y2:u};if(0===r)c.y=l,c.x=d(a,s,e)?e:h(a,s,e);else if(r===1/0||r===-1/0)c.x=a,c.y=d(l,u,t)?t:h(l,u,t);else{var f=l-r*a,p=t-o*e,m=(p-f)/(r-o),v=r*m+f;c.x=d(a,s,m)?m:h(a,s,m),c.y=d(l,u,v)?v:h(l,u,v)}var g=i.lineLength([c.x,c.y],[a,l]);return c.d=i.lineLength([e,t],[c.x,c.y]),c.l=g/n,c};var f=function(e,t,n){return n>t?t<=e&&e<=n:t>=e&&e>=n},p=f;this.lineIntersection=function(e,t,n,o){var c=Math.abs(i.gradient({x:e,y:t},{x:n,y:o})),d=Math.abs(r),h=d===1/0?a:l-d*a,f=[],m=c===1/0?e:t-c*e;if(c!==d)if(c===1/0&&0===d)p(e,a,s)&&p(l,t,o)&&(f=[e,l]);else if(0===c&&d===1/0)p(t,l,u)&&p(a,e,n)&&(f=[a,t]);else{var v,g;c===1/0?(v=e,p(v,a,s)&&(g=d*e+h,p(g,t,o)&&(f=[v,g]))):0===c?(g=t,p(g,l,u)&&(v=(t-h)/d,p(v,e,n)&&(f=[v,g]))):(v=(m-h)/(d-c),g=d*v+h,p(v,a,s)&&p(g,l,u)&&(f=[v,g]))}return f},this.boxIntersection=function(e,t,n,i){var r=[];return r.push.apply(r,this.lineIntersection(e,t,e+n,t)),r.push.apply(r,this.lineIntersection(e+n,t,e+n,t+i)),r.push.apply(r,this.lineIntersection(e+n,t+i,e,t+i)),r.push.apply(r,this.lineIntersection(e,t+i,e,t)),r},this.boundingBoxIntersection=function(e){return this.boxIntersection(e.x,e.y,e.w,e.h)}},Arc:function(e){t.Segments.AbstractSegment.apply(this,arguments);var n=function(t,n){return i.theta([e.cx,e.cy],[t,n])},r=function(e,t){if(e.anticlockwise){var n=e.startAngle<e.endAngle?e.startAngle+o:e.startAngle,i=Math.abs(n-e.endAngle);return n-i*t}var r=e.endAngle<e.startAngle?e.endAngle+o:e.endAngle,a=Math.abs(r-e.startAngle);return e.startAngle+a*t},o=2*Math.PI;this.radius=e.r,this.anticlockwise=e.ac,this.type="Arc",e.startAngle&&e.endAngle?(this.startAngle=e.startAngle,this.endAngle=e.endAngle,this.x1=e.cx+this.radius*Math.cos(e.startAngle),this.y1=e.cy+this.radius*Math.sin(e.startAngle),this.x2=e.cx+this.radius*Math.cos(e.endAngle),this.y2=e.cy+this.radius*Math.sin(e.endAngle)):(this.startAngle=n(e.x1,e.y1),this.endAngle=n(e.x2,e.y2),this.x1=e.x1,this.y1=e.y1,this.x2=e.x2,this.y2=e.y2),this.endAngle<0&&(this.endAngle+=o),this.startAngle<0&&(this.startAngle+=o);var a=this.endAngle<this.startAngle?this.endAngle+o:this.endAngle;this.sweep=Math.abs(a-this.startAngle),this.anticlockwise&&(this.sweep=o-this.sweep);var s=2*Math.PI*this.radius,l=this.sweep/o,u=s*l;this.getLength=function(){return u},this.getBounds=function(){return{minX:e.cx-e.r,maxX:e.cx+e.r,minY:e.cy-e.r,maxY:e.cy+e.r}};var c=1e-10,d=function(e){var t=Math.floor(e),n=Math.ceil(e);return e-t<c?t:n-e<c?n:e};this.pointOnPath=function(t,n){if(0===t)return{x:this.x1,y:this.y1,theta:this.startAngle};if(1===t)return{x:this.x2,y:this.y2,theta:this.endAngle};n&&(t/=u);var i=r(this,t),o=e.cx+e.r*Math.cos(i),a=e.cy+e.r*Math.sin(i);return{x:d(o),y:d(a),theta:i}},this.gradientAtPoint=function(t,n){var r=this.pointOnPath(t,n),o=i.normal([e.cx,e.cy],[r.x,r.y]);return this.anticlockwise||o!==1/0&&o!==-1/0||(o*=-1),o},this.pointAlongPathFrom=function(t,n,i){var r=this.pointOnPath(t,i),o=n/s*2*Math.PI,a=this.anticlockwise?-1:1,l=r.theta+a*o,u=e.cx+this.radius*Math.cos(l),c=e.cy+this.radius*Math.sin(l);return{x:u,y:c}}},Bezier:function(n){this.curve=[{x:n.x1,y:n.y1},{x:n.cp1x,y:n.cp1y},{x:n.cp2x,y:n.cp2y},{x:n.x2,y:n.y2}];var i=function(e){return e[0].x===e[1].x&&e[0].y===e[1].y},r=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},o=function(e){var t={x:0,y:0};if(0===e)return this.curve[0];var n=this.curve.length-1;if(1===e)return this.curve[n];var i=this.curve,r=1-e;if(0===n)return this.curve[0];if(1===n)return{x:r*i[0].x+e*i[1].x,y:r*i[0].y+e*i[1].y};if(n<4){var o,a,s,l=r*r,u=e*e,c=0;return 2===n?(i=[i[0],i[1],i[2],t],o=l,a=r*e*2,s=u):3===n&&(o=l*r,a=l*e*3,s=r*u*3,c=e*u),{x:o*i[0].x+a*i[1].x+s*i[2].x+c*i[3].x,y:o*i[0].y+a*i[1].y+s*i[2].y+c*i[3].y}}return t}.bind(this),a=function(e){var t=[];e--;for(var n=0;n<=e;n++)t.push(o(n/e));return t},s=function(){i(this.curve)&&(this.length=0);var e=16,t=a(e);this.length=0;for(var n=0;n<e-1;n++){var o=t[n],s=t[n+1];this.length+=r(o,s)}}.bind(this);t.Segments.AbstractSegment.apply(this,arguments);this.bounds={minX:Math.min(n.x1,n.x2,n.cp1x,n.cp2x),minY:Math.min(n.y1,n.y2,n.cp1y,n.cp2y),maxX:Math.max(n.x1,n.x2,n.cp1x,n.cp2x),maxY:Math.max(n.y1,n.y2,n.cp1y,n.cp2y)},this.type="Bezier",s();var l=function(t,n,i){return i&&(n=e.jsBezier.locationAlongCurveFrom(t,n>0?0:1,n)),n};this.pointOnPath=function(t,n){return t=l(this.curve,t,n),e.jsBezier.pointOnCurve(this.curve,t)},this.gradientAtPoint=function(t,n){return t=l(this.curve,t,n),e.jsBezier.gradientAtPoint(this.curve,t)},this.pointAlongPathFrom=function(t,n,i){return t=l(this.curve,t,i),e.jsBezier.pointAlongCurveFrom(this.curve,t,n)},this.getLength=function(){return this.length},this.getBounds=function(){return this.bounds},this.findClosestPointOnPath=function(t,n){var i=e.jsBezier.nearestPointOnCurve({x:t,y:n},this.curve);return{d:Math.sqrt(Math.pow(i.point.x-t,2)+Math.pow(i.point.y-n,2)),x:i.point.x,y:i.point.y,l:1-i.location,s:this}},this.lineIntersection=function(t,n,i,r){return e.jsBezier.lineIntersection(t,n,i,r,this.curve)}}},t.SegmentRenderer={getPath:function(e,t){return{Straight:function(t){var n=e.getCoordinates();return(t?"M "+n.x1+" "+n.y1+" ":"")+"L "+n.x2+" "+n.y2},Bezier:function(t){var n=e.params;return(t?"M "+n.x2+" "+n.y2+" ":"")+"C "+n.cp2x+" "+n.cp2y+" "+n.cp1x+" "+n.cp1y+" "+n.x1+" "+n.y1},Arc:function(t){var n=e.params,i=e.sweep>Math.PI?1:0,r=e.anticlockwise?0:1;return(t?"M"+e.x1+" "+e.y1+" ":"")+"A "+e.radius+" "+n.r+" 0 "+i+","+r+" "+e.x2+" "+e.y2}}[e.type](t)}};var r=function(){this.resetBounds=function(){this.bounds={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}},this.resetBounds()};t.Connectors.AbstractConnector=function(e){r.apply(this,arguments);var o=[],a=0,s=[],l=[],u=e.stub||0,c=n.isArray(u)?u[0]:u,d=n.isArray(u)?u[1]:u,h=e.gap||0,f=n.isArray(h)?h[0]:h,p=n.isArray(h)?h[1]:h,m=null,v=null;this.getPathData=function(){for(var e="",n=0;n<o.length;n++)e+=t.SegmentRenderer.getPath(o[n],0===n),e+=" ";return e},this.findSegmentForPoint=function(e,t){for(var n={d:1/0,s:null,x:null,y:null,l:null},i=0;i<o.length;i++){var r=o[i].findClosestPointOnPath(e,t);r.d<n.d&&(n.d=r.d,n.l=r.l,n.x=r.x,n.y=r.y,n.s=o[i],n.x1=r.x1,n.x2=r.x2,n.y1=r.y1,n.y2=r.y2,n.index=i,n.connectorLocation=s[i][0]+r.l*(s[i][1]-s[i][0]))}return n},this.lineIntersection=function(e,t,n,i){for(var r=[],a=0;a<o.length;a++)r.push.apply(r,o[a].lineIntersection(e,t,n,i));return r},this.boxIntersection=function(e,t,n,i){for(var r=[],a=0;a<o.length;a++)r.push.apply(r,o[a].boxIntersection(e,t,n,i));return r},this.boundingBoxIntersection=function(e){for(var t=[],n=0;n<o.length;n++)t.push.apply(t,o[n].boundingBoxIntersection(e));return t};var g=function(){for(var e=0,t=0;t<o.length;t++){var n=o[t].getLength();l[t]=n/a,s[t]=[e,e+=n/a]}},y=function(e,t){var n,i,r;if(t&&(e=e>0?e/a:(a+e)/a),1===e)n=o.length-1,r=1;else if(0===e)r=0,n=0;else if(e>=.5){for(n=0,r=0,i=s.length-1;i>-1;i--)if(s[i][1]>=e&&s[i][0]<=e){n=i,r=(e-s[i][0])/l[i];break}}else for(n=s.length-1,r=1,i=0;i<s.length;i++)if(s[i][1]>=e){n=i,r=(e-s[i][0])/l[i];break}return{segment:o[n],proportion:r,index:n}},b=function(e,n,i){if(i.x1!==i.x2||i.y1!==i.y2){var r=new t.Segments[n](i);o.push(r),a+=r.getLength(),e.updateBounds(r)}},_=function(){a=o.length=s.length=l.length=0};this.setSegments=function(e){m=[],a=0;for(var t=0;t<e.length;t++)m.push(e[t]),a+=e[t].getLength()},this.getLength=function(){return a};var w=function(e){this.strokeWidth=e.strokeWidth;var t=i.quadrant(e.sourcePos,e.targetPos),n=e.targetPos[0]<e.sourcePos[0],r=e.targetPos[1]<e.sourcePos[1],o=e.strokeWidth||1,a=e.sourceEndpoint.anchor.getOrientation(e.sourceEndpoint),s=e.targetEndpoint.anchor.getOrientation(e.targetEndpoint),l=n?e.targetPos[0]:e.sourcePos[0],u=r?e.targetPos[1]:e.sourcePos[1],h=Math.abs(e.targetPos[0]-e.sourcePos[0]),m=Math.abs(e.targetPos[1]-e.sourcePos[1]);if(0===a[0]&&0===a[1]||0===s[0]&&0===s[1]){var v=h>m?0:1,g=[1,0][v];a=[],s=[],a[v]=e.sourcePos[v]>e.targetPos[v]?-1:1,s[v]=e.sourcePos[v]>e.targetPos[v]?1:-1,a[g]=0,s[g]=0}var y=n?h+f*a[0]:f*a[0],b=r?m+f*a[1]:f*a[1],_=n?p*s[0]:h+p*s[0],w=r?p*s[1]:m+p*s[1],x=a[0]*s[0]+a[1]*s[1],k={sx:y,sy:b,tx:_,ty:w,lw:o,xSpan:Math.abs(_-y),ySpan:Math.abs(w-b),mx:(y+_)/2,my:(b+w)/2,so:a,to:s,x:l,y:u,w:h,h:m,segment:t,startStubX:y+a[0]*c,startStubY:b+a[1]*c,endStubX:_+s[0]*d,endStubY:w+s[1]*d,isXGreaterThanStubTimes2:Math.abs(y-_)>c+d,isYGreaterThanStubTimes2:Math.abs(b-w)>c+d,opposite:-1===x,perpendicular:0===x,orthogonal:1===x,sourceAxis:0===a[0]?"y":"x",points:[l,u,h,m,y,b,_,w],stubs:[c,d]};return k.anchorOrientation=k.opposite?"opposite":k.orthogonal?"orthogonal":"perpendicular",k};this.getSegments=function(){return o},this.updateBounds=function(e){var t=e.getBounds();this.bounds.minX=Math.min(this.bounds.minX,t.minX),this.bounds.maxX=Math.max(this.bounds.maxX,t.maxX),this.bounds.minY=Math.min(this.bounds.minY,t.minY),this.bounds.maxY=Math.max(this.bounds.maxY,t.maxY)};return this.pointOnPath=function(e,t){var n=y(e,t);return n.segment&&n.segment.pointOnPath(n.proportion,!1)||[0,0]},this.gradientAtPoint=function(e,t){var n=y(e,t);return n.segment&&n.segment.gradientAtPoint(n.proportion,!1)||0},this.pointAlongPathFrom=function(e,t,n){var i=y(e,n);return i.segment&&i.segment.pointAlongPathFrom(i.proportion,t,!1)||[0,0]},this.compute=function(e){v=w.call(this,e),_(),this._compute(v,e),this.x=v.points[0],this.y=v.points[1],this.w=v.points[2],this.h=v.points[3],this.segment=v.segment,g()},{addSegment:b,prepareCompute:w,sourceStub:c,targetStub:d,maxStub:Math.max(c,d),sourceGap:f,targetGap:p,maxGap:Math.max(f,p)}},n.extend(t.Connectors.AbstractConnector,r),t.Endpoints.AbstractEndpoint=function(e){r.apply(this,arguments);var t=this.compute=function(e,t,n,i){var r=this._compute.apply(this,arguments);return this.x=r[0],this.y=r[1],this.w=r[2],this.h=r[3],this.bounds.minX=this.x,this.bounds.minY=this.y,this.bounds.maxX=this.x+this.w,this.bounds.maxY=this.y+this.h,r};return{compute:t,cssClass:e.cssClass}},n.extend(t.Endpoints.AbstractEndpoint,r),t.Endpoints.Dot=function(e){this.type="Dot";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.radius=e.radius||10,this.defaultOffset=.5*this.radius,this.defaultInnerRadius=this.radius/3,this._compute=function(e,t,n,i){this.radius=n.radius||this.radius;var r=e[0]-this.radius,o=e[1]-this.radius,a=2*this.radius,s=2*this.radius;if(n.stroke){var l=n.strokeWidth||1;r-=l,o-=l,a+=2*l,s+=2*l}return[r,o,a,s,this.radius]}},n.extend(t.Endpoints.Dot,t.Endpoints.AbstractEndpoint),t.Endpoints.Rectangle=function(e){this.type="Rectangle";t.Endpoints.AbstractEndpoint.apply(this,arguments);e=e||{},this.width=e.width||20,this.height=e.height||20,this._compute=function(e,t,n,i){var r=n.width||this.width,o=n.height||this.height,a=e[0]-r/2,s=e[1]-o/2;return[a,s,r,o]}},n.extend(t.Endpoints.Rectangle,t.Endpoints.AbstractEndpoint);var o=function(e){t.jsPlumbUIComponent.apply(this,arguments),this._jsPlumb.displayElements=[]};n.extend(o,t.jsPlumbUIComponent,{getDisplayElements:function(){return this._jsPlumb.displayElements},appendDisplayElement:function(e){this._jsPlumb.displayElements.push(e)}}),t.Endpoints.Image=function(i){this.type="Image",o.apply(this,arguments),t.Endpoints.AbstractEndpoint.apply(this,arguments);var r=i.onload,a=i.src||i.url,s=i.cssClass?" "+i.cssClass:"";this._jsPlumb.img=new Image,this._jsPlumb.ready=!1,this._jsPlumb.initialized=!1,this._jsPlumb.deleted=!1,this._jsPlumb.widthToUse=i.width,this._jsPlumb.heightToUse=i.height,this._jsPlumb.endpoint=i.endpoint,this._jsPlumb.img.onload=function(){null!=this._jsPlumb&&(this._jsPlumb.ready=!0,this._jsPlumb.widthToUse=this._jsPlumb.widthToUse||this._jsPlumb.img.width,this._jsPlumb.heightToUse=this._jsPlumb.heightToUse||this._jsPlumb.img.height,r&&r(this))}.bind(this),this._jsPlumb.endpoint.setImage=function(e,t){var n=e.constructor===String?e:e.src;r=t,this._jsPlumb.img.src=n,null!=this.canvas&&this.canvas.setAttribute("src",this._jsPlumb.img.src)}.bind(this),this._jsPlumb.endpoint.setImage(a,r),this._compute=function(e,t,n,i){return this.anchorPoint=e,this._jsPlumb.ready?[e[0]-this._jsPlumb.widthToUse/2,e[1]-this._jsPlumb.heightToUse/2,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse]:[0,0,0,0]},this.canvas=t.createElement("img",{position:"absolute",margin:0,padding:0,outline:0},this._jsPlumb.instance.endpointClass+s),this._jsPlumb.widthToUse&&this.canvas.setAttribute("width",this._jsPlumb.widthToUse),this._jsPlumb.heightToUse&&this.canvas.setAttribute("height",this._jsPlumb.heightToUse),this._jsPlumb.instance.appendElement(this.canvas),this.actuallyPaint=function(e,t,i){if(!this._jsPlumb.deleted){this._jsPlumb.initialized||(this.canvas.setAttribute("src",this._jsPlumb.img.src),this.appendDisplayElement(this.canvas),this._jsPlumb.initialized=!0);var r=this.anchorPoint[0]-this._jsPlumb.widthToUse/2,o=this.anchorPoint[1]-this._jsPlumb.heightToUse/2;n.sizeElement(this.canvas,r,o,this._jsPlumb.widthToUse,this._jsPlumb.heightToUse)}},this.paint=function(t,n){null!=this._jsPlumb&&(this._jsPlumb.ready?this.actuallyPaint(t,n):e.setTimeout(function(){this.paint(t,n)}.bind(this),200))}},n.extend(t.Endpoints.Image,[o,t.Endpoints.AbstractEndpoint],{cleanup:function(e){e&&(this._jsPlumb.deleted=!0,this.canvas&&this.canvas.parentNode.removeChild(this.canvas),this.canvas=null)}}),t.Endpoints.Blank=function(e){t.Endpoints.AbstractEndpoint.apply(this,arguments);this.type="Blank",o.apply(this,arguments),this._compute=function(e,t,n,i){return[e[0],e[1],10,0]};var i=e.cssClass?" "+e.cssClass:"";this.canvas=t.createElement("div",{display:"block",width:"1px",height:"1px",background:"transparent",position:"absolute"},this._jsPlumb.instance.endpointClass+i),this._jsPlumb.instance.appendElement(this.canvas),this.paint=function(e,t){n.sizeElement(this.canvas,this.x,this.y,this.w,this.h)}},n.extend(t.Endpoints.Blank,[t.Endpoints.AbstractEndpoint,o],{cleanup:function(){this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas)}}),t.Endpoints.Triangle=function(e){this.type="Triangle",t.Endpoints.AbstractEndpoint.apply(this,arguments);var n=this;e=e||{},e.width=e.width||55,e.height=e.height||55,this.width=e.width,this.height=e.height,this._compute=function(e,t,i,r){var o=i.width||n.width,a=i.height||n.height,s=e[0]-o/2,l=e[1]-a/2;return[s,l,o,a]}};var a=t.Overlays.AbstractOverlay=function(e){this.visible=!0,this.isAppendedAtTopLevel=!0,this.component=e.component,this.loc=null==e.location?.5:e.location,this.endpointLoc=null==e.endpointLocation?[.5,.5]:e.endpointLocation,this.visible=!1!==e.visible};a.prototype={cleanup:function(e){e&&(this.component=null,this.canvas=null,this.endpointLoc=null)},reattach:function(e,t){},setVisible:function(e){this.visible=e,this.component.repaint()},isVisible:function(){return this.visible},hide:function(){this.setVisible(!1)},show:function(){this.setVisible(!0)},incrementLocation:function(e){this.loc+=e,this.component.repaint()},setLocation:function(e){this.loc=e,this.component.repaint()},getLocation:function(){return this.loc},updateFrom:function(){}},t.Overlays.Arrow=function(e){this.type="Arrow",a.apply(this,arguments),this.isAppendedAtTopLevel=!1,e=e||{};var r=this;this.length=e.length||20,this.width=e.width||20,this.id=e.id,this.direction=(e.direction||1)<0?-1:1;var o=e.paintStyle||{"stroke-width":1},s=e.foldback||.623;this.computeMaxSize=function(){return 1.5*r.width},this.elementCreated=function(n,i){if(this.path=n,e.events)for(var r in e.events)t.on(n,r,e.events[r])},this.draw=function(e,t){var r,a,l,u,c;if(e.pointAlongPathFrom){if(n.isString(this.loc)||this.loc>1||this.loc<0){var d=parseInt(this.loc,10),h=this.loc<0?1:0;r=e.pointAlongPathFrom(h,d,!1),a=e.pointAlongPathFrom(h,d-this.direction*this.length/2,!1),l=i.pointOnLine(r,a,this.length)}else if(1===this.loc){if(r=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,-this.length),l=i.pointOnLine(r,a,this.length),-1===this.direction){var f=l;l=r,r=f}}else if(0===this.loc){if(l=e.pointOnPath(this.loc),a=e.pointAlongPathFrom(this.loc,this.length),r=i.pointOnLine(l,a,this.length),-1===this.direction){var p=l;l=r,r=p}}else r=e.pointAlongPathFrom(this.loc,this.direction*this.length/2),a=e.pointOnPath(this.loc),l=i.pointOnLine(r,a,this.length);u=i.perpendicularLineTo(r,l,this.width),c=i.pointOnLine(r,l,s*this.length);var m={hxy:r,tail:u,cxy:c},v=o.stroke||t.stroke,g=o.fill||t.stroke,y=o.strokeWidth||t.strokeWidth;return{component:e,d:m,"stroke-width":y,stroke:v,fill:g,minX:Math.min(r.x,u[0].x,u[1].x),maxX:Math.max(r.x,u[0].x,u[1].x),minY:Math.min(r.y,u[0].y,u[1].y),maxY:Math.max(r.y,u[0].y,u[1].y)}}return{component:e,minX:0,maxX:0,minY:0,maxY:0}}},n.extend(t.Overlays.Arrow,a,{updateFrom:function(e){this.length=e.length||this.length,this.width=e.width||this.width,this.direction=null!=e.direction?e.direction:this.direction,this.foldback=e.foldback||this.foldback},cleanup:function(){this.path&&this.path.parentNode&&this.path.parentNode.removeChild(this.path)}}),t.Overlays.PlainArrow=function(e){e=e||{};var n=t.extend(e,{foldback:1});t.Overlays.Arrow.call(this,n),this.type="PlainArrow"},n.extend(t.Overlays.PlainArrow,t.Overlays.Arrow),t.Overlays.Diamond=function(e){e=e||{};var n=e.length||40,i=t.extend(e,{length:n/2,foldback:2});t.Overlays.Arrow.call(this,i),this.type="Diamond"},n.extend(t.Overlays.Diamond,t.Overlays.Arrow);var s=function(e,t){return(null==e._jsPlumb.cachedDimensions||t)&&(e._jsPlumb.cachedDimensions=e.getDimensions()),e._jsPlumb.cachedDimensions},l=function(e){t.jsPlumbUIComponent.apply(this,arguments),a.apply(this,arguments);var i=this.fire;this.fire=function(){i.apply(this,arguments),this.component&&this.component.fire.apply(this.component,arguments)},this.detached=!1,this.id=e.id,this._jsPlumb.div=null,this._jsPlumb.initialised=!1,this._jsPlumb.component=e.component,this._jsPlumb.cachedDimensions=null,this._jsPlumb.create=e.create,this._jsPlumb.initiallyInvisible=!1===e.visible,this.getElement=function(){if(null==this._jsPlumb.div){var n=this._jsPlumb.div=t.getElement(this._jsPlumb.create(this._jsPlumb.component));n.style.position="absolute",jsPlumb.addClass(n,this._jsPlumb.instance.overlayClass+" "+(this.cssClass?this.cssClass:e.cssClass?e.cssClass:"")),this._jsPlumb.instance.appendElement(n),this._jsPlumb.instance.getId(n),this.canvas=n;var i="translate(-50%, -50%)";n.style.webkitTransform=i,n.style.mozTransform=i,n.style.msTransform=i,n.style.oTransform=i,n.style.transform=i,n._jsPlumb=this,!1===e.visible&&(n.style.display="none")}return this._jsPlumb.div},this.draw=function(e,t,i){var r=s(this);if(null!=r&&2===r.length){var o={x:0,y:0};if(i)o={x:i[0],y:i[1]};else if(e.pointOnPath){var a=this.loc,l=!1;(n.isString(this.loc)||this.loc<0||this.loc>1)&&(a=parseInt(this.loc,10),l=!0),o=e.pointOnPath(a,l)}else{var u=this.loc.constructor===Array?this.loc:this.endpointLoc;o={x:u[0]*e.w,y:u[1]*e.h}}var c=o.x-r[0]/2,d=o.y-r[1]/2;return{component:e,d:{minx:c,miny:d,td:r,cxy:o},minX:c,maxX:c+r[0],minY:d,maxY:d+r[1]}}return{minX:0,maxX:0,minY:0,maxY:0}}};n.extend(l,[t.jsPlumbUIComponent,a],{getDimensions:function(){return[1,1]},setVisible:function(e){this._jsPlumb.div&&(this._jsPlumb.div.style.display=e?"block":"none",e&&this._jsPlumb.initiallyInvisible&&(s(this,!0),this.component.repaint(),this._jsPlumb.initiallyInvisible=!1))},clearCachedDimensions:function(){this._jsPlumb.cachedDimensions=null},cleanup:function(e){e?null!=this._jsPlumb.div&&(this._jsPlumb.div._jsPlumb=null,this._jsPlumb.instance.removeElement(this._jsPlumb.div)):(this._jsPlumb&&this._jsPlumb.div&&this._jsPlumb.div.parentNode&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div),this.detached=!0)},reattach:function(e,t){null!=this._jsPlumb.div&&e.getContainer().appendChild(this._jsPlumb.div),this.detached=!1},computeMaxSize:function(){var e=s(this);return Math.max(e[0],e[1])},paint:function(e,t){this._jsPlumb.initialised||(this.getElement(),e.component.appendDisplayElement(this._jsPlumb.div),this._jsPlumb.initialised=!0,this.detached&&this._jsPlumb.div.parentNode.removeChild(this._jsPlumb.div)),this._jsPlumb.div.style.left=e.component.x+e.d.minx+"px",this._jsPlumb.div.style.top=e.component.y+e.d.miny+"px"}}),t.Overlays.Custom=function(e){this.type="Custom",l.apply(this,arguments)},n.extend(t.Overlays.Custom,l),t.Overlays.GuideLines=function(){var e=this;e.length=50,e.strokeWidth=5,this.type="GuideLines",a.apply(this,arguments),t.jsPlumbUIComponent.apply(this,arguments),this.draw=function(t,n){var r=t.pointAlongPathFrom(e.loc,e.length/2),o=t.pointOnPath(e.loc),a=i.pointOnLine(r,o,e.length),s=i.perpendicularLineTo(r,a,40),l=i.perpendicularLineTo(a,r,20);return{connector:t,head:r,tail:a,headLine:l,tailLine:s,minX:Math.min(r.x,a.x,l[0].x,l[1].x),minY:Math.min(r.y,a.y,l[0].y,l[1].y),maxX:Math.max(r.x,a.x,l[0].x,l[1].x),maxY:Math.max(r.y,a.y,l[0].y,l[1].y)}}},t.Overlays.Label=function(e){this.labelStyle=e.labelStyle;this.cssClass=null!=this.labelStyle?this.labelStyle.cssClass:null;var n=t.extend({create:function(){return t.createElement("div")}},e);if(t.Overlays.Custom.call(this,n),this.type="Label",this.label=e.label||"",this.labelText=null,this.labelStyle){var i=this.getElement();if(this.labelStyle.font=this.labelStyle.font||"12px sans-serif",i.style.font=this.labelStyle.font,i.style.color=this.labelStyle.color||"black",this.labelStyle.fill&&(i.style.background=this.labelStyle.fill),this.labelStyle.borderWidth>0){var r=this.labelStyle.borderStyle?this.labelStyle.borderStyle:"black";i.style.border=this.labelStyle.borderWidth+"px solid "+r}this.labelStyle.padding&&(i.style.padding=this.labelStyle.padding)}},n.extend(t.Overlays.Label,t.Overlays.Custom,{cleanup:function(e){e&&(this.div=null,this.label=null,this.labelText=null,this.cssClass=null,this.labelStyle=null)},getLabel:function(){return this.label},setLabel:function(e){this.label=e,this.labelText=null,this.clearCachedDimensions(),this.update(),this.component.repaint()},getDimensions:function(){return this.update(),l.prototype.getDimensions.apply(this,arguments)},update:function(){if("function"===typeof this.label){var e=this.label(this);this.getElement().innerHTML=e.replace(/\r\n/g,"<br/>")}else null==this.labelText&&(this.labelText=this.label,this.getElement().innerHTML=this.labelText.replace(/\r\n/g,"<br/>"))},updateFrom:function(e){null!=e.label&&this.setLabel(e.label)}})}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumbUtil,n=e.jsPlumbInstance,i="jtk-group-collapsed",r="jtk-group-expanded",o="[jtk-group-content]",a="elementDraggable",s="stop",l="revert",u="_groupManager",c="_jsPlumbGroup",d="_jsPlumbGroupDrag",h="group:addMember",f="group:removeMember",p="group:add",m="group:remove",v="group:expand",g="group:collapse",y="groupDragStop",b="connectionMoved",_="internal.connectionDetached",w="removeAll",x="orphanAll",k="show",M="hide",S=function(e){var n={},o={},a={},s=this;function l(t,n){var i=e.getContainer(),r=!1;while(!r){if(null==t||t===i)return!1;if(t===n)return!0;t=t.parentNode}}function u(e){delete e.proxies;var n,i=o[e.id];null!=i&&(n=function(t){return t.id===e.id},t.removeWithFunction(i.connections.source,n),t.removeWithFunction(i.connections.target,n),delete o[e.id]),i=a[e.id],null!=i&&(n=function(t){return t.id===e.id},t.removeWithFunction(i.connections.source,n),t.removeWithFunction(i.connections.target,n),delete a[e.id])}function d(t,n){for(var i=t.getEl().querySelectorAll(".jtk-managed"),r=0;r<i.length;r++)e[n?k:M](i[r],!0)}e.bind("connection",(function(n){var i=e.getGroupFor(n.source),r=e.getGroupFor(n.target);null!=i&&null!=r&&i===r?(o[n.connection.id]=i,a[n.connection.id]=i):(null!=i&&(t.suggest(i.connections.source,n.connection),o[n.connection.id]=i),null!=r&&(t.suggest(r.connections.target,n.connection),a[n.connection.id]=r))})),e.bind(_,(function(e){u(e.connection)})),e.bind(b,(function(e){var t=0===e.index?o:a,n=t[e.connection.id];if(n){var i=n.connections[0===e.index?"source":"target"],r=i.indexOf(e.connection);-1!==r&&i.splice(r,1)}})),this.addGroup=function(t){e.addClass(t.getEl(),r),n[t.id]=t,t.manager=this,S(t),e.fire(p,{group:t})},this.addToGroup=function(t,n,i){if(t=this.getGroup(t),t){var r=t.getEl();if(n._isJsPlumbGroup)return;var o=n._jsPlumbGroup;if(o!==t){e.removeFromDragSelection(n);var a=e.getOffset(n,!0),l=t.collapsed?e.getOffset(r,!0):e.getOffset(t.getDragArea(),!0);null!=o&&(o.remove(n,!1,i,!1,t),s.updateConnectionsForGroup(o)),t.add(n,i);var u=function(e,n){var i=0===n?1:0;e.each((function(e){e.setVisible(!1),e.endpoints[i].element._jsPlumbGroup===t?(e.endpoints[i].setVisible(!1),y(e,i,t)):(e.endpoints[n].setVisible(!1),f(e,n,t))}))};t.collapsed&&(u(e.select({source:n}),0),u(e.select({target:n}),1));var c=e.getId(n);e.dragManager.setParent(n,c,r,e.getId(r),a);var d={left:a.left-l.left,top:a.top-l.top};if(e.setPosition(n,d),e.dragManager.revalidateParent(n,c,a),s.updateConnectionsForGroup(t),e.revalidate(c),!i){var p={group:t,el:n,pos:d};o&&(p.sourceGroup=o),e.fire(h,p)}}}},this.removeFromGroup=function(e,t,n){if(e=this.getGroup(e),e){if(e.collapsed){var i=function(n,i){for(var r=0;r<n.length;r++){var o=n[r];if(o.proxies)for(var a=0;a<o.proxies.length;a++)if(null!=o.proxies[a]){var s=o.proxies[a].originalEp.element;(s===t||l(s,t))&&y(o,i,e)}}};i(e.connections.source.slice(),0),i(e.connections.target.slice(),1)}e.remove(t,null,n)}},this.getGroup=function(e){var i=e;if(t.isString(e)&&(i=n[e],null==i))throw new TypeError("No such group ["+e+"]");return i},this.getGroups=function(){var e=[];for(var t in n)e.push(n[t]);return e},this.removeGroup=function(t,i,r,o){t=this.getGroup(t),this.expandGroup(t,!0);var a=t[i?w:x](r,o);return e.remove(t.getEl()),delete n[t.id],delete e._groups[t.id],e.fire(m,{group:t}),a},this.removeAllGroups=function(e,t,i){for(var r in n)this.removeGroup(n[r],e,t,i)};var f=function(t,n,i){var r=t.endpoints[0===n?1:0].element;if(!r[c]||r[c].shouldProxy()||!r[c].collapsed){var o=i.getEl(),a=e.getId(o);e.proxyConnection(t,n,o,a,(function(e,t){return i.getEndpoint(e,t)}),(function(e,t){return i.getAnchor(e,t)}))}};this.collapseGroup=function(t){if(t=this.getGroup(t),null!=t&&!t.collapsed){var n=t.getEl();if(d(t,!1),t.shouldProxy()){var o=function(e,n){for(var i=0;i<e.length;i++){var r=e[i];f(r,n,t)}};o(t.connections.source,0),o(t.connections.target,1)}t.collapsed=!0,e.removeClass(n,r),e.addClass(n,i),e.revalidate(n),e.fire(g,{group:t})}};var y=function(t,n,i){e.unproxyConnection(t,n,e.getId(i.getEl()))};function S(t){for(var n=t.getMembers().slice(),i=[],r=0;r<n.length;r++)Array.prototype.push.apply(i,n[r].querySelectorAll(".jtk-managed"));Array.prototype.push.apply(n,i);var s=e.getConnections({source:n,scope:"*"},!0),l=e.getConnections({target:n,scope:"*"},!0),u={};t.connections.source.length=0,t.connections.target.length=0;var c=function(n){for(var i=0;i<n.length;i++)if(!u[n[i].id]){u[n[i].id]=!0;var r=e.getGroupFor(n[i].source),s=e.getGroupFor(n[i].target);r===t?(s!==t&&t.connections.source.push(n[i]),o[n[i].id]=t):s===t&&(t.connections.target.push(n[i]),a[n[i].id]=t)}};c(s),c(l)}this.expandGroup=function(t,n){if(t=this.getGroup(t),null!=t&&t.collapsed){var o=t.getEl();if(d(t,!0),t.shouldProxy()){var a=function(e,n){for(var i=0;i<e.length;i++){var r=e[i];y(r,n,t)}};a(t.connections.source,0),a(t.connections.target,1)}t.collapsed=!1,e.addClass(o,r),e.removeClass(o,i),e.revalidate(o),this.repaintGroup(t),n||e.fire(v,{group:t})}},this.repaintGroup=function(t){t=this.getGroup(t);for(var n=t.getMembers(),i=0;i<n.length;i++)e.revalidate(n[i])},this.updateConnectionsForGroup=S,this.refreshAllGroups=function(){for(var t in n)S(n[t]),e.dragManager.updateOffsets(e.getId(n[t].getEl()))}},C=function(n,i){var r=this,u=i.el;this.getEl=function(){return u},this.id=i.id||t.uuid(),u._isJsPlumbGroup=!0;var h=this.getDragArea=function(){var e=n.getSelector(u,o);return e&&e.length>0?e[0]:u},p=!0===i.ghost,m=p||!0===i.constrain,v=!1!==i.revert,g=!0===i.orphan,b=!0===i.prune,_=!0===i.dropOverride,w=!1!==i.proxied,x=[];if(this.connections={source:[],target:[],internal:[]},this.getAnchor=function(e,t){return i.anchor||"Continuous"},this.getEndpoint=function(e,t){return i.endpoint||["Dot",{radius:10}]},this.collapsed=!1,!1!==i.draggable){var k={drag:function(){for(var e=0;e<x.length;e++)n.draw(x[e])},stop:function(e){n.fire(y,jsPlumb.extend(e,{group:r}))},scope:d};i.dragOptions&&e.jsPlumb.extend(k,i.dragOptions),n.draggable(i.el,k)}!1!==i.droppable&&n.droppable(i.el,{drop:function(e){var t=e.drag.el;if(!t._isJsPlumbGroup){var i=t._jsPlumbGroup;if(i!==r){if(null!=i&&i.overrideDrop(t,r))return;n.getGroupManager().addToGroup(r,t,!1)}}}});var M=function(e,t){for(var n=null==e.nodeType?e:[e],i=0;i<n.length;i++)t(n[i])};function S(e){return e.offsetParent}function C(e,t){var i=S(e),r=n.getSize(i),o=n.getSize(e),a=t[0],s=a+o[0],l=t[1],u=l+o[1];return s>0&&a<r[0]&&u>0&&l<r[1]}function D(e){var t=n.getId(e),i=n.getOffset(e);return e.parentNode.removeChild(e),n.getContainer().appendChild(e),n.setPosition(e,i),E(e),n.dragManager.clearParent(e,t),[t,i]}function L(e){var t=[];function i(e,t,i){var r=null;if(!C(e,[t,i])){var o=e._jsPlumbGroup;b?n.remove(e):r=D(e),o.remove(e)}return r}for(var r=0;r<e.selection.length;r++)t.push(i(e.selection[r][0],e.selection[r][1].left,e.selection[r][1].top));return 1===t.length?t[0]:t}function T(e){var t=n.getId(e);n.revalidate(e),n.dragManager.revalidateParent(e,t)}function E(e){e._katavorioDrag&&((b||g)&&e._katavorioDrag.off(s,L),b||g||!v||(e._katavorioDrag.off(l,T),e._katavorioDrag.setRevert(null)))}function P(e){e._katavorioDrag&&((b||g)&&e._katavorioDrag.on(s,L),m&&e._katavorioDrag.setConstrain(!0),p&&e._katavorioDrag.setUseGhostProxy(!0),b||g||!v||(e._katavorioDrag.on(l,T),e._katavorioDrag.setRevert((function(e,t){return!C(e,t)}))))}this.overrideDrop=function(e,t){return _&&(v||b||g)},this.add=function(e,t){var i=h();M(e,(function(e){if(null!=e._jsPlumbGroup){if(e._jsPlumbGroup===r)return;e._jsPlumbGroup.remove(e,!0,t,!1)}e._jsPlumbGroup=r,x.push(e),n.isAlreadyDraggable(e)&&P(e),e.parentNode!==i&&i.appendChild(e)})),n.getGroupManager().updateConnectionsForGroup(r)},this.remove=function(e,i,o,a,s){M(e,(function(e){if(e._jsPlumbGroup===r){if(delete e._jsPlumbGroup,t.removeWithFunction(x,(function(t){return t===e})),i)try{r.getDragArea().removeChild(e)}catch(l){jsPlumbUtil.log("Could not remove element from Group "+l)}if(E(e),!o){var a={group:r,el:e};s&&(a.targetGroup=s),n.fire(f,a)}}})),a||n.getGroupManager().updateConnectionsForGroup(r)},this.removeAll=function(e,t){for(var i=0,o=x.length;i<o;i++){var a=x[0];r.remove(a,e,t,!0),n.remove(a,!0)}x.length=0,n.getGroupManager().updateConnectionsForGroup(r)},this.orphanAll=function(){for(var e={},t=0;t<x.length;t++){var n=D(x[t]);e[n[0]]=n[1]}return x.length=0,e},this.getMembers=function(){return x},u[c]=this,n.bind(a,function(e){e.el._jsPlumbGroup===this&&P(e.el)}.bind(this)),this.shouldProxy=function(){return w},n.getGroupManager().addGroup(this)};n.prototype.addGroup=function(e){var t=this;if(t._groups=t._groups||{},null!=t._groups[e.id])throw new TypeError("cannot create Group ["+e.id+"]; a Group with that ID exists");if(null!=e.el[c])throw new TypeError("cannot create Group ["+e.id+"]; the given element is already a Group");var n=new C(t,e);return t._groups[n.id]=n,e.collapsed&&this.collapseGroup(n),n},n.prototype.addToGroup=function(e,t,n){var i=function(t){var i=this.getId(t);this.manage(i,t),this.getGroupManager().addToGroup(e,t,n)}.bind(this);if(Array.isArray(t))for(var r=0;r<t.length;r++)i(t[r]);else i(t)},n.prototype.removeFromGroup=function(e,t,n){this.getGroupManager().removeFromGroup(e,t,n),this.getContainer().appendChild(t)},n.prototype.removeGroup=function(e,t,n,i){return this.getGroupManager().removeGroup(e,t,n,i)},n.prototype.removeAllGroups=function(e,t,n){this.getGroupManager().removeAllGroups(e,t,n)},n.prototype.getGroup=function(e){return this.getGroupManager().getGroup(e)},n.prototype.getGroups=function(){return this.getGroupManager().getGroups()},n.prototype.expandGroup=function(e){this.getGroupManager().expandGroup(e)},n.prototype.collapseGroup=function(e){this.getGroupManager().collapseGroup(e)},n.prototype.repaintGroup=function(e){this.getGroupManager().repaintGroup(e)},n.prototype.toggleGroup=function(e){e=this.getGroupManager().getGroup(e),null!=e&&this.getGroupManager()[e.collapsed?"expandGroup":"collapseGroup"](e)},n.prototype.getGroupManager=function(){var e=this[u];return null==e&&(e=this[u]=new S(this)),e},n.prototype.removeGroupManager=function(){delete this[u]},n.prototype.getGroupFor=function(e){if(e=this.getElement(e),e){var t=this.getContainer(),n=!1,i=null;while(!n)null==e||e===t?n=!0:e[c]?(i=e[c],e,n=!0):e=e.parentNode;return i}}}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="Straight",r="Arc",o=function(e){this.type="Flowchart",e=e||{},e.stub=null==e.stub?30:e.stub;var n,o=t.Connectors.AbstractConnector.apply(this,arguments),a=null==e.midpoint||isNaN(e.midpoint)?.5:e.midpoint,s=!0===e.alwaysRespectStubs,l=null,u=null,c=null!=e.cornerRadius?e.cornerRadius:0,d=(e.loopbackRadius,function(e){return e<0?-1:0===e?0:1}),h=function(e){return[d(e[2]-e[0]),d(e[3]-e[1])]},f=function(e,t,n,i){if(l!==t||u!==n){var r=null==l?i.sx:l,o=null==u?i.sy:u,a=r===t?"v":"h";l=t,u=n,e.push([r,o,t,n,a])}},p=function(e){return Math.sqrt(Math.pow(e[0]-e[2],2)+Math.pow(e[1]-e[3],2))},m=function(e){var t=[];return t.push.apply(t,e),t},v=function(e,t,n){for(var a,s,l,u=null,d=0;d<t.length-1;d++){if(u=u||m(t[d]),a=m(t[d+1]),s=h(u),l=h(a),c>0&&u[4]!==a[4]){var f=Math.min(p(u),p(a)),v=Math.min(c,f/2);u[2]-=s[0]*v,u[3]-=s[1]*v,a[0]+=l[0]*v,a[1]+=l[1]*v;var g=s[1]===l[0]&&1===l[0]||s[1]===l[0]&&0===l[0]&&s[0]!==l[1]||s[1]===l[0]&&-1===l[0],y=a[1]>u[3]?1:-1,b=a[0]>u[2]?1:-1,_=y===b,w=_&&g||!_&&!g?a[0]:u[2],x=_&&g||!_&&!g?u[3]:a[1];o.addSegment(e,i,{x1:u[0],y1:u[1],x2:u[2],y2:u[3]}),o.addSegment(e,r,{r:v,x1:u[2],y1:u[3],x2:a[0],y2:a[1],cx:w,cy:x,ac:g})}else{var k=u[2]===u[0]?0:u[2]>u[0]?n.lw/2:-n.lw/2,M=u[3]===u[1]?0:u[3]>u[1]?n.lw/2:-n.lw/2;o.addSegment(e,i,{x1:u[0]-k,y1:u[1]-M,x2:u[2]+k,y2:u[3]+M})}u=a}null!=a&&o.addSegment(e,i,{x1:a[0],y1:a[1],x2:a[2],y2:a[3]})};this.midpoint=a,this._compute=function(e,t){n=[],l=null,u=null,null;var i=function(){return[e.startStubX,e.startStubY,e.endStubX,e.endStubY]},r={perpendicular:i,orthogonal:i,opposite:function(t){var n=e,i="x"===t?0:1,r={x:function(){return 1===n.so[i]&&(n.startStubX>n.endStubX&&n.tx>n.startStubX||n.sx>n.endStubX&&n.tx>n.sx)||-1===n.so[i]&&(n.startStubX<n.endStubX&&n.tx<n.startStubX||n.sx<n.endStubX&&n.tx<n.sx)},y:function(){return 1===n.so[i]&&(n.startStubY>n.endStubY&&n.ty>n.startStubY||n.sy>n.endStubY&&n.ty>n.sy)||-1===n.so[i]&&(n.startStubY<n.endStubY&&n.ty<n.startStubY||n.sy<n.endStubY&&n.ty<n.sy)}};return!s&&r[t]()?{x:[(e.sx+e.tx)/2,e.startStubY,(e.sx+e.tx)/2,e.endStubY],y:[e.startStubX,(e.sy+e.ty)/2,e.endStubX,(e.sy+e.ty)/2]}[t]:[e.startStubX,e.startStubY,e.endStubX,e.endStubY]}},c=r[e.anchorOrientation](e.sourceAxis),d="x"===e.sourceAxis?0:1,h="x"===e.sourceAxis?1:0,p=c[d],m=c[h],g=c[d+2],y=c[h+2];f(n,c[0],c[1],e);var b=e.startStubX+(e.endStubX-e.startStubX)*a,_=e.startStubY+(e.endStubY-e.startStubY)*a,w={x:[0,1],y:[1,0]},x={perpendicular:function(t){var n=e,i={x:[[[1,2,3,4],null,[2,1,4,3]],null,[[4,3,2,1],null,[3,4,1,2]]],y:[[[3,2,1,4],null,[2,3,4,1]],null,[[4,1,2,3],null,[1,4,3,2]]]},r={x:[[n.startStubX,n.endStubX],null,[n.endStubX,n.startStubX]],y:[[n.startStubY,n.endStubY],null,[n.endStubY,n.startStubY]]},o={x:[[b,n.startStubY],[b,n.endStubY]],y:[[n.startStubX,_],[n.endStubX,_]]},a={x:[[n.endStubX,n.startStubY]],y:[[n.startStubX,n.endStubY]]},s={x:[[n.startStubX,n.endStubY],[n.endStubX,n.endStubY]],y:[[n.endStubX,n.startStubY],[n.endStubX,n.endStubY]]},l={x:[[n.startStubX,_],[n.endStubX,_],[n.endStubX,n.endStubY]],y:[[b,n.startStubY],[b,n.endStubY],[n.endStubX,n.endStubY]]},u={x:[n.startStubY,n.endStubY],y:[n.startStubX,n.endStubX]},c=w[t][0],d=w[t][1],h=n.so[c]+1,f=n.to[d]+1,p=-1===n.to[d]&&u[t][1]<u[t][0]||1===n.to[d]&&u[t][1]>u[t][0],m=r[t][h][0],v=r[t][h][1],g=i[t][h][f];return n.segment===g[3]||n.segment===g[2]&&p?o[t]:n.segment===g[2]&&v<m?a[t]:n.segment===g[2]&&v>=m||n.segment===g[1]&&!p?l[t]:n.segment===g[0]||n.segment===g[1]&&p?s[t]:void 0},orthogonal:function(t,n,i,r,o){var a=e,s={x:-1===a.so[0]?Math.min(n,r):Math.max(n,r),y:-1===a.so[1]?Math.min(n,r):Math.max(n,r)}[t];return{x:[[s,i],[s,o],[r,o]],y:[[i,s],[o,s],[o,r]]}[t]},opposite:function(n,i,r,a){var s=e,l={x:"y",y:"x"}[n],u={x:"height",y:"width"}[n],c=s["is"+n.toUpperCase()+"GreaterThanStubTimes2"];if(t.sourceEndpoint.elementId===t.targetEndpoint.elementId){var h=r+(1-t.sourceEndpoint.anchor[l])*t.sourceInfo[u]+o.maxStub;return{x:[[i,h],[a,h]],y:[[h,i],[h,a]]}[n]}return!c||1===s.so[d]&&i>a||-1===s.so[d]&&i<a?{x:[[i,_],[a,_]],y:[[b,i],[b,a]]}[n]:1===s.so[d]&&i<a||-1===s.so[d]&&i>a?{x:[[b,s.sy],[b,s.ty]],y:[[s.sx,_],[s.tx,_]]}[n]:void 0}},k=x[e.anchorOrientation](e.sourceAxis,p,m,g,y);if(k)for(var M=0;M<k.length;M++)f(n,k[M][0],k[M][1],e);f(n,c[2],c[3],e),f(n,e.tx,e.ty,e),v(this,n,e)}};t.Connectors.Flowchart=o,n.extend(t.Connectors.Flowchart,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil;t.Connectors.AbstractBezierConnector=function(e){e=e||{};var n,i=!1!==e.showLoopback,r=(e.curviness,e.margin||5),o=(e.proximityLimit,e.orientation&&"clockwise"===e.orientation),a=e.loopbackRadius||25;return this._compute=function(e,t){var s=t.sourcePos,l=t.targetPos,u=Math.abs(s[0]-l[0]),c=Math.abs(s[1]-l[1]);if(i&&t.sourceEndpoint.elementId===t.targetEndpoint.elementId){!0;var d=t.sourcePos[0],h=t.sourcePos[1]-r,f=d,p=h-a,m=f-a,v=p-a;u=2*a,c=2*a,e.points[0]=m,e.points[1]=v,e.points[2]=u,e.points[3]=c,n.addSegment(this,"Arc",{loopback:!0,x1:d-m+4,y1:h-v,startAngle:0,endAngle:2*Math.PI,r:a,ac:!o,x2:d-m-4,y2:h-v,cx:f-m,cy:p-v})}else!1,this._computeBezier(e,t,s,l,u,c)},n=t.Connectors.AbstractConnector.apply(this,arguments),n},n.extend(t.Connectors.AbstractBezierConnector,t.Connectors.AbstractConnector);var i=function(e){e=e||{},this.type="Bezier";var n=t.Connectors.AbstractBezierConnector.apply(this,arguments),i=e.curviness||150,r=10;this.getCurviness=function(){return i},this._findControlPoint=function(e,t,n,o,a,s,l){var u=s[0]!==l[0]||s[1]===l[1],c=[];return u?(0===l[0]?c.push(n[0]<t[0]?e[0]+r:e[0]-r):c.push(e[0]+i*l[0]),0===l[1]?c.push(n[1]<t[1]?e[1]+r:e[1]-r):c.push(e[1]+i*s[1])):(0===s[0]?c.push(t[0]<n[0]?e[0]+r:e[0]-r):c.push(e[0]-i*s[0]),0===s[1]?c.push(t[1]<n[1]?e[1]+r:e[1]-r):c.push(e[1]+i*l[1])),c},this._computeBezier=function(e,t,i,r,o,a){var s,l,u=i[0]<r[0]?o:0,c=i[1]<r[1]?a:0,d=i[0]<r[0]?0:o,h=i[1]<r[1]?0:a;s=this._findControlPoint([u,c],i,r,t.sourceEndpoint,t.targetEndpoint,e.so,e.to),l=this._findControlPoint([d,h],r,i,t.targetEndpoint,t.sourceEndpoint,e.to,e.so),n.addSegment(this,"Bezier",{x1:u,y1:c,x2:d,y2:h,cp1x:s[0],cp1y:s[1],cp2x:l[0],cp2y:l[1]})}};t.Connectors.Bezier=i,n.extend(i,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=function(e,t,n,i){return e<=n&&i<=t?1:e<=n&&t<=i?2:n<=e&&i>=t?3:4},r=function(e,t,n,i,r,o,a,s,l){return s<=l?[e,t]:1===n?i[3]<=0&&r[3]>=1?[e+(i[2]<.5?-1*o:o),t]:i[2]>=1&&r[2]<=0?[e,t+(i[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:2===n?i[3]>=1&&r[3]<=0?[e+(i[2]<.5?-1*o:o),t]:i[2]>=1&&r[2]<=0?[e,t+(i[3]<.5?-1*a:a)]:[e+o,t+-1*a]:3===n?i[3]>=1&&r[3]<=0?[e+(i[2]<.5?-1*o:o),t]:i[2]<=0&&r[2]>=1?[e,t+(i[3]<.5?-1*a:a)]:[e+-1*o,t+-1*a]:4===n?i[3]<=0&&r[3]>=1?[e+(i[2]<.5?-1*o:o),t]:i[2]<=0&&r[2]>=1?[e,t+(i[3]<.5?-1*a:a)]:[e+o,t+-1*a]:void 0},o=function(e){e=e||{},this.type="StateMachine";var n,o=t.Connectors.AbstractBezierConnector.apply(this,arguments),a=e.curviness||10,s=e.margin||5,l=e.proximityLimit||80;e.orientation&&e.orientation;this._computeBezier=function(e,t,u,c,d,h){var f=t.sourcePos[0]<t.targetPos[0]?0:d,p=t.sourcePos[1]<t.targetPos[1]?0:h,m=t.sourcePos[0]<t.targetPos[0]?d:0,v=t.sourcePos[1]<t.targetPos[1]?h:0;0===t.sourcePos[2]&&(f-=s),1===t.sourcePos[2]&&(f+=s),0===t.sourcePos[3]&&(p-=s),1===t.sourcePos[3]&&(p+=s),0===t.targetPos[2]&&(m-=s),1===t.targetPos[2]&&(m+=s),0===t.targetPos[3]&&(v-=s),1===t.targetPos[3]&&(v+=s);var g,y,b,_,w=(f+m)/2,x=(p+v)/2,k=i(f,p,m,v),M=Math.sqrt(Math.pow(m-f,2)+Math.pow(v-p,2));n=r(w,x,k,t.sourcePos,t.targetPos,a,a,M,l),g=n[0],y=n[0],b=n[1],_=n[1],o.addSegment(this,"Bezier",{x1:m,y1:v,x2:f,y2:p,cp1x:g,cp1y:b,cp2x:y,cp2y:_})}};t.Connectors.StateMachine=o,n.extend(o,t.Connectors.AbstractBezierConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i="Straight",r=function(e){this.type=i;var n=t.Connectors.AbstractConnector.apply(this,arguments);this._compute=function(e,t){n.addSegment(this,i,{x1:e.sx,y1:e.sy,x2:e.startStubX,y2:e.startStubY}),n.addSegment(this,i,{x1:e.startStubX,y1:e.startStubY,x2:e.endStubX,y2:e.endStubY}),n.addSegment(this,i,{x1:e.endStubX,y1:e.endStubY,x2:e.tx,y2:e.ty})}};t.Connectors.Straight=r,n.extend(r,t.Connectors.AbstractConnector)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i={"stroke-linejoin":"stroke-linejoin","stroke-dashoffset":"stroke-dashoffset","stroke-linecap":"stroke-linecap"},r="stroke-dasharray",o="dashstyle",a="linearGradient",s="radialGradient",l="defs",u="fill",c="stop",d="stroke",h="stroke-width",f="style",p="none",m="jsplumb_gradient_",v="strokeWidth",g={svg:"http://www.w3.org/2000/svg"},y=function(e,t){for(var n in t)e.setAttribute(n,""+t[n])},b=function(e,n){return n=n||{},n.version="1.1",n.xmlns=g.svg,t.createElementNS(g.svg,e,null,null,n)},_=function(e){return"position:absolute;left:"+e[0]+"px;top:"+e[1]+"px"},w=function(e){for(var t=e.querySelectorAll(" defs,linearGradient,radialGradient"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n])},x=function(e,t,n,i,r){var o,h=m+r._jsPlumb.instance.idstamp();w(e),o=n.gradient.offset?b(s,{id:h}):b(a,{id:h,gradientUnits:"userSpaceOnUse"});var f=b(l);e.appendChild(f),f.appendChild(o);for(var p=0;p<n.gradient.stops.length;p++){var v=1===r.segment||2===r.segment?p:n.gradient.stops.length-1-p,g=n.gradient.stops[v][1],y=b(c,{offset:Math.floor(100*n.gradient.stops[p][0])+"%","stop-color":g});o.appendChild(y)}var _=n.stroke?d:u;t.setAttribute(_,"url(#"+h+")")},k=function(e,t,n,a,s){if(t.setAttribute(u,n.fill?n.fill:p),t.setAttribute(d,n.stroke?n.stroke:p),n.gradient?x(e,t,n,a,s):(w(e),t.setAttribute(f,"")),n.strokeWidth&&t.setAttribute(h,n.strokeWidth),n[o]&&n[v]&&!n[r]){var l=-1===n[o].indexOf(",")?" ":",",c=n[o].split(l),m="";c.forEach((function(e){m+=Math.floor(e*n.strokeWidth)+l})),t.setAttribute(r,m)}else n[r]&&t.setAttribute(r,n[r]);for(var g in i)n[g]&&t.setAttribute(i[g],n[g])},M=function(e,t,n){e.childNodes.length>n?e.insertBefore(t,e.childNodes[n]):e.appendChild(t)};n.svg={node:b,attr:y,pos:_};var S=function(e){var i=e.pointerEventsSpec||"all",r={};t.jsPlumbUIComponent.apply(this,e.originalArgs),this.canvas=null,this.path=null,this.svg=null,this.bgCanvas=null;var o=e.cssClass+" "+(e.originalArgs[0].cssClass||""),a={style:"",width:0,height:0,"pointer-events":i,position:"absolute"};this.svg=b("svg",a),e.useDivWrapper?(this.canvas=t.createElement("div",{position:"absolute"}),n.sizeElement(this.canvas,0,0,1,1),this.canvas.className=o):(y(this.svg,{class:o}),this.canvas=this.svg),e._jsPlumb.appendElement(this.canvas,e.originalArgs[0].parent),e.useDivWrapper&&this.canvas.appendChild(this.svg);var s=[this.canvas];return this.getDisplayElements=function(){return s},this.appendDisplayElement=function(e){s.push(e)},this.paint=function(t,i,o){if(null!=t){var a,s=[this.x,this.y],l=[this.w,this.h];null!=o&&(o.xmin<0&&(s[0]+=o.xmin),o.ymin<0&&(s[1]+=o.ymin),l[0]=o.xmax+(o.xmin<0?-o.xmin:0),l[1]=o.ymax+(o.ymin<0?-o.ymin:0)),e.useDivWrapper?(n.sizeElement(this.canvas,s[0],s[1],l[0]>0?l[0]:1,l[1]>0?l[1]:1),s[0]=0,s[1]=0,a=_([0,0])):a=_([s[0],s[1]]),r.paint.apply(this,arguments),y(this.svg,{style:a,width:l[0]||1,height:l[1]||1})}},{renderer:r}};n.extend(S,t.jsPlumbUIComponent,{cleanup:function(e){e||null==this.typeId?(this.canvas&&(this.canvas._jsPlumb=null),this.svg&&(this.svg._jsPlumb=null),this.bgCanvas&&(this.bgCanvas._jsPlumb=null),this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.svg=null,this.canvas=null,this.path=null,this.group=null,this._jsPlumb=null):(this.canvas&&this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this.bgCanvas&&this.bgCanvas.parentNode&&this.bgCanvas.parentNode.removeChild(this.bgCanvas))},reattach:function(e){var t=e.getContainer();this.canvas&&null==this.canvas.parentNode&&t.appendChild(this.canvas),this.bgCanvas&&null==this.bgCanvas.parentNode&&t.appendChild(this.bgCanvas)},setVisible:function(e){this.canvas&&(this.canvas.style.display=e?"block":"none")}}),t.ConnectorRenderers.svg=function(e){var n=this,i=S.apply(this,[{cssClass:e._jsPlumb.connectorClass,originalArgs:arguments,pointerEventsSpec:"none",_jsPlumb:e._jsPlumb}]);i.renderer.paint=function(i,r,o){var a=n.getSegments(),s="",l=[0,0];if(o.xmin<0&&(l[0]=-o.xmin),o.ymin<0&&(l[1]=-o.ymin),a.length>0){s=n.getPathData();var u={d:s,transform:"translate("+l[0]+","+l[1]+")","pointer-events":e["pointer-events"]||"visibleStroke"},c=null,d=[n.x,n.y,n.w,n.h];if(i.outlineStroke){var h=i.outlineWidth||1,f=i.strokeWidth+2*h;c=t.extend({},i),delete c.gradient,c.stroke=i.outlineStroke,c.strokeWidth=f,null==n.bgPath?(n.bgPath=b("path",u),t.addClass(n.bgPath,t.connectorOutlineClass),M(n.svg,n.bgPath,0)):y(n.bgPath,u),k(n.svg,n.bgPath,c,d,n)}null==n.path?(n.path=b("path",u),M(n.svg,n.path,i.outlineStroke?1:0)):y(n.path,u),k(n.svg,n.path,i,d,n)}}},n.extend(t.ConnectorRenderers.svg,S);var C=t.SvgEndpoint=function(e){var n=S.apply(this,[{cssClass:e._jsPlumb.endpointClass,originalArgs:arguments,pointerEventsSpec:"all",useDivWrapper:!0,_jsPlumb:e._jsPlumb}]);n.renderer.paint=function(e){var n=t.extend({},e);n.outlineStroke&&(n.stroke=n.outlineStroke),null==this.node?(this.node=this.makeNode(n),this.svg.appendChild(this.node)):null!=this.updateNode&&this.updateNode(this.node),k(this.svg,this.node,n,[this.x,this.y,this.w,this.h],this),_(this.node,[this.x,this.y])}.bind(this)};n.extend(C,S),t.Endpoints.svg.Dot=function(){t.Endpoints.Dot.apply(this,arguments),C.apply(this,arguments),this.makeNode=function(e){return b("circle",{cx:this.w/2,cy:this.h/2,r:this.radius})},this.updateNode=function(e){y(e,{cx:this.w/2,cy:this.h/2,r:this.radius})}},n.extend(t.Endpoints.svg.Dot,[t.Endpoints.Dot,C]),t.Endpoints.svg.Rectangle=function(){t.Endpoints.Rectangle.apply(this,arguments),C.apply(this,arguments),this.makeNode=function(e){return b("rect",{width:this.w,height:this.h})},this.updateNode=function(e){y(e,{width:this.w,height:this.h})}},n.extend(t.Endpoints.svg.Rectangle,[t.Endpoints.Rectangle,C]),t.Endpoints.svg.Image=t.Endpoints.Image,t.Endpoints.svg.Blank=t.Endpoints.Blank,t.Overlays.svg.Label=t.Overlays.Label,t.Overlays.svg.Custom=t.Overlays.Custom;var D=function(e,n){e.apply(this,n),t.jsPlumbUIComponent.apply(this,n),this.isAppendedAtTopLevel=!1;this.path=null,this.paint=function(e,t){if(e.component.svg&&t){null==this.path&&(this.path=b("path",{"pointer-events":"all"}),e.component.svg.appendChild(this.path),this.elementCreated&&this.elementCreated(this.path,e.component),this.canvas=e.component.svg);var r=n&&1===n.length&&n[0].cssClass||"",o=[0,0];t.xmin<0&&(o[0]=-t.xmin),t.ymin<0&&(o[1]=-t.ymin),y(this.path,{d:i(e.d),class:r,stroke:e.stroke?e.stroke:null,fill:e.fill?e.fill:null,transform:"translate("+o[0]+","+o[1]+")"})}};var i=function(e){return isNaN(e.cxy.x)||isNaN(e.cxy.y)?"":"M"+e.hxy.x+","+e.hxy.y+" L"+e.tail[0].x+","+e.tail[0].y+" L"+e.cxy.x+","+e.cxy.y+" L"+e.tail[1].x+","+e.tail[1].y+" L"+e.hxy.x+","+e.hxy.y};this.transfer=function(e){e.canvas&&this.path&&this.path.parentNode&&(this.path.parentNode.removeChild(this.path),e.canvas.appendChild(this.path))}},L={cleanup:function(e){null!=this.path&&(e?this._jsPlumb.instance.removeElement(this.path):this.path.parentNode&&this.path.parentNode.removeChild(this.path))},reattach:function(e,t){this.path&&t.canvas&&t.canvas.appendChild(this.path)},setVisible:function(e){null!=this.path&&(this.path.style.display=e?"block":"none")}};n.extend(D,[t.jsPlumbUIComponent,t.Overlays.AbstractOverlay]),t.Overlays.svg.Arrow=function(){D.apply(this,[t.Overlays.Arrow,arguments])},n.extend(t.Overlays.svg.Arrow,[t.Overlays.Arrow,D],L),t.Overlays.svg.PlainArrow=function(){D.apply(this,[t.Overlays.PlainArrow,arguments])},n.extend(t.Overlays.svg.PlainArrow,[t.Overlays.PlainArrow,D],L),t.Overlays.svg.Diamond=function(){D.apply(this,[t.Overlays.Diamond,arguments])},n.extend(t.Overlays.svg.Diamond,[t.Overlays.Diamond,D],L),t.Overlays.svg.GuideLines=function(){var e,n,i=null,r=this;t.Overlays.GuideLines.apply(this,arguments),this.paint=function(t,a){null==i&&(i=b("path"),t.connector.svg.appendChild(i),r.attachListeners(i,t.connector),r.attachListeners(i,r),e=b("path"),t.connector.svg.appendChild(e),r.attachListeners(e,t.connector),r.attachListeners(e,r),n=b("path"),t.connector.svg.appendChild(n),r.attachListeners(n,t.connector),r.attachListeners(n,r));var s=[0,0];a.xmin<0&&(s[0]=-a.xmin),a.ymin<0&&(s[1]=-a.ymin),y(i,{d:o(t.head,t.tail),stroke:"red",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),y(e,{d:o(t.tailLine[0],t.tailLine[1]),stroke:"blue",fill:null,transform:"translate("+s[0]+","+s[1]+")"}),y(n,{d:o(t.headLine[0],t.headLine[1]),stroke:"green",fill:null,transform:"translate("+s[0]+","+s[1]+")"})};var o=function(e,t){return"M "+e.x+","+e.y+" L"+t.x+","+t.y}},n.extend(t.Overlays.svg.GuideLines,t.Overlays.GuideLines)}.call("undefined"!==typeof window?window:this),function(){"use strict";var e=this,t=e.jsPlumb,n=e.jsPlumbUtil,i=e.Katavorio,r=e.Biltong,o=function(t){var n=t._mottle;return n||(n=t._mottle=new e.Mottle),n},a=function(e,n){n=n||"main";var o="_katavorio_"+n,a=e[o],s=e.getEventManager();return a||(a=new i({bind:s.on,unbind:s.off,getSize:t.getSize,getConstrainingRectangle:function(e){return[e.parentNode.scrollWidth,e.parentNode.scrollHeight]},getPosition:function(t,n){var i=e.getOffset(t,n,t._katavorioDrag?t.offsetParent:null);return[i.left,i.top]},setPosition:function(e,t){e.style.left=t[0]+"px",e.style.top=t[1]+"px"},addClass:t.addClass,removeClass:t.removeClass,intersects:r.intersects,indexOf:function(e,t){return e.indexOf(t)},scope:e.getDefaultScope(),css:{noSelect:e.dragSelectClass,droppable:"jtk-droppable",draggable:"jtk-draggable",drag:"jtk-drag",selected:"jtk-drag-selected",active:"jtk-drag-active",hover:"jtk-drag-hover",ghostProxy:"jtk-ghost-proxy"}}),a.setZoom(e.getZoom()),e[o]=a,e.bind("zoom",a.setZoom)),a},s=function(e){var t=e.el._jsPlumbDragOptions,n=!0;return t.canDrag&&(n=t.canDrag()),n&&(this.setHoverSuspended(!0),this.select({source:e.el}).addClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:e.el}).addClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),this.setConnectionBeingDragged(!0)),n},l=function(e){var t=this.getUIPosition(arguments,this.getZoom());if(null!=t){var n=e.el._jsPlumbDragOptions;this.draw(e.el,t,null,!0),n._dragging&&this.addClass(e.el,"jtk-dragged"),n._dragging=!0}},u=function(e){for(var t,n=e.selection,i=function(n){var i;null!=n[1]&&(t=this.getUIPosition([{el:n[2].el,pos:[n[1].left,n[1].top]}]),i=this.draw(n[2].el,t)),null!=n[0]._jsPlumbDragOptions&&delete n[0]._jsPlumbDragOptions._dragging,this.removeClass(n[0],"jtk-dragged"),this.select({source:n[2].el}).removeClass(this.elementDraggingClass+" "+this.sourceElementDraggingClass,!0),this.select({target:n[2].el}).removeClass(this.elementDraggingClass+" "+this.targetElementDraggingClass,!0),e.e._drawResult=e.e._drawResult||{c:[],e:[],a:[]},Array.prototype.push.apply(e.e._drawResult.c,i.c),Array.prototype.push.apply(e.e._drawResult.e,i.e),Array.prototype.push.apply(e.e._drawResult.a,i.a),this.getDragManager().dragEnded(n[2].el)}.bind(this),r=0;r<n.length;r++)i(n[r]);this.setHoverSuspended(!1),this.setConnectionBeingDragged(!1)},c=function(e,t){var i=function(i){if(null!=t[i]){if(n.isString(t[i])){var r=t[i].match(/-=/)?-1:1,o=t[i].substring(2);return e[i]+r*o}return t[i]}return e[i]};return[i("left"),i("top")]},d=function(e,t){if(null==t)return[0,0];var n=v(t),i=m(n,0);return[i[e+"X"],i[e+"Y"]]},h=d.bind(this,"page"),f=d.bind(this,"screen"),p=d.bind(this,"client"),m=function(e,t){return e.item?e.item(t):e[t]},v=function(e){return e.touches&&e.touches.length>0?e.touches:e.changedTouches&&e.changedTouches.length>0?e.changedTouches:e.targetTouches&&e.targetTouches.length>0?e.targetTouches:[e]},g=function(e){var t={},n=[],i={},r={},o={};this.register=function(a){var s,l=e.getId(a);t[l]||(t[l]=a,n.push(a),i[l]={});var u=function(t){if(t)for(var n=0;n<t.childNodes.length;n++)if(3!==t.childNodes[n].nodeType&&8!==t.childNodes[n].nodeType){var c=jsPlumb.getElement(t.childNodes[n]),d=e.getId(t.childNodes[n],null,!0);if(d&&r[d]&&r[d]>0){s||(s=e.getOffset(a));var h=e.getOffset(c);i[l][d]={id:d,offset:{left:h.left-s.left,top:h.top-s.top}},o[d]=l}u(t.childNodes[n])}};u(a)},this.updateOffsets=function(t,n){if(null!=t){n=n||{};var r,a=jsPlumb.getElement(t),s=e.getId(a),l=i[s];if(l)for(var u in l)if(l.hasOwnProperty(u)){var c=jsPlumb.getElement(u),d=n[u]||e.getOffset(c);if(null==c.offsetParent&&null!=i[s][u])continue;r||(r=e.getOffset(a)),i[s][u]={id:u,offset:{left:d.left-r.left,top:d.top-r.top}},o[u]=s}}},this.endpointAdded=function(n,a){a=a||e.getId(n);var s=document.body,l=n.parentNode;r[a]=r[a]?r[a]+1:1;while(null!=l&&l!==s){var u=e.getId(l,null,!0);if(u&&t[u]){var c=e.getOffset(l);if(null==i[u][a]){var d=e.getOffset(n);i[u][a]={id:a,offset:{left:d.left-c.left,top:d.top-c.top}},o[a]=u}break}l=l.parentNode}},this.endpointDeleted=function(e){if(r[e.elementId]&&(r[e.elementId]--,r[e.elementId]<=0))for(var t in i)i.hasOwnProperty(t)&&i[t]&&(delete i[t][e.elementId],delete o[e.elementId])},this.changeId=function(e,t){i[t]=i[e],i[e]={},o[t]=o[e],o[e]=null},this.getElementsForDraggable=function(e){return i[e]},this.elementRemoved=function(e){var t=o[e];t&&(i[t]&&delete i[t][e],delete o[e])},this.reset=function(){t={},n=[],i={},r={}},this.dragEnded=function(t){if(null!=t.offsetParent){var n=e.getId(t),i=o[n];i&&this.updateOffsets(i)}},this.setParent=function(t,n,r,a,s){var l=o[n];i[a]||(i[a]={});var u=e.getOffset(r),c=s||e.getOffset(t);l&&i[l]&&delete i[l][n],i[a][n]={id:n,offset:{left:c.left-u.left,top:c.top-u.top}},o[n]=a},this.clearParent=function(e,t){var n=o[t];n&&(delete i[n][t],delete o[t])},this.revalidateParent=function(t,n,i){var r=o[n];if(r){var a={};a[n]=i,this.updateOffsets(r,a),e.revalidate(r)}},this.getDragAncestor=function(t){var n=jsPlumb.getElement(t),i=e.getId(n),r=o[i];return r?jsPlumb.getElement(r):null}},y=function(e,t,i){t=n.fastTrim(t),"undefined"!==typeof e.className.baseVal?e.className.baseVal=t:e.className=t;try{var r=e.classList;if(null!=r){while(r.length>0)r.remove(r.item(0));for(var o=0;o<i.length;o++)i[o]&&r.add(i[o])}}catch(a){n.log("JSPLUMB: cannot set class list",a)}},b=function(e){return"undefined"===typeof e.className.baseVal?e.className:e.className.baseVal},_=function(e,t,i){t=null==t?[]:n.isArray(t)?t:t.split(/\s+/),i=null==i?[]:n.isArray(i)?i:i.split(/\s+/);var r=b(e),o=r.split(/\s+/),a=function(e,t){for(var n=0;n<t.length;n++)if(e)-1===o.indexOf(t[n])&&o.push(t[n]);else{var i=o.indexOf(t[n]);-1!==i&&o.splice(i,1)}};a(!0,t),a(!1,i),y(e,o.join(" "),o)};e.jsPlumb.extend(e.jsPlumbInstance.prototype,{headless:!1,pageLocation:h,screenLocation:f,clientLocation:p,getDragManager:function(){return null==this.dragManager&&(this.dragManager=new g(this)),this.dragManager},recalculateOffsets:function(e){this.getDragManager().updateOffsets(e)},createElement:function(e,t,n,i){return this.createElementNS(null,e,t,n,i)},createElementNS:function(e,t,n,i,r){var o,a=null==e?document.createElement(t):document.createElementNS(e,t);for(o in n=n||{},n)a.style[o]=n[o];for(o in i&&(a.className=i),r=r||{},r)a.setAttribute(o,""+r[o]);return a},getAttribute:function(e,t){return null!=e.getAttribute?e.getAttribute(t):null},setAttribute:function(e,t,n){null!=e.setAttribute&&e.setAttribute(t,n)},setAttributes:function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])},appendToRoot:function(e){document.body.appendChild(e)},getRenderModes:function(){return["svg"]},getClass:b,addClass:function(e,t){jsPlumb.each(e,(function(e){_(e,t)}))},hasClass:function(e,t){return e=jsPlumb.getElement(e),e.classList?e.classList.contains(t):-1!==b(e).indexOf(t)},removeClass:function(e,t){jsPlumb.each(e,(function(e){_(e,null,t)}))},toggleClass:function(e,t){jsPlumb.hasClass(e,t)?jsPlumb.removeClass(e,t):jsPlumb.addClass(e,t)},updateClasses:function(e,t,n){jsPlumb.each(e,(function(e){_(e,t,n)}))},setClass:function(e,t){null!=t&&jsPlumb.each(e,(function(e){y(e,t,t.split(/\s+/))}))},setPosition:function(e,t){e.style.left=t.left+"px",e.style.top=t.top+"px"},getPosition:function(e){var t=function(t){var n=e.style[t];return n?n.substring(0,n.length-2):0};return{left:t("left"),top:t("top")}},getStyle:function(e,t){return"undefined"!==typeof window.getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.currentStyle[t]},getSelector:function(e,t){var n=null;return n=1===arguments.length?null!=e.nodeType?e:document.querySelectorAll(e):e.querySelectorAll(t),n},getOffset:function(e,t,n){e=jsPlumb.getElement(e),n=n||this.getContainer();var i={left:e.offsetLeft,top:e.offsetTop},r=t||null!=n&&e!==n&&e.offsetParent!==n?e.offsetParent:null,o=function(e){null!=e&&e!==document.body&&(e.scrollTop>0||e.scrollLeft>0)&&(i.left-=e.scrollLeft,i.top-=e.scrollTop)}.bind(this);while(null!=r)i.left+=r.offsetLeft,i.top+=r.offsetTop,o(r),r=t?r.offsetParent:r.offsetParent===n?null:r.offsetParent;if(null!=n&&!t&&(n.scrollTop>0||n.scrollLeft>0)){var a=null!=e.offsetParent?this.getStyle(e.offsetParent,"position"):"static",s=this.getStyle(e,"position");"absolute"!==s&&"fixed"!==s&&"absolute"!==a&&"fixed"!==a&&(i.left-=n.scrollLeft,i.top-=n.scrollTop)}return i},getPositionOnElement:function(e,t,n){var i="undefined"!==typeof t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0,width:0,height:0},r=document.body,o=document.documentElement,a=window.pageYOffset||o.scrollTop||r.scrollTop,s=window.pageXOffset||o.scrollLeft||r.scrollLeft,l=o.clientTop||r.clientTop||0,u=o.clientLeft||r.clientLeft||0,c=0,d=0,h=i.top+a-l+c*n,f=i.left+s-u+d*n,p=jsPlumb.pageLocation(e),m=i.width||t.offsetWidth*n,v=i.height||t.offsetHeight*n,g=(p[0]-f)/m,y=(p[1]-h)/v;return[g,y]},getAbsolutePosition:function(e){var t=function(t){var n=e.style[t];if(n)return parseFloat(n.substring(0,n.length-2))};return[t("left"),t("top")]},setAbsolutePosition:function(e,t,n,i){n?this.animate(e,{left:"+="+(t[0]-n[0]),top:"+="+(t[1]-n[1])},i):(e.style.left=t[0]+"px",e.style.top=t[1]+"px")},getSize:function(e){return[e.offsetWidth,e.offsetHeight]},getWidth:function(e){return e.offsetWidth},getHeight:function(e){return e.offsetHeight},getRenderMode:function(){return"svg"},draggable:function(e,t){var i;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],Array.prototype.slice.call(e).forEach(function(e){i=this.info(e),i.el&&this._initDraggableIfNecessary(i.el,!0,t,i.id,!0)}.bind(this)),this},snapToGrid:function(e,t,n){var i=[],r=function(e){var r=this.info(e);if(null!=r.el&&r.el._katavorioDrag){var o=r.el._katavorioDrag.snap(t,n);this.revalidate(r.el),i.push([r.el,o])}}.bind(this);if(1===arguments.length||3===arguments.length)r(e,t,n);else{var o=this.getManagedElements();for(var a in o)r(a,arguments[0],arguments[1])}return i},initDraggable:function(e,t,n){a(this,n).draggable(e,t),e._jsPlumbDragOptions=t},destroyDraggable:function(e,t){a(this,t).destroyDraggable(e),e._jsPlumbDragOptions=null,e._jsPlumbRelatedElement=null},unbindDraggable:function(e,t,n,i){a(this,i).destroyDraggable(e,t,n)},setDraggable:function(e,t){return jsPlumb.each(e,function(e){this.isDragSupported(e)&&(this._draggableStates[this.getAttribute(e,"id")]=t,this.setElementDraggable(e,t))}.bind(this))},_draggableStates:{},toggleDraggable:function(e){var t;return jsPlumb.each(e,function(e){var n=this.getAttribute(e,"id");return t=null!=this._draggableStates[n]&&this._draggableStates[n],t=!t,this._draggableStates[n]=t,this.setDraggable(e,t),t}.bind(this)),t},_initDraggableIfNecessary:function(e,t,i,r,o){if(!jsPlumb.headless){var a=null!=t&&t;if(a&&jsPlumb.isDragSupported(e,this)){var c=i||this.Defaults.DragOptions;if(c=jsPlumb.extend({},c),jsPlumb.isAlreadyDraggable(e,this))i.force&&this.initDraggable(e,c);else{var d=jsPlumb.dragEvents.drag,h=jsPlumb.dragEvents.stop,f=jsPlumb.dragEvents.start;this.manage(r,e),c[f]=n.wrap(c[f],s.bind(this)),c[d]=n.wrap(c[d],l.bind(this)),c[h]=n.wrap(c[h],u.bind(this));var p=this.getId(e);this._draggableStates[p]=!0;var m=this._draggableStates[p];c.disabled=null!=m&&!m,this.initDraggable(e,c),this.getDragManager().register(e),o&&this.fire("elementDraggable",{el:e,options:c})}}}},animationSupported:!0,getElement:function(e){return null==e?null:(e="string"===typeof e?e:null==e.tagName&&null!=e.length&&null==e.enctype?e[0]:e,"string"===typeof e?document.getElementById(e):e)},removeElement:function(e){a(this).elementRemoved(e),this.getEventManager().remove(e)},doAnimate:function(e,n,i){i=i||{};var r=this.getOffset(e),o=c(r,n),a=o[0]-r.left,s=o[1]-r.top,l=i.duration||250,u=15,d=l/u,h=u/l*a,f=u/l*s,p=0,m=setInterval((function(){t.setPosition(e,{left:r.left+h*(p+1),top:r.top+f*(p+1)}),null!=i.step&&i.step(p,Math.ceil(d)),p++,p>=d&&(window.clearInterval(m),null!=i.complete&&i.complete())}),u)},destroyDroppable:function(e,t){a(this,t).destroyDroppable(e)},unbindDroppable:function(e,t,n,i){a(this,i).destroyDroppable(e,t,n)},droppable:function(e,t){var i;return e=n.isArray(e)||null!=e.length&&!n.isString(e)?e:[e],t=t||{},t.allowLoopback=!1,Array.prototype.slice.call(e).forEach(function(e){i=this.info(e),i.el&&this.initDroppable(i.el,t)}.bind(this)),this},initDroppable:function(e,t,n){a(this,n).droppable(e,t)},isAlreadyDraggable:function(e){return null!=e._katavorioDrag},isDragSupported:function(e,t){return!0},isDropSupported:function(e,t){return!0},isElementDraggable:function(e){return e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.isEnabled()},getDragObject:function(e){return e[0].drag.getDragElement()},getDragScope:function(e){return e._katavorioDrag&&e._katavorioDrag.scopes.join(" ")||""},getDropEvent:function(e){return e[0].e},getUIPosition:function(e,t){var n=e[0].el;if(null==n.offsetParent)return null;var i=e[0].finalPos||e[0].pos,r={left:i[0],top:i[1]};if(n._katavorioDrag&&n.offsetParent!==this.getContainer()){var o=this.getOffset(n.offsetParent);r.left+=o.left,r.top+=o.top}return r},setDragFilter:function(e,t,n){e._katavorioDrag&&e._katavorioDrag.setFilter(t,n)},setElementDraggable:function(e,n){e=t.getElement(e),e._katavorioDrag&&e._katavorioDrag.setEnabled(n)},setDragScope:function(e,t){e._katavorioDrag&&e._katavorioDrag.k.setDragScope(e,t)},setDropScope:function(e,t){e._katavorioDrop&&e._katavorioDrop.length>0&&e._katavorioDrop[0].k.setDropScope(e,t)},addToPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.addToPosse.apply(r,e)}))},setPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.setPosse.apply(r,e)}))},removeFromPosse:function(e,n){var i=Array.prototype.slice.call(arguments,1),r=a(this);t.each(e,(function(e){e=[t.getElement(e)],e.push.apply(e,i),r.removeFromPosse.apply(r,e)}))},removeFromAllPosses:function(e){var n=a(this);t.each(e,(function(e){n.removeFromAllPosses(t.getElement(e))}))},setPosseState:function(e,n,i){var r=a(this);t.each(e,(function(e){r.setPosseState(t.getElement(e),n,i)}))},dragEvents:{start:"start",stop:"stop",drag:"drag",step:"step",over:"over",out:"out",drop:"drop",complete:"complete",beforeStart:"beforeStart"},animEvents:{step:"step",complete:"complete"},stopDrag:function(e){e._katavorioDrag&&e._katavorioDrag.abort()},addToDragSelection:function(e){var t=this.getElement(e);null==t||!t._isJsPlumbGroup&&null!=t._jsPlumbGroup||a(this).select(e)},removeFromDragSelection:function(e){a(this).deselect(e)},getDragSelection:function(){return a(this).getSelection()},clearDragSelection:function(){a(this).deselectAll()},trigger:function(e,t,n,i){this.getEventManager().trigger(e,t,n,i)},doReset:function(){for(var e in this)0===e.indexOf("_katavorio_")&&this[e].reset()},getEventManager:function(){return o(this)},on:function(e,t,n){return this.getEventManager().on.apply(this,arguments),this},off:function(e,t,n){return this.getEventManager().off.apply(this,arguments),this}});var w=function(e){var t=function(){/complete|loaded|interactive/.test(document.readyState)&&"undefined"!==typeof document.body&&null!=document.body?e():setTimeout(t,9)};t()};w(t.init)}.call("undefined"!==typeof window?window:this)},"47ac":function(e,t,n){var i=n("5454");t=e.exports=n("690e")(!1),t.push([e.i,".right-plan{overflow-y:auto}.process-heard{padding:10px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.process-heard .el-icon-edit{cursor:pointer}.process-heard .process-title{font-size:18px;margin-right:10px}#flowContainer{height:10000px;position:relative;overflow:auto;height:calc(100vh - 144px)}.container-process{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.labelClass{background-color:#fff;padding:5px;opacity:.7;border:1px solid #346789;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.aLabel{width:30px;height:30px;margin-top:25px;background:url("+i(n("4348"))+") 50% no-repeat;cursor:pointer}.switch{display:inline-block;margin-right:30px}.switch>span{margin-right:10px}.add-condition{color:#66a6e0;font-size:14px;text-align:center;padding:10px 0;border:1px solid #66a6e0;cursor:pointer;position:absolute;width:200px}.condition-container{display:-webkit-box;display:-ms-flexbox;display:flex}.condition-item{margin:30px;padding:20px}.gray-background-class{background-color:#f4f4f8}",""])},"488b":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"4a65":function(e,t,n){var i=n("c3de");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("5d415916",i,!0,{sourceMap:!1,shadowMode:!1})},"4a84":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
109
109
|
//! moment.js locale configuration
|
|
110
110
|
var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"4a92":function(e,t,n){e.exports=!n("5e9e")&&!n("99fe")((function(){return 7!=Object.defineProperty(n("e7e0")("div"),"a",{get:function(){return 7}}).a}))},"4b7b":function(e,t,n){var i=n("c903"),r=i.match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},"4b9f":function(e,t,n){var i=n("3c75"),r=n("69ac");e.exports=Object.keys||function(e){return i(e,r)}},"4c16":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
111
111
|
//! moment.js locale configuration
|
|
@@ -131,7 +131,7 @@ var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_augus
|
|
|
131
131
|
//! moment.js locale configuration
|
|
132
132
|
var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},6239:function(e,t,n){n("8af7")("asyncIterator")},6305:function(e,t,n){t=e.exports=n("690e")(!1),t.push([e.i,'.from[data-v-45838bc0]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-45838bc0]{float:left;margin-right:20px}.from .fromitem span[data-v-45838bc0]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-45838bc0]{padding:15px 20px 20px}.talent-box .title[data-v-45838bc0]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-45838bc0]{color:#666}.offer-root .projectForm[data-v-45838bc0]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-45838bc0]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-45838bc0]{margin-bottom:0}.continue[data-v-45838bc0]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-45838bc0],.offer-pagination[data-v-45838bc0]{text-align:center}.offer-pagination .el-pagination[data-v-45838bc0]{margin:20px 0}.re-form .el-cascader[data-v-45838bc0],.re-form .el-date-editor[data-v-45838bc0],.re-form .el-input-number[data-v-45838bc0],.re-form .el-range-editor[data-v-45838bc0],.re-form .el-select[data-v-45838bc0]{width:100%}.re-form .el-input-number .el-input__inner[data-v-45838bc0]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-45838bc0]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-45838bc0]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-45838bc0]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-45838bc0]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-45838bc0]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-45838bc0]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-45838bc0]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-45838bc0]{text-align:center}.base-pagination .el-pagination[data-v-45838bc0]{margin:20px 0}.pointer[data-v-45838bc0]{cursor:pointer}.base-ellipsis[data-v-45838bc0]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-45838bc0]{margin-bottom:10px}.base-page-style[data-v-45838bc0]{padding:10px 10px}.base-page-style .btns-line[data-v-45838bc0]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-45838bc0]{color:red}.form-w100[data-v-45838bc0]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-45838bc0]{text-align:left}.base-info-title[data-v-45838bc0]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-45838bc0]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-45838bc0]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-45838bc0]{margin-bottom:10px}.form-btns[data-v-45838bc0]{text-align:center}.text-danger[data-v-45838bc0]{color:#ff4949}.text-warning[data-v-45838bc0]{color:#f7ba2a}.text-blue[data-v-45838bc0]{color:#2e90fe}.clearboth[data-v-45838bc0]{clear:both}.noselect[data-v-45838bc0]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-45838bc0]::-webkit-input-safebox-button{display:none}body[data-v-45838bc0]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-45838bc0]:hover{color:#0286df!important}.color-default[data-v-45838bc0]{color:#0286df}.line-width[data-v-45838bc0]{background:#ededed;width:896px;height:1px}.bg-default[data-v-45838bc0]{background:#0286df}.hover-color-default[data-v-45838bc0]:hover{color:#0286df}.hover-bg-default[data-v-45838bc0]:hover{background:#ffeeea!important}.default-color[data-v-45838bc0]{color:#0286df}.page-left[data-v-45838bc0]{float:left}.page-right[data-v-45838bc0]{float:right}.colordefault[data-v-45838bc0]{color:#0286df}.colorgrey[data-v-45838bc0]{color:#ccc}.colortheme[data-v-45838bc0]{color:#ff8b00}.colorff4[data-v-45838bc0]{color:#ff4e00}.color-orange[data-v-45838bc0]{color:#f60}.p20[data-v-45838bc0]{padding:20px}.pl20[data-v-45838bc0]{padding-left:20px}.pb20[data-v-45838bc0]{padding-bottom:20px}.mt10[data-v-45838bc0]{margin-top:10px}.mt20[data-v-45838bc0]{margin-top:20px}.ml26[data-v-45838bc0]{margin-left:26px}.ml400[data-v-45838bc0]{margin-left:400px}.mb10[data-v-45838bc0]{margin-bottom:10px}.mb20[data-v-45838bc0]{margin-bottom:20px}.ml10[data-v-45838bc0]{margin-left:10px}.text-center[data-v-45838bc0]{text-align:center}.clearfix[data-v-45838bc0]{overflow:hidden}.fl[data-v-45838bc0]{float:left}.fr[data-v-45838bc0]{float:right}.avatar-uploader .el-upload[data-v-45838bc0]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-45838bc0]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-45838bc0]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-45838bc0]:before{line-height:178px}.avatar[data-v-45838bc0]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-45838bc0]{color:#0286df!important}.cell-del-button[data-v-45838bc0]{color:#f60!important}.tableStyle[data-v-45838bc0]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-45838bc0]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-45838bc0]{color:#0286df}.tabs-box .el-tabs__item[data-v-45838bc0]{color:#333}.m-l-15[data-v-45838bc0]{margin-left:15px!important}.m-l-20[data-v-45838bc0]{margin-left:20px!important}.m-l-40[data-v-45838bc0]{margin-left:40px!important}.pagination-box[data-v-45838bc0]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-45838bc0]{margin-top:20px}.el-input__count[data-v-45838bc0]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-45838bc0],.el-tabs__item.is-active[data-v-45838bc0]{color:#0286df!important}.info2 .successinfo i[data-v-45838bc0]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-45838bc0]{background-color:#f5f7fa!important}.el-pager li.active[data-v-45838bc0]{color:#0286df!important}.el-loading-mask[data-v-45838bc0]{z-index:9999}.el-icon-loading[data-v-45838bc0]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-45838bc0]{font-size:14px}.el-tooltip__popper[data-v-45838bc0]{max-width:80%}li[data-v-45838bc0],ul[data-v-45838bc0]{list-style:none}a[data-v-45838bc0]{outline:medium none;text-decoration:none}.colorff66[data-v-45838bc0]{color:#f60}.color02[data-v-45838bc0]{color:#0286df}.color33[data-v-45838bc0]{color:#333}.colorff[data-v-45838bc0]{color:#fff}.color00[data-v-45838bc0]{color:#000}.color66[data-v-45838bc0]{color:#666}.color96[data-v-45838bc0]{color:#969696}.colorbf[data-v-45838bc0]{color:#bfbfbf}.color59[data-v-45838bc0]{color:#595959}.color5e[data-v-45838bc0]{color:#5e5e5e}.colorcc[data-v-45838bc0]{color:#ccc}.color6f[data-v-45838bc0]{color:#6f6f6f}.color2c[data-v-45838bc0]{color:#2c2c2b}.color8d[data-v-45838bc0]{color:#8d8d8d}.h-green[data-v-45838bc0]{color:#78c06e}.h-red[data-v-45838bc0]{color:#f60}.h-orange[data-v-45838bc0]{color:#f7ab01}.color-link[data-v-45838bc0],.h-blue[data-v-45838bc0]{color:#0286df}.bgf5[data-v-45838bc0]{background:#f5f5f5}.bgc9[data-v-45838bc0]{background:#c9c9c9}.bgff[data-v-45838bc0]{background:#fff}.bg02[data-v-45838bc0]{background:#0286df}.bg66[data-v-45838bc0]{background:#666}.bgb3[data-v-45838bc0]{background:#b3b3b3}.font10[data-v-45838bc0]{font-size:10px}.font12[data-v-45838bc0]{font-size:12px}.font14[data-v-45838bc0]{font-size:14px}.font16[data-v-45838bc0]{font-size:16px}.font18[data-v-45838bc0]{font-size:18px}.font20[data-v-45838bc0]{font-size:20px}.font22[data-v-45838bc0]{font-size:22px}.font24[data-v-45838bc0]{font-size:24px}.font28[data-v-45838bc0]{font-size:28px}.font36[data-v-45838bc0]{font-size:36px}.overflow[data-v-45838bc0]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-45838bc0]{border:1px solid #0286df}.tc-1[data-v-45838bc0]{width:100%;height:1px}.tc-2[data-v-45838bc0]{width:100%;height:2px}.tc-3[data-v-45838bc0]{width:100%;height:3px}.tc-4[data-v-45838bc0]{width:100%;height:4px}.tc-5[data-v-45838bc0]{width:100%;height:5px}.tc-6[data-v-45838bc0]{width:100%;height:6px}.tc-7[data-v-45838bc0]{width:100%;height:7px}.tc-8[data-v-45838bc0]{width:100%;height:8px}.tc-9[data-v-45838bc0]{width:100%;height:9px}.tc-10[data-v-45838bc0]{width:100%;height:10px}.tc-13[data-v-45838bc0]{width:100%;height:13px}.tc-15[data-v-45838bc0]{width:100%;height:15px}.tc-20[data-v-45838bc0]{width:100%;height:20px}.tc-30[data-v-45838bc0]{width:100%;height:30px}.tc-40[data-v-45838bc0]{width:100%;height:40px}.tc-45[data-v-45838bc0]{width:100%;height:45px}.tc-50[data-v-45838bc0]{width:100%;height:50px}.tc-70[data-v-45838bc0]{width:100%;height:70px}.tc-80[data-v-45838bc0]{width:100%;height:80px}.tc-100[data-v-45838bc0]{width:100%;height:100px}.tc-200[data-v-45838bc0]{width:100%;height:200px}.cursor[data-v-45838bc0]{cursor:pointer}[data-v-45838bc0]::-webkit-scrollbar{width:9px;height:9px}[data-v-45838bc0]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-45838bc0]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-45838bc0]{padding-left:0}.el-button.h-btn-reset[data-v-45838bc0]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-45838bc0]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-45838bc0]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-45838bc0]{margin-right:10px}.btn-submit-box[data-v-45838bc0]{margin-top:40px;text-align:center}.list-table-td-a[data-v-45838bc0]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-45838bc0]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-45838bc0]{padding:10px}.h-main-box-tab[data-v-45838bc0]{padding:5px}.h-tab-content[data-v-45838bc0]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-45838bc0]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-45838bc0]{border-left:3px solid #0286df;padding-left:10px}.wrapper[data-v-45838bc0]{background-color:#fff;-webkit-box-shadow:0 0 10px 0 hsla(0,0%,80%,.378);box-shadow:0 0 10px 0 hsla(0,0%,80%,.378);padding:25px 10px 10px 10px;border-radius:8px;width:300px;border:1px solid hsla(0,0%,80%,.761)}.wrapper[data-v-45838bc0],.wrapper .close[data-v-45838bc0]{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex}.wrapper .close[data-v-45838bc0]{top:10px;right:10px;width:12px;height:12px;cursor:pointer}.wrapper .close img[data-v-45838bc0]{width:100%;height:100%}.wrapper .node[data-v-45838bc0]{height:68px;cursor:pointer;text-align:center;margin:0 4px;background:hsla(0,0%,80%,.054901960784313725);padding:10px 0 3px 0;border-radius:6px;color:#333;-webkit-box-flex:1;-ms-flex:1;flex:1;border:1px solid hsla(0,0%,80%,.054901960784313725);-webkit-transition:all .5s;transition:all .5s}.wrapper .node img[data-v-45838bc0]{height:40px;width:40px}.wrapper .node p[data-v-45838bc0]{margin:0;line-height:22px;text-align:center;font-size:12px}.wrapper .node[data-v-45838bc0]:hover{background-color:#fff;color:#0287df;border-color:hsla(0,0%,80%,.378);-webkit-box-shadow:0 2px 5px hsla(0,0%,80%,.378);box-shadow:0 2px 5px hsla(0,0%,80%,.378)}',""])},6322:function(e,t,n){t=e.exports=n("690e")(!1),t.push([e.i,".plannode{border:1px solid #e4e7ed;border-radius:6px}.flow-node-header{background-color:#66a6e0;height:30px;cursor:pointer;border-top-left-radius:6px;border-top-right-radius:6px}.flow-node-header a{text-decoration:none;line-height:25px;vertical-align:middle}.flow-node-header a img{line-height:25px;vertical-align:middle;margin-bottom:5px}.flow-node-header .flow-name{text-align:center;color:#fff;margin:0;line-height:30px}.flow-node-header .flow-name .el-input__inner{height:22px;width:70%}.flow-node-body{background-color:#fff;text-align:left;cursor:pointer;height:24px;line-height:24px;font-size:14px;padding:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:auto}.flow-node-operate{position:absolute;top:0;right:0;line-height:25px}.point{cursor:move}.hand-icon{cursor:pointer}",""])},"63b1":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
133
133
|
//! moment.js locale configuration
|
|
134
|
-
var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},"63ec":function(e,t,n){var i=n("60f8"),r=n("ca47");e.exports={throttle:i,debounce:r}},
|
|
134
|
+
var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},"63ec":function(e,t,n){var i=n("60f8"),r=n("ca47");e.exports={throttle:i,debounce:r}},6520:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
135
135
|
//! moment.js locale configuration
|
|
136
136
|
var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},6602:function(e,t,n){var i=n("503d"),r=n("5d2e"),o=n("9b1b"),a=n("1440"),s=n("823b"),l=n("6b3e"),u=n("5018"),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,h,f,p,m,v,g,y=n&&n.that,b=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),x=a(t,y,1+b+w),k=function(e){return d&&u(d,"normal",e),new c(!0,e)},M=function(e){return b?(i(e),w?x(e[0],e[1],k):x(e[0],e[1])):w?x(e,k):x(e)};if(_)d=e;else{if(h=l(e),!h)throw TypeError(String(e)+" is not iterable");if(r(h)){for(f=0,p=o(e.length);p>f;f++)if(m=M(e[f]),m&&m instanceof c)return m;return new c(!1)}d=s(e,h)}v=d.next;while(!(g=v.call(d)).done){try{m=M(g.value)}catch(S){u(d,"throw",S)}if("object"==typeof m&&m&&m instanceof c)return m}return new c(!1)}},6611:function(e,t){var n=Math.floor,i=function(e,t){var a=e.length,s=n(a/2);return a<8?r(e,t):o(i(e.slice(0,s),t),i(e.slice(s),t),t)},r=function(e,t){var n,i,r=e.length,o=1;while(o<r){i=o,n=e[o];while(i&&t(e[i-1],n)>0)e[i]=e[--i];i!==o++&&(e[i]=n)}return e},o=function(e,t,n){var i=e.length,r=t.length,o=0,a=0,s=[];while(o<i||a<r)o<i&&a<r?s.push(n(e[o],t[a])<=0?e[o++]:t[a++]):s.push(o<i?e[o++]:t[a++]);return s};e.exports=i},"66b0":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
137
137
|
//! moment.js locale configuration
|
|
@@ -153,7 +153,7 @@ var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n=
|
|
|
153
153
|
//! moment.js locale configuration
|
|
154
154
|
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},i=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return i}))},"714b":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
155
155
|
//! moment.js locale configuration
|
|
156
|
-
var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"717b":function(e,t,n){var i=n("597a"),r=n("970b"),o=n("4b9f");e.exports=n("5e9e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,l=0;while(s>l)i.f(e,n=a[l++],t[n]);return e}},7195:function(e,t){e.exports=!1},"728a":function(e,t,n){var i=n("96d8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"72a8":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
156
|
+
var t=e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"717b":function(e,t,n){var i=n("597a"),r=n("970b"),o=n("4b9f");e.exports=n("5e9e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,l=0;while(s>l)i.f(e,n=a[l++],t[n]);return e}},7180:function(e,t,n){"use strict";n("3c7d")},7195:function(e,t){e.exports=!1},"728a":function(e,t,n){var i=n("96d8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"72a8":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
157
157
|
//! moment.js locale configuration
|
|
158
158
|
var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"72b8":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({132:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(38),o=n.n(r),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function u(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),u=void 0;return u=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},u)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("1408")},2:function(e,t){e.exports=n("aaf4")},3:function(e,t){e.exports=n("e57c")},38:function(e,t){e.exports=n("5ad4")}})},"72ea":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
159
159
|
//! moment.js locale configuration
|
|
@@ -193,7 +193,7 @@ var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Ag
|
|
|
193
193
|
//! moment.js locale configuration
|
|
194
194
|
var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"7f07":function(e,t,n){var i=n("c903");e.exports=/MSIE|Trident/.test(i)},"7f6e":function(e,t,n){"use strict";var i=n("3866").charAt,r=n("a869"),o=n("930e"),a=n("5188"),s="String Iterator",l=o.set,u=o.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:r(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},"7f99":function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(t in e[t]=i,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},"7fb0":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
195
195
|
//! moment.js locale configuration
|
|
196
|
-
var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},8008:function(e,t,n){var i=n("7c2b");i(i.S+i.F,"Object",{assign:n("d79c")})},8021:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},8149:function(e,t,n){"use strict";var i=String.prototype.replace,r=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:o.RFC3986,formatters:{RFC1738:function(e){return i.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},"820c":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
196
|
+
var t=e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},8008:function(e,t,n){var i=n("7c2b");i(i.S+i.F,"Object",{assign:n("d79c")})},8021:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},8149:function(e,t,n){"use strict";var i=String.prototype.replace,r=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:o.RFC3986,formatters:{RFC1738:function(e){return i.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},"81fd":function(e,t,n){var i=n("5454");t=e.exports=n("690e")(!1),t.push([e.i,'.from[data-v-07a923dc]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-07a923dc]{float:left;margin-right:20px}.from .fromitem span[data-v-07a923dc]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-07a923dc]{padding:15px 20px 20px}.talent-box .title[data-v-07a923dc]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-07a923dc]{color:#666}.offer-root .projectForm[data-v-07a923dc]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-07a923dc]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-07a923dc]{margin-bottom:0}.continue[data-v-07a923dc]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-07a923dc],.offer-pagination[data-v-07a923dc]{text-align:center}.offer-pagination .el-pagination[data-v-07a923dc]{margin:20px 0}.re-form .el-cascader[data-v-07a923dc],.re-form .el-date-editor[data-v-07a923dc],.re-form .el-input-number[data-v-07a923dc],.re-form .el-range-editor[data-v-07a923dc],.re-form .el-select[data-v-07a923dc]{width:100%}.re-form .el-input-number .el-input__inner[data-v-07a923dc]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-07a923dc]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-07a923dc]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-07a923dc]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-07a923dc]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-07a923dc]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-07a923dc]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-07a923dc]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-07a923dc]{text-align:center}.base-pagination .el-pagination[data-v-07a923dc]{margin:20px 0}.pointer[data-v-07a923dc]{cursor:pointer}.base-ellipsis[data-v-07a923dc]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-07a923dc]{margin-bottom:10px}.base-page-style[data-v-07a923dc]{padding:10px 10px}.base-page-style .btns-line[data-v-07a923dc]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-07a923dc]{color:red}.form-w100[data-v-07a923dc]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-07a923dc]{text-align:left}.base-info-title[data-v-07a923dc]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-07a923dc]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-07a923dc]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-07a923dc]{margin-bottom:10px}.form-btns[data-v-07a923dc]{text-align:center}.text-danger[data-v-07a923dc]{color:#ff4949}.text-warning[data-v-07a923dc]{color:#f7ba2a}.text-blue[data-v-07a923dc]{color:#2e90fe}.clearboth[data-v-07a923dc]{clear:both}.noselect[data-v-07a923dc]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-07a923dc]::-webkit-input-safebox-button{display:none}body[data-v-07a923dc]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-07a923dc]:hover{color:#0286df!important}.color-default[data-v-07a923dc]{color:#0286df}.line-width[data-v-07a923dc]{background:#ededed;width:896px;height:1px}.bg-default[data-v-07a923dc]{background:#0286df}.hover-color-default[data-v-07a923dc]:hover{color:#0286df}.hover-bg-default[data-v-07a923dc]:hover{background:#ffeeea!important}.default-color[data-v-07a923dc]{color:#0286df}.page-left[data-v-07a923dc]{float:left}.page-right[data-v-07a923dc]{float:right}.colordefault[data-v-07a923dc]{color:#0286df}.colorgrey[data-v-07a923dc]{color:#ccc}.colortheme[data-v-07a923dc]{color:#ff8b00}.colorff4[data-v-07a923dc]{color:#ff4e00}.color-orange[data-v-07a923dc]{color:#f60}.p20[data-v-07a923dc]{padding:20px}.pl20[data-v-07a923dc]{padding-left:20px}.pb20[data-v-07a923dc]{padding-bottom:20px}.mt10[data-v-07a923dc]{margin-top:10px}.mt20[data-v-07a923dc]{margin-top:20px}.ml26[data-v-07a923dc]{margin-left:26px}.ml400[data-v-07a923dc]{margin-left:400px}.mb10[data-v-07a923dc]{margin-bottom:10px}.mb20[data-v-07a923dc]{margin-bottom:20px}.ml10[data-v-07a923dc]{margin-left:10px}.text-center[data-v-07a923dc]{text-align:center}.clearfix[data-v-07a923dc]{overflow:hidden}.fl[data-v-07a923dc]{float:left}.fr[data-v-07a923dc]{float:right}.avatar-uploader .el-upload[data-v-07a923dc]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-07a923dc]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-07a923dc]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-07a923dc]:before{line-height:178px}.avatar[data-v-07a923dc]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-07a923dc]{color:#0286df!important}.cell-del-button[data-v-07a923dc]{color:#f60!important}.tableStyle[data-v-07a923dc]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-07a923dc]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-07a923dc]{color:#0286df}.tabs-box .el-tabs__item[data-v-07a923dc]{color:#333}.m-l-15[data-v-07a923dc]{margin-left:15px!important}.m-l-20[data-v-07a923dc]{margin-left:20px!important}.m-l-40[data-v-07a923dc]{margin-left:40px!important}.pagination-box[data-v-07a923dc]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-07a923dc]{margin-top:20px}.el-input__count[data-v-07a923dc]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-07a923dc],.el-tabs__item.is-active[data-v-07a923dc]{color:#0286df!important}.info2 .successinfo i[data-v-07a923dc]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-07a923dc]{background-color:#f5f7fa!important}.el-pager li.active[data-v-07a923dc]{color:#0286df!important}.el-loading-mask[data-v-07a923dc]{z-index:9999}.el-icon-loading[data-v-07a923dc]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-07a923dc]{font-size:14px}.el-tooltip__popper[data-v-07a923dc]{max-width:80%}li[data-v-07a923dc],ul[data-v-07a923dc]{list-style:none}a[data-v-07a923dc]{outline:medium none;text-decoration:none}.colorff66[data-v-07a923dc]{color:#f60}.color02[data-v-07a923dc]{color:#0286df}.color33[data-v-07a923dc]{color:#333}.colorff[data-v-07a923dc]{color:#fff}.color00[data-v-07a923dc]{color:#000}.color66[data-v-07a923dc]{color:#666}.color96[data-v-07a923dc]{color:#969696}.colorbf[data-v-07a923dc]{color:#bfbfbf}.color59[data-v-07a923dc]{color:#595959}.color5e[data-v-07a923dc]{color:#5e5e5e}.colorcc[data-v-07a923dc]{color:#ccc}.color6f[data-v-07a923dc]{color:#6f6f6f}.color2c[data-v-07a923dc]{color:#2c2c2b}.color8d[data-v-07a923dc]{color:#8d8d8d}.h-green[data-v-07a923dc]{color:#78c06e}.h-red[data-v-07a923dc]{color:#f60}.h-orange[data-v-07a923dc]{color:#f7ab01}.color-link[data-v-07a923dc],.h-blue[data-v-07a923dc]{color:#0286df}.bgf5[data-v-07a923dc]{background:#f5f5f5}.bgc9[data-v-07a923dc]{background:#c9c9c9}.bgff[data-v-07a923dc]{background:#fff}.bg02[data-v-07a923dc]{background:#0286df}.bg66[data-v-07a923dc]{background:#666}.bgb3[data-v-07a923dc]{background:#b3b3b3}.font10[data-v-07a923dc]{font-size:10px}.font12[data-v-07a923dc]{font-size:12px}.font14[data-v-07a923dc]{font-size:14px}.font16[data-v-07a923dc]{font-size:16px}.font18[data-v-07a923dc]{font-size:18px}.font20[data-v-07a923dc]{font-size:20px}.font22[data-v-07a923dc]{font-size:22px}.font24[data-v-07a923dc]{font-size:24px}.font28[data-v-07a923dc]{font-size:28px}.font36[data-v-07a923dc]{font-size:36px}.overflow[data-v-07a923dc]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-07a923dc]{border:1px solid #0286df}.tc-1[data-v-07a923dc]{width:100%;height:1px}.tc-2[data-v-07a923dc]{width:100%;height:2px}.tc-3[data-v-07a923dc]{width:100%;height:3px}.tc-4[data-v-07a923dc]{width:100%;height:4px}.tc-5[data-v-07a923dc]{width:100%;height:5px}.tc-6[data-v-07a923dc]{width:100%;height:6px}.tc-7[data-v-07a923dc]{width:100%;height:7px}.tc-8[data-v-07a923dc]{width:100%;height:8px}.tc-9[data-v-07a923dc]{width:100%;height:9px}.tc-10[data-v-07a923dc]{width:100%;height:10px}.tc-13[data-v-07a923dc]{width:100%;height:13px}.tc-15[data-v-07a923dc]{width:100%;height:15px}.tc-20[data-v-07a923dc]{width:100%;height:20px}.tc-30[data-v-07a923dc]{width:100%;height:30px}.tc-40[data-v-07a923dc]{width:100%;height:40px}.tc-45[data-v-07a923dc]{width:100%;height:45px}.tc-50[data-v-07a923dc]{width:100%;height:50px}.tc-70[data-v-07a923dc]{width:100%;height:70px}.tc-80[data-v-07a923dc]{width:100%;height:80px}.tc-100[data-v-07a923dc]{width:100%;height:100px}.tc-200[data-v-07a923dc]{width:100%;height:200px}.cursor[data-v-07a923dc]{cursor:pointer}[data-v-07a923dc]::-webkit-scrollbar{width:9px;height:9px}[data-v-07a923dc]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-07a923dc]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-07a923dc]{padding-left:0}.el-button.h-btn-reset[data-v-07a923dc]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-07a923dc]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-07a923dc]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-07a923dc]{margin-right:10px}.btn-submit-box[data-v-07a923dc]{margin-top:40px;text-align:center}.list-table-td-a[data-v-07a923dc]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-07a923dc]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-07a923dc]{padding:10px}.h-main-box-tab[data-v-07a923dc]{padding:5px}.h-tab-content[data-v-07a923dc]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-07a923dc]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-07a923dc]{border-left:3px solid #0286df;padding-left:10px}.error_tip[data-v-07a923dc]{position:absolute;top:0;right:0;-webkit-transform:translate(150%);transform:translate(150%);font-size:24px}.add-node-popover-body[data-v-07a923dc]{display:-webkit-box;display:-ms-flexbox;display:flex}.promoter_content[data-v-07a923dc]{padding:0 20px}.approver_content .el-button[data-v-07a923dc],.approver_self_select .el-button[data-v-07a923dc],.condition_content .el-button[data-v-07a923dc],.copyer_content .el-button[data-v-07a923dc],.promoter_content .el-button[data-v-07a923dc]{margin-bottom:20px}.promoter_content p[data-v-07a923dc]{padding:18px 0;font-size:14px;line-height:20px;color:#000}.promoter_person .el-dialog__body[data-v-07a923dc]{padding:10px 20px 14px 20px}.person_body[data-v-07a923dc]{border:1px solid #f5f5f5;height:500px}.person_tree[data-v-07a923dc]{padding:10px 12px 0 8px;width:280px;height:100%;border-right:1px solid #f5f5f5}.person_tree input[data-v-07a923dc]{padding-left:22px;width:210px;height:30px;font-size:12px;border-radius:2px;border:1px solid #d5dadf;background:url('+i(n("a610"))+") no-repeat 10px;background-size:14px 14px;margin-bottom:14px}.tree_nav span[data-v-07a923dc]{display:inline-block;padding-right:10px;margin-right:5px;max-width:6em;color:#38adff;font-size:12px;cursor:pointer;background:url("+i(n("3167"))+") no-repeat 100%}.tree_nav span[data-v-07a923dc]:last-of-type{background:none}.has_selected ul[data-v-07a923dc],.person_tree ul[data-v-07a923dc]{height:420px;overflow-y:auto}.person_tree li[data-v-07a923dc]{padding:5px 0}.person_tree li i[data-v-07a923dc]{float:right;padding-left:24px;padding-right:10px;color:#3195f8;font-size:12px;cursor:pointer;border-left:1px solid #eee}.person_tree li a.active+i[data-v-07a923dc]{color:#c5c5c5;pointer-events:none}.person_tree img[data-v-07a923dc]{width:14px;vertical-align:middle;margin-right:5px}.has_selected[data-v-07a923dc]{width:276px;height:100%;font-size:12px}.has_selected ul[data-v-07a923dc]{height:460px}.has_selected p[data-v-07a923dc]{padding-left:19px;padding-right:20px;line-height:37px;border-bottom:1px solid #f2f2f2}.has_selected p a[data-v-07a923dc]{float:right}.has_selected ul li[data-v-07a923dc]{margin:11px 26px 13px 19px;line-height:17px}.has_selected li span[data-v-07a923dc]{vertical-align:middle}.has_selected li img[data-v-07a923dc]:first-of-type{width:14px;vertical-align:middle;margin-right:5px}.has_selected li img[data-v-07a923dc]:last-of-type{float:right;margin-top:2px;width:14px}el-radio-group[data-v-07a923dc]{padding:20px 0}.approver_content[data-v-07a923dc]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.approver_content .el-radio[data-v-07a923dc],.approver_self_select .el-radio[data-v-07a923dc],.approver_some .el-radio[data-v-07a923dc]{width:27%;margin-bottom:20px}.copyer_content .el-checkbox[data-v-07a923dc]{margin-bottom:20px}.el-checkbox__label[data-v-07a923dc]{font-size:12px}.approver_content[data-v-07a923dc],.approver_manager[data-v-07a923dc],.approver_self_select[data-v-07a923dc],.approver_some[data-v-07a923dc],.condition_content[data-v-07a923dc],.copyer_content[data-v-07a923dc]{padding:20px 20px 0}.approver_manager p[data-v-07a923dc]:first-of-type,.approver_some p[data-v-07a923dc]{line-height:19px;font-size:14px;margin-bottom:14px}.approver_manager p[data-v-07a923dc]{line-height:32px}.approver_manager select[data-v-07a923dc]{width:420px;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.approver_manager p.tip[data-v-07a923dc]{margin:10px 0 22px 0;font-size:12px;line-height:16px;color:#f8642d}.approver_self[data-v-07a923dc]{padding:28px 20px}.selected_list[data-v-07a923dc]{margin-bottom:20px;line-height:30px}.selected_list span[data-v-07a923dc]{margin-right:10px;padding:3px 6px 3px 9px;line-height:12px;white-space:nowrap;border-radius:2px;border:1px solid #dcdcdc}.selected_list img[data-v-07a923dc]{margin-left:5px;width:7px;height:7px;cursor:pointer}.approver_self_select h3[data-v-07a923dc]{margin:5px 0 20px;font-size:14px;font-weight:700;line-height:19px}.condition_copyer .el-drawer__body .priority_level[data-v-07a923dc]{position:absolute;top:11px;right:30px;width:100px;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.condition_content p.tip[data-v-07a923dc]{margin:20px 0;width:510px;text-indent:17px;line-height:45px;background:#f1f9ff;border:1px solid #40a3f7;color:#46a6fe;font-size:14px}.condition_content ul[data-v-07a923dc]{max-height:500px;overflow-y:scroll;margin-bottom:20px}.condition_content li>span[data-v-07a923dc]{float:left;margin-right:8px;width:70px;line-height:32px;text-align:right}.condition_content li>div[data-v-07a923dc]{display:inline-block;width:370px}.condition_content li:not(:last-child)>div>p[data-v-07a923dc]{margin-bottom:20px}.condition_content li>div>p[data-v-07a923dc]:not(:last-child){margin-bottom:10px}.condition_content li>a[data-v-07a923dc]{float:right;margin-right:10px;margin-top:7px}.condition_content li input[data-v-07a923dc],.condition_content li select[data-v-07a923dc]{width:100%;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.condition_content li select+input[data-v-07a923dc]{width:260px}.condition_content li select[data-v-07a923dc]{margin-right:10px;width:100px}.condition_content li p.selected_list[data-v-07a923dc]{padding-left:10px;border-radius:4px;min-height:32px;border:1px solid #d9d9d9}.condition_content li p.check_box[data-v-07a923dc]{line-height:32px}.condition_list .el-dialog__body[data-v-07a923dc]{padding:16px 26px}.condition_list p[data-v-07a923dc]{color:#666;margin-bottom:10px}.condition_list p.check_box[data-v-07a923dc]{margin-bottom:0;line-height:36px}",""])},"820c":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
197
197
|
//! moment.js locale configuration
|
|
198
198
|
var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},"823b":function(e,t,n){var i=n("c52e"),r=n("503d"),o=n("6b3e");e.exports=function(e,t){var n=arguments.length<2?o(e):t;if(i(n))return r(n.call(e));throw TypeError(String(e)+" is not iterable")}},"82cc":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
199
199
|
//! moment.js locale configuration
|
|
@@ -203,9 +203,9 @@ function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%1
|
|
|
203
203
|
//! moment.js locale configuration
|
|
204
204
|
var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},"89ca":function(e,t,n){var i=n("488b");e.exports=function(e){return Object(i(e))}},"89f8":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
205
205
|
//! moment.js locale configuration
|
|
206
|
-
var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"8a8a":function(e,t,n){var i=n("6c09"),r=n("100d");e.exports=function(e){return i(r(e))}},"8ab0":function(e,t,n){t=e.exports=n("690e")(!1),t.push([e.i,'.from[data-v-4a5dcae5]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-4a5dcae5]{float:left;margin-right:20px}.from .fromitem span[data-v-4a5dcae5]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-4a5dcae5]{padding:15px 20px 20px}.talent-box .title[data-v-4a5dcae5]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-4a5dcae5]{color:#666}.offer-root .projectForm[data-v-4a5dcae5]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-4a5dcae5]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-4a5dcae5]{margin-bottom:0}.continue[data-v-4a5dcae5]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-4a5dcae5],.offer-pagination[data-v-4a5dcae5]{text-align:center}.offer-pagination .el-pagination[data-v-4a5dcae5]{margin:20px 0}.re-form .el-cascader[data-v-4a5dcae5],.re-form .el-date-editor[data-v-4a5dcae5],.re-form .el-input-number[data-v-4a5dcae5],.re-form .el-range-editor[data-v-4a5dcae5],.re-form .el-select[data-v-4a5dcae5]{width:100%}.re-form .el-input-number .el-input__inner[data-v-4a5dcae5]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-4a5dcae5]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-4a5dcae5]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-4a5dcae5]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-4a5dcae5]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-4a5dcae5]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-4a5dcae5]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-4a5dcae5]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-4a5dcae5]{text-align:center}.base-pagination .el-pagination[data-v-4a5dcae5]{margin:20px 0}.pointer[data-v-4a5dcae5]{cursor:pointer}.base-ellipsis[data-v-4a5dcae5]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-4a5dcae5]{margin-bottom:10px}.base-page-style[data-v-4a5dcae5]{padding:10px 10px}.base-page-style .btns-line[data-v-4a5dcae5]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-4a5dcae5]{color:red}.form-w100[data-v-4a5dcae5]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-4a5dcae5]{text-align:left}.base-info-title[data-v-4a5dcae5]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-4a5dcae5]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-4a5dcae5]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-4a5dcae5]{margin-bottom:10px}.form-btns[data-v-4a5dcae5]{text-align:center}.text-danger[data-v-4a5dcae5]{color:#ff4949}.text-warning[data-v-4a5dcae5]{color:#f7ba2a}.text-blue[data-v-4a5dcae5]{color:#2e90fe}.clearboth[data-v-4a5dcae5]{clear:both}.noselect[data-v-4a5dcae5]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-4a5dcae5]::-webkit-input-safebox-button{display:none}body[data-v-4a5dcae5]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-4a5dcae5]:hover{color:#0286df!important}.color-default[data-v-4a5dcae5]{color:#0286df}.line-width[data-v-4a5dcae5]{background:#ededed;width:896px;height:1px}.bg-default[data-v-4a5dcae5]{background:#0286df}.hover-color-default[data-v-4a5dcae5]:hover{color:#0286df}.hover-bg-default[data-v-4a5dcae5]:hover{background:#ffeeea!important}.default-color[data-v-4a5dcae5]{color:#0286df}.page-left[data-v-4a5dcae5]{float:left}.page-right[data-v-4a5dcae5]{float:right}.colordefault[data-v-4a5dcae5]{color:#0286df}.colorgrey[data-v-4a5dcae5]{color:#ccc}.colortheme[data-v-4a5dcae5]{color:#ff8b00}.colorff4[data-v-4a5dcae5]{color:#ff4e00}.color-orange[data-v-4a5dcae5]{color:#f60}.p20[data-v-4a5dcae5]{padding:20px}.pl20[data-v-4a5dcae5]{padding-left:20px}.pb20[data-v-4a5dcae5]{padding-bottom:20px}.mt10[data-v-4a5dcae5]{margin-top:10px}.mt20[data-v-4a5dcae5]{margin-top:20px}.ml26[data-v-4a5dcae5]{margin-left:26px}.ml400[data-v-4a5dcae5]{margin-left:400px}.mb10[data-v-4a5dcae5]{margin-bottom:10px}.mb20[data-v-4a5dcae5]{margin-bottom:20px}.ml10[data-v-4a5dcae5]{margin-left:10px}.text-center[data-v-4a5dcae5]{text-align:center}.clearfix[data-v-4a5dcae5]{overflow:hidden}.fl[data-v-4a5dcae5]{float:left}.fr[data-v-4a5dcae5]{float:right}.avatar-uploader .el-upload[data-v-4a5dcae5]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-4a5dcae5]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-4a5dcae5]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-4a5dcae5]:before{line-height:178px}.avatar[data-v-4a5dcae5]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-4a5dcae5]{color:#0286df!important}.cell-del-button[data-v-4a5dcae5]{color:#f60!important}.tableStyle[data-v-4a5dcae5]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-4a5dcae5]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-4a5dcae5]{color:#0286df}.tabs-box .el-tabs__item[data-v-4a5dcae5]{color:#333}.m-l-15[data-v-4a5dcae5]{margin-left:15px!important}.m-l-20[data-v-4a5dcae5]{margin-left:20px!important}.m-l-40[data-v-4a5dcae5]{margin-left:40px!important}.pagination-box[data-v-4a5dcae5]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-4a5dcae5]{margin-top:20px}.el-input__count[data-v-4a5dcae5]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-4a5dcae5],.el-tabs__item.is-active[data-v-4a5dcae5]{color:#0286df!important}.info2 .successinfo i[data-v-4a5dcae5]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-4a5dcae5]{background-color:#f5f7fa!important}.el-pager li.active[data-v-4a5dcae5]{color:#0286df!important}.el-loading-mask[data-v-4a5dcae5]{z-index:9999}.el-icon-loading[data-v-4a5dcae5]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-4a5dcae5]{font-size:14px}.el-tooltip__popper[data-v-4a5dcae5]{max-width:80%}li[data-v-4a5dcae5],ul[data-v-4a5dcae5]{list-style:none}a[data-v-4a5dcae5]{outline:medium none;text-decoration:none}.colorff66[data-v-4a5dcae5]{color:#f60}.color02[data-v-4a5dcae5]{color:#0286df}.color33[data-v-4a5dcae5]{color:#333}.colorff[data-v-4a5dcae5]{color:#fff}.color00[data-v-4a5dcae5]{color:#000}.color66[data-v-4a5dcae5]{color:#666}.color96[data-v-4a5dcae5]{color:#969696}.colorbf[data-v-4a5dcae5]{color:#bfbfbf}.color59[data-v-4a5dcae5]{color:#595959}.color5e[data-v-4a5dcae5]{color:#5e5e5e}.colorcc[data-v-4a5dcae5]{color:#ccc}.color6f[data-v-4a5dcae5]{color:#6f6f6f}.color2c[data-v-4a5dcae5]{color:#2c2c2b}.color8d[data-v-4a5dcae5]{color:#8d8d8d}.h-green[data-v-4a5dcae5]{color:#78c06e}.h-red[data-v-4a5dcae5]{color:#f60}.h-orange[data-v-4a5dcae5]{color:#f7ab01}.color-link[data-v-4a5dcae5],.h-blue[data-v-4a5dcae5]{color:#0286df}.bgf5[data-v-4a5dcae5]{background:#f5f5f5}.bgc9[data-v-4a5dcae5]{background:#c9c9c9}.bgff[data-v-4a5dcae5]{background:#fff}.bg02[data-v-4a5dcae5]{background:#0286df}.bg66[data-v-4a5dcae5]{background:#666}.bgb3[data-v-4a5dcae5]{background:#b3b3b3}.font10[data-v-4a5dcae5]{font-size:10px}.font12[data-v-4a5dcae5]{font-size:12px}.font14[data-v-4a5dcae5]{font-size:14px}.font16[data-v-4a5dcae5]{font-size:16px}.font18[data-v-4a5dcae5]{font-size:18px}.font20[data-v-4a5dcae5]{font-size:20px}.font22[data-v-4a5dcae5]{font-size:22px}.font24[data-v-4a5dcae5]{font-size:24px}.font28[data-v-4a5dcae5]{font-size:28px}.font36[data-v-4a5dcae5]{font-size:36px}.overflow[data-v-4a5dcae5]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-4a5dcae5]{border:1px solid #0286df}.tc-1[data-v-4a5dcae5]{width:100%;height:1px}.tc-2[data-v-4a5dcae5]{width:100%;height:2px}.tc-3[data-v-4a5dcae5]{width:100%;height:3px}.tc-4[data-v-4a5dcae5]{width:100%;height:4px}.tc-5[data-v-4a5dcae5]{width:100%;height:5px}.tc-6[data-v-4a5dcae5]{width:100%;height:6px}.tc-7[data-v-4a5dcae5]{width:100%;height:7px}.tc-8[data-v-4a5dcae5]{width:100%;height:8px}.tc-9[data-v-4a5dcae5]{width:100%;height:9px}.tc-10[data-v-4a5dcae5]{width:100%;height:10px}.tc-13[data-v-4a5dcae5]{width:100%;height:13px}.tc-15[data-v-4a5dcae5]{width:100%;height:15px}.tc-20[data-v-4a5dcae5]{width:100%;height:20px}.tc-30[data-v-4a5dcae5]{width:100%;height:30px}.tc-40[data-v-4a5dcae5]{width:100%;height:40px}.tc-45[data-v-4a5dcae5]{width:100%;height:45px}.tc-50[data-v-4a5dcae5]{width:100%;height:50px}.tc-70[data-v-4a5dcae5]{width:100%;height:70px}.tc-80[data-v-4a5dcae5]{width:100%;height:80px}.tc-100[data-v-4a5dcae5]{width:100%;height:100px}.tc-200[data-v-4a5dcae5]{width:100%;height:200px}.cursor[data-v-4a5dcae5]{cursor:pointer}[data-v-4a5dcae5]::-webkit-scrollbar{width:9px;height:9px}[data-v-4a5dcae5]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-4a5dcae5]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-4a5dcae5]{padding-left:0}.el-button.h-btn-reset[data-v-4a5dcae5]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-4a5dcae5]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-4a5dcae5]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-4a5dcae5]{margin-right:10px}.btn-submit-box[data-v-4a5dcae5]{margin-top:40px;text-align:center}.list-table-td-a[data-v-4a5dcae5]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-4a5dcae5]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-4a5dcae5]{padding:10px}.h-main-box-tab[data-v-4a5dcae5]{padding:5px}.h-tab-content[data-v-4a5dcae5]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-4a5dcae5]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-4a5dcae5]{border-left:3px solid #0286df;padding-left:10px}.nodeConditionModal[data-v-4a5dcae5] .content{overflow-y:scroll;overflow-x:initial}[data-v-4a5dcae5] .el-drawer__header{display:none}[data-v-4a5dcae5] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[data-v-4a5dcae5] .el-radio-group .el-radio{margin-bottom:15px}[data-v-4a5dcae5] .el-radio-group .el-radio:last-child{margin-bottom:0}[data-v-4a5dcae5] :focus{outline:0}[data-v-4a5dcae5] .el-drawer{width:25%!important}[data-v-4a5dcae5] .el-form-item{margin-bottom:10px}[data-v-4a5dcae5] .el-form-item__label{text-align:left}.content[data-v-4a5dcae5]{height:80vh;overflow-y:scroll}.conditionSelect[data-v-4a5dcae5] .el-dialog__header{padding:15px 20px;border-bottom:1px solid #eaeaea}.conditionSelect[data-v-4a5dcae5] .el-dialog__header .el-dialog__title{font-size:16px}.conditionSelect[data-v-4a5dcae5] .el-dialog__footer{padding:15px 20px;border-top:1px solid #eaeaea}.userHandle[data-v-4a5dcae5]{padding:0 25px}.wrapper-mask[data-v-4a5dcae5]{background-color:rgba(0,0,0,.4);cursor:pointer;z-index:1999}.wrapper[data-v-4a5dcae5]{width:100%}.wrapper .title[data-v-4a5dcae5]{padding-left:25px;height:60px;border-bottom:1px solid #dfe4ea;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px;font-size:16px}.wrapper .title .el-icon-edit[data-v-4a5dcae5]{cursor:pointer;margin-left:10px}.wrapper .form-box[data-v-4a5dcae5]{padding:0 25px 0 25px}.wrapper .btn-group[data-v-4a5dcae5]{position:absolute;bottom:0;left:0;right:0;text-align:left;border-top:1px solid #eaeaea;padding:15px 0 15px 25px;background-color:#fff;z-index:10000}.mar_t20[data-v-4a5dcae5]{margin-top:20px}.mar_l20[data-v-4a5dcae5]{margin-left:20px}.selector[data-v-4a5dcae5]{padding:0 4px;border:1px solid #d9d9d9;line-height:30px;border-radius:4px}.selector[data-v-4a5dcae5]:hover{border:1px solid #1890ff}[data-v-4a5dcae5] .selector .el-tag{height:22px;line-height:20px;padding:0 0 0 8px;font-size:14px;margin-right:4px}[data-v-4a5dcae5] .selector .el-tag .el-icon-close{right:2px}',""])},"8af7":function(e,t,n){var i=n("a4cf"),r=n("ce99"),o=n("bf84"),a=n("708a"),s=n("597a").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"8b34":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
206
|
+
var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"8a8a":function(e,t,n){var i=n("6c09"),r=n("100d");e.exports=function(e){return i(r(e))}},"8af7":function(e,t,n){var i=n("a4cf"),r=n("ce99"),o=n("bf84"),a=n("708a"),s=n("597a").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"8b34":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
207
207
|
//! moment.js locale configuration
|
|
208
|
-
var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},"8b4b":function(e,t,n){var i=n("c903"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"8b9f":function(e,t,n){var i=n("5454");t=e.exports=n("690e")(!1),t.push([e.i,'.from[data-v-2e4fa73a]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-2e4fa73a]{float:left;margin-right:20px}.from .fromitem span[data-v-2e4fa73a]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-2e4fa73a]{padding:15px 20px 20px}.talent-box .title[data-v-2e4fa73a]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-2e4fa73a]{color:#666}.offer-root .projectForm[data-v-2e4fa73a]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-2e4fa73a]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-2e4fa73a]{margin-bottom:0}.continue[data-v-2e4fa73a]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-2e4fa73a],.offer-pagination[data-v-2e4fa73a]{text-align:center}.offer-pagination .el-pagination[data-v-2e4fa73a]{margin:20px 0}.re-form .el-cascader[data-v-2e4fa73a],.re-form .el-date-editor[data-v-2e4fa73a],.re-form .el-input-number[data-v-2e4fa73a],.re-form .el-range-editor[data-v-2e4fa73a],.re-form .el-select[data-v-2e4fa73a]{width:100%}.re-form .el-input-number .el-input__inner[data-v-2e4fa73a]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-2e4fa73a]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-2e4fa73a]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-2e4fa73a]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-2e4fa73a]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-2e4fa73a]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-2e4fa73a]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-2e4fa73a]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-2e4fa73a]{text-align:center}.base-pagination .el-pagination[data-v-2e4fa73a]{margin:20px 0}.pointer[data-v-2e4fa73a]{cursor:pointer}.base-ellipsis[data-v-2e4fa73a]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-2e4fa73a]{margin-bottom:10px}.base-page-style[data-v-2e4fa73a]{padding:10px 10px}.base-page-style .btns-line[data-v-2e4fa73a]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-2e4fa73a]{color:red}.form-w100[data-v-2e4fa73a]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-2e4fa73a]{text-align:left}.base-info-title[data-v-2e4fa73a]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-2e4fa73a]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-2e4fa73a]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-2e4fa73a]{margin-bottom:10px}.form-btns[data-v-2e4fa73a]{text-align:center}.text-danger[data-v-2e4fa73a]{color:#ff4949}.text-warning[data-v-2e4fa73a]{color:#f7ba2a}.text-blue[data-v-2e4fa73a]{color:#2e90fe}.clearboth[data-v-2e4fa73a]{clear:both}.noselect[data-v-2e4fa73a]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-2e4fa73a]::-webkit-input-safebox-button{display:none}body[data-v-2e4fa73a]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-2e4fa73a]:hover{color:#0286df!important}.color-default[data-v-2e4fa73a]{color:#0286df}.line-width[data-v-2e4fa73a]{background:#ededed;width:896px;height:1px}.bg-default[data-v-2e4fa73a]{background:#0286df}.hover-color-default[data-v-2e4fa73a]:hover{color:#0286df}.hover-bg-default[data-v-2e4fa73a]:hover{background:#ffeeea!important}.default-color[data-v-2e4fa73a]{color:#0286df}.page-left[data-v-2e4fa73a]{float:left}.page-right[data-v-2e4fa73a]{float:right}.colordefault[data-v-2e4fa73a]{color:#0286df}.colorgrey[data-v-2e4fa73a]{color:#ccc}.colortheme[data-v-2e4fa73a]{color:#ff8b00}.colorff4[data-v-2e4fa73a]{color:#ff4e00}.color-orange[data-v-2e4fa73a]{color:#f60}.p20[data-v-2e4fa73a]{padding:20px}.pl20[data-v-2e4fa73a]{padding-left:20px}.pb20[data-v-2e4fa73a]{padding-bottom:20px}.mt10[data-v-2e4fa73a]{margin-top:10px}.mt20[data-v-2e4fa73a]{margin-top:20px}.ml26[data-v-2e4fa73a]{margin-left:26px}.ml400[data-v-2e4fa73a]{margin-left:400px}.mb10[data-v-2e4fa73a]{margin-bottom:10px}.mb20[data-v-2e4fa73a]{margin-bottom:20px}.ml10[data-v-2e4fa73a]{margin-left:10px}.text-center[data-v-2e4fa73a]{text-align:center}.clearfix[data-v-2e4fa73a]{overflow:hidden}.fl[data-v-2e4fa73a]{float:left}.fr[data-v-2e4fa73a]{float:right}.avatar-uploader .el-upload[data-v-2e4fa73a]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-2e4fa73a]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-2e4fa73a]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-2e4fa73a]:before{line-height:178px}.avatar[data-v-2e4fa73a]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-2e4fa73a]{color:#0286df!important}.cell-del-button[data-v-2e4fa73a]{color:#f60!important}.tableStyle[data-v-2e4fa73a]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-2e4fa73a]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-2e4fa73a]{color:#0286df}.tabs-box .el-tabs__item[data-v-2e4fa73a]{color:#333}.m-l-15[data-v-2e4fa73a]{margin-left:15px!important}.m-l-20[data-v-2e4fa73a]{margin-left:20px!important}.m-l-40[data-v-2e4fa73a]{margin-left:40px!important}.pagination-box[data-v-2e4fa73a]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-2e4fa73a]{margin-top:20px}.el-input__count[data-v-2e4fa73a]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-2e4fa73a],.el-tabs__item.is-active[data-v-2e4fa73a]{color:#0286df!important}.info2 .successinfo i[data-v-2e4fa73a]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-2e4fa73a]{background-color:#f5f7fa!important}.el-pager li.active[data-v-2e4fa73a]{color:#0286df!important}.el-loading-mask[data-v-2e4fa73a]{z-index:9999}.el-icon-loading[data-v-2e4fa73a]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-2e4fa73a]{font-size:14px}.el-tooltip__popper[data-v-2e4fa73a]{max-width:80%}li[data-v-2e4fa73a],ul[data-v-2e4fa73a]{list-style:none}a[data-v-2e4fa73a]{outline:medium none;text-decoration:none}.colorff66[data-v-2e4fa73a]{color:#f60}.color02[data-v-2e4fa73a]{color:#0286df}.color33[data-v-2e4fa73a]{color:#333}.colorff[data-v-2e4fa73a]{color:#fff}.color00[data-v-2e4fa73a]{color:#000}.color66[data-v-2e4fa73a]{color:#666}.color96[data-v-2e4fa73a]{color:#969696}.colorbf[data-v-2e4fa73a]{color:#bfbfbf}.color59[data-v-2e4fa73a]{color:#595959}.color5e[data-v-2e4fa73a]{color:#5e5e5e}.colorcc[data-v-2e4fa73a]{color:#ccc}.color6f[data-v-2e4fa73a]{color:#6f6f6f}.color2c[data-v-2e4fa73a]{color:#2c2c2b}.color8d[data-v-2e4fa73a]{color:#8d8d8d}.h-green[data-v-2e4fa73a]{color:#78c06e}.h-red[data-v-2e4fa73a]{color:#f60}.h-orange[data-v-2e4fa73a]{color:#f7ab01}.color-link[data-v-2e4fa73a],.h-blue[data-v-2e4fa73a]{color:#0286df}.bgf5[data-v-2e4fa73a]{background:#f5f5f5}.bgc9[data-v-2e4fa73a]{background:#c9c9c9}.bgff[data-v-2e4fa73a]{background:#fff}.bg02[data-v-2e4fa73a]{background:#0286df}.bg66[data-v-2e4fa73a]{background:#666}.bgb3[data-v-2e4fa73a]{background:#b3b3b3}.font10[data-v-2e4fa73a]{font-size:10px}.font12[data-v-2e4fa73a]{font-size:12px}.font14[data-v-2e4fa73a]{font-size:14px}.font16[data-v-2e4fa73a]{font-size:16px}.font18[data-v-2e4fa73a]{font-size:18px}.font20[data-v-2e4fa73a]{font-size:20px}.font22[data-v-2e4fa73a]{font-size:22px}.font24[data-v-2e4fa73a]{font-size:24px}.font28[data-v-2e4fa73a]{font-size:28px}.font36[data-v-2e4fa73a]{font-size:36px}.overflow[data-v-2e4fa73a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-2e4fa73a]{border:1px solid #0286df}.tc-1[data-v-2e4fa73a]{width:100%;height:1px}.tc-2[data-v-2e4fa73a]{width:100%;height:2px}.tc-3[data-v-2e4fa73a]{width:100%;height:3px}.tc-4[data-v-2e4fa73a]{width:100%;height:4px}.tc-5[data-v-2e4fa73a]{width:100%;height:5px}.tc-6[data-v-2e4fa73a]{width:100%;height:6px}.tc-7[data-v-2e4fa73a]{width:100%;height:7px}.tc-8[data-v-2e4fa73a]{width:100%;height:8px}.tc-9[data-v-2e4fa73a]{width:100%;height:9px}.tc-10[data-v-2e4fa73a]{width:100%;height:10px}.tc-13[data-v-2e4fa73a]{width:100%;height:13px}.tc-15[data-v-2e4fa73a]{width:100%;height:15px}.tc-20[data-v-2e4fa73a]{width:100%;height:20px}.tc-30[data-v-2e4fa73a]{width:100%;height:30px}.tc-40[data-v-2e4fa73a]{width:100%;height:40px}.tc-45[data-v-2e4fa73a]{width:100%;height:45px}.tc-50[data-v-2e4fa73a]{width:100%;height:50px}.tc-70[data-v-2e4fa73a]{width:100%;height:70px}.tc-80[data-v-2e4fa73a]{width:100%;height:80px}.tc-100[data-v-2e4fa73a]{width:100%;height:100px}.tc-200[data-v-2e4fa73a]{width:100%;height:200px}.cursor[data-v-2e4fa73a]{cursor:pointer}[data-v-2e4fa73a]::-webkit-scrollbar{width:9px;height:9px}[data-v-2e4fa73a]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-2e4fa73a]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-2e4fa73a]{padding-left:0}.el-button.h-btn-reset[data-v-2e4fa73a]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-2e4fa73a]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-2e4fa73a]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-2e4fa73a]{margin-right:10px}.btn-submit-box[data-v-2e4fa73a]{margin-top:40px;text-align:center}.list-table-td-a[data-v-2e4fa73a]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-2e4fa73a]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-2e4fa73a]{padding:10px}.h-main-box-tab[data-v-2e4fa73a]{padding:5px}.h-tab-content[data-v-2e4fa73a]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-2e4fa73a]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-2e4fa73a]{border-left:3px solid #0286df;padding-left:10px}.error_tip[data-v-2e4fa73a]{position:absolute;top:0;right:0;-webkit-transform:translate(150%);transform:translate(150%);font-size:24px}.add-node-popover-body[data-v-2e4fa73a]{display:-webkit-box;display:-ms-flexbox;display:flex}.promoter_content[data-v-2e4fa73a]{padding:0 20px}.approver_content .el-button[data-v-2e4fa73a],.approver_self_select .el-button[data-v-2e4fa73a],.condition_content .el-button[data-v-2e4fa73a],.copyer_content .el-button[data-v-2e4fa73a],.promoter_content .el-button[data-v-2e4fa73a]{margin-bottom:20px}.promoter_content p[data-v-2e4fa73a]{padding:18px 0;font-size:14px;line-height:20px;color:#000}.promoter_person .el-dialog__body[data-v-2e4fa73a]{padding:10px 20px 14px 20px}.person_body[data-v-2e4fa73a]{border:1px solid #f5f5f5;height:500px}.person_tree[data-v-2e4fa73a]{padding:10px 12px 0 8px;width:280px;height:100%;border-right:1px solid #f5f5f5}.person_tree input[data-v-2e4fa73a]{padding-left:22px;width:210px;height:30px;font-size:12px;border-radius:2px;border:1px solid #d5dadf;background:url('+i(n("a610"))+") no-repeat 10px;background-size:14px 14px;margin-bottom:14px}.tree_nav span[data-v-2e4fa73a]{display:inline-block;padding-right:10px;margin-right:5px;max-width:6em;color:#38adff;font-size:12px;cursor:pointer;background:url("+i(n("3167"))+") no-repeat 100%}.tree_nav span[data-v-2e4fa73a]:last-of-type{background:none}.has_selected ul[data-v-2e4fa73a],.person_tree ul[data-v-2e4fa73a]{height:420px;overflow-y:auto}.person_tree li[data-v-2e4fa73a]{padding:5px 0}.person_tree li i[data-v-2e4fa73a]{float:right;padding-left:24px;padding-right:10px;color:#3195f8;font-size:12px;cursor:pointer;border-left:1px solid #eee}.person_tree li a.active+i[data-v-2e4fa73a]{color:#c5c5c5;pointer-events:none}.person_tree img[data-v-2e4fa73a]{width:14px;vertical-align:middle;margin-right:5px}.has_selected[data-v-2e4fa73a]{width:276px;height:100%;font-size:12px}.has_selected ul[data-v-2e4fa73a]{height:460px}.has_selected p[data-v-2e4fa73a]{padding-left:19px;padding-right:20px;line-height:37px;border-bottom:1px solid #f2f2f2}.has_selected p a[data-v-2e4fa73a]{float:right}.has_selected ul li[data-v-2e4fa73a]{margin:11px 26px 13px 19px;line-height:17px}.has_selected li span[data-v-2e4fa73a]{vertical-align:middle}.has_selected li img[data-v-2e4fa73a]:first-of-type{width:14px;vertical-align:middle;margin-right:5px}.has_selected li img[data-v-2e4fa73a]:last-of-type{float:right;margin-top:2px;width:14px}el-radio-group[data-v-2e4fa73a]{padding:20px 0}.approver_content[data-v-2e4fa73a]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.approver_content .el-radio[data-v-2e4fa73a],.approver_self_select .el-radio[data-v-2e4fa73a],.approver_some .el-radio[data-v-2e4fa73a]{width:27%;margin-bottom:20px}.copyer_content .el-checkbox[data-v-2e4fa73a]{margin-bottom:20px}.el-checkbox__label[data-v-2e4fa73a]{font-size:12px}.approver_content[data-v-2e4fa73a],.approver_manager[data-v-2e4fa73a],.approver_self_select[data-v-2e4fa73a],.approver_some[data-v-2e4fa73a],.condition_content[data-v-2e4fa73a],.copyer_content[data-v-2e4fa73a]{padding:20px 20px 0}.approver_manager p[data-v-2e4fa73a]:first-of-type,.approver_some p[data-v-2e4fa73a]{line-height:19px;font-size:14px;margin-bottom:14px}.approver_manager p[data-v-2e4fa73a]{line-height:32px}.approver_manager select[data-v-2e4fa73a]{width:420px;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.approver_manager p.tip[data-v-2e4fa73a]{margin:10px 0 22px 0;font-size:12px;line-height:16px;color:#f8642d}.approver_self[data-v-2e4fa73a]{padding:28px 20px}.selected_list[data-v-2e4fa73a]{margin-bottom:20px;line-height:30px}.selected_list span[data-v-2e4fa73a]{margin-right:10px;padding:3px 6px 3px 9px;line-height:12px;white-space:nowrap;border-radius:2px;border:1px solid #dcdcdc}.selected_list img[data-v-2e4fa73a]{margin-left:5px;width:7px;height:7px;cursor:pointer}.approver_self_select h3[data-v-2e4fa73a]{margin:5px 0 20px;font-size:14px;font-weight:700;line-height:19px}.condition_copyer .el-drawer__body .priority_level[data-v-2e4fa73a]{position:absolute;top:11px;right:30px;width:100px;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.condition_content p.tip[data-v-2e4fa73a]{margin:20px 0;width:510px;text-indent:17px;line-height:45px;background:#f1f9ff;border:1px solid #40a3f7;color:#46a6fe;font-size:14px}.condition_content ul[data-v-2e4fa73a]{max-height:500px;overflow-y:scroll;margin-bottom:20px}.condition_content li>span[data-v-2e4fa73a]{float:left;margin-right:8px;width:70px;line-height:32px;text-align:right}.condition_content li>div[data-v-2e4fa73a]{display:inline-block;width:370px}.condition_content li:not(:last-child)>div>p[data-v-2e4fa73a]{margin-bottom:20px}.condition_content li>div>p[data-v-2e4fa73a]:not(:last-child){margin-bottom:10px}.condition_content li>a[data-v-2e4fa73a]{float:right;margin-right:10px;margin-top:7px}.condition_content li input[data-v-2e4fa73a],.condition_content li select[data-v-2e4fa73a]{width:100%;height:32px;background:#fff;border-radius:4px;border:1px solid #d9d9d9}.condition_content li select+input[data-v-2e4fa73a]{width:260px}.condition_content li select[data-v-2e4fa73a]{margin-right:10px;width:100px}.condition_content li p.selected_list[data-v-2e4fa73a]{padding-left:10px;border-radius:4px;min-height:32px;border:1px solid #d9d9d9}.condition_content li p.check_box[data-v-2e4fa73a]{line-height:32px}.condition_list .el-dialog__body[data-v-2e4fa73a]{padding:16px 26px}.condition_list p[data-v-2e4fa73a]{color:#666;margin-bottom:10px}.condition_list p.check_box[data-v-2e4fa73a]{margin-bottom:0;line-height:36px}",""])},"8bbf":function(t,n){t.exports=e},"8c6b":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=108)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},108:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElRadio",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/radio/src/radio.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d},4:function(e,t){e.exports=n("990b")}})},"8d28":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
208
|
+
var t=e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return t}))},"8b4b":function(e,t,n){var i=n("c903"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"8bbf":function(t,n){t.exports=e},"8c6b":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=108)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},108:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElRadio",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},l=s,u=n(0),c=Object(u["a"])(l,i,r,!1,null,null,null);c.options.__file="packages/radio/src/radio.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d},4:function(e,t){e.exports=n("990b")}})},"8d28":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
209
209
|
//! moment.js locale configuration
|
|
210
210
|
var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},"8d48":function(e,t,n){"use strict";t.__esModule=!0;var i=n("8bbf"),r=a(i),o=n("aaf4");function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,l=!1,u=void 0,c=function(){if(!r.default.prototype.$isServer){var e=h.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),h.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){h.doOnModalClick&&h.doOnModalClick()}))),e}},d={},h={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return h.zIndex++},modalStack:[],doOnModalClick:function(){var e=h.modalStack[h.modalStack.length-1];if(e){var t=h.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,a){if(!r.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var l=this.modalStack,u=0,d=l.length;u<d;u++){var h=l[u];if(h.id===e)return}var f=c();if((0,o.addClass)(f,"v-modal"),this.modalFade&&!s&&(0,o.addClass)(f,"v-modal-enter"),i){var p=i.trim().split(/\s+/);p.forEach((function(e){return(0,o.addClass)(f,e)}))}setTimeout((function(){(0,o.removeClass)(f,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(f):document.body.appendChild(f),t&&(f.style.zIndex=t),f.tabIndex=0,f.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:i})}},closeModal:function(e){var t=this.modalStack,n=c();if(t.length>0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var r=i.modalClass.trim().split(/\s+/);r.forEach((function(e){return(0,o.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",h.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(h,"zIndex",{configurable:!0,get:function(){return l||(u=u||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(e){u=e}});var f=function(){if(!r.default.prototype.$isServer&&h.modalStack.length>0){var e=h.modalStack[h.modalStack.length-1];if(!e)return;var t=h.getInstance(e.id);return t}};r.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=f();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t.default=h},"8f41":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
211
211
|
//! moment.js locale configuration
|
|
@@ -215,17 +215,17 @@ var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:
|
|
|
215
215
|
//! moment.js locale configuration
|
|
216
216
|
var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},9218:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
217
217
|
//! moment.js locale configuration
|
|
218
|
-
var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"92e1":function(e,t){e.exports=function(e){return"function"===typeof e}},"930e":function(e,t,n){var i,r,o,a=n("5f59"),s=n("b20c"),l=n("0196"),u=n("de5c"),c=n("d43b"),d=n("73fc"),h=n("eb7b"),f=n("ebfe"),p="Object already initialized",m=s.WeakMap,v=function(e){return o(e)?r(e):i(e,{})},g=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a||d.state){var y=d.state||(d.state=new m),b=y.get,_=y.has,w=y.set;i=function(e,t){if(_.call(y,e))throw new TypeError(p);return t.facade=e,w.call(y,e,t),t},r=function(e){return b.call(y,e)||{}},o=function(e){return _.call(y,e)}}else{var x=h("state");f[x]=!0,i=function(e,t){if(c(e,x))throw new TypeError(p);return t.facade=e,u(e,x,t),t},r=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:i,get:r,has:o,enforce:v,getterFor:g}},"946b":function(e,t){t.f=Object.getOwnPropertySymbols},9486:function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;t.UNSUPPORTED_Y=i((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"948d":function(e,t,n){n("87a4"),n("383f"),e.exports=n("708a").f("iterator")},"
|
|
218
|
+
var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},"92e1":function(e,t){e.exports=function(e){return"function"===typeof e}},"930e":function(e,t,n){var i,r,o,a=n("5f59"),s=n("b20c"),l=n("0196"),u=n("de5c"),c=n("d43b"),d=n("73fc"),h=n("eb7b"),f=n("ebfe"),p="Object already initialized",m=s.WeakMap,v=function(e){return o(e)?r(e):i(e,{})},g=function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a||d.state){var y=d.state||(d.state=new m),b=y.get,_=y.has,w=y.set;i=function(e,t){if(_.call(y,e))throw new TypeError(p);return t.facade=e,w.call(y,e,t),t},r=function(e){return b.call(y,e)||{}},o=function(e){return _.call(y,e)}}else{var x=h("state");f[x]=!0,i=function(e,t){if(c(e,x))throw new TypeError(p);return t.facade=e,u(e,x,t),t},r=function(e){return c(e,x)?e[x]:{}},o=function(e){return c(e,x)}}e.exports={set:i,get:r,has:o,enforce:v,getterFor:g}},"946b":function(e,t){t.f=Object.getOwnPropertySymbols},9486:function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;t.UNSUPPORTED_Y=i((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"948d":function(e,t,n){n("87a4"),n("383f"),e.exports=n("708a").f("iterator")},"94fa":function(e,t,n){var i=n("6305");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("f150dde4",i,!0,{sourceMap:!1,shadowMode:!1})},"952e":function(e,t,n){"use strict";var i=n("a8aa"),r=n("33f0"),o=n("c754"),a=n("0196"),s=n("0158"),l=n("9b1b"),u=n("61b4"),c=n("f0b0"),d=n("357f"),h=n("1331"),f=h("slice"),p=d("species"),m=[].slice,v=Math.max;i({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,i,d,h=u(this),f=l(h.length),g=s(e,f),y=s(void 0===t?f:t,f);if(r(h)&&(n=h.constructor,o(n)&&(n===Array||r(n.prototype))?n=void 0:a(n)&&(n=n[p],null===n&&(n=void 0)),n===Array||void 0===n))return m.call(h,g,y);for(i=new(void 0===n?Array:n)(v(y-g,0)),d=0;g<y;g++,d++)g in h&&c(i,d,h[g]);return i.length=d,i}})},9609:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
219
219
|
//! moment.js locale configuration
|
|
220
220
|
var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"967c":function(e,t,n){"use strict";var i=n("0260");e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},"96d8":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"96e2":function(e,t,n){"use strict";var i=n("0260"),r=n("02c8"),o=n("046d"),a=n("a44d"),s=n("8021"),l=n("40b2");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){u(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||a.adapter;return t(e).then((function(t){return u(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"970b":function(e,t,n){var i=n("0677");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},9828:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
221
221
|
//! moment.js locale configuration
|
|
222
222
|
var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t}))},"98bb":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
223
223
|
//! moment.js locale configuration
|
|
224
|
-
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return i}))},"990b":function(e,t,n){"use strict";function i(e,t,n){this.$children.forEach((function(r){var o=r.$options.componentName;o===e?r.$emit.apply(r,[t].concat(n)):i.apply(r,[e,t].concat([n]))}))}t.__esModule=!0,t.default={methods:{dispatch:function(e,t,n){var i=this.$parent||this.$root,r=i.$options.componentName;while(i&&(!r||r!==e))i=i.$parent,i&&(r=i.$options.componentName);i&&i.$emit.apply(i,[t].concat(n))},broadcast:function(e,t,n){i.call(this,e,t,n)}}}},"993a":function(e,t,n){"use strict";var i=n("a8aa"),r=n("7bb6"),o=n("33f0"),a=n("0196"),s=n("89ca"),l=n("9b1b"),u=n("f0b0"),c=n("d7c9"),d=n("1331"),h=n("357f"),f=n("21d5"),p=h("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=f>=51||!r((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!g||!y;i({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,i,r,o,a=s(this),d=c(a,0),h=0;for(t=-1,i=arguments.length;t<i;t++)if(o=-1===t?a:arguments[t],b(o)){if(r=l(o.length),h+r>m)throw TypeError(v);for(n=0;n<r;n++,h++)n in o&&u(d,h,o[n])}else{if(h>=m)throw TypeError(v);u(d,h++,o)}return d.length=h,d}})},"99fe":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"9b1b":function(e,t,n){var i=n("3769"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9b98":function(e,t,n){var i=n("357f"),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"9c46":function(e,t,n){"use strict";var i=n("0260");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},"9c9a":function(e,t,n){var i=n("503d"),r=n("5018");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(a){r(e,"throw",a)}}},"9d95":function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;e.exports=i((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"9dde":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n("cf7c")},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},r=[];i._withStripped=!0;var o=n(10),a=n.n(o),s=n(22),l=n.n(s),u=n(30),c={name:"ElInputNumber",mixins:[l()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u["a"]},components:{ElInput:a.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},d=c,h=n(0),f=Object(h["a"])(d,i,r,!1,null,null,null);f.options.__file="packages/input-number/src/input-number.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p},2:function(e,t){e.exports=n("aaf4")},22:function(e,t){e.exports=n("2744")},30:function(e,t,n){"use strict";var i=n(2);t["a"]={bind:function(e,t,n){var r=null,o=void 0,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(r),r=null};Object(i["on"])(e,"mousedown",(function(e){0===e.button&&(o=Date.now(),Object(i["once"])(document,"mouseup",s),clearInterval(r),r=setInterval(a,100))}))}}}})},"9f4b":function(e,t,n){var i=n("488b"),r=n("a869"),o=n("ea61"),a="["+o+"]",s=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),u=function(e){return function(t){var n=r(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},"9f5b":function(e,t,n){n("8008"),e.exports=n("ce99").Object.assign},"9f67":function(e,t,n){"use strict";t.__esModule=!0,t.default=a;var i=n("8bbf"),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=o+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;o<s?e.scrollTop=o:a>l&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"9f96":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
224
|
+
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return i}))},"990b":function(e,t,n){"use strict";function i(e,t,n){this.$children.forEach((function(r){var o=r.$options.componentName;o===e?r.$emit.apply(r,[t].concat(n)):i.apply(r,[e,t].concat([n]))}))}t.__esModule=!0,t.default={methods:{dispatch:function(e,t,n){var i=this.$parent||this.$root,r=i.$options.componentName;while(i&&(!r||r!==e))i=i.$parent,i&&(r=i.$options.componentName);i&&i.$emit.apply(i,[t].concat(n))},broadcast:function(e,t,n){i.call(this,e,t,n)}}}},"993a":function(e,t,n){"use strict";var i=n("a8aa"),r=n("7bb6"),o=n("33f0"),a=n("0196"),s=n("89ca"),l=n("9b1b"),u=n("f0b0"),c=n("d7c9"),d=n("1331"),h=n("357f"),f=n("21d5"),p=h("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=f>=51||!r((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)},_=!g||!y;i({target:"Array",proto:!0,forced:_},{concat:function(e){var t,n,i,r,o,a=s(this),d=c(a,0),h=0;for(t=-1,i=arguments.length;t<i;t++)if(o=-1===t?a:arguments[t],b(o)){if(r=l(o.length),h+r>m)throw TypeError(v);for(n=0;n<r;n++,h++)n in o&&u(d,h,o[n])}else{if(h>=m)throw TypeError(v);u(d,h++,o)}return d.length=h,d}})},"99c7":function(e,t,n){var i=n("81fd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("5cd05821",i,!0,{sourceMap:!1,shadowMode:!1})},"99fe":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"9b1b":function(e,t,n){var i=n("3769"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9b98":function(e,t,n){var i=n("357f"),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"9c46":function(e,t,n){"use strict";var i=n("0260");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},"9c9a":function(e,t,n){var i=n("503d"),r=n("5018");e.exports=function(e,t,n,o){try{return o?t(i(n)[0],n[1]):t(n)}catch(a){r(e,"throw",a)}}},"9d95":function(e,t,n){var i=n("7bb6"),r=n("b20c"),o=r.RegExp;e.exports=i((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"9dde":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n("cf7c")},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},r=[];i._withStripped=!0;var o=n(10),a=n.n(o),s=n(22),l=n.n(s),u=n(30),c={name:"ElInputNumber",mixins:[l()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u["a"]},components:{ElInput:a.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},d=c,h=n(0),f=Object(h["a"])(d,i,r,!1,null,null,null);f.options.__file="packages/input-number/src/input-number.vue";var p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p},2:function(e,t){e.exports=n("aaf4")},22:function(e,t){e.exports=n("2744")},30:function(e,t,n){"use strict";var i=n(2);t["a"]={bind:function(e,t,n){var r=null,o=void 0,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(r),r=null};Object(i["on"])(e,"mousedown",(function(e){0===e.button&&(o=Date.now(),Object(i["once"])(document,"mouseup",s),clearInterval(r),r=setInterval(a,100))}))}}}})},"9f4b":function(e,t,n){var i=n("488b"),r=n("a869"),o=n("ea61"),a="["+o+"]",s=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),u=function(e){return function(t){var n=r(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},"9f5b":function(e,t,n){n("8008"),e.exports=n("ce99").Object.assign},"9f67":function(e,t,n){"use strict";t.__esModule=!0,t.default=a;var i=n("8bbf"),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=o+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;o<s?e.scrollTop=o:a>l&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"9f96":function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
225
225
|
//! moment.js locale configuration
|
|
226
|
-
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var r=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},
|
|
226
|
+
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||t)?" másodperc":" másodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" óra":" órája");case"hh":return r+(i||t?" óra":" órája");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" hónap":" hónapja");case"MM":return r+(i||t?" hónap":" hónapja");case"y":return"egy"+(i||t?" év":" éve");case"yy":return r+(i||t?" év":" éve")}return""}function i(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var r=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},a140:function(e,t,n){t=e.exports=n("690e")(!1),t.push([e.i,"[data-v-0922466c] .el-drawer__header{font-size:16px;color:#000;padding-bottom:10px;padding-top:10px;padding-left:25px}[data-v-0922466c] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[data-v-0922466c] .el-radio-group .el-radio{margin-bottom:15px}[data-v-0922466c] .el-radio-group .el-radio:last-child{margin-bottom:0}[data-v-0922466c] :focus{outline:0}[data-v-0922466c] .el-drawer{width:25%!important}[data-v-0922466c] .el-drawer__header{margin-bottom:0}.rowDirection[data-v-0922466c] .el-radio-group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.rowDirection[data-v-0922466c] .el-radio-group .el-radio{margin-bottom:10px}.layoutRowItem[data-v-0922466c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:20px 0 20px 0}.layoutRowItem[data-v-0922466c],.multi-title[data-v-0922466c]{border-top:1px solid #eaeaea}.multi-title[data-v-0922466c]{margin-bottom:10px;font-size:14px;padding:15px 25px 0 25px;color:#111}.layoutRowItem .multi-title[data-v-0922466c]{border:none;padding:0 0 0 25px;margin-bottom:0}.layoutRowItem .approverSelectorItemCon[data-v-0922466c]{padding:0}.approverSelectorItemCon[data-v-0922466c]{padding:5px 25px 18px 25px}.tagList[data-v-0922466c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tagList[data-v-0922466c] .el-tag.el-tag--info{border:#d9ecff;color:#333}.drawer-footer[data-v-0922466c]{padding:20px;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #f4f4f8}.drawer-wrap[data-v-0922466c]{overflow-y:auto}.selector-bar[data-v-0922466c],.selector-bar.no-padding[data-v-0922466c]{-webkit-box-sizing:border-box;box-sizing:border-box}.selector-bar.no-padding[data-v-0922466c]{padding:0 20px 20px}.selector-bar.border[data-v-0922466c]{border-top:1px solid #f4f4f8}.selector-bar__title[data-v-0922466c]{margin-bottom:10px;font-size:14px;color:#000}.selector-list[data-v-0922466c]{padding:10px 0 0 0;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.list-item[data-v-0922466c]{margin-right:10px;margin-bottom:10px}.list-item-btn[data-v-0922466c]{width:60px}.clear-btn[data-v-0922466c]{cursor:pointer;font-size:12px;color:#409eff}",""])},a158:function(e,t,n){"use strict";function i(){return!1}t["a"]=i},a17f:function(e,t,n){var i=n("2909"),r=n("b20c");e.exports="process"==i(r.process)},a19a:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
227
227
|
//! moment.js locale configuration
|
|
228
|
-
var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},a1c5:function(e,t,n){"use strict";var i=n("0260"),r=n("28e0"),o=n("173d"),a=n("a44d");function s(e){var t=new o(e),n=r(o.prototype.request,t);return i.extend(n,o.prototype,t),i.extend(n,t),n}var l=s(a);l.Axios=o,l.create=function(e){return s(i.merge(a,e))},l.Cancel=n("7a07"),l.CancelToken=n("d053"),l.isCancel=n("046d"),l.all=function(e){return Promise.all(e)},l.spread=n("6016"),e.exports=l,e.exports.default=l},a213:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
228
|
+
var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,i=e>=100?100:null;return e+(t[e]||t[n]||t[i])},week:{dow:1,doy:7}});return n}))},a1c5:function(e,t,n){"use strict";var i=n("0260"),r=n("28e0"),o=n("173d"),a=n("a44d");function s(e){var t=new o(e),n=r(o.prototype.request,t);return i.extend(n,o.prototype,t),i.extend(n,t),n}var l=s(a);l.Axios=o,l.create=function(e){return s(i.merge(a,e))},l.Cancel=n("7a07"),l.CancelToken=n("d053"),l.isCancel=n("046d"),l.all=function(e){return Promise.all(e)},l.spread=n("6016"),e.exports=l,e.exports.default=l},a1fd:function(e,t,n){"use strict";n("99c7")},a213:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
229
229
|
//! moment.js locale configuration
|
|
230
230
|
var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},a29e:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},a2a5:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
231
231
|
//! moment.js locale configuration
|
|
@@ -277,7 +277,7 @@ var t="január_február_marec_apríl_máj_jún_júl_august_september_október_no
|
|
|
277
277
|
//! moment.js locale configuration
|
|
278
278
|
var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},bff0:function(e,t,n){var i=n("bdbe"),r=n("d43b"),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},c2ec:function(e,t,n){var i=n("a8aa"),r=n("89ca"),o=n("cab7"),a=n("7bb6"),s=a((function(){o(1)}));i({target:"Object",stat:!0,forced:s},{keys:function(e){return o(r(e))}})},c3a6:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
279
279
|
//! moment.js locale configuration
|
|
280
|
-
var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},c427:function(e,t,n){"use strict";t.__esModule=!0;var i=i||{};i.Utils=i.Utils||{},i.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(i.Utils.attemptFocus(n)||i.Utils.focusFirstDescendant(n))return!0}return!1},i.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(i.Utils.attemptFocus(n)||i.Utils.focusLastDescendant(n))return!0}return!1},i.Utils.attemptFocus=function(e){if(!i.Utils.isFocusable(e))return!1;i.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return i.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},i.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},i.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i),e},i.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},t.default=i.Utils},c52e:function(e,t,n){var i=n("92e1"),r=n("6766");e.exports=function(e){if(i(e))return e;throw TypeError(r(e)+" is not a function")}},c53d:function(e,t,n){var i=n("89ca"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,u,c){var d=n+e.length,h=l.length,f=s;return void 0!==u&&(u=i(u),f=a),o.call(c,f,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>h){var c=r(s/10);return 0===c?i:c<=h?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):i}a=l[s-1]}return void 0===a?"":a}))}},c63a:function(e,t,n){var i=n("b3ef"),r=n("d43b"),o=n("7383"),a=n("cd07").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});r(t,e)||a(t,e,{value:o.f(e)})}},c65b:function(e,t,n){var i,r;
|
|
280
|
+
var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},c3de:function(e,t,n){t=e.exports=n("690e")(!1),t.i(n("b797"),""),t.push([e.i,'.from[data-v-6835d5ee]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-6835d5ee]{float:left;margin-right:20px}.from .fromitem span[data-v-6835d5ee]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-6835d5ee]{padding:15px 20px 20px}.talent-box .title[data-v-6835d5ee]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-6835d5ee]{color:#666}.offer-root .projectForm[data-v-6835d5ee]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-6835d5ee]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-6835d5ee]{margin-bottom:0}.continue[data-v-6835d5ee]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-6835d5ee],.offer-pagination[data-v-6835d5ee]{text-align:center}.offer-pagination .el-pagination[data-v-6835d5ee]{margin:20px 0}.re-form .el-cascader[data-v-6835d5ee],.re-form .el-date-editor[data-v-6835d5ee],.re-form .el-input-number[data-v-6835d5ee],.re-form .el-range-editor[data-v-6835d5ee],.re-form .el-select[data-v-6835d5ee]{width:100%}.re-form .el-input-number .el-input__inner[data-v-6835d5ee]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-6835d5ee]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-6835d5ee]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-6835d5ee]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-6835d5ee]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-6835d5ee]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-6835d5ee]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-6835d5ee]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-6835d5ee]{text-align:center}.base-pagination .el-pagination[data-v-6835d5ee]{margin:20px 0}.pointer[data-v-6835d5ee]{cursor:pointer}.base-ellipsis[data-v-6835d5ee]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-6835d5ee]{margin-bottom:10px}.base-page-style[data-v-6835d5ee]{padding:10px 10px}.base-page-style .btns-line[data-v-6835d5ee]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-6835d5ee]{color:red}.form-w100[data-v-6835d5ee]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-6835d5ee]{text-align:left}.base-info-title[data-v-6835d5ee]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-6835d5ee]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-6835d5ee]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-6835d5ee]{margin-bottom:10px}.form-btns[data-v-6835d5ee]{text-align:center}.text-danger[data-v-6835d5ee]{color:#ff4949}.text-warning[data-v-6835d5ee]{color:#f7ba2a}.text-blue[data-v-6835d5ee]{color:#2e90fe}.clearboth[data-v-6835d5ee]{clear:both}.noselect[data-v-6835d5ee]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-6835d5ee]::-webkit-input-safebox-button{display:none}body[data-v-6835d5ee]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-6835d5ee]:hover{color:#0286df!important}.color-default[data-v-6835d5ee]{color:#0286df}.line-width[data-v-6835d5ee]{background:#ededed;width:896px;height:1px}.bg-default[data-v-6835d5ee]{background:#0286df}.hover-color-default[data-v-6835d5ee]:hover{color:#0286df}.hover-bg-default[data-v-6835d5ee]:hover{background:#ffeeea!important}.default-color[data-v-6835d5ee]{color:#0286df}.page-left[data-v-6835d5ee]{float:left}.page-right[data-v-6835d5ee]{float:right}.colordefault[data-v-6835d5ee]{color:#0286df}.colorgrey[data-v-6835d5ee]{color:#ccc}.colortheme[data-v-6835d5ee]{color:#ff8b00}.colorff4[data-v-6835d5ee]{color:#ff4e00}.color-orange[data-v-6835d5ee]{color:#f60}.p20[data-v-6835d5ee]{padding:20px}.pl20[data-v-6835d5ee]{padding-left:20px}.pb20[data-v-6835d5ee]{padding-bottom:20px}.mt10[data-v-6835d5ee]{margin-top:10px}.mt20[data-v-6835d5ee]{margin-top:20px}.ml26[data-v-6835d5ee]{margin-left:26px}.ml400[data-v-6835d5ee]{margin-left:400px}.mb10[data-v-6835d5ee]{margin-bottom:10px}.mb20[data-v-6835d5ee]{margin-bottom:20px}.ml10[data-v-6835d5ee]{margin-left:10px}.text-center[data-v-6835d5ee]{text-align:center}.clearfix[data-v-6835d5ee]{overflow:hidden}.fl[data-v-6835d5ee]{float:left}.fr[data-v-6835d5ee]{float:right}.avatar-uploader .el-upload[data-v-6835d5ee]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-6835d5ee]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-6835d5ee]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-6835d5ee]:before{line-height:178px}.avatar[data-v-6835d5ee]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-6835d5ee]{color:#0286df!important}.cell-del-button[data-v-6835d5ee]{color:#f60!important}.tableStyle[data-v-6835d5ee]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-6835d5ee]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-6835d5ee]{color:#0286df}.tabs-box .el-tabs__item[data-v-6835d5ee]{color:#333}.m-l-15[data-v-6835d5ee]{margin-left:15px!important}.m-l-20[data-v-6835d5ee]{margin-left:20px!important}.m-l-40[data-v-6835d5ee]{margin-left:40px!important}.pagination-box[data-v-6835d5ee]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-6835d5ee]{margin-top:20px}.el-input__count[data-v-6835d5ee]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-6835d5ee],.el-tabs__item.is-active[data-v-6835d5ee]{color:#0286df!important}.info2 .successinfo i[data-v-6835d5ee]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-6835d5ee]{background-color:#f5f7fa!important}.el-pager li.active[data-v-6835d5ee]{color:#0286df!important}.el-loading-mask[data-v-6835d5ee]{z-index:9999}.el-icon-loading[data-v-6835d5ee]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-6835d5ee]{font-size:14px}.el-tooltip__popper[data-v-6835d5ee]{max-width:80%}li[data-v-6835d5ee],ul[data-v-6835d5ee]{list-style:none}a[data-v-6835d5ee]{outline:medium none;text-decoration:none}.colorff66[data-v-6835d5ee]{color:#f60}.color02[data-v-6835d5ee]{color:#0286df}.color33[data-v-6835d5ee]{color:#333}.colorff[data-v-6835d5ee]{color:#fff}.color00[data-v-6835d5ee]{color:#000}.color66[data-v-6835d5ee]{color:#666}.color96[data-v-6835d5ee]{color:#969696}.colorbf[data-v-6835d5ee]{color:#bfbfbf}.color59[data-v-6835d5ee]{color:#595959}.color5e[data-v-6835d5ee]{color:#5e5e5e}.colorcc[data-v-6835d5ee]{color:#ccc}.color6f[data-v-6835d5ee]{color:#6f6f6f}.color2c[data-v-6835d5ee]{color:#2c2c2b}.color8d[data-v-6835d5ee]{color:#8d8d8d}.h-green[data-v-6835d5ee]{color:#78c06e}.h-red[data-v-6835d5ee]{color:#f60}.h-orange[data-v-6835d5ee]{color:#f7ab01}.color-link[data-v-6835d5ee],.h-blue[data-v-6835d5ee]{color:#0286df}.bgf5[data-v-6835d5ee]{background:#f5f5f5}.bgc9[data-v-6835d5ee]{background:#c9c9c9}.bgff[data-v-6835d5ee]{background:#fff}.bg02[data-v-6835d5ee]{background:#0286df}.bg66[data-v-6835d5ee]{background:#666}.bgb3[data-v-6835d5ee]{background:#b3b3b3}.font10[data-v-6835d5ee]{font-size:10px}.font12[data-v-6835d5ee]{font-size:12px}.font14[data-v-6835d5ee]{font-size:14px}.font16[data-v-6835d5ee]{font-size:16px}.font18[data-v-6835d5ee]{font-size:18px}.font20[data-v-6835d5ee]{font-size:20px}.font22[data-v-6835d5ee]{font-size:22px}.font24[data-v-6835d5ee]{font-size:24px}.font28[data-v-6835d5ee]{font-size:28px}.font36[data-v-6835d5ee]{font-size:36px}.overflow[data-v-6835d5ee]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-6835d5ee]{border:1px solid #0286df}.tc-1[data-v-6835d5ee]{width:100%;height:1px}.tc-2[data-v-6835d5ee]{width:100%;height:2px}.tc-3[data-v-6835d5ee]{width:100%;height:3px}.tc-4[data-v-6835d5ee]{width:100%;height:4px}.tc-5[data-v-6835d5ee]{width:100%;height:5px}.tc-6[data-v-6835d5ee]{width:100%;height:6px}.tc-7[data-v-6835d5ee]{width:100%;height:7px}.tc-8[data-v-6835d5ee]{width:100%;height:8px}.tc-9[data-v-6835d5ee]{width:100%;height:9px}.tc-10[data-v-6835d5ee]{width:100%;height:10px}.tc-13[data-v-6835d5ee]{width:100%;height:13px}.tc-15[data-v-6835d5ee]{width:100%;height:15px}.tc-20[data-v-6835d5ee]{width:100%;height:20px}.tc-30[data-v-6835d5ee]{width:100%;height:30px}.tc-40[data-v-6835d5ee]{width:100%;height:40px}.tc-45[data-v-6835d5ee]{width:100%;height:45px}.tc-50[data-v-6835d5ee]{width:100%;height:50px}.tc-70[data-v-6835d5ee]{width:100%;height:70px}.tc-80[data-v-6835d5ee]{width:100%;height:80px}.tc-100[data-v-6835d5ee]{width:100%;height:100px}.tc-200[data-v-6835d5ee]{width:100%;height:200px}.cursor[data-v-6835d5ee]{cursor:pointer}[data-v-6835d5ee]::-webkit-scrollbar{width:9px;height:9px}[data-v-6835d5ee]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-6835d5ee]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-6835d5ee]{padding-left:0}.el-button.h-btn-reset[data-v-6835d5ee]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-6835d5ee]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-6835d5ee]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-6835d5ee]{margin-right:10px}.btn-submit-box[data-v-6835d5ee]{margin-top:40px;text-align:center}.list-table-td-a[data-v-6835d5ee]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-6835d5ee]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-6835d5ee]{padding:10px}.h-main-box-tab[data-v-6835d5ee]{padding:5px}.h-tab-content[data-v-6835d5ee]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-6835d5ee]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-6835d5ee]{border-left:3px solid #0286df;padding-left:10px}',""])},c427:function(e,t,n){"use strict";t.__esModule=!0;var i=i||{};i.Utils=i.Utils||{},i.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(i.Utils.attemptFocus(n)||i.Utils.focusFirstDescendant(n))return!0}return!1},i.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(i.Utils.attemptFocus(n)||i.Utils.focusLastDescendant(n))return!0}return!1},i.Utils.attemptFocus=function(e){if(!i.Utils.isFocusable(e))return!1;i.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return i.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},i.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},i.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i),e},i.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},t.default=i.Utils},c52e:function(e,t,n){var i=n("92e1"),r=n("6766");e.exports=function(e){if(i(e))return e;throw TypeError(r(e)+" is not a function")}},c53d:function(e,t,n){var i=n("89ca"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,u,c){var d=n+e.length,h=l.length,f=s;return void 0!==u&&(u=i(u),f=a),o.call(c,f,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>h){var c=r(s/10);return 0===c?i:c<=h?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):i}a=l[s-1]}return void 0===a?"":a}))}},c63a:function(e,t,n){var i=n("b3ef"),r=n("d43b"),o=n("7383"),a=n("cd07").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});r(t,e)||a(t,e,{value:o.f(e)})}},c65b:function(e,t,n){var i,r;
|
|
281
281
|
/*!
|
|
282
282
|
* jQuery JavaScript Library v3.6.0
|
|
283
283
|
* https://jquery.com/
|
|
@@ -301,7 +301,7 @@ var t=e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_
|
|
|
301
301
|
*
|
|
302
302
|
* Date: 2021-02-16
|
|
303
303
|
*/
|
|
304
|
-
function(e){var t,n,i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,M=le(),S=le(),C=le(),D=le(),L=function(e,t){return e===t&&(d=!0),0},T={}.hasOwnProperty,E=[],P=E.pop,j=E.push,O=E.push,I=E.slice,Y=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},A="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+N+"*("+H+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+N+"*\\]",F=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",z=new RegExp(N+"+","g"),$=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),B=new RegExp("^"+N+"*,"+N+"*"),W=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),V=new RegExp(N+"|>"),U=new RegExp(F),q=new RegExp("^"+H+"$"),G={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+A+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(E=I.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(De){O={apply:E.length?function(e,t){j.apply(e,I.call(t))}:function(e,t){var n=e.length,i=0;while(e[n++]=t[i++]);e.length=n-1}}}function se(e,t,i,r){var o,s,u,c,d,p,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!==typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!r&&(h(t),t=t||f,m)){if(11!==w&&(d=Q.exec(e)))if(o=d[1]){if(9===w){if(!(u=t.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return i.push(u),i}else{if(d[2])return O.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!D[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(V.test(e)||W.test(e))){y=ee.test(e)&&ge(t.parentNode)||t,y===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(ie,re):t.setAttribute("id",c=_)),p=a(e),s=p.length;while(s--)p[s]=(c?"#"+c:":scope")+" "+be(p[s]);g=p.join(",")}try{return O.apply(i,y.querySelectorAll(g)),i}catch(x){D(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return l(e.replace($,"$1"),t,i,r)}function le(){var e=[];function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}return t}function ue(e){return e[_]=!0,e}function ce(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(De){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){var n=e.split("|"),r=n.length;while(r--)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ue((function(t){return t=+t,ue((function(n,i){var r,o=e([],n.length,t),a=o.length;while(a--)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function ge(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},h=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(f=a,p=f.documentElement,m=!o(f),w!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ce((function(e){return p.appendChild(e).appendChild(f.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=ce((function(e){return p.appendChild(e).id=_,!f.getElementsByName||!f.getElementsByName(_).length})),n.getById?(i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n,i,r,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];r=t.getElementsByName(e),i=0;while(o=r[i++])if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),i.find["TAG"]=n.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[r++])1===n.nodeType&&i.push(n);return i}return o},i.find["CLASS"]=n.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Z.test(f.querySelectorAll))&&(ce((function(e){var t;p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+N+"*(?:value|"+A+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),t=f.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",F)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:c?Y(c,e)-Y(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==f?-1:t==f?1:r?-1:o?1:c?Y(c,e)-Y(c,t):0;if(r===o)return he(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[i]===s[i])i++;return i?he(a[i],s[i]):a[i]==w?-1:s[i]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!D[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(De){D(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&h(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&T.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ie,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(L),d){while(t=e[o++])t===e[o]&&(r=i.push(o));while(r--)e.splice(i[r],1)}return c=null,e},r=se.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[i++])n+=r(t);return n},i=se.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G["CHILD"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&M(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,f,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){while(m){h=t;while(h=h[m])if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){h=v,d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],f=u[0]===x&&u[1],b=f&&u[2],h=f&&v.childNodes[f];while(h=++f&&h&&h[m]||(b=f=0)||p.pop())if(1===h.nodeType&&++b&&h===t){c[e]=[x,f,b];break}}else if(y&&(h=t,d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],f=u[0]===x&&u[1],b=f),!1===b)while(h=++f&&h&&h[m]||(b=f=0)||p.pop())if((s?h.nodeName.toLowerCase()===g:1===h.nodeType)&&++b&&(y&&(d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[e]=[x,b]),h===t))break;return b-=r,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[_]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=Y(e,o[a]),e[i]=!(n[i]=o[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ue((function(e){var t=[],n=[],i=s(e.replace($,"$1"));return i[_]?ue((function(e,t,n,r){var o,a=i(e,null,r,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ue((function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos["empty"](e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ve((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},i.pseudos["nth"]=i.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(e,t,n){var i=t.dir,r=t.next,o=r||i,a=n&&"parentNode"===o,s=k++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,l){var u,c,d,h=[x,s];if(l){while(t=t[i])if((1===t.nodeType||a)&&e(t,n,l))return!0}else while(t=t[i])if(1===t.nodeType||a)if(d=t[_]||(t[_]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[o])&&u[0]===x&&u[1]===s)return h[2]=u[2];if(c[o]=h,h[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){var r=e.length;while(r--)if(!e[r](t,n,i))return!1;return!0}:e[0]}function xe(e,t,n){for(var i=0,r=t.length;i<r;i++)se(e,t[i],n);return n}function ke(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function Me(e,t,n,i,r,o){return i&&!i[_]&&(i=Me(i)),r&&!r[_]&&(r=Me(r,o)),ue((function(o,a,s,l){var u,c,d,h=[],f=[],p=a.length,m=o||xe(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?m:ke(m,h,e,s,l),g=n?r||(o?e:p||i)?[]:a:v;if(n&&n(v,g,s,l),i){u=ke(g,f),i(u,[],s,l),c=u.length;while(c--)(d=u[c])&&(g[f[c]]=!(v[f[c]]=d))}if(o){if(r||e){if(r){u=[],c=g.length;while(c--)(d=g[c])&&u.push(v[c]=d);r(null,g=[],u,l)}c=g.length;while(c--)(d=g[c])&&(u=r?Y(o,d):h[c])>-1&&(o[u]=!(a[u]=d))}}else g=ke(g===a?g.splice(p,g.length):g),r?r(null,a,g,l):O.apply(a,g)}))}function Se(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,c=_e((function(e){return e===t}),s,!0),d=_e((function(e){return Y(t,e)>-1}),s,!0),h=[function(e,n,i){var r=!a&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[_e(we(h),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[_]){for(r=++l;r<o;r++)if(i.relative[e[r].type])break;return Me(l>1&&we(h),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace($,"$1"),n,l<r&&Se(e.slice(l,r)),r<o&&Se(e=e.slice(r)),r<o&&be(e))}h.push(n)}return we(h)}function Ce(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,s,l,c){var d,p,v,g=0,y="0",b=o&&[],_=[],w=u,k=o||r&&i.find["TAG"]("*",c),M=x+=null==w?1:Math.random()||.1,S=k.length;for(c&&(u=a==f||a||c);y!==S&&null!=(d=k[y]);y++){if(r&&d){p=0,a||d.ownerDocument==f||(h(d),s=!m);while(v=e[p++])if(v(d,a||f,s)){l.push(d);break}c&&(x=M)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){p=0;while(v=t[p++])v(b,_,a,s);if(o){if(g>0)while(y--)b[y]||_[y]||(_[y]=P.call(l));_=ke(_)}O.apply(l,_),c&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(l)}return c&&(x=M,u=w),b};return n?ue(o):o}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,a=se.tokenize=function(e,t){var n,r,o,a,s,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=i.preFilter;while(s){for(a in n&&!(r=B.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=W.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace($," ")}),s=s.slice(n.length)),i.filter)!(r=G[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],r=[],o=C[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)o=Se(t[n]),o[_]?i.push(o):r.push(o);o=C(e,Ce(r,i)),o.selector=e}return o},l=se.select=function(e,t,n,r){var o,l,u,c,d,h="function"===typeof e&&e,f=!r&&a(e=h.selector||e);if(n=n||[],1===f.length){if(l=f[0]=f[0].slice(0),l.length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(t=(i.find["ID"](u.matches[0].replace(te,ne),t)||[])[0],!t)return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}o=G["needsContext"].test(e)?0:l.length;while(o--){if(u=l[o],i.relative[c=u.type])break;if((d=i.find[c])&&(r=d(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),e=r.length&&be(l),!e)return O.apply(n,r),n;break}}}return(h||s(e,f))(r,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(L).join("")===_,n.detectDuplicates=!!d,h(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||de(A,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),se}(n);S.find=D,S.expr=D.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=D.uniqueSort,S.text=D.getText,S.isXMLDoc=D.isXML,S.contains=D.contains,S.escapeSelector=D.escape;var L=function(e,t,n){var i=[],r=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=S.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return y(t)?S.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?S.grep(e,(function(e){return d.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!==typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<i;t++)if(S.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,r[t],n);return i>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"===typeof e&&E.test(e)?S(e):e||[],!1).length}});var I,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,A=S.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||I,"string"===typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),j.test(i[1])&&S.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return r=_.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)};A.prototype=S.fn,I=S(_);var N=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!==typeof e&&S(e);if(!E.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"===typeof e?d.call(S(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,i){var r=S.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"===typeof i&&(r=S.filter(i,r)),this.length>1&&(H[e]||S.uniqueSort(r),N.test(e)&&r.reverse()),this.pushStack(r)}}));var F=/[^\x20\t\r\n\f]+/g;function z(e){var t={};return S.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}function $(e){return e}function B(e){throw e}function W(e,t,n,i){var r;try{e&&y(r=e.promise)?r.call(e).done(t).fail(n):e&&y(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"===typeof e?z(e):S.extend({},e);var t,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||e.once,i=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){S.each(n,(function(n,i){y(i)?e.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==k(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return S.each(arguments,(function(e,t){var n;while((n=S.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,i){var r=y(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var o=0;function a(e,t,i,r){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e<o)){if(n=i.apply(s,l),n===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"===typeof n||"function"===typeof n)&&n.then,y(u)?r?u.call(n,a(o,t,$,r),a(o,t,B,r)):(o++,u.call(n,a(o,t,$,r),a(o,t,B,r),a(o,t,$,t.notifyWith))):(i!==$&&(s=void 0,l=[n]),(r||t.resolveWith)(s,l))}},c=r?u:function(){try{u()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,c.stackTrace),e+1>=o&&(i!==B&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?c():(S.Deferred.getStackHook&&(c.stackTrace=S.Deferred.getStackHook()),n.setTimeout(c))}}return S.Deferred((function(n){t[0][3].add(a(0,n,y(r)?r:$,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:$)),t[2][3].add(a(0,n,y(i)?i:B))})).promise()},promise:function(e){return null!=e?S.extend(e,r):r}},o={};return S.each(t,(function(e,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add((function(){i=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=l.call(arguments),o=S.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(W(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(r[n]&&r[n].then)))return o.then();while(n--)W(r[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout((function(){throw e}))};var U=S.Deferred();function q(){_.removeEventListener("DOMContentLoaded",q),n.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return U.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||U.resolveWith(_,[S]))}}),S.ready.then=U.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?n.setTimeout(S.ready):(_.addEventListener("DOMContentLoaded",q),n.addEventListener("load",q));var G=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;if("object"===k(n))for(s in r=!0,n)G(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,y(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(S(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},K=/^-ms-/,J=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Z(e){return e.replace(K,"ms-").replace(J,X)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=S.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"===typeof t)r[Z(t)]=n;else for(i in t)r[Z(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){Array.isArray(t)?t=t.map(Z):(t=Z(t),t=t in i?[t]:t.match(F)||[]),n=t.length;while(n--)delete i[t[n]]}(void 0===t||S.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var te=new ee,ne=new ee,ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,re=/[A-Z]/g;function oe(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ie.test(e)?JSON.parse(e):e)}function ae(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(re,"-$&").toLowerCase(),n=e.getAttribute(i),"string"===typeof n){try{n=oe(n)}catch(r){}ne.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=ne.get(o),1===o.nodeType&&!te.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=Z(i.slice(5)),ae(o,i,r[i])));te.set(o,"hasDataAttrs",!0)}return r}return"object"===typeof e?this.each((function(){ne.set(this,e)})):G(this,(function(t){var n;if(o&&void 0===t)return n=ne.get(o,e),void 0!==n?n:(n=ae(o,e),void 0!==n?n:void 0);this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=te.get(e,t),n&&(!i||Array.isArray(n)?i=te.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t),a=function(){S.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return te.get(e,n)||te.access(e,n,{empty:S.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=S.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)n=te.get(o[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,le=new RegExp("^(?:([+-])=|)("+se+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"],ce=_.documentElement,de=function(e){return S.contains(e.ownerDocument,e)},he={composed:!0};ce.getRootNode&&(de=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(he)===e.ownerDocument});var fe=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&de(e)&&"none"===S.css(e,"display")};function pe(e,t,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return S.css(e,t,"")},l=s(),u=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==u&&+l)&&le.exec(S.css(e,t));if(c&&c[3]!==u){l/=2,u=u||c[3],c=+l||1;while(a--)S.style(e,t,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var me={};function ve(e){var t,n=e.ownerDocument,i=e.nodeName,r=me[i];return r||(t=n.body.appendChild(n.createElement(i)),r=S.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),me[i]=r,r)}function ge(e,t){for(var n,i,r=[],o=0,a=e.length;o<a;o++)i=e[o],i.style&&(n=i.style.display,t?("none"===n&&(r[o]=te.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&fe(i)&&(r[o]=ve(i))):"none"!==n&&(r[o]="none",te.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}S.fn.extend({show:function(){return ge(this,!0)},hide:function(){return ge(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){fe(this)?S(this).show():S(this).hide()}))}});var ye=/^(?:checkbox|radio)$/i,be=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=_.createDocumentFragment(),t=e.appendChild(_.createElement("div")),n=_.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",g.option=!!t.lastChild})();var we={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?S.merge([e],n):n}function ke(e,t){for(var n=0,i=e.length;n<i;n++)te.set(e[n],"globalEval",!t||te.get(t[n],"globalEval"))}we.tbody=we.tfoot=we.colgroup=we.caption=we.thead,we.th=we.td,g.option||(we.optgroup=we.option=[1,"<select multiple='multiple'>","</select>"]);var Me=/<|&#?\w+;/;function Se(e,t,n,i,r){for(var o,a,s,l,u,c,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if(o=e[f],o||0===o)if("object"===k(o))S.merge(h,o.nodeType?[o]:o);else if(Me.test(o)){a=a||d.appendChild(t.createElement("div")),s=(be.exec(o)||["",""])[1].toLowerCase(),l=we[s]||we._default,a.innerHTML=l[1]+S.htmlPrefilter(o)+l[2],c=l[0];while(c--)a=a.lastChild;S.merge(h,a.childNodes),a=d.firstChild,a.textContent=""}else h.push(t.createTextNode(o));d.textContent="",f=0;while(o=h[f++])if(i&&S.inArray(o,i)>-1)r&&r.push(o);else if(u=de(o),a=xe(d.appendChild(o),"script"),u&&ke(a),n){c=0;while(o=a[c++])_e.test(o.type||"")&&n.push(o)}return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Le(){return!1}function Te(e,t){return e===Ee()===("focus"===t)}function Ee(){try{return _.activeElement}catch(e){}}function Pe(e,t,n,i,r,o){var a,s;if("object"===typeof t){for(s in"string"!==typeof n&&(i=i||n,n=void 0),t)Pe(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"===typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Le;else if(!r)return e;return 1===o&&(a=r,r=function(e){return S().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,r,i,n)}))}function je(e,t,n){n?(te.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=te.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=l.call(arguments),te.set(this,t,o),i=n(this,t),this[t](),r=te.get(this,t),o!==r||i?te.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else o.length&&(te.set(this,t,{value:S.event.trigger(S.extend(o[0],S.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&S.event.add(e,t,De)}S.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,u,c,d,h,f,p,m,v=te.get(e);if(Q(e)){n.handler&&(o=n,n=o.handler,r=o.selector),r&&S.find.matchesSelector(ce,r),n.guid||(n.guid=S.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return"undefined"!==typeof S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(F)||[""],u=t.length;while(u--)s=Ce.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(d=S.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=S.event.special[f]||{},c=S.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),S.event.global[f]=!0)}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,h,f,p,m,v=te.hasData(e)&&te.get(e);if(v&&(l=v.events)){t=(t||"").match(F)||[""],u=t.length;while(u--)if(s=Ce.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){d=S.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;while(o--)c=h[o],!r&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,v.handle)||S.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)S.event.remove(e,f+t[u],n,i,!0);S.isEmptyObject(l)&&te.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=new Array(arguments.length),l=S.event.fix(e),u=(te.get(this,"events")||Object.create(null))[l.type]||[],c=S.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){a=S.event.handlers.call(this,l,u),t=0;while((r=a[t++])&&!l.isPropagationStopped()){l.currentTarget=r.elem,n=0;while((o=r.handlers[n++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,i=((S.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s),void 0!==i&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)i=t[n],r=i.selector+" ",void 0===a[r]&&(a[r]=i.needsContext?S(r,this).index(u)>-1:S.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&je(t,"click",De),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&P(t,"input")&&te.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Le,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Le,isPropagationStopped:Le,isImmediatePropagationStopped:Le,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return je(this,e,Te),!1},trigger:function(){return je(this,e),!0},_default:function(){return!0},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||S.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,i){return Pe(this,e,t,n,i)},one:function(e,t,n,i){return Pe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=Le),this.each((function(){S.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ae(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,i,r,o,a,s,l;if(1===t.nodeType){if(te.hasData(e)&&(o=te.get(e),l=o.events,l))for(r in te.remove(t,"handle events"),l)for(n=0,i=l[r].length;n<i;n++)S.event.add(t,r,l[r][n]);ne.hasData(e)&&(a=ne.access(e),s=S.extend({},a),ne.set(t,s))}}function Fe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ze(e,t,n,i){t=u(t);var r,o,a,s,l,c,d=0,h=e.length,f=h-1,p=t[0],m=y(p);if(m||h>1&&"string"===typeof p&&!g.checkClone&&Ie.test(p))return e.each((function(r){var o=e.eq(r);m&&(t[0]=p.call(this,r,o.html())),ze(o,t,n,i)}));if(h&&(r=Se(t,e[0].ownerDocument,!1,e,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=S.map(xe(r,"script"),Ne),s=a.length;d<h;d++)l=r,d!==f&&(l=S.clone(l,!0,!0),s&&S.merge(a,xe(l,"script"))),n.call(e[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,S.map(a,He),d=0;d<s;d++)l=a[d],_e.test(l.type||"")&&!te.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):x(l.textContent.replace(Ye,""),l,c))}return e}function $e(e,t,n){for(var i,r=t?S.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||S.cleanData(xe(i)),i.parentNode&&(n&&de(i)&&ke(xe(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),l=de(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!S.isXMLDoc(e))for(a=xe(s),o=xe(e),i=0,r=o.length;i<r;i++)Fe(o[i],a[i]);if(t)if(n)for(o=o||xe(e),a=a||xe(s),i=0,r=o.length;i<r;i++)Re(o[i],a[i]);else Re(e,s);return a=xe(s,"script"),a.length>0&&ke(a,!l&&xe(e,"script")),s},cleanData:function(e){for(var t,n,i,r=S.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[te.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[te.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),S.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return G(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.appendChild(e)}}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Oe.test(e)&&!we[(be.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(S.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,i=[],r=S(e),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),S(r[a])[t](n),c.apply(i,n.get());return this.pushStack(i)}}));var Be=new RegExp("^("+se+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},Ue=new RegExp(ue.join("|"),"i");function qe(e,t,n){var i,r,o,a,s=e.style;return n=n||We(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||de(e)||(a=S.style(e,t)),!g.pixelBoxStyles()&&Be.test(a)&&Ue.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ce.appendChild(u).appendChild(c);var e=n.getComputedStyle(c);i="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),r=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ce.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var i,r,o,a,s,l,u=_.createElement("div"),c=_.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,i,r;return null==s&&(e=_.createElement("table"),t=_.createElement("tr"),i=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",ce.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),s=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,ce.removeChild(e)),s}}))})();var Ke=["Webkit","Moz","ms"],Je=_.createElement("div").style,Xe={};function Ze(e){var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;while(n--)if(e=Ke[n]+t,e in Je)return e}function Qe(e){var t=S.cssProps[e]||Xe[e];return t||(e in Je?e:Xe[e]=Ze(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var i=le.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ot(e,t,n,i,r,o){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=S.css(e,n+ue[a],!0,r)),i?("content"===n&&(l-=S.css(e,"padding"+ue[a],!0,r)),"margin"!==n&&(l-=S.css(e,"border"+ue[a]+"Width",!0,r))):(l+=S.css(e,"padding"+ue[a],!0,r),"padding"!==n?l+=S.css(e,"border"+ue[a]+"Width",!0,r):s+=S.css(e,"border"+ue[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function at(e,t,n){var i=We(e),r=!g.boxSizingReliable()||n,o=r&&"border-box"===S.css(e,"boxSizing",!1,i),a=o,s=qe(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&P(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===S.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===S.css(e,"boxSizing",!1,i),a=l in e,a&&(s=e[l])),s=parseFloat(s)||0,s+ot(e,t,n||(o?"border":"content"),a,i,s)+"px"}function st(e,t,n,i,r){return new st.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=Z(t),l=tt.test(t),u=e.style;if(l||(t=Qe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:u[t];o=typeof n,"string"===o&&(r=le.exec(n))&&r[1]&&(n=pe(e,t,r),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=r&&r[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o,a,s=Z(t),l=tt.test(t);return l||(t=Qe(s)),a=S.cssHooks[t]||S.cssHooks[s],a&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=qe(e,t,i)),"normal"===r&&t in it&&(r=it[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,i){if(n)return!et.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,i):Ve(e,nt,(function(){return at(e,t,i)}))},set:function(e,n,i){var r,o=We(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=a||i,l=s&&"border-box"===S.css(e,"boxSizing",!1,o),u=i?ot(e,t,i,l,o):0;return l&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ot(e,t,"border",!1,o)-.5)),u&&(r=le.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),rt(e,n,u)}}})),S.cssHooks.marginLeft=Ge(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"===typeof n?n.split(" "):[n];i<4;i++)r[e+ue[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(S.cssHooks[e+t].set=rt)})),S.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=We(e),r=t.length;a<r;a++)o[t[a]]=S.css(e,t[a],!1,i);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=st,st.prototype={constructor:st,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=st.prototype.init,S.fx.step={};var lt,ut,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function ht(){ut&&(!1===_.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ht):n.setTimeout(ht,S.fx.interval),S.fx.tick())}function ft(){return n.setTimeout((function(){lt=void 0})),lt=Date.now()}function pt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)n=ue[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function mt(e,t,n){for(var i,r=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function vt(e,t,n){var i,r,o,a,s,l,u,c,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&fe(e),v=te.get(e,"fxshow");for(i in n.queue||(a=S._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[i],ct.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;m=!0}f[i]=v&&v[i]||S.style(e,i)}if(l=!S.isEmptyObject(t),l||!S.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=v&&v.display,null==u&&(u=te.get(e,"display")),c=S.css(e,"display"),"none"===c&&(u?c=u:(ge([e],!0),u=e.style.display||u,c=S.css(e,"display"),ge([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===S.css(e,"float")&&(l||(h.done((function(){p.display=u})),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(v?"hidden"in v&&(m=v.hidden):v=te.access(e,"fxshow",{display:u}),o&&(v.hidden=!m),m&&ge([e],!0),h.done((function(){for(i in m||ge([e]),te.remove(e,"fxshow"),f)S.style(e,i,f[i])}))),l=mt(m?v[i]:0,i,h),i in v||(v[i]=l.start,m&&(l.end=l.start,l.start=0))}function gt(e,t){var n,i,r,o,a;for(n in e)if(i=Z(n),r=t[i],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),a=S.cssHooks[i],a&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function yt(e,t,n){var i,r,o=0,a=yt.prefilters.length,s=S.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=lt||ft(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),o<1&&l?n:(l||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||ft(),duration:n.duration,tweens:[],createTween:function(t,n){var i=S.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(gt(c,u.opts.specialEasing);o<a;o++)if(i=yt.prefilters[o].call(u,e,c,u.opts),i)return y(i.stop)&&(S._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return S.map(c,mt,u),y(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}S.Animation=S.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return pe(n.elem,e,le.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(F);for(var n,i=0,r=e.length;i<r;i++)n=e[i],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[vt],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"===typeof e?S.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return S.fx.off?i.duration=0:"number"!==typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(fe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=S.isEmptyObject(e),o=S.speed(t,n,i),a=function(){var t=yt(this,S.extend({},e),o);(r||te.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=S.timers,a=te.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&dt.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=te.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=S.timers,a=i?i.length:0;for(n.finish=!0,S.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,i,r){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(pt(t,!0),e,i,r)}})),S.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(lt=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),lt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ut||(ut=!0,ht())},S.fx.stop=function(){ut=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}}))},function(){var e=_.createElement("input"),t=_.createElement("select"),n=t.appendChild(_.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=n.selected,e=_.createElement("input"),e.value="t",e.type="radio",g.radioValue="t"===e.value}();var bt,_t=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return G(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=S.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(F);if(r&&1===e.nodeType)while(n=r[i++])e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=_t[t]||S.find.attr;_t[t]=function(e,t,i){var r,o,a=t.toLowerCase();return i||(o=_t[a],_t[a]=r,r=null!=n(e,t,i)?a:null,_t[a]=o),r}}));var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function kt(e){var t=e.match(F)||[];return t.join(" ")}function Mt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(F)||[]}S.fn.extend({prop:function(e,t){return G(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,l=0;if(y(e))return this.each((function(t){S(this).addClass(e.call(this,t,Mt(this)))}));if(t=St(e),t.length)while(n=this[l++])if(r=Mt(n),i=1===n.nodeType&&" "+kt(r)+" ",i){a=0;while(o=t[a++])i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=kt(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,l=0;if(y(e))return this.each((function(t){S(this).removeClass(e.call(this,t,Mt(this)))}));if(!arguments.length)return this.attr("class","");if(t=St(e),t.length)while(n=this[l++])if(r=Mt(n),i=1===n.nodeType&&" "+kt(r)+" ",i){a=0;while(o=t[a++])while(i.indexOf(" "+o+" ")>-1)i=i.replace(" "+o+" "," ");s=kt(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"===typeof t&&i?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,Mt(this),t),t)})):this.each((function(){var t,r,o,a;if(i){r=0,o=S(this),a=St(e);while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||(t=Mt(this),t&&te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;t=" "+e+" ";while(n=this[i++])if(1===n.nodeType&&(" "+kt(Mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;S.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=y(e),this.each((function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,S(this).val()):e,null==r?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=S.map(r,(function(e){return null==e?"":e+""}))),t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"===typeof n?n.replace(Ct,""):null==n?"":n)):void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:kt(S.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(n=r[i],(n.selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,i,r=e.options,o=S.makeArray(t),a=r.length;while(a--)i=r[a],(i.selected=S.inArray(S.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,r){var o,a,s,l,u,c,d,h,f=[i||_],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=h=s=i=i||_,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,e=e[S.expando]?e:new S.Event(m,"object"===typeof e&&e),e.isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!b(i)){for(l=d.delegateType||m,Dt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||_)&&f.push(s.defaultView||s.parentWindow||n)}o=0;while((a=f[o++])&&!e.isPropagationStopped())h=a,e.type=o>1?l:d.bindType||m,c=(te.get(a,"events")||Object.create(null))[e.type]&&te.get(a,"handle"),c&&c.apply(a,t),c=u&&a[u],c&&c.apply&&Q(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Q(i)||u&&y(i[m])&&!b(i)&&(s=i[u],s&&(i[u]=null),S.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Lt),i[m](),e.isPropagationStopped()&&h.removeEventListener(m,Lt),S.event.triggered=void 0,s&&(i[u]=s)),e.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t);r||i.addEventListener(e,n,!0),te.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t)-1;r?te.access(i,t,r):(i.removeEventListener(e,n,!0),te.remove(i,t))}}}));var Tt=n.location,Et={guid:Date.now()},Pt=/\?/;S.parseXML=function(e){var t,i;if(!e||"string"!==typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(r){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||S.error("Invalid XML: "+(i?S.map(i.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/\[\]$/,Ot=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Yt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,i){var r;if(Array.isArray(t))S.each(t,(function(t,r){n||jt.test(e)?i(e,r):At(e+"["+("object"===typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==k(t))i(e,t);else for(r in t)At(e+"["+r+"]",t[r],n,i)}S.param=function(e,t){var n,i=[],r=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){r(this.name,this.value)}));else for(n in e)At(n,e[n],t,r);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Yt.test(this.nodeName)&&!It.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var Nt=/%20/g,Ht=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,$t=/^(?:GET|HEAD)$/,Bt=/^\/\//,Wt={},Vt={},Ut="*/".concat("*"),qt=_.createElement("a");function Gt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(F)||[];if(y(n))while(i=o[r++])"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var r={},o=e===Vt;function a(s){var l;return r[s]=!0,S.each(e[s]||[],(function(e,s){var u=s(t,n,i);return"string"!==typeof u||o||r[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Jt(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&S.extend(!0,e,i),e}function Xt(e,t,n){var i,r,o,a,s=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function Zt(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift(),o)if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]],a)){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}qt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:zt.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Gt(Wt),ajaxTransport:Gt(Vt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,a,s,l,u,c,d,h,f=S.ajaxSetup({},t),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?S(p):S.event,v=S.Deferred(),g=S.Callbacks("once memory"),y=f.statusCode||{},b={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a){a={};while(t=Ft.exec(o))a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),M(0,t),this}};if(v.promise(k),f.url=((e||f.url||Tt.href)+"").replace(Bt,Tt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){l=_.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=qt.protocol+"//"+qt.host!==l.protocol+"//"+l.host}catch(C){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!==typeof f.data&&(f.data=S.param(f.data,f.traditional)),Kt(Wt,f,t,k),u)return k;for(d in c=S.event&&f.global,c&&0===S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!$t.test(f.type),r=f.url.replace(Ht,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(h=f.url.slice(r.length),f.data&&(f.processData||"string"===typeof f.data)&&(r+=(Pt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Rt,"$1"),h=(Pt.test(r)?"&":"?")+"_="+Et.guid+++h),f.url=r+h),f.ifModified&&(S.lastModified[r]&&k.setRequestHeader("If-Modified-Since",S.lastModified[r]),S.etag[r]&&k.setRequestHeader("If-None-Match",S.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,k,f)||u))return k.abort();if(x="abort",g.add(f.complete),k.done(f.success),k.fail(f.error),i=Kt(Vt,f,t,k),i){if(k.readyState=1,c&&m.trigger("ajaxSend",[k,f]),u)return k;f.async&&f.timeout>0&&(s=n.setTimeout((function(){k.abort("timeout")}),f.timeout));try{u=!1,i.send(b,M)}catch(C){if(u)throw C;M(-1,C)}}else M(-1,"No Transport");function M(e,t,a,l){var d,h,b,_,w,x=t;u||(u=!0,s&&n.clearTimeout(s),i=void 0,o=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=Xt(f,k,a)),!d&&S.inArray("script",f.dataTypes)>-1&&S.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),_=Zt(f,_,k,d),d?(f.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(S.lastModified[r]=w),w=k.getResponseHeader("etag"),w&&(S.etag[r]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=_.state,h=_.data,b=_.error,d=!b)):(b=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",d?v.resolveWith(p,[h,x,k]):v.rejectWith(p,[k,x,b]),k.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,f,d?h:b]),g.fireWith(p,[k,x]),c&&(m.trigger("ajaxComplete",[k,f]),--S.active||S.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,i,r){return y(n)&&(r=r||i,i=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:r,data:n,success:i},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},en=S.ajaxSettings.xhr();g.cors=!!en&&"withCredentials"in en,g.ajax=en=!!en,S.ajaxTransport((function(e){var t,i;if(g.cors||en&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var tn=[],nn=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||S.expando+"_"+Et.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,i){var r,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||S.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always((function(){void 0===o?S(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),g.createHTMLDocument=function(){var e=_.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),S.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?(t=_.implementation.createHTMLDocument(""),i=t.createElement("base"),i.href=_.location.href,t.head.appendChild(i)):t=_),r=j.exec(e),o=!n&&[],r?[t.createElement(r[1])]:(r=Se([e],t,o),o&&o.length&&S(o).remove(),S.merge([],r.childNodes)));var i,r,o},S.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return s>-1&&(i=kt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"===typeof t&&(r="POST"),a.length>0&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u,c=S.css(e,"position"),d=S(e),h={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=S.css(e,"top"),l=S.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),y(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(h.top=t.top-s.top+a),null!=t.left&&(h.left=t.left-s.left+r),"using"in t?t.using.call(e,h):d.css(h)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==i&&1===e.nodeType&&(r=S(e).offset(),r.top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(i,"marginTop",!0),left:t.left-r.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||ce}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(i){return G(this,(function(e,i,r){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ge(g.pixelPosition,(function(e,n){if(n)return n=qe(e,t),Be.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){S.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!==typeof r),s=n||(!0===r||!0===o?"margin":"border");return G(this,(function(t,n,r){var o;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?S.css(t,n,s):S.style(t,n,r,s)}),t,a?r:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,i,r;if("string"===typeof t&&(n=e[t],t=e,e=n),y(e))return i=l.call(arguments,2),r=function(){return e.apply(t||this,i.concat(l.call(arguments)))},r.guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=P,S.isFunction=y,S.isWindow=b,S.camelCase=Z,S.type=k,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(rn,"")},i=[],r=function(){return S}.apply(t,i),void 0===r||(e.exports=r);var on=n.jQuery,an=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=an),e&&n.jQuery===S&&(n.jQuery=on),S},"undefined"===typeof o&&(n.jQuery=n.$=S),S}))},c754:function(e,t,n){var i=n("7bb6"),r=n("92e1"),o=n("0ae0"),a=n("ca48"),s=n("2a82"),l=[],u=a("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=c.exec,h=!c.exec((function(){})),f=function(e){if(!r(e))return!1;try{return u(Object,l,e),!0}catch(t){return!1}},p=function(e){if(!r(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d.call(c,s(e))};e.exports=!u||i((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?p:f},c785:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},c7cd:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(o,(function(t,i,o,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?o:(s=(0,r.hasOwn)(n,o)?n[o]:null,null===s||void 0===s?"":s)}))}return t};var r=n("e57c"),o=/(%|)\{([0-9a-zA-Z_]+)\}/g},c87d:function(e,t,n){var i=n("d43b"),r=n("61b4"),o=n("607d").indexOf,a=n("ebfe");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)!i(a,n)&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},c903:function(e,t,n){var i=n("ca48");e.exports=i("navigator","userAgent")||""},ca47:function(e,t,n){var i=n("60f8");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},ca48:function(e,t,n){var i=n("b20c"),r=n("92e1"),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e]):i[e]&&i[e][t]}},caaf:function(e,t,n){(function(e){var t;//! moment.js
|
|
304
|
+
function(e){var t,n,i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,x=0,k=0,M=le(),S=le(),C=le(),D=le(),L=function(e,t){return e===t&&(d=!0),0},T={}.hasOwnProperty,E=[],P=E.pop,j=E.push,O=E.push,I=E.slice,Y=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},A="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+N+"*("+H+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+N+"*\\]",F=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",z=new RegExp(N+"+","g"),$=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),B=new RegExp("^"+N+"*,"+N+"*"),W=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),V=new RegExp(N+"|>"),U=new RegExp(F),q=new RegExp("^"+H+"$"),G={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+A+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(E=I.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(De){O={apply:E.length?function(e,t){j.apply(e,I.call(t))}:function(e,t){var n=e.length,i=0;while(e[n++]=t[i++]);e.length=n-1}}}function se(e,t,i,r){var o,s,u,c,d,p,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!==typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!r&&(h(t),t=t||f,m)){if(11!==w&&(d=Q.exec(e)))if(o=d[1]){if(9===w){if(!(u=t.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(y&&(u=y.getElementById(o))&&b(t,u)&&u.id===o)return i.push(u),i}else{if(d[2])return O.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!D[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(V.test(e)||W.test(e))){y=ee.test(e)&&ge(t.parentNode)||t,y===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(ie,re):t.setAttribute("id",c=_)),p=a(e),s=p.length;while(s--)p[s]=(c?"#"+c:":scope")+" "+be(p[s]);g=p.join(",")}try{return O.apply(i,y.querySelectorAll(g)),i}catch(x){D(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return l(e.replace($,"$1"),t,i,r)}function le(){var e=[];function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}return t}function ue(e){return e[_]=!0,e}function ce(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(De){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){var n=e.split("|"),r=n.length;while(r--)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ue((function(t){return t=+t,ue((function(n,i){var r,o=e([],n.length,t),a=o.length;while(a--)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function ge(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},h=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(f=a,p=f.documentElement,m=!o(f),w!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ce((function(e){return p.appendChild(e).appendChild(f.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=ce((function(e){return p.appendChild(e).id=_,!f.getElementsByName||!f.getElementsByName(_).length})),n.getById?(i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter["ID"]=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find["ID"]=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n,i,r,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];r=t.getElementsByName(e),i=0;while(o=r[i++])if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),i.find["TAG"]=n.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[r++])1===n.nodeType&&i.push(n);return i}return o},i.find["CLASS"]=n.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Z.test(f.querySelectorAll))&&(ce((function(e){var t;p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+N+"*(?:value|"+A+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),t=f.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",F)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&i||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:c?Y(c,e)-Y(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!r||!o)return e==f?-1:t==f?1:r?-1:o?1:c?Y(c,e)-Y(c,t):0;if(r===o)return he(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[i]===s[i])i++;return i?he(a[i],s[i]):a[i]==w?-1:s[i]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!D[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(De){D(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&h(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&T.call(i.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ie,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(L),d){while(t=e[o++])t===e[o]&&(r=i.push(o));while(r--)e.splice(i[r],1)}return c=null,e},r=se.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[i++])n+=r(t);return n},i=se.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G["CHILD"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&M(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,f,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){while(m){h=t;while(h=h[m])if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){h=v,d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],f=u[0]===x&&u[1],b=f&&u[2],h=f&&v.childNodes[f];while(h=++f&&h&&h[m]||(b=f=0)||p.pop())if(1===h.nodeType&&++b&&h===t){c[e]=[x,f,b];break}}else if(y&&(h=t,d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],f=u[0]===x&&u[1],b=f),!1===b)while(h=++f&&h&&h[m]||(b=f=0)||p.pop())if((s?h.nodeName.toLowerCase()===g:1===h.nodeType)&&++b&&(y&&(d=h[_]||(h[_]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[e]=[x,b]),h===t))break;return b-=r,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[_]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=Y(e,o[a]),e[i]=!(n[i]=o[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ue((function(e){var t=[],n=[],i=s(e.replace($,"$1"));return i[_]?ue((function(e,t,n,r){var o,a=i(e,null,r,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ue((function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos["empty"](e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:ve((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},i.pseudos["nth"]=i.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(e,t,n){var i=t.dir,r=t.next,o=r||i,a=n&&"parentNode"===o,s=k++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,l){var u,c,d,h=[x,s];if(l){while(t=t[i])if((1===t.nodeType||a)&&e(t,n,l))return!0}else while(t=t[i])if(1===t.nodeType||a)if(d=t[_]||(t[_]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[o])&&u[0]===x&&u[1]===s)return h[2]=u[2];if(c[o]=h,h[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){var r=e.length;while(r--)if(!e[r](t,n,i))return!1;return!0}:e[0]}function xe(e,t,n){for(var i=0,r=t.length;i<r;i++)se(e,t[i],n);return n}function ke(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function Me(e,t,n,i,r,o){return i&&!i[_]&&(i=Me(i)),r&&!r[_]&&(r=Me(r,o)),ue((function(o,a,s,l){var u,c,d,h=[],f=[],p=a.length,m=o||xe(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?m:ke(m,h,e,s,l),g=n?r||(o?e:p||i)?[]:a:v;if(n&&n(v,g,s,l),i){u=ke(g,f),i(u,[],s,l),c=u.length;while(c--)(d=u[c])&&(g[f[c]]=!(v[f[c]]=d))}if(o){if(r||e){if(r){u=[],c=g.length;while(c--)(d=g[c])&&u.push(v[c]=d);r(null,g=[],u,l)}c=g.length;while(c--)(d=g[c])&&(u=r?Y(o,d):h[c])>-1&&(o[u]=!(a[u]=d))}}else g=ke(g===a?g.splice(p,g.length):g),r?r(null,a,g,l):O.apply(a,g)}))}function Se(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,c=_e((function(e){return e===t}),s,!0),d=_e((function(e){return Y(t,e)>-1}),s,!0),h=[function(e,n,i){var r=!a&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[_e(we(h),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[_]){for(r=++l;r<o;r++)if(i.relative[e[r].type])break;return Me(l>1&&we(h),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace($,"$1"),n,l<r&&Se(e.slice(l,r)),r<o&&Se(e=e.slice(r)),r<o&&be(e))}h.push(n)}return we(h)}function Ce(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,s,l,c){var d,p,v,g=0,y="0",b=o&&[],_=[],w=u,k=o||r&&i.find["TAG"]("*",c),M=x+=null==w?1:Math.random()||.1,S=k.length;for(c&&(u=a==f||a||c);y!==S&&null!=(d=k[y]);y++){if(r&&d){p=0,a||d.ownerDocument==f||(h(d),s=!m);while(v=e[p++])if(v(d,a||f,s)){l.push(d);break}c&&(x=M)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){p=0;while(v=t[p++])v(b,_,a,s);if(o){if(g>0)while(y--)b[y]||_[y]||(_[y]=P.call(l));_=ke(_)}O.apply(l,_),c&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(l)}return c&&(x=M,u=w),b};return n?ue(o):o}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,a=se.tokenize=function(e,t){var n,r,o,a,s,l,u,c=S[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=i.preFilter;while(s){for(a in n&&!(r=B.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=W.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace($," ")}),s=s.slice(n.length)),i.filter)!(r=G[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],r=[],o=C[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)o=Se(t[n]),o[_]?i.push(o):r.push(o);o=C(e,Ce(r,i)),o.selector=e}return o},l=se.select=function(e,t,n,r){var o,l,u,c,d,h="function"===typeof e&&e,f=!r&&a(e=h.selector||e);if(n=n||[],1===f.length){if(l=f[0]=f[0].slice(0),l.length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&i.relative[l[1].type]){if(t=(i.find["ID"](u.matches[0].replace(te,ne),t)||[])[0],!t)return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}o=G["needsContext"].test(e)?0:l.length;while(o--){if(u=l[o],i.relative[c=u.type])break;if((d=i.find[c])&&(r=d(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),e=r.length&&be(l),!e)return O.apply(n,r),n;break}}}return(h||s(e,f))(r,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(L).join("")===_,n.detectDuplicates=!!d,h(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||de(A,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),se}(n);S.find=D,S.expr=D.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=D.uniqueSort,S.text=D.getText,S.isXMLDoc=D.isXML,S.contains=D.contains,S.escapeSelector=D.escape;var L=function(e,t,n){var i=[],r=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=S.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return y(t)?S.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?S.grep(e,(function(e){return d.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!==typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<i;t++)if(S.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)S.find(e,r[t],n);return i>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"===typeof e&&E.test(e)?S(e):e||[],!1).length}});var I,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,A=S.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||I,"string"===typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),j.test(i[1])&&S.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return r=_.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)};A.prototype=S.fn,I=S(_);var N=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],a="string"!==typeof e&&S(e);if(!E.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?"string"===typeof e?d.call(S(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,i){var r=S.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"===typeof i&&(r=S.filter(i,r)),this.length>1&&(H[e]||S.uniqueSort(r),N.test(e)&&r.reverse()),this.pushStack(r)}}));var F=/[^\x20\t\r\n\f]+/g;function z(e){var t={};return S.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}function $(e){return e}function B(e){throw e}function W(e,t,n,i){var r;try{e&&y(r=e.promise)?r.call(e).done(t).fail(n):e&&y(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"===typeof e?z(e):S.extend({},e);var t,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||e.once,i=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){S.each(n,(function(n,i){y(i)?e.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==k(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return S.each(arguments,(function(e,t){var n;while((n=S.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,i){var r=y(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var o=0;function a(e,t,i,r){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e<o)){if(n=i.apply(s,l),n===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"===typeof n||"function"===typeof n)&&n.then,y(u)?r?u.call(n,a(o,t,$,r),a(o,t,B,r)):(o++,u.call(n,a(o,t,$,r),a(o,t,B,r),a(o,t,$,t.notifyWith))):(i!==$&&(s=void 0,l=[n]),(r||t.resolveWith)(s,l))}},c=r?u:function(){try{u()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,c.stackTrace),e+1>=o&&(i!==B&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?c():(S.Deferred.getStackHook&&(c.stackTrace=S.Deferred.getStackHook()),n.setTimeout(c))}}return S.Deferred((function(n){t[0][3].add(a(0,n,y(r)?r:$,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:$)),t[2][3].add(a(0,n,y(i)?i:B))})).promise()},promise:function(e){return null!=e?S.extend(e,r):r}},o={};return S.each(t,(function(e,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add((function(){i=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=l.call(arguments),o=S.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(W(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(r[n]&&r[n].then)))return o.then();while(n--)W(r[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){n.setTimeout((function(){throw e}))};var U=S.Deferred();function q(){_.removeEventListener("DOMContentLoaded",q),n.removeEventListener("load",q),S.ready()}S.fn.ready=function(e){return U.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||U.resolveWith(_,[S]))}}),S.ready.then=U.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?n.setTimeout(S.ready):(_.addEventListener("DOMContentLoaded",q),n.addEventListener("load",q));var G=function(e,t,n,i,r,o,a){var s=0,l=e.length,u=null==n;if("object"===k(n))for(s in r=!0,n)G(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,y(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(S(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:u?t.call(e):l?t(e[0],n):o},K=/^-ms-/,J=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Z(e){return e.replace(K,"ms-").replace(J,X)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=S.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"===typeof t)r[Z(t)]=n;else for(i in t)r[Z(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){Array.isArray(t)?t=t.map(Z):(t=Z(t),t=t in i?[t]:t.match(F)||[]),n=t.length;while(n--)delete i[t[n]]}(void 0===t||S.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var te=new ee,ne=new ee,ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,re=/[A-Z]/g;function oe(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ie.test(e)?JSON.parse(e):e)}function ae(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(re,"-$&").toLowerCase(),n=e.getAttribute(i),"string"===typeof n){try{n=oe(n)}catch(r){}ne.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=ne.get(o),1===o.nodeType&&!te.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=Z(i.slice(5)),ae(o,i,r[i])));te.set(o,"hasDataAttrs",!0)}return r}return"object"===typeof e?this.each((function(){ne.set(this,e)})):G(this,(function(t){var n;if(o&&void 0===t)return n=ne.get(o,e),void 0!==n?n:(n=ae(o,e),void 0!==n?n:void 0);this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=te.get(e,t),n&&(!i||Array.isArray(n)?i=te.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t),a=function(){S.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return te.get(e,n)||te.access(e,n,{empty:S.Callbacks("once memory").add((function(){te.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=S.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)n=te.get(o[a],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var se=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,le=new RegExp("^(?:([+-])=|)("+se+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"],ce=_.documentElement,de=function(e){return S.contains(e.ownerDocument,e)},he={composed:!0};ce.getRootNode&&(de=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(he)===e.ownerDocument});var fe=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&de(e)&&"none"===S.css(e,"display")};function pe(e,t,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return S.css(e,t,"")},l=s(),u=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==u&&+l)&&le.exec(S.css(e,t));if(c&&c[3]!==u){l/=2,u=u||c[3],c=+l||1;while(a--)S.style(e,t,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var me={};function ve(e){var t,n=e.ownerDocument,i=e.nodeName,r=me[i];return r||(t=n.body.appendChild(n.createElement(i)),r=S.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),me[i]=r,r)}function ge(e,t){for(var n,i,r=[],o=0,a=e.length;o<a;o++)i=e[o],i.style&&(n=i.style.display,t?("none"===n&&(r[o]=te.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&fe(i)&&(r[o]=ve(i))):"none"!==n&&(r[o]="none",te.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}S.fn.extend({show:function(){return ge(this,!0)},hide:function(){return ge(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){fe(this)?S(this).show():S(this).hide()}))}});var ye=/^(?:checkbox|radio)$/i,be=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=_.createDocumentFragment(),t=e.appendChild(_.createElement("div")),n=_.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",g.option=!!t.lastChild})();var we={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?S.merge([e],n):n}function ke(e,t){for(var n=0,i=e.length;n<i;n++)te.set(e[n],"globalEval",!t||te.get(t[n],"globalEval"))}we.tbody=we.tfoot=we.colgroup=we.caption=we.thead,we.th=we.td,g.option||(we.optgroup=we.option=[1,"<select multiple='multiple'>","</select>"]);var Me=/<|&#?\w+;/;function Se(e,t,n,i,r){for(var o,a,s,l,u,c,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if(o=e[f],o||0===o)if("object"===k(o))S.merge(h,o.nodeType?[o]:o);else if(Me.test(o)){a=a||d.appendChild(t.createElement("div")),s=(be.exec(o)||["",""])[1].toLowerCase(),l=we[s]||we._default,a.innerHTML=l[1]+S.htmlPrefilter(o)+l[2],c=l[0];while(c--)a=a.lastChild;S.merge(h,a.childNodes),a=d.firstChild,a.textContent=""}else h.push(t.createTextNode(o));d.textContent="",f=0;while(o=h[f++])if(i&&S.inArray(o,i)>-1)r&&r.push(o);else if(u=de(o),a=xe(d.appendChild(o),"script"),u&&ke(a),n){c=0;while(o=a[c++])_e.test(o.type||"")&&n.push(o)}return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Le(){return!1}function Te(e,t){return e===Ee()===("focus"===t)}function Ee(){try{return _.activeElement}catch(e){}}function Pe(e,t,n,i,r,o){var a,s;if("object"===typeof t){for(s in"string"!==typeof n&&(i=i||n,n=void 0),t)Pe(e,s,n,i,t[s],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"===typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Le;else if(!r)return e;return 1===o&&(a=r,r=function(e){return S().off(e),a.apply(this,arguments)},r.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,r,i,n)}))}function je(e,t,n){n?(te.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=te.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=l.call(arguments),te.set(this,t,o),i=n(this,t),this[t](),r=te.get(this,t),o!==r||i?te.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else o.length&&(te.set(this,t,{value:S.event.trigger(S.extend(o[0],S.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&S.event.add(e,t,De)}S.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,u,c,d,h,f,p,m,v=te.get(e);if(Q(e)){n.handler&&(o=n,n=o.handler,r=o.selector),r&&S.find.matchesSelector(ce,r),n.guid||(n.guid=S.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return"undefined"!==typeof S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(F)||[""],u=t.length;while(u--)s=Ce.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f&&(d=S.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=S.event.special[f]||{},c=S.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),S.event.global[f]=!0)}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,h,f,p,m,v=te.hasData(e)&&te.get(e);if(v&&(l=v.events)){t=(t||"").match(F)||[""],u=t.length;while(u--)if(s=Ce.exec(t[u])||[],f=m=s[1],p=(s[2]||"").split(".").sort(),f){d=S.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;while(o--)c=h[o],!r&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,v.handle)||S.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)S.event.remove(e,f+t[u],n,i,!0);S.isEmptyObject(l)&&te.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,a,s=new Array(arguments.length),l=S.event.fix(e),u=(te.get(this,"events")||Object.create(null))[l.type]||[],c=S.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){a=S.event.handlers.call(this,l,u),t=0;while((r=a[t++])&&!l.isPropagationStopped()){l.currentTarget=r.elem,n=0;while((o=r.handlers[n++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,i=((S.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s),void 0!==i&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)i=t[n],r=i.selector+" ",void 0===a[r]&&(a[r]=i.needsContext?S(r,this).index(u)>-1:S.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&je(t,"click",De),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&P(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&P(t,"input")&&te.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Le,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Le,isPropagationStopped:Le,isImmediatePropagationStopped:Le,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return je(this,e,Te),!1},trigger:function(){return je(this,e),!0},_default:function(){return!0},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||S.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,i){return Pe(this,e,t,n,i)},one:function(e,t,n,i){return Pe(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,S(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=Le),this.each((function(){S.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ae(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,i,r,o,a,s,l;if(1===t.nodeType){if(te.hasData(e)&&(o=te.get(e),l=o.events,l))for(r in te.remove(t,"handle events"),l)for(n=0,i=l[r].length;n<i;n++)S.event.add(t,r,l[r][n]);ne.hasData(e)&&(a=ne.access(e),s=S.extend({},a),ne.set(t,s))}}function Fe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ze(e,t,n,i){t=u(t);var r,o,a,s,l,c,d=0,h=e.length,f=h-1,p=t[0],m=y(p);if(m||h>1&&"string"===typeof p&&!g.checkClone&&Ie.test(p))return e.each((function(r){var o=e.eq(r);m&&(t[0]=p.call(this,r,o.html())),ze(o,t,n,i)}));if(h&&(r=Se(t,e[0].ownerDocument,!1,e,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=S.map(xe(r,"script"),Ne),s=a.length;d<h;d++)l=r,d!==f&&(l=S.clone(l,!0,!0),s&&S.merge(a,xe(l,"script"))),n.call(e[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,S.map(a,He),d=0;d<s;d++)l=a[d],_e.test(l.type||"")&&!te.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):x(l.textContent.replace(Ye,""),l,c))}return e}function $e(e,t,n){for(var i,r=t?S.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||S.cleanData(xe(i)),i.parentNode&&(n&&de(i)&&ke(xe(i,"script")),i.parentNode.removeChild(i));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),l=de(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!S.isXMLDoc(e))for(a=xe(s),o=xe(e),i=0,r=o.length;i<r;i++)Fe(o[i],a[i]);if(t)if(n)for(o=o||xe(e),a=a||xe(s),i=0,r=o.length;i<r;i++)Re(o[i],a[i]);else Re(e,s);return a=xe(s,"script"),a.length>0&&ke(a,!l&&xe(e,"script")),s},cleanData:function(e){for(var t,n,i,r=S.event.special,o=0;void 0!==(n=e[o]);o++)if(Q(n)){if(t=n[te.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[te.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),S.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return G(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.appendChild(e)}}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Oe.test(e)&&!we[(be.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(S.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,i=[],r=S(e),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),S(r[a])[t](n),c.apply(i,n.get());return this.pushStack(i)}}));var Be=new RegExp("^("+se+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},Ue=new RegExp(ue.join("|"),"i");function qe(e,t,n){var i,r,o,a,s=e.style;return n=n||We(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||de(e)||(a=S.style(e,t)),!g.pixelBoxStyles()&&Be.test(a)&&Ue.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ce.appendChild(u).appendChild(c);var e=n.getComputedStyle(c);i="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),r=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ce.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var i,r,o,a,s,l,u=_.createElement("div"),c=_.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,i,r;return null==s&&(e=_.createElement("table"),t=_.createElement("tr"),i=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",ce.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),s=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,ce.removeChild(e)),s}}))})();var Ke=["Webkit","Moz","ms"],Je=_.createElement("div").style,Xe={};function Ze(e){var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;while(n--)if(e=Ke[n]+t,e in Je)return e}function Qe(e){var t=S.cssProps[e]||Xe[e];return t||(e in Je?e:Xe[e]=Ze(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt=/^--/,nt={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var i=le.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ot(e,t,n,i,r,o){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=S.css(e,n+ue[a],!0,r)),i?("content"===n&&(l-=S.css(e,"padding"+ue[a],!0,r)),"margin"!==n&&(l-=S.css(e,"border"+ue[a]+"Width",!0,r))):(l+=S.css(e,"padding"+ue[a],!0,r),"padding"!==n?l+=S.css(e,"border"+ue[a]+"Width",!0,r):s+=S.css(e,"border"+ue[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function at(e,t,n){var i=We(e),r=!g.boxSizingReliable()||n,o=r&&"border-box"===S.css(e,"boxSizing",!1,i),a=o,s=qe(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&P(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===S.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===S.css(e,"boxSizing",!1,i),a=l in e,a&&(s=e[l])),s=parseFloat(s)||0,s+ot(e,t,n||(o?"border":"content"),a,i,s)+"px"}function st(e,t,n,i,r){return new st.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=Z(t),l=tt.test(t),u=e.style;if(l||(t=Qe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:u[t];o=typeof n,"string"===o&&(r=le.exec(n))&&r[1]&&(n=pe(e,t,r),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=r&&r[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o,a,s=Z(t),l=tt.test(t);return l||(t=Qe(s)),a=S.cssHooks[t]||S.cssHooks[s],a&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=qe(e,t,i)),"normal"===r&&t in it&&(r=it[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,i){if(n)return!et.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,i):Ve(e,nt,(function(){return at(e,t,i)}))},set:function(e,n,i){var r,o=We(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=a||i,l=s&&"border-box"===S.css(e,"boxSizing",!1,o),u=i?ot(e,t,i,l,o):0;return l&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ot(e,t,"border",!1,o)-.5)),u&&(r=le.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),rt(e,n,u)}}})),S.cssHooks.marginLeft=Ge(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"===typeof n?n.split(" "):[n];i<4;i++)r[e+ue[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(S.cssHooks[e+t].set=rt)})),S.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var i,r,o={},a=0;if(Array.isArray(t)){for(i=We(e),r=t.length;a<r;a++)o[t[a]]=S.css(e,t[a],!1,i);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=st,st.prototype={constructor:st,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=st.prototype.init,S.fx.step={};var lt,ut,ct=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function ht(){ut&&(!1===_.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ht):n.setTimeout(ht,S.fx.interval),S.fx.tick())}function ft(){return n.setTimeout((function(){lt=void 0})),lt=Date.now()}function pt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)n=ue[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function mt(e,t,n){for(var i,r=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function vt(e,t,n){var i,r,o,a,s,l,u,c,d="width"in t||"height"in t,h=this,f={},p=e.style,m=e.nodeType&&fe(e),v=te.get(e,"fxshow");for(i in n.queue||(a=S._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always((function(){h.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[i],ct.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;m=!0}f[i]=v&&v[i]||S.style(e,i)}if(l=!S.isEmptyObject(t),l||!S.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=v&&v.display,null==u&&(u=te.get(e,"display")),c=S.css(e,"display"),"none"===c&&(u?c=u:(ge([e],!0),u=e.style.display||u,c=S.css(e,"display"),ge([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===S.css(e,"float")&&(l||(h.done((function(){p.display=u})),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(v?"hidden"in v&&(m=v.hidden):v=te.access(e,"fxshow",{display:u}),o&&(v.hidden=!m),m&&ge([e],!0),h.done((function(){for(i in m||ge([e]),te.remove(e,"fxshow"),f)S.style(e,i,f[i])}))),l=mt(m?v[i]:0,i,h),i in v||(v[i]=l.start,m&&(l.end=l.start,l.start=0))}function gt(e,t){var n,i,r,o,a;for(n in e)if(i=Z(n),r=t[i],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),a=S.cssHooks[i],a&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}function yt(e,t,n){var i,r,o=0,a=yt.prefilters.length,s=S.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=lt||ft(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),o<1&&l?n:(l||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||ft(),duration:n.duration,tweens:[],createTween:function(t,n){var i=S.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(gt(c,u.opts.specialEasing);o<a;o++)if(i=yt.prefilters[o].call(u,e,c,u.opts),i)return y(i.stop)&&(S._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return S.map(c,mt,u),y(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}S.Animation=S.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return pe(n.elem,e,le.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(F);for(var n,i=0,r=e.length;i<r;i++)n=e[i],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[vt],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),S.speed=function(e,t,n){var i=e&&"object"===typeof e?S.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return S.fx.off?i.duration=0:"number"!==typeof i.duration&&(i.duration in S.fx.speeds?i.duration=S.fx.speeds[i.duration]:i.duration=S.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&S.dequeue(this,i.queue)},i},S.fn.extend({fadeTo:function(e,t,n,i){return this.filter(fe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=S.isEmptyObject(e),o=S.speed(t,n,i),a=function(){var t=yt(this,S.extend({},e),o);(r||te.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=S.timers,a=te.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&dt.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=te.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=S.timers,a=i?i.length:0;for(n.finish=!0,S.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,i,r){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(pt(t,!0),e,i,r)}})),S.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(lt=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),lt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ut||(ut=!0,ht())},S.fx.stop=function(){ut=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}}))},function(){var e=_.createElement("input"),t=_.createElement("select"),n=t.appendChild(_.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=n.selected,e=_.createElement("input"),e.value="t",e.type="radio",g.radioValue="t"===e.value}();var bt,_t=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return G(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=S.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(F);if(r&&1===e.nodeType)while(n=r[i++])e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=_t[t]||S.find.attr;_t[t]=function(e,t,i){var r,o,a=t.toLowerCase();return i||(o=_t[a],_t[a]=r,r=null!=n(e,t,i)?a:null,_t[a]=o),r}}));var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function kt(e){var t=e.match(F)||[];return t.join(" ")}function Mt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(F)||[]}S.fn.extend({prop:function(e,t){return G(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,i,r,o,a,s,l=0;if(y(e))return this.each((function(t){S(this).addClass(e.call(this,t,Mt(this)))}));if(t=St(e),t.length)while(n=this[l++])if(r=Mt(n),i=1===n.nodeType&&" "+kt(r)+" ",i){a=0;while(o=t[a++])i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=kt(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,o,a,s,l=0;if(y(e))return this.each((function(t){S(this).removeClass(e.call(this,t,Mt(this)))}));if(!arguments.length)return this.attr("class","");if(t=St(e),t.length)while(n=this[l++])if(r=Mt(n),i=1===n.nodeType&&" "+kt(r)+" ",i){a=0;while(o=t[a++])while(i.indexOf(" "+o+" ")>-1)i=i.replace(" "+o+" "," ");s=kt(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"===typeof t&&i?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,Mt(this),t),t)})):this.each((function(){var t,r,o,a;if(i){r=0,o=S(this),a=St(e);while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||(t=Mt(this),t&&te.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":te.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;t=" "+e+" ";while(n=this[i++])if(1===n.nodeType&&(" "+kt(Mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;S.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=y(e),this.each((function(n){var r;1===this.nodeType&&(r=i?e.call(this,n,S(this).val()):e,null==r?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=S.map(r,(function(e){return null==e?"":e+""}))),t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"===typeof n?n.replace(Ct,""):null==n?"":n)):void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:kt(S.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(n=r[i],(n.selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,i,r=e.options,o=S.makeArray(t),a=r.length;while(a--)i=r[a],(i.selected=S.inArray(S.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,i,r){var o,a,s,l,u,c,d,h,f=[i||_],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=h=s=i=i||_,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,e=e[S.expando]?e:new S.Event(m,"object"===typeof e&&e),e.isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!b(i)){for(l=d.delegateType||m,Dt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||_)&&f.push(s.defaultView||s.parentWindow||n)}o=0;while((a=f[o++])&&!e.isPropagationStopped())h=a,e.type=o>1?l:d.bindType||m,c=(te.get(a,"events")||Object.create(null))[e.type]&&te.get(a,"handle"),c&&c.apply(a,t),c=u&&a[u],c&&c.apply&&Q(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Q(i)||u&&y(i[m])&&!b(i)&&(s=i[u],s&&(i[u]=null),S.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Lt),i[m](),e.isPropagationStopped()&&h.removeEventListener(m,Lt),S.event.triggered=void 0,s&&(i[u]=s)),e.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t);r||i.addEventListener(e,n,!0),te.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=te.access(i,t)-1;r?te.access(i,t,r):(i.removeEventListener(e,n,!0),te.remove(i,t))}}}));var Tt=n.location,Et={guid:Date.now()},Pt=/\?/;S.parseXML=function(e){var t,i;if(!e||"string"!==typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(r){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||S.error("Invalid XML: "+(i?S.map(i.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/\[\]$/,Ot=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Yt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,i){var r;if(Array.isArray(t))S.each(t,(function(t,r){n||jt.test(e)?i(e,r):At(e+"["+("object"===typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==k(t))i(e,t);else for(r in t)At(e+"["+r+"]",t[r],n,i)}S.param=function(e,t){var n,i=[],r=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){r(this.name,this.value)}));else for(n in e)At(n,e[n],t,r);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Yt.test(this.nodeName)&&!It.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var Nt=/%20/g,Ht=/#.*$/,Rt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,$t=/^(?:GET|HEAD)$/,Bt=/^\/\//,Wt={},Vt={},Ut="*/".concat("*"),qt=_.createElement("a");function Gt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(F)||[];if(y(n))while(i=o[r++])"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var r={},o=e===Vt;function a(s){var l;return r[s]=!0,S.each(e[s]||[],(function(e,s){var u=s(t,n,i);return"string"!==typeof u||o||r[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function Jt(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&S.extend(!0,e,i),e}function Xt(e,t,n){var i,r,o,a,s=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function Zt(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift(),o)if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]],a)){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}qt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:zt.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,S.ajaxSettings),t):Jt(S.ajaxSettings,e)},ajaxPrefilter:Gt(Wt),ajaxTransport:Gt(Vt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,a,s,l,u,c,d,h,f=S.ajaxSetup({},t),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?S(p):S.event,v=S.Deferred(),g=S.Callbacks("once memory"),y=f.statusCode||{},b={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a){a={};while(t=Ft.exec(o))a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),M(0,t),this}};if(v.promise(k),f.url=((e||f.url||Tt.href)+"").replace(Bt,Tt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){l=_.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=qt.protocol+"//"+qt.host!==l.protocol+"//"+l.host}catch(C){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!==typeof f.data&&(f.data=S.param(f.data,f.traditional)),Kt(Wt,f,t,k),u)return k;for(d in c=S.event&&f.global,c&&0===S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!$t.test(f.type),r=f.url.replace(Ht,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(h=f.url.slice(r.length),f.data&&(f.processData||"string"===typeof f.data)&&(r+=(Pt.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Rt,"$1"),h=(Pt.test(r)?"&":"?")+"_="+Et.guid+++h),f.url=r+h),f.ifModified&&(S.lastModified[r]&&k.setRequestHeader("If-Modified-Since",S.lastModified[r]),S.etag[r]&&k.setRequestHeader("If-None-Match",S.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&k.setRequestHeader("Content-Type",f.contentType),k.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)k.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,k,f)||u))return k.abort();if(x="abort",g.add(f.complete),k.done(f.success),k.fail(f.error),i=Kt(Vt,f,t,k),i){if(k.readyState=1,c&&m.trigger("ajaxSend",[k,f]),u)return k;f.async&&f.timeout>0&&(s=n.setTimeout((function(){k.abort("timeout")}),f.timeout));try{u=!1,i.send(b,M)}catch(C){if(u)throw C;M(-1,C)}}else M(-1,"No Transport");function M(e,t,a,l){var d,h,b,_,w,x=t;u||(u=!0,s&&n.clearTimeout(s),i=void 0,o=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=Xt(f,k,a)),!d&&S.inArray("script",f.dataTypes)>-1&&S.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),_=Zt(f,_,k,d),d?(f.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(S.lastModified[r]=w),w=k.getResponseHeader("etag"),w&&(S.etag[r]=w)),204===e||"HEAD"===f.type?x="nocontent":304===e?x="notmodified":(x=_.state,h=_.data,b=_.error,d=!b)):(b=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",d?v.resolveWith(p,[h,x,k]):v.rejectWith(p,[k,x,b]),k.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,f,d?h:b]),g.fireWith(p,[k,x]),c&&(m.trigger("ajaxComplete",[k,f]),--S.active||S.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,i,r){return y(n)&&(r=r||i,i=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:r,data:n,success:i},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},en=S.ajaxSettings.xhr();g.cors=!!en&&"withCredentials"in en,g.ajax=en=!!en,S.ajaxTransport((function(e){var t,i;if(g.cors||en&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var tn=[],nn=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||S.expando+"_"+Et.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,i){var r,o,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||S.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always((function(){void 0===o?S(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),a&&y(o)&&o(a[0]),a=o=void 0})),"script"})),g.createHTMLDocument=function(){var e=_.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),S.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?(t=_.implementation.createHTMLDocument(""),i=t.createElement("base"),i.href=_.location.href,t.head.appendChild(i)):t=_),r=j.exec(e),o=!n&&[],r?[t.createElement(r[1])]:(r=Se([e],t,o),o&&o.length&&S(o).remove(),S.merge([],r.childNodes)));var i,r,o},S.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return s>-1&&(i=kt(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"===typeof t&&(r="POST"),a.length>0&&S.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(i?S("<div>").append(S.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u,c=S.css(e,"position"),d=S(e),h={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=S.css(e,"top"),l=S.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),y(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(h.top=t.top-s.top+a),null!=t.left&&(h.left=t.left-s.left+r),"using"in t?t.using.call(e,h):d.css(h)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===S.css(i,"position"))t=i.getBoundingClientRect();else{t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==i&&1===e.nodeType&&(r=S(e).offset(),r.top+=S.css(e,"borderTopWidth",!0),r.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-S.css(i,"marginTop",!0),left:t.left-r.left-S.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||ce}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(i){return G(this,(function(e,i,r){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ge(g.pixelPosition,(function(e,n){if(n)return n=qe(e,t),Be.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){S.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!==typeof r),s=n||(!0===r||!0===o?"margin":"border");return G(this,(function(t,n,r){var o;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?S.css(t,n,s):S.style(t,n,r,s)}),t,a?r:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,i,r;if("string"===typeof t&&(n=e[t],t=e,e=n),y(e))return i=l.call(arguments,2),r=function(){return e.apply(t||this,i.concat(l.call(arguments)))},r.guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=P,S.isFunction=y,S.isWindow=b,S.camelCase=Z,S.type=k,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(rn,"")},i=[],r=function(){return S}.apply(t,i),void 0===r||(e.exports=r);var on=n.jQuery,an=n.$;return S.noConflict=function(e){return n.$===S&&(n.$=an),e&&n.jQuery===S&&(n.jQuery=on),S},"undefined"===typeof o&&(n.jQuery=n.$=S),S}))},c754:function(e,t,n){var i=n("7bb6"),r=n("92e1"),o=n("0ae0"),a=n("ca48"),s=n("2a82"),l=[],u=a("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=c.exec,h=!c.exec((function(){})),f=function(e){if(!r(e))return!1;try{return u(Object,l,e),!0}catch(t){return!1}},p=function(e){if(!r(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d.call(c,s(e))};e.exports=!u||i((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?p:f},c774:function(e,t,n){"use strict";n("4a65")},c785:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},c7cd:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(o,(function(t,i,o,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?o:(s=(0,r.hasOwn)(n,o)?n[o]:null,null===s||void 0===s?"":s)}))}return t};var r=n("e57c"),o=/(%|)\{([0-9a-zA-Z_]+)\}/g},c87d:function(e,t,n){var i=n("d43b"),r=n("61b4"),o=n("607d").indexOf,a=n("ebfe");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)!i(a,n)&&i(s,n)&&u.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},c903:function(e,t,n){var i=n("ca48");e.exports=i("navigator","userAgent")||""},ca47:function(e,t,n){var i=n("60f8");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},ca48:function(e,t,n){var i=n("b20c"),r=n("92e1"),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e]):i[e]&&i[e][t]}},caaf:function(e,t,n){(function(e){var t;//! moment.js
|
|
305
305
|
//! version : 2.29.1
|
|
306
306
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
307
307
|
//! license : MIT
|
|
@@ -337,7 +337,7 @@ var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_juli
|
|
|
337
337
|
* Released under the MIT license
|
|
338
338
|
*/(function(o){var a;if(i=o,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r),a=!0,e.exports=o(),a=!0,!a){var s=window.Cookies,l=window.Cookies=o();l.noConflict=function(){return window.Cookies=s,l}}})((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(i){function r(){}function o(t,n,o){if("undefined"!==typeof document){o=e({path:"/"},r.defaults,o),"number"===typeof o.expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(u){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in o)o[l]&&(s+="; "+l,!0!==o[l]&&(s+="="+o[l].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!==typeof document){for(var r={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(s[0]);if(l=(i.read||i)(l,u)||t(l),n)try{l=JSON.parse(l)}catch(c){}if(r[u]=l,e===u)break}catch(c){}}return e?r[e]:r}}return r.set=o,r.get=function(e){return a(e,!1)},r.getJSON=function(e){return a(e,!0)},r.remove=function(t,n){o(t,"",e(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}return n((function(){}))}))},e069:function(e,t,n){"use strict";var i=n("a8aa"),r=n("607d").includes,o=n("685a");i({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},e174:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
339
339
|
//! moment.js locale configuration
|
|
340
|
-
var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},e186:function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(j){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var r=t&&t.prototype instanceof v?t:v,o=Object.create(r.prototype),a=new T(i||[]);return o._invoke=S(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={};function v(){}function g(){}function y(){}var b={};l(b,o,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(E([])));w&&w!==n&&i.call(w,o)&&(b=w);var x=y.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(r,o,a,s){var l=c(e[r],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"===typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var r;function o(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}this._invoke=o}function S(e,t,n){var i=d;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return P()}n.method=r,n.arg=o;while(1){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=c(e,t,n);if("normal"===l.type){if(i=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function C(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=c(i,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,m;var o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function E(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){while(++r<e.length)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=y,l(x,"constructor",y),l(y,"constructor",g),g.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},k(M.prototype),l(M.prototype,a,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new M(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(x),l(x,s,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=E,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=i}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},e190:function(e,t,n){var i=n("8b9f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("3798b3b7",i,!0,{sourceMap:!1,shadowMode:!1})},e30c:function(e,t,n){"use strict";var i=n("a8aa"),r=n("e94b").map,o=n("1331"),a=o("map");i({target:"Array",proto:!0,forced:!a},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},e522:function(e,t,n){"use strict";var i,r=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(L){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(t){return u}}}():u,d=n("855c")(),h=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"===typeof Uint8Array?i:h(Uint8Array),m={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?h((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?h((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):i,"%Symbol%":d?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet},v=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&(n=h(r.prototype))}return m[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n("3cea"),b=n("fb81"),_=y.call(Function.call,Array.prototype.concat),w=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),k=y.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,C=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return x(e,M,(function(e,t,n,r){i[i.length]=n?x(r,S,"$1"):t||e})),i},D=function(e,t){var n,i=e;if(b(g,i)&&(n=g[i],i="%"+n[0]+"%"),b(m,i)){var o=m[i];if(o===f&&(o=v(i)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:o}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var n=C(e),i=n.length>0?n[0]:"",o=D("%"+i+"%",t),s=o.name,u=o.value,c=!1,d=o.alias;d&&(i=d[0],w(n,_([0,1],d)));for(var h=1,f=!0;h<n.length;h+=1){var p=n[h],v=k(p,0,1),g=k(p,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new r("property names with quotes must have matching quotes");if("constructor"!==p&&f||(c=!0),i+="."+p,s="%"+i+"%",b(m,s))u=m[s];else if(null!=u){if(!(p in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&h+1>=n.length){var y=l(u,p);f=!!y,u=f&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=b(u,p),u=u[p];f&&!c&&(m[s]=u)}}return u}},e57c:function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=h,t.getPropByPath=f,t.rafThrottle=y,t.objToArray=b;var r=n("8bbf"),o=s(r),a=n("6941");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),i=e,r=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!i)break;if(o===a-1){r=i[s];break}i=i[s]}return r};function f(e,t,n){var i=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),o=0,a=r.length;o<a-1;++o){if(!i&&!n)break;var s=r[o];if(!(s in i)){if(n)throw new Error("please transfer a valid prop path to form item!");break}i=i[s]}return{o:i,k:r[o],v:i?i[r[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),v=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!m(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?v(e,t):m(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(i){e.apply(n,r),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}},e59c:function(e,t,n){"use strict";var i=n("a8aa"),r=n("0158"),o=n("3769"),a=n("9b1b"),s=n("89ca"),l=n("d7c9"),u=n("f0b0"),c=n("1331"),d=c("splice"),h=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,i,c,d,v,g,y=s(this),b=a(y.length),_=r(e,b),w=arguments.length;if(0===w?n=i=0:1===w?(n=0,i=b-_):(n=w-2,i=f(h(o(t),0),b-_)),b+n-i>p)throw TypeError(m);for(c=l(y,i),d=0;d<i;d++)v=_+d,v in y&&u(c,d,y[v]);if(c.length=i,n<i){for(d=_;d<b-i;d++)v=d+i,g=d+n,v in y?y[g]=y[v]:delete y[g];for(d=b;d>b-i+n;d--)delete y[d-1]}else if(n>i)for(d=b-i;d>_;d--)v=d+i-1,g=d+n-1,v in y?y[g]=y[v]:delete y[g];for(d=0;d<n;d++)y[d+_]=arguments[d+2];return y.length=b-i+n,c}})},e59e:function(e,t,n){"use strict";var i=n("a8aa"),r=n("c52e"),o=n("89ca"),a=n("9b1b"),s=n("a869"),l=n("7bb6"),u=n("6611"),c=n("1b2c"),d=n("8b4b"),h=n("7f07"),f=n("21d5"),p=n("4b7b"),m=[],v=m.sort,g=l((function(){m.sort(void 0)})),y=l((function(){m.sort(null)})),b=c("sort"),_=!l((function(){if(f)return f<70;if(!(d&&d>3)){if(h)return!0;if(p)return p<603;var e,t,n,i,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)m.push({k:t+i,v:n})}for(m.sort((function(e,t){return t.v-e.v})),i=0;i<m.length;i++)t=m[i].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}})),w=g||!y||!b||!_,x=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}};i({target:"Array",proto:!0,forced:w},{sort:function(e){void 0!==e&&r(e);var t=o(this);if(_)return void 0===e?v.call(t):v.call(t,e);var n,i,s=[],l=a(t.length);for(i=0;i<l;i++)i in t&&s.push(t[i]);s=u(s,x(e)),n=s.length,i=0;while(i<n)t[i]=s[i++];while(i<l)delete t[i++];return t}})},e643:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},e67d:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},e69e:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
340
|
+
var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},e186:function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(j){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var r=t&&t.prototype instanceof v?t:v,o=Object.create(r.prototype),a=new T(i||[]);return o._invoke=S(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(j){return{type:"throw",arg:j}}}e.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",p="completed",m={};function v(){}function g(){}function y(){}var b={};l(b,o,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(E([])));w&&w!==n&&i.call(w,o)&&(b=w);var x=y.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function M(e,t){function n(r,o,a,s){var l=c(e[r],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"===typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var r;function o(e,i){function o(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(o,o):o()}this._invoke=o}function S(e,t,n){var i=d;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return P()}n.method=r,n.arg=o;while(1){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=c(e,t,n);if("normal"===l.type){if(i=n.done?p:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function C(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=c(i,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,m;var o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function E(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){while(++r<e.length)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=y,l(x,"constructor",y),l(y,"constructor",g),g.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},k(M.prototype),l(M.prototype,a,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new M(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(x),l(x,s,"Generator"),l(x,o,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=E,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=i}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},e30c:function(e,t,n){"use strict";var i=n("a8aa"),r=n("e94b").map,o=n("1331"),a=o("map");i({target:"Array",proto:!0,forced:!a},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},e522:function(e,t,n){"use strict";var i,r=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(t){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(L){l=null}var u=function(){throw new a},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(t){return u}}}():u,d=n("855c")(),h=Object.getPrototypeOf||function(e){return e.__proto__},f={},p="undefined"===typeof Uint8Array?i:h(Uint8Array),m={"%AggregateError%":"undefined"===typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":d?h([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"===typeof Atomics?i:Atomics,"%BigInt%":"undefined"===typeof BigInt?i:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":f,"%Int8Array%":"undefined"===typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?h(h([][Symbol.iterator]())):i,"%JSON%":"object"===typeof JSON?JSON:i,"%Map%":"undefined"===typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?h((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?i:Promise,"%Proxy%":"undefined"===typeof Proxy?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?h((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?h(""[Symbol.iterator]()):i,"%Symbol%":d?Symbol:i,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"===typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?i:WeakSet},v=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&(n=h(r.prototype))}return m[t]=n,n},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n("3cea"),b=n("fb81"),_=y.call(Function.call,Array.prototype.concat),w=y.call(Function.apply,Array.prototype.splice),x=y.call(Function.call,String.prototype.replace),k=y.call(Function.call,String.prototype.slice),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,C=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return x(e,M,(function(e,t,n,r){i[i.length]=n?x(r,S,"$1"):t||e})),i},D=function(e,t){var n,i=e;if(b(g,i)&&(n=g[i],i="%"+n[0]+"%"),b(m,i)){var o=m[i];if(o===f&&(o=v(i)),"undefined"===typeof o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:o}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var n=C(e),i=n.length>0?n[0]:"",o=D("%"+i+"%",t),s=o.name,u=o.value,c=!1,d=o.alias;d&&(i=d[0],w(n,_([0,1],d)));for(var h=1,f=!0;h<n.length;h+=1){var p=n[h],v=k(p,0,1),g=k(p,-1);if(('"'===v||"'"===v||"`"===v||'"'===g||"'"===g||"`"===g)&&v!==g)throw new r("property names with quotes must have matching quotes");if("constructor"!==p&&f||(c=!0),i+="."+p,s="%"+i+"%",b(m,s))u=m[s];else if(null!=u){if(!(p in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&h+1>=n.length){var y=l(u,p);f=!!y,u=f&&"get"in y&&!("originalValue"in y.get)?y.get:u[p]}else f=b(u,p),u=u[p];f&&!c&&(m[s]=u)}}return u}},e57c:function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=h,t.getPropByPath=f,t.rafThrottle=y,t.objToArray=b;var r=n("8bbf"),o=s(r),a=n("6941");function s(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),i=e,r=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!i)break;if(o===a-1){r=i[s];break}i=i[s]}return r};function f(e,t,n){var i=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var r=t.split("."),o=0,a=r.length;o<a-1;++o){if(!i&&!n)break;var s=r[o];if(!(s in i)){if(n)throw new Error("please transfer a valid prop path to form item!");break}i=i[s]}return{o:i,k:r[o],v:i?i[r[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),v=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!m(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?v(e,t):m(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function y(e){var t=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(i){e.apply(n,r),t=!1})))}}function b(e){return Array.isArray(e)?e:g(e)?[]:[e]}},e59c:function(e,t,n){"use strict";var i=n("a8aa"),r=n("0158"),o=n("3769"),a=n("9b1b"),s=n("89ca"),l=n("d7c9"),u=n("f0b0"),c=n("1331"),d=c("splice"),h=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,i,c,d,v,g,y=s(this),b=a(y.length),_=r(e,b),w=arguments.length;if(0===w?n=i=0:1===w?(n=0,i=b-_):(n=w-2,i=f(h(o(t),0),b-_)),b+n-i>p)throw TypeError(m);for(c=l(y,i),d=0;d<i;d++)v=_+d,v in y&&u(c,d,y[v]);if(c.length=i,n<i){for(d=_;d<b-i;d++)v=d+i,g=d+n,v in y?y[g]=y[v]:delete y[g];for(d=b;d>b-i+n;d--)delete y[d-1]}else if(n>i)for(d=b-i;d>_;d--)v=d+i-1,g=d+n-1,v in y?y[g]=y[v]:delete y[g];for(d=0;d<n;d++)y[d+_]=arguments[d+2];return y.length=b-i+n,c}})},e59e:function(e,t,n){"use strict";var i=n("a8aa"),r=n("c52e"),o=n("89ca"),a=n("9b1b"),s=n("a869"),l=n("7bb6"),u=n("6611"),c=n("1b2c"),d=n("8b4b"),h=n("7f07"),f=n("21d5"),p=n("4b7b"),m=[],v=m.sort,g=l((function(){m.sort(void 0)})),y=l((function(){m.sort(null)})),b=c("sort"),_=!l((function(){if(f)return f<70;if(!(d&&d>3)){if(h)return!0;if(p)return p<603;var e,t,n,i,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)m.push({k:t+i,v:n})}for(m.sort((function(e,t){return t.v-e.v})),i=0;i<m.length;i++)t=m[i].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}})),w=g||!y||!b||!_,x=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}};i({target:"Array",proto:!0,forced:w},{sort:function(e){void 0!==e&&r(e);var t=o(this);if(_)return void 0===e?v.call(t):v.call(t,e);var n,i,s=[],l=a(t.length);for(i=0;i<l;i++)i in t&&s.push(t[i]);s=u(s,x(e)),n=s.length,i=0;while(i<n)t[i]=s[i++];while(i<l)delete t[i++];return t}})},e643:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},e67d:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},e69e:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
341
341
|
//! moment.js locale configuration
|
|
342
342
|
var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t}))},e728:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
343
343
|
//! moment.js locale configuration
|
|
@@ -355,6 +355,6 @@ var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_
|
|
|
355
355
|
//! moment.js locale configuration
|
|
356
356
|
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],a=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return a}))},fa2c:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
357
357
|
//! moment.js locale configuration
|
|
358
|
-
function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},faec:function(e,t,n){t=e.exports=n("690e")(!1),t.i(n("b797"),""),t.push([e.i,'.from[data-v-6dbe2c3a]{overflow:hidden;margin-bottom:20px}.from .fromitem[data-v-6dbe2c3a]{float:left;margin-right:20px}.from .fromitem span[data-v-6dbe2c3a]{text-align:right;vertical-align:middle;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.talent-box[data-v-6dbe2c3a]{padding:15px 20px 20px}.talent-box .title[data-v-6dbe2c3a]{font-size:18px;font-weight:400;margin-bottom:15px}.offer-root[data-v-6dbe2c3a]{color:#666}.offer-root .projectForm[data-v-6dbe2c3a]{padding:0 0 10px 0}.offer-root .projectForm .projectForm[data-v-6dbe2c3a]{margin-top:10px}.offer-root .projectForm .el-form-item[data-v-6dbe2c3a]{margin-bottom:0}.continue[data-v-6dbe2c3a]{color:#0286df}.common-offer-dialog .dialog-footer[data-v-6dbe2c3a],.offer-pagination[data-v-6dbe2c3a]{text-align:center}.offer-pagination .el-pagination[data-v-6dbe2c3a]{margin:20px 0}.re-form .el-cascader[data-v-6dbe2c3a],.re-form .el-date-editor[data-v-6dbe2c3a],.re-form .el-input-number[data-v-6dbe2c3a],.re-form .el-range-editor[data-v-6dbe2c3a],.re-form .el-select[data-v-6dbe2c3a]{width:100%}.re-form .el-input-number .el-input__inner[data-v-6dbe2c3a]{text-align:left}.re-form .input-number-icon.el-input-number .el-input[data-v-6dbe2c3a]{display:-webkit-box;display:-ms-flexbox;display:flex}.re-form .input-number-icon.el-input-number .el-input .el-input__inner[data-v-6dbe2c3a]{border-radius:4px 0 4px 0}.re-form .input-number-icon.el-input-number .el-input[data-v-6dbe2c3a]:after{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px;height:38px;display:inline-block;background:#f5f7fa;text-align:center;border:1px solid #dcdfe6;border-left:0;border-radius:0 4px 4px 0;color:#909399}.re-form .number-yuan.el-input-number .el-input[data-v-6dbe2c3a]:after{content:"\\5143"}.re-form .number-tian.el-input-number .el-input[data-v-6dbe2c3a]:after{content:"\\5929"}.re-form .line-feed .el-form-item__label[data-v-6dbe2c3a]{line-height:inherit!important}.el-submenu__icon-arrow[data-v-6dbe2c3a]{position:absolute!important;top:50%!important;right:8px!important;margin-top:-7px!important;-webkit-transition:-webkit-transform .3s!important;transition:-webkit-transform .3s!important;transition:transform .3s!important;transition:transform .3s,-webkit-transform .3s!important;font-size:12px!important}.base-pagination[data-v-6dbe2c3a]{text-align:center}.base-pagination .el-pagination[data-v-6dbe2c3a]{margin:20px 0}.pointer[data-v-6dbe2c3a]{cursor:pointer}.base-ellipsis[data-v-6dbe2c3a]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btns-line[data-v-6dbe2c3a]{margin-bottom:10px}.base-page-style[data-v-6dbe2c3a]{padding:10px 10px}.base-page-style .btns-line[data-v-6dbe2c3a]{margin-bottom:10px}.base-page-style .el-table .warning-row .cell[data-v-6dbe2c3a]{color:red}.form-w100[data-v-6dbe2c3a]{width:100%}.form-w100.el-input-number .el-input__inner[data-v-6dbe2c3a]{text-align:left}.base-info-title[data-v-6dbe2c3a]{font-size:18px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin-bottom:20px;position:relative}.base-info-title span[data-v-6dbe2c3a]{border-left:3px solid #0286df;padding-left:10px}.base-info-title .append[data-v-6dbe2c3a]{position:absolute;right:10px;top:0}.action-btns .btns[data-v-6dbe2c3a]{margin-bottom:10px}.form-btns[data-v-6dbe2c3a]{text-align:center}.text-danger[data-v-6dbe2c3a]{color:#ff4949}.text-warning[data-v-6dbe2c3a]{color:#f7ba2a}.text-blue[data-v-6dbe2c3a]{color:#2e90fe}.clearboth[data-v-6dbe2c3a]{clear:both}.noselect[data-v-6dbe2c3a]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}input[data-v-6dbe2c3a]::-webkit-input-safebox-button{display:none}body[data-v-6dbe2c3a]{background-color:#f5f5f5;font-family:Microsoft YaHei,微软雅黑,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.hover_02[data-v-6dbe2c3a]:hover{color:#0286df!important}.color-default[data-v-6dbe2c3a]{color:#0286df}.line-width[data-v-6dbe2c3a]{background:#ededed;width:896px;height:1px}.bg-default[data-v-6dbe2c3a]{background:#0286df}.hover-color-default[data-v-6dbe2c3a]:hover{color:#0286df}.hover-bg-default[data-v-6dbe2c3a]:hover{background:#ffeeea!important}.default-color[data-v-6dbe2c3a]{color:#0286df}.page-left[data-v-6dbe2c3a]{float:left}.page-right[data-v-6dbe2c3a]{float:right}.colordefault[data-v-6dbe2c3a]{color:#0286df}.colorgrey[data-v-6dbe2c3a]{color:#ccc}.colortheme[data-v-6dbe2c3a]{color:#ff8b00}.colorff4[data-v-6dbe2c3a]{color:#ff4e00}.color-orange[data-v-6dbe2c3a]{color:#f60}.p20[data-v-6dbe2c3a]{padding:20px}.pl20[data-v-6dbe2c3a]{padding-left:20px}.pb20[data-v-6dbe2c3a]{padding-bottom:20px}.mt10[data-v-6dbe2c3a]{margin-top:10px}.mt20[data-v-6dbe2c3a]{margin-top:20px}.ml26[data-v-6dbe2c3a]{margin-left:26px}.ml400[data-v-6dbe2c3a]{margin-left:400px}.mb10[data-v-6dbe2c3a]{margin-bottom:10px}.mb20[data-v-6dbe2c3a]{margin-bottom:20px}.ml10[data-v-6dbe2c3a]{margin-left:10px}.text-center[data-v-6dbe2c3a]{text-align:center}.clearfix[data-v-6dbe2c3a]{overflow:hidden}.fl[data-v-6dbe2c3a]{float:left}.fr[data-v-6dbe2c3a]{float:right}.avatar-uploader .el-upload[data-v-6dbe2c3a]{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-6dbe2c3a]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-6dbe2c3a]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar-uploader-icon[data-v-6dbe2c3a]:before{line-height:178px}.avatar[data-v-6dbe2c3a]{width:178px;height:178px;border:1px dashed #c0ccda;border-radius:6px;display:block}.cell-button[data-v-6dbe2c3a]{color:#0286df!important}.cell-del-button[data-v-6dbe2c3a]{color:#f60!important}.tableStyle[data-v-6dbe2c3a]{border-top:1px solid #e4e7ed;width:100%;margin-top:20px}.tabs-box .el-tabs .el-tabs__header[data-v-6dbe2c3a]{margin:0}.tabs-box .el-tabs__item .is-active[data-v-6dbe2c3a]{color:#0286df}.tabs-box .el-tabs__item[data-v-6dbe2c3a]{color:#333}.m-l-15[data-v-6dbe2c3a]{margin-left:15px!important}.m-l-20[data-v-6dbe2c3a]{margin-left:20px!important}.m-l-40[data-v-6dbe2c3a]{margin-left:40px!important}.pagination-box[data-v-6dbe2c3a]{text-align:center;font-size:16px}.pagination-box .el-pagination[data-v-6dbe2c3a]{margin-top:20px}.el-input__count[data-v-6dbe2c3a]{background:none!important;bottom:-10px!important}.el-link.el-link--primary[data-v-6dbe2c3a],.el-tabs__item.is-active[data-v-6dbe2c3a]{color:#0286df!important}.info2 .successinfo i[data-v-6dbe2c3a]{font-size:75px!important;color:#78c06e!important}.el-table__body tr.hover-row td[data-v-6dbe2c3a]{background-color:#f5f7fa!important}.el-pager li.active[data-v-6dbe2c3a]{color:#0286df!important}.el-loading-mask[data-v-6dbe2c3a]{z-index:9999}.el-icon-loading[data-v-6dbe2c3a]{font-size:40px}.el-button.is-loading .el-icon-loading[data-v-6dbe2c3a]{font-size:14px}.el-tooltip__popper[data-v-6dbe2c3a]{max-width:80%}li[data-v-6dbe2c3a],ul[data-v-6dbe2c3a]{list-style:none}a[data-v-6dbe2c3a]{outline:medium none;text-decoration:none}.colorff66[data-v-6dbe2c3a]{color:#f60}.color02[data-v-6dbe2c3a]{color:#0286df}.color33[data-v-6dbe2c3a]{color:#333}.colorff[data-v-6dbe2c3a]{color:#fff}.color00[data-v-6dbe2c3a]{color:#000}.color66[data-v-6dbe2c3a]{color:#666}.color96[data-v-6dbe2c3a]{color:#969696}.colorbf[data-v-6dbe2c3a]{color:#bfbfbf}.color59[data-v-6dbe2c3a]{color:#595959}.color5e[data-v-6dbe2c3a]{color:#5e5e5e}.colorcc[data-v-6dbe2c3a]{color:#ccc}.color6f[data-v-6dbe2c3a]{color:#6f6f6f}.color2c[data-v-6dbe2c3a]{color:#2c2c2b}.color8d[data-v-6dbe2c3a]{color:#8d8d8d}.h-green[data-v-6dbe2c3a]{color:#78c06e}.h-red[data-v-6dbe2c3a]{color:#f60}.h-orange[data-v-6dbe2c3a]{color:#f7ab01}.color-link[data-v-6dbe2c3a],.h-blue[data-v-6dbe2c3a]{color:#0286df}.bgf5[data-v-6dbe2c3a]{background:#f5f5f5}.bgc9[data-v-6dbe2c3a]{background:#c9c9c9}.bgff[data-v-6dbe2c3a]{background:#fff}.bg02[data-v-6dbe2c3a]{background:#0286df}.bg66[data-v-6dbe2c3a]{background:#666}.bgb3[data-v-6dbe2c3a]{background:#b3b3b3}.font10[data-v-6dbe2c3a]{font-size:10px}.font12[data-v-6dbe2c3a]{font-size:12px}.font14[data-v-6dbe2c3a]{font-size:14px}.font16[data-v-6dbe2c3a]{font-size:16px}.font18[data-v-6dbe2c3a]{font-size:18px}.font20[data-v-6dbe2c3a]{font-size:20px}.font22[data-v-6dbe2c3a]{font-size:22px}.font24[data-v-6dbe2c3a]{font-size:24px}.font28[data-v-6dbe2c3a]{font-size:28px}.font36[data-v-6dbe2c3a]{font-size:36px}.overflow[data-v-6dbe2c3a]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.border02[data-v-6dbe2c3a]{border:1px solid #0286df}.tc-1[data-v-6dbe2c3a]{width:100%;height:1px}.tc-2[data-v-6dbe2c3a]{width:100%;height:2px}.tc-3[data-v-6dbe2c3a]{width:100%;height:3px}.tc-4[data-v-6dbe2c3a]{width:100%;height:4px}.tc-5[data-v-6dbe2c3a]{width:100%;height:5px}.tc-6[data-v-6dbe2c3a]{width:100%;height:6px}.tc-7[data-v-6dbe2c3a]{width:100%;height:7px}.tc-8[data-v-6dbe2c3a]{width:100%;height:8px}.tc-9[data-v-6dbe2c3a]{width:100%;height:9px}.tc-10[data-v-6dbe2c3a]{width:100%;height:10px}.tc-13[data-v-6dbe2c3a]{width:100%;height:13px}.tc-15[data-v-6dbe2c3a]{width:100%;height:15px}.tc-20[data-v-6dbe2c3a]{width:100%;height:20px}.tc-30[data-v-6dbe2c3a]{width:100%;height:30px}.tc-40[data-v-6dbe2c3a]{width:100%;height:40px}.tc-45[data-v-6dbe2c3a]{width:100%;height:45px}.tc-50[data-v-6dbe2c3a]{width:100%;height:50px}.tc-70[data-v-6dbe2c3a]{width:100%;height:70px}.tc-80[data-v-6dbe2c3a]{width:100%;height:80px}.tc-100[data-v-6dbe2c3a]{width:100%;height:100px}.tc-200[data-v-6dbe2c3a]{width:100%;height:200px}.cursor[data-v-6dbe2c3a]{cursor:pointer}[data-v-6dbe2c3a]::-webkit-scrollbar{width:9px;height:9px}[data-v-6dbe2c3a]::-webkit-scrollbar-track{background-color:transparent;border-radius:2em}[data-v-6dbe2c3a]::-webkit-scrollbar-thumb{background-color:#e1e1e1;border-radius:2em}.p-l-no[data-v-6dbe2c3a]{padding-left:0}.el-button.h-btn-reset[data-v-6dbe2c3a]{margin-left:10px;padding:12px 10px}.h-search-form .el-input[data-v-6dbe2c3a]{width:200px}.h-search-form .el-date-editor--daterange.el-input__inner[data-v-6dbe2c3a]{width:240px}.h-search-form.el-form--inline .el-form-item[data-v-6dbe2c3a]{margin-right:10px}.btn-submit-box[data-v-6dbe2c3a]{margin-top:40px;text-align:center}.list-table-td-a[data-v-6dbe2c3a]{color:#0286df;cursor:pointer}.list-table-td-a[data-v-6dbe2c3a]:hover{color:#0286df;text-decoration:underline}.h-main-box[data-v-6dbe2c3a]{padding:10px}.h-main-box-tab[data-v-6dbe2c3a]{padding:5px}.h-tab-content[data-v-6dbe2c3a]{min-height:200px;padding:20px;border:1px solid #e4e7ed;margin-top:-16px}.h-divide-title[data-v-6dbe2c3a]{font-size:16px;line-height:20px;color:#0286df;border-bottom:2px dotted #e4e7ed;padding-bottom:10px;margin:20px 0}.h-divide-title>span[data-v-6dbe2c3a]{border-left:3px solid #0286df;padding-left:10px}',""])},fb45:function(e,t,n){"use strict";(function(e){var i=n("2004"),r=n("a158"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?i["a"].Buffer:void 0,u=l?l.isBuffer:void 0,c=u||r["a"];t["a"]=c}).call(this,n("2ffc")(e))},fb81:function(e,t,n){"use strict";var i=n("3cea");e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},fc3a:function(e,t,n){var i=n("8ab0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("5925").default;r("35976cc5",i,!0,{sourceMap:!1,shadowMode:!1})},fe68:function(e,t,n){var i=n("cac5");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea0:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
358
|
+
function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},fb45:function(e,t,n){"use strict";(function(e){var i=n("2004"),r=n("a158"),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?i["a"].Buffer:void 0,u=l?l.isBuffer:void 0,c=u||r["a"];t["a"]=c}).call(this,n("2ffc")(e))},fb81:function(e,t,n){"use strict";var i=n("3cea");e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},fe68:function(e,t,n){var i=n("cac5");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea0:function(e,t,n){(function(e,t){t(n("caaf"))})(0,(function(e){"use strict";
|
|
359
359
|
//! moment.js locale configuration
|
|
360
360
|
var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}return t}))}})}));
|