bkui-vue 0.0.1-beta.43 → 0.0.1-beta.46
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/dist/index.cjs.js +27 -27
- package/dist/index.esm.js +497 -57
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/lib/alert/alert.variable.css +1 -0
- package/lib/alert/index.js +1 -0
- package/lib/animate-number/{animate-number.js → index.js} +1 -1
- package/lib/backtop/backtop.variable.css +1 -0
- package/lib/backtop/{backtop.js → index.js} +1 -1
- package/lib/badge/badge.variable.css +1 -0
- package/lib/badge/index.js +1 -0
- package/lib/breadcrumb/breadcrumb.variable.css +1 -0
- package/lib/breadcrumb/index.js +1 -0
- package/lib/button/button.variable.css +1 -0
- package/lib/button/index.js +1 -0
- package/lib/card/card.variable.css +1 -0
- package/lib/card/index.js +1 -0
- package/lib/checkbox/checkbox.variable.css +1 -0
- package/lib/checkbox/index.js +1 -0
- package/lib/code-diff/code-diff.variable.css +1 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/index.js +1 -0
- package/lib/date-picker/date-picker.variable.css +1 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/dialog/dialog.css +3 -0
- package/lib/dialog/dialog.d.ts +89 -17
- package/lib/dialog/dialog.less +4 -0
- package/lib/dialog/dialog.variable.css +3 -0
- package/lib/dialog/index.d.ts +191 -36
- package/lib/dialog/index.js +1 -0
- package/lib/directives/index.js +2 -0
- package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
- package/lib/divider/divider.variable.css +1 -0
- package/lib/divider/{divider.js → index.js} +0 -0
- package/lib/dropdown/dropdown.variable.css +1 -0
- package/lib/dropdown/{dropdown.js → index.js} +0 -0
- package/lib/exception/exception.variable.css +1 -0
- package/lib/exception/{exception.js → index.js} +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -0
- package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
- package/lib/form/index.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/index.d.ts +1 -0
- package/lib/input/input.variable.css +1 -0
- package/lib/link/link.variable.css +1 -0
- package/lib/loading/loading.variable.css +1 -0
- package/lib/menu/menu.variable.css +1 -0
- package/lib/menu/submenu.variable.css +1 -0
- package/lib/message/message.variable.css +1 -0
- package/lib/modal/index.d.ts +149 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +58 -0
- package/lib/modal/modal.less +25 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +26 -0
- package/lib/navigation/navigation.variable.css +1 -0
- package/lib/notify/notify.variable.css +1 -0
- package/lib/pagination/pagination.variable.css +1 -0
- package/lib/popover/index.d.ts +33 -2
- package/lib/popover/popover.d.ts +16 -1
- package/lib/popover/popover.variable.css +1 -0
- package/lib/popover/props.d.ts +12 -0
- package/lib/process/process.variable.css +1 -0
- package/lib/progress/progress.variable.css +1 -0
- package/lib/radio/radio.variable.css +1 -0
- package/lib/resize-layout/resize-layout.variable.css +1 -0
- package/lib/select/select.variable.css +1 -0
- package/lib/sideslider/index.d.ts +123 -1
- package/lib/sideslider/sideslider.d.ts +58 -0
- package/lib/sideslider/sideslider.variable.css +1 -0
- package/lib/slider/slider.variable.css +1 -0
- package/lib/steps/steps.variable.css +1 -0
- package/lib/styles/themes/themes.less +1 -0
- package/lib/switcher/switcher.less +2 -0
- package/lib/switcher/switcher.variable.css +1 -0
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/tab/tab.variable.css +1 -0
- package/lib/table/index.d.ts +4 -0
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +162 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +116 -0
- package/lib/table/props.d.ts +27 -1
- package/lib/table/render.d.ts +27 -0
- package/lib/table/table.css +7 -3
- package/lib/table/table.d.ts +3 -0
- package/lib/table/table.less +11 -5
- package/lib/table/table.variable.css +10 -5
- package/lib/table/utils.d.ts +23 -1
- package/lib/tag/tag.variable.css +1 -0
- package/lib/tag-input/tag-input.variable.css +1 -0
- package/lib/timeline/timeline.variable.css +1 -0
- package/lib/transfer/transfer.variable.css +1 -0
- package/lib/tree/tree.variable.css +1 -0
- package/package.json +29 -16
- package/lib/alert/alert.js +0 -1
- package/lib/badge/badge.js +0 -1
- package/lib/breadcrumb/breadcrumb.js +0 -1
- package/lib/button/button.js +0 -1
- package/lib/card/card.js +0 -1
- package/lib/checkbox/checkbox.js +0 -1
- package/lib/code-diff/code-diff.js +0 -1
- package/lib/collapse/collapse.js +0 -1
- package/lib/date-picker/date-picker.js +0 -1
- package/lib/dialog/dialog.js +0 -1
- package/lib/directives/directives.js +0 -2
- package/lib/form/form.js +0 -1
- package/lib/icon/icon.js +0 -1
- package/lib/icon/info-line.js +0 -1
- package/lib/icon/info.js +0 -1
- package/lib/icon/left-shape.js +0 -1
- package/lib/icon/play-shape.js +0 -1
- package/lib/icon/plus.js +0 -1
- package/lib/icon/qq.js +0 -1
- package/lib/icon/right-shape.js +0 -1
- package/lib/icon/search.js +0 -1
- package/lib/icon/share.js +0 -1
- package/lib/icon/spinner.js +0 -1
- package/lib/icon/success.js +0 -1
- package/lib/icon/switcher-loading.js +0 -1
- package/lib/icon/text-file.js +0 -1
- package/lib/icon/tree-application-shape.js +0 -1
- package/lib/icon/unvisible.js +0 -1
- package/lib/icon/up-shape.js +0 -1
- package/lib/icon/warn.js +0 -1
- package/lib/icon/weixin.js +0 -1
- package/lib/input/input.js +0 -1
- package/lib/link/link.js +0 -1
- package/lib/loading/loading.js +0 -1
- package/lib/menu/menu.js +0 -1
- package/lib/message/message.js +0 -1
- package/lib/modal/modal.js +0 -1
- package/lib/navigation/navigation.js +0 -1
- package/lib/notify/notify.js +0 -1
- package/lib/pagination/pagination.js +0 -1
- package/lib/popover/popover.js +0 -1
- package/lib/process/process.js +0 -1
- package/lib/progress/progress.js +0 -1
- package/lib/radio/radio.js +0 -1
- package/lib/rate/rate.js +0 -1
- package/lib/resize-layout/resize-layout.js +0 -1
- package/lib/select/select.js +0 -1
- package/lib/shared/shared.js +0 -1
- package/lib/sideslider/sideslider.js +0 -1
- package/lib/slider/slider.js +0 -1
- package/lib/steps/steps.js +0 -1
- package/lib/swiper/swiper.js +0 -1
- package/lib/switcher/switcher.js +0 -1
- package/lib/tab/tab.js +0 -1
- package/lib/table/table.js +0 -1
- package/lib/tag/tag.js +0 -1
- package/lib/tag-input/tag-input.js +0 -1
- package/lib/timeline/timeline.js +0 -1
- package/lib/transfer/transfer.js +0 -1
- package/lib/tree/tree.js +0 -1
- package/lib/virtual-render/virtual-render.js +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("vue"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/slicedToArray","vue","vue-types"],n);else{var t="object"==typeof exports?n(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("vue"),require("vue-types")):n(e["../shared"],e["@babel/runtime/helpers/slicedToArray"],e.vue,e["vue-types"]);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,((e,n,t,i)=>(()=>{var r={2148:(e,n)=>{!function(e){var n=/\S/,t=/\"/g,i=/\n/g,r=/\r/g,o=/\\/g,a=/\u2028/,s=/\u2029/;function l(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function c(e,n,t){if(n.charAt(t)!=e.charAt(0))return!1;for(var i=1,r=e.length;i<r;i++)if(n.charAt(t+i)!=e.charAt(i))return!1;return!0}e.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(t,i){var r,o=t.length,a=0,s=null,u=null,f="",d=[],p=!1,h=0,b=0,g="{{",v="}}";function m(){f.length>0&&(d.push({tag:"_t",text:new String(f)}),f="")}function y(t,i){if(m(),t&&function(){for(var t=!0,i=b;i<d.length;i++)if(!(t=e.tags[d[i].tag]<e.tags._v||"_t"==d[i].tag&&null===d[i].text.match(n)))return!1;return t}())for(var r,o=b;o<d.length;o++)d[o].text&&((r=d[o+1])&&">"==r.tag&&(r.indent=d[o].text.toString()),d.splice(o,1));else i||d.push({tag:"\n"});p=!1,b=d.length}function w(e,n){var t="="+v,i=e.indexOf(t,n),r=l(e.substring(e.indexOf("=",n)+1,i)).split(" ");return g=r[0],v=r[r.length-1],i+t.length-1}for(i&&(i=i.split(" "),g=i[0],v=i[1]),h=0;h<o;h++)0==a?c(g,t,h)?(--h,m(),a=1):"\n"==t.charAt(h)?y(p):f+=t.charAt(h):1==a?(h+=g.length-1,"="==(s=(u=e.tags[t.charAt(h+1)])?t.charAt(h+1):"_v")?(h=w(t,h),a=0):(u&&h++,a=2),p=h):c(v,t,h)?(d.push({tag:s,n:l(f),otag:g,ctag:v,i:"/"==s?p-g.length:h+v.length}),f="",h+=v.length-1,a=0,"{"==s&&("}}"==v?h++:"}"===(r=d[d.length-1]).n.substr(r.n.length-1)&&(r.n=r.n.substring(0,r.n.length-1)))):f+=t.charAt(h);return y(p,!0),d};var u={_t:!0,"\n":!0,$:!0,"/":!0};function f(n,t,i,r){var o,a=[],s=null,l=null;for(o=i[i.length-1];n.length>0;){if(l=n.shift(),o&&"<"==o.tag&&!(l.tag in u))throw new Error("Illegal content in < super tag.");if(e.tags[l.tag]<=e.tags.$||d(l,r))i.push(l),l.nodes=f(n,l.tag,i,r);else{if("/"==l.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+l.n);if(s=i.pop(),l.n!=s.n&&!p(l.n,s.n,r))throw new Error("Nesting error: "+s.n+" vs. "+l.n);return s.end=l.i,a}"\n"==l.tag&&(l.last=0==n.length||"\n"==n[0].tag)}a.push(l)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return a}function d(e,n){for(var t=0,i=n.length;t<i;t++)if(n[t].o==e.n)return e.tag="#",!0}function p(e,n,t){for(var i=0,r=t.length;i<r;i++)if(t[i].c==e&&t[i].o==n)return!0}function h(e){var n=[];for(var t in e.partials)n.push('"'+g(t)+'":{name:"'+g(e.partials[t].name)+'", '+h(e.partials[t])+"}");return"partials: {"+n.join(",")+"}, subs: "+function(e){var n=[];for(var t in e)n.push('"'+g(t)+'": function(c,p,t,i) {'+e[t]+"}");return"{ "+n.join(",")+" }"}(e.subs)}e.stringify=function(n,t,i){return"{code: function (c,p,i) { "+e.wrapMain(n.code)+" },"+h(n)+"}"};var b=0;function g(e){return e.replace(o,"\\\\").replace(t,'\\"').replace(i,"\\n").replace(r,"\\r").replace(a,"\\u2028").replace(s,"\\u2029")}function v(e){return~e.indexOf(".")?"d":"f"}function m(e,n){var t="<"+(n.prefix||"")+e.n+b++;return n.partials[t]={name:e.n,partials:{}},n.code+='t.b(t.rp("'+g(t)+'",c,p,"'+(e.indent||"")+'"));',t}function y(e,n){n.code+="t.b(t.t(t."+v(e.n)+'("'+g(e.n)+'",c,p,0)));'}function w(e){return"t.b("+e+");"}e.generate=function(n,t,i){b=0;var r={code:"",subs:{},partials:{}};return e.walk(n,r),i.asString?this.stringify(r,t,i):this.makeTemplate(r,t,i)},e.wrapMain=function(e){return'var t=this;t.b(i=i||"");'+e+"return t.fl();"},e.template=e.Template,e.makeTemplate=function(e,n,t){var i=this.makePartials(e);return i.code=new Function("c","p","i",this.wrapMain(e.code)),new this.template(i,n,this,t)},e.makePartials=function(e){var n,t={subs:{},partials:e.partials,name:e.name};for(n in t.partials)t.partials[n]=this.makePartials(t.partials[n]);for(n in e.subs)t.subs[n]=new Function("c","p","t","i",e.subs[n]);return t},e.codegen={"#":function(n,t){t.code+="if(t.s(t."+v(n.n)+'("'+g(n.n)+'",c,p,1),c,p,0,'+n.i+","+n.end+',"'+n.otag+" "+n.ctag+'")){t.rs(c,p,function(c,p,t){',e.walk(n.nodes,t),t.code+="});c.pop();}"},"^":function(n,t){t.code+="if(!t.s(t."+v(n.n)+'("'+g(n.n)+'",c,p,1),c,p,1,0,0,"")){',e.walk(n.nodes,t),t.code+="};"},">":m,"<":function(n,t){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(n.nodes,i);var r=t.partials[m(n,t)];r.subs=i.subs,r.partials=i.partials},$:function(n,t){var i={subs:{},code:"",partials:t.partials,prefix:n.n};e.walk(n.nodes,i),t.subs[n.n]=i.code,t.inPartial||(t.code+='t.sub("'+g(n.n)+'",c,p,i);')},"\n":function(e,n){n.code+=w('"\\n"'+(e.last?"":" + i"))},_v:function(e,n){n.code+="t.b(t.v(t."+v(e.n)+'("'+g(e.n)+'",c,p,0)));'},_t:function(e,n){n.code+=w('"'+g(e.text)+'"')},"{":y,"&":y},e.walk=function(n,t){for(var i,r=0,o=n.length;r<o;r++)(i=e.codegen[n[r].tag])&&i(n[r],t);return t},e.parse=function(e,n,t){return f(e,0,[],(t=t||{}).sectionTags||[])},e.cache={},e.cacheKey=function(e,n){return[e,!!n.asString,!!n.disableLambda,n.delimiters,!!n.modelGet].join("||")},e.compile=function(n,t){t=t||{};var i=e.cacheKey(n,t),r=this.cache[i];if(r){var o=r.partials;for(var a in o)delete o[a].instance;return r}return r=this.generate(this.parse(this.scan(n,t.delimiters),n,t),n,t),this.cache[i]=r}}(n)},112:(e,n,t)=>{var i=t(2148);i.Template=t(8719).Template,i.template=i.Template,e.exports=i},8719:(e,n)=>{!function(e){function n(e,n,t){var i;return n&&"object"==typeof n&&(void 0!==n[e]?i=n[e]:t&&n.get&&"function"==typeof n.get&&(i=n.get(e))),i}e.Template=function(e,n,t,i){e=e||{},this.r=e.code||this.r,this.c=t,this.options=i||{},this.text=n||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,n,t){return""},v:function(e){return e=l(e),s.test(e)?e.replace(t,"&").replace(i,"<").replace(r,">").replace(o,"'").replace(a,"""):e},t:l,render:function(e,n,t){return this.ri([e],n||{},t)},ri:function(e,n,t){return this.r(e,n,t)},ep:function(e,n){var t=this.partials[e],i=n[t.name];if(t.instance&&t.base==i)return t.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,t.subs){for(key in n.stackText||(n.stackText={}),t.subs)n.stackText[key]||(n.stackText[key]=void 0!==this.activeSub&&n.stackText[this.activeSub]?n.stackText[this.activeSub]:this.text);i=function(e,n,t,i,r,o){function a(){}function s(){}var l;a.prototype=e,s.prototype=e.subs;var c=new a;for(l in c.subs=new s,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=o,n)i[l]||(i[l]=n[l]);for(l in i)c.subs[l]=i[l];for(l in r=r||{},c.stackPartials=r,t)r[l]||(r[l]=t[l]);for(l in r)c.partials[l]=r[l];return c}(i,t.subs,t.partials,this.stackSubs,this.stackPartials,n.stackText)}return this.partials[e].instance=i,i},rp:function(e,n,t,i){var r=this.ep(e,t);return r?r.ri(n,t,i):""},rs:function(e,n,t){var i=e[e.length-1];if(c(i))for(var r=0;r<i.length;r++)e.push(i[r]),t(e,n,this),e.pop();else t(e,n,this)},s:function(e,n,t,i,r,o,a){var s;return(!c(e)||0!==e.length)&&("function"==typeof e&&(e=this.ms(e,n,t,i,r,o,a)),s=!!e,!i&&s&&n&&n.push("object"==typeof e?e:n[n.length-1]),s)},d:function(e,t,i,r){var o,a=e.split("."),s=this.f(a[0],t,i,r),l=this.options.modelGet,u=null;if("."===e&&c(t[t.length-2]))s=t[t.length-1];else for(var f=1;f<a.length;f++)void 0!==(o=n(a[f],s,l))?(u=s,s=o):s="";return!(r&&!s)&&(r||"function"!=typeof s||(t.push(u),s=this.mv(s,t,i),t.pop()),s)},f:function(e,t,i,r){for(var o=!1,a=!1,s=this.options.modelGet,l=t.length-1;l>=0;l--)if(void 0!==(o=n(e,t[l],s))){a=!0;break}return a?(r||"function"!=typeof o||(o=this.mv(o,t,i)),o):!r&&""},ls:function(e,n,t,i,r){var o=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(l(e.call(n,i)),n,t)),this.options.delimiters=o,!1},ct:function(e,n,t){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(n,t)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,n,t,i,r,o,a){var s,l=n[n.length-1],c=e.call(l);return"function"==typeof c?!!i||(s=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,l,t,s.substring(r,o),a)):c},mv:function(e,n,t){var i=n[n.length-1],r=e.call(i);return"function"==typeof r?this.ct(l(r.call(i)),i,t):r},sub:function(e,n,t,i){var r=this.subs[e];r&&(this.activeSub=e,r(n,t,this,i),this.activeSub=!1)}};var t=/&/g,i=/</g,r=/>/g,o=/\'/g,a=/\"/g,s=/[&<>\"\']/;function l(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(n)},4212:n=>{"use strict";n.exports=e},1673:e=>{"use strict";e.exports=n},748:e=>{"use strict";e.exports=t},210:e=>{"use strict";e.exports=i}},o={};function a(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e](t,t.exports,a),t.exports}a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var t in n)a.o(n,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";a.r(s),a.d(s,{default:()=>He});var e=a(4212),n=a(1673),t=a.n(n),i=a(748);function r(){}function o(e,n,t,i,r){for(var o=0,a=n.length,s=0,l=0;o<a;o++){var c=n[o];if(c.removed){if(c.value=e.join(i.slice(l,l+c.count)),l+=c.count,o&&n[o-1].added){var u=n[o-1];n[o-1]=n[o],n[o]=u}}else{if(!c.added&&r){var f=t.slice(s,s+c.count);f=f.map((function(e,n){var t=i[l+n];return t.length>e.length?t:e})),c.value=e.join(f)}else c.value=e.join(t.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var d=n[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(n[a-2].value+=d.value,n.pop()),n}function l(e){return{newPos:e.newPos,components:e.components.slice(0)}}r.prototype={diff:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.callback;"function"==typeof t&&(i=t,t={}),this.options=t;var r=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),n=this.castInput(n),e=this.removeEmpty(this.tokenize(e));var s=(n=this.removeEmpty(this.tokenize(n))).length,c=e.length,u=1,f=s+c,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],n,e,0);if(d[0].newPos+1>=s&&p+1>=c)return a([{value:this.join(n),count:n.length}]);function h(){for(var t=-1*u;t<=u;t+=2){var i=void 0,f=d[t-1],p=d[t+1],h=(p?p.newPos:0)-t;f&&(d[t-1]=void 0);var b=f&&f.newPos+1<s,g=p&&0<=h&&h<c;if(b||g){if(!b||g&&f.newPos<p.newPos?(i=l(p),r.pushComponent(i.components,void 0,!0)):((i=f).newPos++,r.pushComponent(i.components,!0,void 0)),h=r.extractCommon(i,n,e,t),i.newPos+1>=s&&h+1>=c)return a(o(r,i.components,n,e,r.useLongestToken));d[t]=i}else d[t]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>f)return i();h()||e()}),0)}();else for(;u<=f;){var b=h();if(b)return b}},pushComponent:function(e,n,t){var i=e[e.length-1];i&&i.added===n&&i.removed===t?e[e.length-1]={count:i.count+1,added:n,removed:t}:e.push({count:1,added:n,removed:t})},extractCommon:function(e,n,t,i){for(var r=n.length,o=t.length,a=e.newPos,s=a-i,l=0;a+1<r&&s+1<o&&this.equals(n[a+1],t[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,n){return this.options.comparator?this.options.comparator(e,n):e===n||this.options.ignoreCase&&e.toLowerCase()===n.toLowerCase()},removeEmpty:function(e){for(var n=[],t=0;t<e.length;t++)e[t]&&n.push(e[t]);return n},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}},new r;var c=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,u=/\S/,f=new r;f.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!u.test(e)&&!u.test(n)},f.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&c.test(n[t])&&c.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n};var d=new r;function p(e){return p="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},p(e)}function h(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return b(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?b(e,n):void 0}}(e)||function(){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 b(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}d.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var i=0;i<t.length;i++){var r=t[i];i%2&&!this.options.newlineIsToken?n[n.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),n.push(r))}return n},(new r).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new r).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var g=Object.prototype.toString,v=new r;function m(e,n,t,i,r){var o,a;for(n=n||[],t=t||[],i&&(e=i(r,e)),o=0;o<n.length;o+=1)if(n[o]===e)return t[o];if("[object Array]"===g.call(e)){for(n.push(e),a=new Array(e.length),t.push(a),o=0;o<e.length;o+=1)a[o]=m(e[o],n,t,i,r);return n.pop(),t.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===p(e)&&null!==e){n.push(e),a={},t.push(a);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=m(e[s],n,t,i,s);n.pop(),t.pop()}else a=e;return a}v.useLongestToken=!0,v.tokenize=d.tokenize,v.castInput=function(e){var n=this.options,t=n.undefinedReplacement,i=n.stringifyReplacer,r=void 0===i?function(e,n){return void 0===n?t:n}:i;return"string"==typeof e?e:JSON.stringify(m(e,null,null,r),r," ")},v.equals=function(e,n){return r.prototype.equals.call(v,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))};var y,w=new r;function x(e,n,t,i,r,o){return function(e,n,t,i,r,o,a){return function(e){var n=[];e.oldFileName==e.newFileName&&n.push("Index: "+e.oldFileName),n.push("==================================================================="),n.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),n.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var t=0;t<e.hunks.length;t++){var i=e.hunks[t];0===i.oldLines&&(i.oldStart-=1),0===i.newLines&&(i.newStart-=1),n.push("@@ -"+i.oldStart+","+i.oldLines+" +"+i.newStart+","+i.newLines+" @@"),n.push.apply(n,i.lines)}return n.join("\n")+"\n"}(function(e,n,t,i,r,o,a){a||(a={}),void 0===a.context&&(a.context=4);var s=function(e,n,t){return d.diff(e,n,t)}(t,i,a);function l(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var c=[],u=0,f=0,p=[],b=1,g=1,v=function(e){var n=s[e],r=n.lines||n.value.replace(/\n$/,"").split("\n");if(n.lines=r,n.added||n.removed){var o;if(!u){var d=s[e-1];u=b,f=g,d&&(p=a.context>0?l(d.lines.slice(-a.context)):[],u-=p.length,f-=p.length)}(o=p).push.apply(o,h(r.map((function(e){return(n.added?"+":"-")+e})))),n.added?g+=r.length:b+=r.length}else{if(u)if(r.length<=2*a.context&&e<s.length-2){var v;(v=p).push.apply(v,h(l(r)))}else{var m,y=Math.min(r.length,a.context);(m=p).push.apply(m,h(l(r.slice(0,y))));var w={oldStart:u,oldLines:b-u+y,newStart:f,newLines:g-f+y,lines:p};if(e>=s.length-2&&r.length<=a.context){var x=/\n$/.test(t),N=/\n$/.test(i),C=0==r.length&&p.length>w.oldLines;!x&&C&&t.length>0&&p.splice(w.oldLines,0,"\"),(x||C)&&N||p.push("\")}c.push(w),u=0,f=0,p=[]}b+=r.length,g+=r.length}},m=0;m<s.length;m++)v(m);return{oldFileName:e,newFileName:n,oldHeader:r,newHeader:o,hunks:c}}(e,n,t,i,r,o,a))}(e,e,n,t,i,r,o)}w.tokenize=function(e){return e.slice()},w.join=w.removeEmpty=function(e){return e},function(e){e.INSERT="insert",e.DELETE="delete",e.CONTEXT="context"}(y||(y={}));var N=RegExp("["+["-","[","]","/","{","}","(",")","*","+","?",".","\\","^","$","|"].join("\\")+"]","g");function C(e){return e?e.replace(/\\/g,"/"):e}var T=function(e,n,t){if(t||2===arguments.length)for(var i,r=0,o=n.length;r<o;r++)!i&&r in n||(i||(i=Array.prototype.slice.call(n,0,r)),i[r]=n[r]);return e.concat(i||Array.prototype.slice.call(n))};function E(e,n){var t=e.split(".");return t.length>1?t[t.length-1]:n}function S(e,n){return n.reduce((function(n,t){return n||e.startsWith(t)}),!1)}var L=["a/","b/","i/","w/","c/","o/"];function k(e,n,t){var i=void 0!==t?T(T([],L,!0),[t],!1):L,r=((n?new RegExp("^"+n.replace(N,"\\$&")+' "?(.+?)"?$'):new RegExp('^"?(.+?)"?$')).exec(e)||[])[1],o=void 0===r?"":r,a=i.find((function(e){return 0===o.indexOf(e)}));return(a?o.slice(a.length):o).replace(/\s+\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)? [+-]\d{4}.*$/,"")}function H(){}function j(e,n,t,i,r){for(var o=0,a=n.length,s=0,l=0;o<a;o++){var c=n[o];if(c.removed){if(c.value=e.join(i.slice(l,l+c.count)),l+=c.count,o&&n[o-1].added){var u=n[o-1];n[o-1]=n[o],n[o]=u}}else{if(!c.added&&r){var f=t.slice(s,s+c.count);f=f.map((function(e,n){var t=i[l+n];return t.length>e.length?t:e})),c.value=e.join(f)}else c.value=e.join(t.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var d=n[a-1];return a>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(n[a-2].value+=d.value,n.pop()),n}function I(e){return{newPos:e.newPos,components:e.components.slice(0)}}H.prototype={diff:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.callback;"function"==typeof t&&(i=t,t={}),this.options=t;var r=this;function o(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),n=this.castInput(n),e=this.removeEmpty(this.tokenize(e));var a=(n=this.removeEmpty(this.tokenize(n))).length,s=e.length,l=1,c=a+s,u=[{newPos:-1,components:[]}],f=this.extractCommon(u[0],n,e,0);if(u[0].newPos+1>=a&&f+1>=s)return o([{value:this.join(n),count:n.length}]);function d(){for(var t=-1*l;t<=l;t+=2){var i=void 0,c=u[t-1],f=u[t+1],d=(f?f.newPos:0)-t;c&&(u[t-1]=void 0);var p=c&&c.newPos+1<a,h=f&&0<=d&&d<s;if(p||h){if(!p||h&&c.newPos<f.newPos?(i=I(f),r.pushComponent(i.components,void 0,!0)):((i=c).newPos++,r.pushComponent(i.components,!0,void 0)),d=r.extractCommon(i,n,e,t),i.newPos+1>=a&&d+1>=s)return o(j(r,i.components,n,e,r.useLongestToken));u[t]=i}else u[t]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>c)return i();d()||e()}),0)}();else for(;l<=c;){var p=d();if(p)return p}},pushComponent:function(e,n,t){var i=e[e.length-1];i&&i.added===n&&i.removed===t?e[e.length-1]={count:i.count+1,added:n,removed:t}:e.push({count:1,added:n,removed:t})},extractCommon:function(e,n,t,i){for(var r=n.length,o=t.length,a=e.newPos,s=a-i,l=0;a+1<r&&s+1<o&&this.equals(n[a+1],t[s+1]);)a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},equals:function(e,n){return this.options.comparator?this.options.comparator(e,n):e===n||this.options.ignoreCase&&e.toLowerCase()===n.toLowerCase()},removeEmpty:function(e){for(var n=[],t=0;t<e.length;t++)e[t]&&n.push(e[t]);return n},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var O=new H,A=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,P=/\S/,M=new H;M.equals=function(e,n){return this.options.ignoreCase&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n||this.options.ignoreWhitespace&&!P.test(e)&&!P.test(n)},M.tokenize=function(e){for(var n=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),t=0;t<n.length-1;t++)!n[t+1]&&n[t+2]&&A.test(n[t])&&A.test(n[t+2])&&(n[t]+=n[t+2],n.splice(t+1,2),t--);return n};var z=new H;function F(e){return F="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},F(e)}z.tokenize=function(e){var n=[],t=e.split(/(\n|\r\n)/);t[t.length-1]||t.pop();for(var i=0;i<t.length;i++){var r=t[i];i%2&&!this.options.newlineIsToken?n[n.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),n.push(r))}return n},(new H).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new H).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var D=Object.prototype.toString,W=new H;function R(e,n,t,i,r){var o,a;for(n=n||[],t=t||[],i&&(e=i(r,e)),o=0;o<n.length;o+=1)if(n[o]===e)return t[o];if("[object Array]"===D.call(e)){for(n.push(e),a=new Array(e.length),t.push(a),o=0;o<e.length;o+=1)a[o]=R(e[o],n,t,i,r);return n.pop(),t.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===F(e)&&null!==e){n.push(e),a={},t.push(a);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),o=0;o<l.length;o+=1)a[s=l[o]]=R(e[s],n,t,i,s);n.pop(),t.pop()}else a=e;return a}W.useLongestToken=!0,W.tokenize=z.tokenize,W.castInput=function(e){var n=this.options,t=n.undefinedReplacement,i=n.stringifyReplacer,r=void 0===i?function(e,n){return void 0===n?t:n}:i;return"string"==typeof e?e:JSON.stringify(R(e,null,null,r),r," ")},W.equals=function(e,n){return H.prototype.equals.call(W,e.replace(/,([\r\n])/g,"$1"),n.replace(/,([\r\n])/g,"$1"))};var B=new H;function q(e){return function(n,t){var i=e(n).trim(),r=e(t).trim();return function(e,n){if(0===e.length)return n.length;if(0===n.length)return e.length;var t,i,r=[];for(t=0;t<=n.length;t++)r[t]=[t];for(i=0;i<=e.length;i++)r[0][i]=i;for(t=1;t<=n.length;t++)for(i=1;i<=e.length;i++)n.charAt(t-1)===e.charAt(i-1)?r[t][i]=r[t-1][i-1]:r[t][i]=Math.min(r[t-1][i-1]+1,Math.min(r[t][i-1]+1,r[t-1][i]+1));return r[n.length][e.length]}(i,r)/(i.length+r.length)}}function $(e){return function n(t,i,r,o){void 0===r&&(r=0),void 0===o&&(o=new Map);var a=function(n,t,i){void 0===i&&(i=new Map);for(var r,o=1/0,a=0;a<n.length;++a)for(var s=0;s<t.length;++s){var l=JSON.stringify([n[a],t[s]]),c=void 0;i.has(l)&&(c=i.get(l))||(c=e(n[a],t[s]),i.set(l,c)),c<o&&(r={indexA:a,indexB:s,score:o=c})}return r}(t,i,o);if(!a||t.length+i.length<3)return[[t,i]];var s=t.slice(0,a.indexA),l=i.slice(0,a.indexB),c=[t[a.indexA]],u=[i[a.indexB]],f=a.indexA+1,d=a.indexB+1,p=t.slice(f),h=i.slice(d),b=n(s,l,r+1,o),g=n(c,u,r+1,o),v=n(p,h,r+1,o),m=g;return(a.indexA>0||a.indexB>0)&&(m=b.concat(m)),(t.length>f||i.length>d)&&(m=m.concat(v)),m}}B.tokenize=function(e){return e.slice()},B.join=B.removeEmpty=function(e){return e};var U=function(){return U=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},U.apply(this,arguments)},V={INSERTS:"d2h-ins",DELETES:"d2h-del",CONTEXT:"d2h-cntx",INFO:"d2h-info",INSERT_CHANGES:"d2h-ins d2h-change",DELETE_CHANGES:"d2h-del d2h-change"},_={matching:"none",matchWordsThreshold:.25,maxLineLengthHighlight:1e4,diffStyle:"word"},G="/",X=q((function(e){return e.value})),J=$(X);function K(e){return-1!==e.indexOf("dev/null")}function Z(e){return e.replace(/(<del[^>]*>((.|\n)*?)<\/del>)/g,"")}function Q(e){switch(e){case y.CONTEXT:return V.CONTEXT;case y.INSERT:return V.INSERTS;case y.DELETE:return V.DELETES}}function Y(e){return e.slice(0).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}function ee(e,n,t){void 0===t&&(t=!0);var i=function(e){return e?2:1}(n);return{prefix:e.substring(0,i),content:t?Y(e.substring(i)):e.substring(i)}}function ne(e){var n=C(e.oldName),t=C(e.newName);if(n===t||K(n)||K(t))return K(t)?n:t;for(var i=[],r=[],o=n.split(G),a=t.split(G),s=0,l=o.length-1,c=a.length-1;s<l&&s<c&&o[s]===a[s];)i.push(a[s]),s+=1;for(;l>s&&c>s&&o[l]===a[c];)r.unshift(a[c]),l-=1,c-=1;var u=i.join(G),f=r.join(G),d=o.slice(s,l+1).join(G),p=a.slice(s,c+1).join(G);return u.length&&f.length?u+G+"{"+d+" → "+p+"}"+G+f:u.length?u+G+"{"+d+" → "+p+"}":f.length?"{"+d+" → "+p+"}"+G+f:n+" → "+t}function te(e){return"d2h-"+function(e){var n,t,i=0;for(n=0,t=e.length;n<t;n++)i=(i<<5)-i+e.charCodeAt(n),i|=0;return i}(ne(e)).toString().slice(-6)}function ie(e){var n="file-changed";return e.isRename||e.isCopy?n="file-renamed":e.isNew?n="file-added":e.isDeleted?n="file-deleted":e.newName!==e.oldName&&(n="file-renamed"),n}function re(e,n,t,i){void 0===i&&(i={});var r=U(U({},_),i),o=r.matching,a=r.maxLineLengthHighlight,s=r.matchWordsThreshold,l=r.diffStyle,c=ee(e,t,!1),u=ee(n,t,!1);if(c.content.length>a||u.content.length>a)return{oldLine:{prefix:c.prefix,content:Y(c.content)},newLine:{prefix:u.prefix,content:Y(u.content)}};var f,d,p="char"===l?(f=c.content,d=u.content,O.diff(f,d,undefined)):function(e,n,t){return M.diff(e,n,void 0)}(c.content,u.content),h=[];if("word"===l&&"words"===o){var b=p.filter((function(e){return e.removed})),g=p.filter((function(e){return e.added}));J(g,b).forEach((function(e){1===e[0].length&&1===e[1].length&&X(e[0][0],e[1][0])<s&&(h.push(e[0][0]),h.push(e[1][0]))}))}var v,m=p.reduce((function(e,n){var t=n.added?"ins":n.removed?"del":null,i=h.indexOf(n)>-1?' class="d2h-change"':"",r=Y(n.value);return null!==t?e+"<"+t+i+">"+r+"</"+t+">":""+e+r}),"");return{oldLine:{prefix:c.prefix,content:(v=m,v.replace(/(<ins[^>]*>((.|\n)*?)<\/ins>)/g,""))},newLine:{prefix:u.prefix,content:Z(m)}}}var oe="file-summary",ae=function(){return ae=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},ae.apply(this,arguments)},se=ae(ae({},_),{renderNothingWhenEmpty:!1,matchingMaxComparisons:2500,maxLineSizeInBlockForComparison:200}),le="generic",ce="line-by-line",ue=function(){function e(e,n){void 0===n&&(n={}),this.hoganUtils=e,this.config=ae(ae({},se),n)}return e.prototype.render=function(e){var n=this,t=e.map((function(e){var t;return t=e.blocks.length?n.generateFileHtml(e):n.generateEmptyDiff(),n.makeFileDiffHtml(e,t)})).join("\n");return this.hoganUtils.render(le,"wrapper",{content:t})},e.prototype.makeFileDiffHtml=function(e,n){if(this.config.renderNothingWhenEmpty&&Array.isArray(e.blocks)&&0===e.blocks.length)return"";var t=this.hoganUtils.template(ce,"file-diff"),i=this.hoganUtils.template(le,"file-path"),r=this.hoganUtils.template("icon","file"),o=this.hoganUtils.template("tag",ie(e));return t.render({file:e,fileHtmlId:te(e),diffs:n,filePath:i.render({fileDiffName:ne(e)},{fileIcon:r,fileTag:o})})},e.prototype.generateEmptyDiff=function(){return this.hoganUtils.render(le,"empty-diff",{contentClass:"d2h-code-line",CSSLineClass:V})},e.prototype.generateFileHtml=function(e){var n=this,t=$(q((function(n){return ee(n.content,e.isCombined).content})));return e.blocks.map((function(i){var r=n.hoganUtils.render(le,"block-header",{CSSLineClass:V,blockHeader:e.isTooBig?i.header:Y(i.header),lineClass:"d2h-code-linenumber",contentClass:"d2h-code-line"});return n.applyLineGroupping(i).forEach((function(i){var o=i[0],a=i[1],s=i[2];if(a.length&&s.length&&!o.length)n.applyRematchMatching(a,s,t).map((function(t){var i=t[0],o=t[1],a=n.processChangedLines(e.isCombined,i,o),s=a.left,l=a.right;r+=s,r+=l}));else if(o.length)o.forEach((function(t){var i=ee(t.content,e.isCombined),o=i.prefix,a=i.content;r+=n.generateSingleLineHtml({type:V.CONTEXT,prefix:o,content:a,oldNumber:t.oldNumber,newNumber:t.newNumber})}));else if(a.length||s.length){var l=n.processChangedLines(e.isCombined,a,s),c=l.left,u=l.right;r+=c,r+=u}else console.error("Unknown state reached while processing groups of lines",o,a,s)})),r})).join("\n")},e.prototype.applyLineGroupping=function(e){for(var n=[],t=[],i=[],r=0;r<e.lines.length;r++){var o=e.lines[r];(o.type!==y.INSERT&&i.length||o.type===y.CONTEXT&&t.length>0)&&(n.push([[],t,i]),t=[],i=[]),o.type===y.CONTEXT?n.push([[o],[],[]]):o.type===y.INSERT&&0===t.length?n.push([[],[],[o]]):o.type===y.INSERT&&t.length>0?i.push(o):o.type===y.DELETE&&t.push(o)}return(t.length||i.length)&&(n.push([[],t,i]),t=[],i=[]),n},e.prototype.applyRematchMatching=function(e,n,t){var i=e.length*n.length,r=Math.max.apply(null,[0].concat(e.concat(n).map((function(e){return e.content.length}))));return i<this.config.matchingMaxComparisons&&r<this.config.maxLineSizeInBlockForComparison&&("lines"===this.config.matching||"words"===this.config.matching)?t(e,n):[[e,n]]},e.prototype.processChangedLines=function(e,n,t){for(var i={right:"",left:""},r=Math.max(n.length,t.length),o=0;o<r;o++){var a=n[o],s=t[o],l=void 0!==a&&void 0!==s?re(a.content,s.content,e,this.config):void 0,c=void 0!==a&&void 0!==a.oldNumber?ae(ae({},void 0!==l?{prefix:l.oldLine.prefix,content:l.oldLine.content,type:V.DELETE_CHANGES}:ae(ae({},ee(a.content,e)),{type:Q(a.type)})),{oldNumber:a.oldNumber,newNumber:a.newNumber}):void 0,u=void 0!==s&&void 0!==s.newNumber?ae(ae({},void 0!==l?{prefix:l.newLine.prefix,content:l.newLine.content,type:V.INSERT_CHANGES}:ae(ae({},ee(s.content,e)),{type:Q(s.type)})),{oldNumber:s.oldNumber,newNumber:s.newNumber}):void 0,f=this.generateLineHtml(c,u),d=f.left,p=f.right;i.left+=d,i.right+=p}return i},e.prototype.generateLineHtml=function(e,n){return{left:this.generateSingleLineHtml(e),right:this.generateSingleLineHtml(n)}},e.prototype.generateSingleLineHtml=function(e){if(void 0===e)return"";var n=this.hoganUtils.render(ce,"numbers",{oldNumber:e.oldNumber||"",newNumber:e.newNumber||""});return this.hoganUtils.render(le,"line",{type:e.type,lineClass:"d2h-code-linenumber",contentClass:"d2h-code-line",prefix:" "===e.prefix?" ":e.prefix,content:e.content,lineNumber:n})},e}();const fe=ue;var de=function(){return de=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},de.apply(this,arguments)},pe=de(de({},_),{renderNothingWhenEmpty:!1,matchingMaxComparisons:2500,maxLineSizeInBlockForComparison:200}),he="generic",be=function(){function e(e,n){void 0===n&&(n={}),this.hoganUtils=e,this.config=de(de({},pe),n)}return e.prototype.render=function(e){var n=this,t=e.map((function(e){var t;return t=e.blocks.length?n.generateFileHtml(e):n.generateEmptyDiff(),n.makeFileDiffHtml(e,t)})).join("\n");return this.hoganUtils.render(he,"wrapper",{content:t})},e.prototype.makeFileDiffHtml=function(e,n){if(this.config.renderNothingWhenEmpty&&Array.isArray(e.blocks)&&0===e.blocks.length)return"";var t=this.hoganUtils.template("side-by-side","file-diff"),i=this.hoganUtils.template(he,"file-path"),r=this.hoganUtils.template("icon","file"),o=this.hoganUtils.template("tag",ie(e));return t.render({file:e,fileHtmlId:te(e),diffs:n,filePath:i.render({fileDiffName:ne(e)},{fileIcon:r,fileTag:o})})},e.prototype.generateEmptyDiff=function(){return{right:"",left:this.hoganUtils.render(he,"empty-diff",{contentClass:"d2h-code-side-line",CSSLineClass:V})}},e.prototype.generateFileHtml=function(e){var n=this,t=$(q((function(n){return ee(n.content,e.isCombined).content})));return e.blocks.map((function(i){var r={left:n.makeHeaderHtml(i.header,e),right:n.makeHeaderHtml("")};return n.applyLineGroupping(i).forEach((function(i){var o=i[0],a=i[1],s=i[2];if(a.length&&s.length&&!o.length)n.applyRematchMatching(a,s,t).map((function(t){var i=t[0],o=t[1],a=n.processChangedLines(e.isCombined,i,o),s=a.left,l=a.right;r.left+=s,r.right+=l}));else if(o.length)o.forEach((function(t){var i=ee(t.content,e.isCombined),o=i.prefix,a=i.content,s=n.generateLineHtml({type:V.CONTEXT,prefix:o,content:a,number:t.oldNumber},{type:V.CONTEXT,prefix:o,content:a,number:t.newNumber}),l=s.left,c=s.right;r.left+=l,r.right+=c}));else if(a.length||s.length){var l=n.processChangedLines(e.isCombined,a,s),c=l.left,u=l.right;r.left+=c,r.right+=u}else console.error("Unknown state reached while processing groups of lines",o,a,s)})),r})).reduce((function(e,n){return{left:e.left+n.left,right:e.right+n.right}}),{left:"",right:""})},e.prototype.applyLineGroupping=function(e){for(var n=[],t=[],i=[],r=0;r<e.lines.length;r++){var o=e.lines[r];(o.type!==y.INSERT&&i.length||o.type===y.CONTEXT&&t.length>0)&&(n.push([[],t,i]),t=[],i=[]),o.type===y.CONTEXT?n.push([[o],[],[]]):o.type===y.INSERT&&0===t.length?n.push([[],[],[o]]):o.type===y.INSERT&&t.length>0?i.push(o):o.type===y.DELETE&&t.push(o)}return(t.length||i.length)&&(n.push([[],t,i]),t=[],i=[]),n},e.prototype.applyRematchMatching=function(e,n,t){var i=e.length*n.length,r=Math.max.apply(null,[0].concat(e.concat(n).map((function(e){return e.content.length}))));return i<this.config.matchingMaxComparisons&&r<this.config.maxLineSizeInBlockForComparison&&("lines"===this.config.matching||"words"===this.config.matching)?t(e,n):[[e,n]]},e.prototype.makeHeaderHtml=function(e,n){return this.hoganUtils.render(he,"block-header",{CSSLineClass:V,blockHeader:(null==n?void 0:n.isTooBig)?e:Y(e),lineClass:"d2h-code-side-linenumber",contentClass:"d2h-code-side-line"})},e.prototype.processChangedLines=function(e,n,t){for(var i={right:"",left:""},r=Math.max(n.length,t.length),o=0;o<r;o++){var a=n[o],s=t[o],l=void 0!==a&&void 0!==s?re(a.content,s.content,e,this.config):void 0,c=void 0!==a&&void 0!==a.oldNumber?de(de({},void 0!==l?{prefix:l.oldLine.prefix,content:l.oldLine.content,type:V.DELETE_CHANGES}:de(de({},ee(a.content,e)),{type:Q(a.type)})),{number:a.oldNumber}):void 0,u=void 0!==s&&void 0!==s.newNumber?de(de({},void 0!==l?{prefix:l.newLine.prefix,content:l.newLine.content,type:V.INSERT_CHANGES}:de(de({},ee(s.content,e)),{type:Q(s.type)})),{number:s.newNumber}):void 0,f=this.generateLineHtml(c,u),d=f.left,p=f.right;i.left+=d,i.right+=p}return i},e.prototype.generateLineHtml=function(e,n){return{left:this.generateSingleHtml(e),right:this.generateSingleHtml(n)}},e.prototype.generateSingleHtml=function(e){var n="d2h-code-side-linenumber",t="d2h-code-side-line";return this.hoganUtils.render(he,"line",{type:(null==e?void 0:e.type)||V.CONTEXT+" d2h-emptyplaceholder",lineClass:void 0!==e?n:n+" d2h-code-side-emptyplaceholder",contentClass:void 0!==e?t:t+" d2h-code-side-emptyplaceholder",prefix:" "===(null==e?void 0:e.prefix)?" ":null==e?void 0:e.prefix,content:null==e?void 0:e.content,lineNumber:null==e?void 0:e.number})},e}();const ge=be;var ve=a(112),me={};me["file-summary-line"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<li class="d2h-file-list-line">'),i.b("\n"+t),i.b(' <span class="d2h-file-name-wrapper">'),i.b("\n"+t),i.b(i.rp("<fileIcon0",e,n," ")),i.b(' <a href="#'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-name">'),i.b(i.v(i.f("fileName",e,n,0))),i.b("</a>"),i.b("\n"+t),i.b(' <span class="d2h-file-stats">'),i.b("\n"+t),i.b(' <span class="d2h-lines-added">'),i.b(i.v(i.f("addedLines",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(' <span class="d2h-lines-deleted">'),i.b(i.v(i.f("deletedLines",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(" </span>"),i.b("\n"+t),i.b(" </span>"),i.b("\n"+t),i.b("</li>"),i.fl()},partials:{"<fileIcon0":{name:"fileIcon",partials:{},subs:{}}},subs:{}}),me["file-summary-wrapper"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="d2h-file-list-wrapper">'),i.b("\n"+t),i.b(' <div class="d2h-file-list-header">'),i.b("\n"+t),i.b(' <span class="d2h-file-list-title">Files changed ('),i.b(i.v(i.f("filesNumber",e,n,0))),i.b(")</span>"),i.b("\n"+t),i.b(' <a class="d2h-file-switch d2h-hide">hide</a>'),i.b("\n"+t),i.b(' <a class="d2h-file-switch d2h-show">show</a>'),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <ol class="d2h-file-list">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("files",e,n,0))),i.b("\n"+t),i.b(" </ol>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),me["generic-block-header"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("lineClass",e,n,0))),i.b(" "),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('"></td>'),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b(i.t(i.f("blockHeader",e,n,0))),i.b("</div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),me["generic-empty-diff"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.d("CSSLineClass.INFO",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b("\n"+t),i.b(" File without changes"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),me["generic-file-path"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-file-name-wrapper">'),i.b("\n"+t),i.b(i.rp("<fileIcon0",e,n," ")),i.b(' <span class="d2h-file-name">'),i.b(i.v(i.f("fileDiffName",e,n,0))),i.b("</span>"),i.b("\n"+t),i.b(i.rp("<fileTag1",e,n," ")),i.b("</span>"),i.b("\n"+t),i.b('<label class="d2h-file-collapse">'),i.b("\n"+t),i.b(' <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed">'),i.b("\n"+t),i.b(" Viewed"),i.b("\n"+t),i.b("</label>"),i.fl()},partials:{"<fileIcon0":{name:"fileIcon",partials:{},subs:{}},"<fileTag1":{name:"fileTag",partials:{},subs:{}}},subs:{}}),me["generic-line"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b("<tr>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("lineClass",e,n,0))),i.b(" "),i.b(i.v(i.f("type",e,n,0))),i.b('">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("lineNumber",e,n,0))),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b(' <td class="'),i.b(i.v(i.f("type",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="'),i.b(i.v(i.f("contentClass",e,n,0))),i.b('">'),i.b("\n"+t),i.s(i.f("prefix",e,n,1),e,n,0,162,238,"{{ }}")&&(i.rs(e,n,(function(e,n,i){i.b(' <span class="d2h-code-line-prefix">'),i.b(i.t(i.f("prefix",e,n,0))),i.b("</span>"),i.b("\n"+t)})),e.pop()),i.s(i.f("prefix",e,n,1),e,n,1,0,0,"")||(i.b(' <span class="d2h-code-line-prefix"> </span>'),i.b("\n"+t)),i.s(i.f("content",e,n,1),e,n,0,371,445,"{{ }}")&&(i.rs(e,n,(function(e,n,i){i.b(' <span class="d2h-code-line-ctn">'),i.b(i.t(i.f("content",e,n,0))),i.b("</span>"),i.b("\n"+t)})),e.pop()),i.s(i.f("content",e,n,1),e,n,1,0,0,"")||(i.b(' <span class="d2h-code-line-ctn"><br></span>'),i.b("\n"+t)),i.b(" </div>"),i.b("\n"+t),i.b(" </td>"),i.b("\n"+t),i.b("</tr>"),i.fl()},partials:{},subs:{}}),me["generic-wrapper"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="d2h-wrapper">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("content",e,n,0))),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),me["icon-file-added"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-added" height="16" title="added" version="1.1" viewBox="0 0 14 16"'),i.b("\n"+t),i.b(' width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),me["icon-file-changed"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),me["icon-file-deleted"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-deleted" height="16" title="removed" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM11 9H3V7h8v2z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),me["icon-file-renamed"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon d2h-moved" height="16" title="renamed" version="1.1"'),i.b("\n"+t),i.b(' viewBox="0 0 14 16" width="14">'),i.b("\n"+t),i.b(' <path d="M6 9H3V7h3V4l5 4-5 4V9z m8-7v12c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h12c0.55 0 1 0.45 1 1z m-1 0H1v12h12V2z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),me["icon-file"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12">'),i.b("\n"+t),i.b(' <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path>'),i.b("\n"+t),i.b("</svg>"),i.fl()},partials:{},subs:{}}),me["line-by-line-file-diff"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div id="'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-wrapper" data-lang="'),i.b(i.v(i.d("file.language",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="d2h-file-header">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("filePath",e,n,0))),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-file-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("diffs",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),me["line-by-line-numbers"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div class="line-num1">'),i.b(i.v(i.f("oldNumber",e,n,0))),i.b("</div>"),i.b("\n"+t),i.b('<div class="line-num2">'),i.b(i.v(i.f("newNumber",e,n,0))),i.b("</div>"),i.fl()},partials:{},subs:{}}),me["side-by-side-file-diff"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<div id="'),i.b(i.v(i.f("fileHtmlId",e,n,0))),i.b('" class="d2h-file-wrapper" data-lang="'),i.b(i.v(i.d("file.language",e,n,0))),i.b('">'),i.b("\n"+t),i.b(' <div class="d2h-file-header">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.f("filePath",e,n,0))),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-files-diff">'),i.b("\n"+t),i.b(' <div class="d2h-file-side-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.d("diffs.left",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(' <div class="d2h-file-side-diff">'),i.b("\n"+t),i.b(' <div class="d2h-code-wrapper">'),i.b("\n"+t),i.b(' <table class="d2h-diff-table">'),i.b("\n"+t),i.b(' <tbody class="d2h-diff-tbody">'),i.b("\n"+t),i.b(" "),i.b(i.t(i.d("diffs.right",e,n,0))),i.b("\n"+t),i.b(" </tbody>"),i.b("\n"+t),i.b(" </table>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b(" </div>"),i.b("\n"+t),i.b("</div>"),i.fl()},partials:{},subs:{}}),me["tag-file-added"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-added d2h-added-tag">ADDED</span>'),i.fl()},partials:{},subs:{}}),me["tag-file-changed"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span>'),i.fl()},partials:{},subs:{}}),me["tag-file-deleted"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-deleted d2h-deleted-tag">DELETED</span>'),i.fl()},partials:{},subs:{}}),me["tag-file-renamed"]=new ve.Template({code:function(e,n,t){var i=this;return i.b(t=t||""),i.b('<span class="d2h-tag d2h-moved d2h-moved-tag">RENAMED</span>'),i.fl()},partials:{},subs:{}});var ye=function(){return ye=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},ye.apply(this,arguments)};const we=function(){function e(e){var n=e.compiledTemplates,t=void 0===n?{}:n,i=e.rawTemplates,r=void 0===i?{}:i,o=Object.entries(r).reduce((function(e,n){var t,i=n[0],r=n[1],o=ve.compile(r,{asString:!1});return ye(ye({},e),((t={})[i]=o,t))}),{});this.preCompiledTemplates=ye(ye(ye({},me),t),o)}return e.compile=function(e){return ve.compile(e,{asString:!1})},e.prototype.render=function(e,n,t,i,r){var o=this.templateKey(e,n);try{return this.preCompiledTemplates[o].render(t,i,r)}catch(e){throw new Error("Could not find template to render '"+o+"'")}},e.prototype.template=function(e,n){return this.preCompiledTemplates[this.templateKey(e,n)]},e.prototype.templateKey=function(e,n){return e+"-"+n},e}();var xe=function(){return xe=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e},xe.apply(this,arguments)},Ne=xe(xe(xe({},se),pe),{outputFormat:"line-by-line",drawFileList:!0});function Ce(e,n){void 0===n&&(n={});var t=xe(xe({},Ne),n),i="string"==typeof e?function(e,n){void 0===n&&(n={});var t=[],i=null,r=null,o=null,a=null,s=null,l=null,c=null,u="--- ",f="+++ ",d="@@",p=/^old mode (\d{6})/,h=/^new mode (\d{6})/,b=/^deleted file mode (\d{6})/,g=/^new file mode (\d{6})/,v=/^copy from "?(.+)"?/,m=/^copy to "?(.+)"?/,w=/^rename from "?(.+)"?/,x=/^rename to "?(.+)"?/,N=/^similarity index (\d+)%/,C=/^dissimilarity index (\d+)%/,T=/^index ([\da-z]+)\.\.([\da-z]+)\s*(\d{6})?/,L=/^Binary files (.*) and (.*) differ/,H=/^GIT binary patch/,j=/^index ([\da-z]+),([\da-z]+)\.\.([\da-z]+)/,I=/^mode (\d{6}),(\d{6})\.\.(\d{6})/,O=/^new file mode (\d{6})/,A=/^deleted file mode (\d{6}),(\d{6})/,P=e.replace(/\/g,"").replace(/\r\n?/g,"\n").split("\n");function M(){null!==r&&null!==i&&(i.blocks.push(r),r=null)}function z(){null!==i&&(i.oldName||null===l||(i.oldName=l),i.newName||null===c||(i.newName=c),i.newName&&(t.push(i),i=null)),l=null,c=null}function F(){M(),z(),i={blocks:[],deletedLines:0,addedLines:0}}function D(e){var n;M(),null!==i&&((n=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@.*/.exec(e))?(i.isCombined=!1,o=parseInt(n[1],10),s=parseInt(n[2],10)):(n=/^@@@ -(\d+)(?:,\d+)? -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@@.*/.exec(e))?(i.isCombined=!0,o=parseInt(n[1],10),a=parseInt(n[2],10),s=parseInt(n[3],10)):(e.startsWith(d)&&console.error("Failed to parse lines, starting in 0!"),o=0,s=0,i.isCombined=!1)),r={lines:[],oldStartLine:o,oldStartLine2:a,newStartLine:s,header:e}}return P.forEach((function(e,a){if(e&&!e.startsWith("*")){var M,z=P[a-1],W=P[a+1],R=P[a+2];if(e.startsWith("diff")){if(F(),(M=/^diff --git "?([a-ciow]\/.+)"? "?([a-ciow]\/.+)"?/.exec(e))&&(l=k(M[1],void 0,n.dstPrefix),c=k(M[2],void 0,n.srcPrefix)),null===i)throw new Error("Where is my file !!!");i.isGitDiff=!0}else if((!i||!i.isGitDiff&&i&&e.startsWith(u)&&W.startsWith(f)&&R.startsWith(d))&&F(),!(null==i?void 0:i.isTooBig)){if(i&&("number"==typeof n.diffMaxChanges&&i.addedLines+i.deletedLines>n.diffMaxChanges||"number"==typeof n.diffMaxLineLength&&e.length>n.diffMaxLineLength))return i.isTooBig=!0,i.addedLines=0,i.deletedLines=0,i.blocks=[],r=null,void D("function"==typeof n.diffTooBigMessage?n.diffTooBigMessage(t.length):"Diff too big to be displayed");if(e.startsWith(u)&&W.startsWith(f)||e.startsWith(f)&&z.startsWith(u)){if(i&&!i.oldName&&e.startsWith("--- ")&&(M=function(e,n){return k(e,"---",n)}(e,n.srcPrefix)))return i.oldName=M,void(i.language=E(i.oldName,i.language));if(i&&!i.newName&&e.startsWith("+++ ")&&(M=function(e,n){return k(e,"+++",n)}(e,n.dstPrefix)))return i.newName=M,void(i.language=E(i.newName,i.language))}if(i&&(e.startsWith(d)||i.isGitDiff&&i.oldName&&i.newName&&!r))D(e);else if(r&&(e.startsWith("+")||e.startsWith("-")||e.startsWith(" ")))!function(e){if(null!==i&&null!==r&&null!==o&&null!==s){var n={content:e},t=i.isCombined?["+ "," +","++"]:["+"],a=i.isCombined?["- "," -","--"]:["-"];S(e,t)?(i.addedLines++,n.type=y.INSERT,n.oldNumber=void 0,n.newNumber=s++):S(e,a)?(i.deletedLines++,n.type=y.DELETE,n.oldNumber=o++,n.newNumber=void 0):(n.type=y.CONTEXT,n.oldNumber=o++,n.newNumber=s++),r.lines.push(n)}}(e);else{var B=!function(e,n){for(var t=n;t<P.length-3;){if(e.startsWith("diff"))return!1;if(P[t].startsWith(u)&&P[t+1].startsWith(f)&&P[t+2].startsWith(d))return!0;t++}return!1}(e,a);if(null===i)throw new Error("Where is my file !!!");(M=p.exec(e))?i.oldMode=M[1]:(M=h.exec(e))?i.newMode=M[1]:(M=b.exec(e))?(i.deletedFileMode=M[1],i.isDeleted=!0):(M=g.exec(e))?(i.newFileMode=M[1],i.isNew=!0):(M=v.exec(e))?(B&&(i.oldName=M[1]),i.isCopy=!0):(M=m.exec(e))?(B&&(i.newName=M[1]),i.isCopy=!0):(M=w.exec(e))?(B&&(i.oldName=M[1]),i.isRename=!0):(M=x.exec(e))?(B&&(i.newName=M[1]),i.isRename=!0):(M=L.exec(e))?(i.isBinary=!0,i.oldName=k(M[1],void 0,n.srcPrefix),i.newName=k(M[2],void 0,n.dstPrefix),D("Binary file")):H.test(e)?(i.isBinary=!0,D(e)):(M=N.exec(e))?i.unchangedPercentage=parseInt(M[1],10):(M=C.exec(e))?i.changedPercentage=parseInt(M[1],10):(M=T.exec(e))?(i.checksumBefore=M[1],i.checksumAfter=M[2],M[3]&&(i.mode=M[3])):(M=j.exec(e))?(i.checksumBefore=[M[2],M[3]],i.checksumAfter=M[1]):(M=I.exec(e))?(i.oldMode=[M[2],M[3]],i.newMode=M[1]):(M=O.exec(e))?(i.newFileMode=M[1],i.isNew=!0):(M=A.exec(e))&&(i.deletedFileMode=M[1],i.isDeleted=!0)}}}})),M(),z(),t}(e,t):e,r=new we(t),o=t.drawFileList?function(e,n){var t=e.map((function(e){return n.render(oe,"line",{fileHtmlId:te(e),oldName:e.oldName,newName:e.newName,fileName:ne(e),deletedLines:"-"+e.deletedLines,addedLines:"+"+e.addedLines},{fileIcon:n.template("icon",ie(e))})})).join("\n");return n.render(oe,"wrapper",{filesNumber:e.length,files:t})}(i,r):"";return o+("side-by-side"===t.outputFormat?new ge(r,t).render(i):new fe(r,t).render(i))}var Te=a(210),Ee=(0,e.stringEnum)([].concat(["side-by-side","line-by-line"])),Se=(0,e.stringEnum)([].concat(["dark","light"])),Le={oldContent:(0,Te.string)().def(""),newContent:(0,Te.string)().def(""),diffFormat:(0,Te.string)().def(Ee["line-by-line"]),diffContext:(0,Te.number)(),theme:(0,Te.string)().def("light"),language:(0,Te.string)().def("javascript"),hljs:e.PropTypes.any.isRequired};const ke=(0,i.defineComponent)({name:"BkCodeDiff",props:Le,emits:[],setup:function(n){this.$createElement;var r=(0,i.ref)(null),o=(0,i.ref)(""),a=(0,i.computed)((function(){return(0,e.classes)({dark:n.theme===Se.dark},"hljs bk-code-diff")}));function s(e,t){var a,s,l=x("",n.oldContent,n.newContent,"","",{context:e});o.value=(a=Ce(l,{drawFileList:!1,matching:"lines",outputFormat:n.diffFormat}),s=t,a.replace(/d2h-code-line-ctn/g,(function(e){return"".concat(e," lang-").concat(s)}))),(0,i.nextTick)((function(){r.value&&r.value.querySelectorAll(".lang-".concat(n.language)).forEach((function(e){n.hljs.highlightElement(e)}))}))}return(0,i.onMounted)((function(){s(n.diffContext,n.language)})),(0,i.watch)((function(){return[n.diffContext,n.language]}),(function(e){var n=t()(e,2);s(n[0],n[1])})),function(){return(0,i.createVNode)("div",{ref:r,class:a.value,innerHTML:o.value},null)}}}),He=(0,e.withInstall)(ke)})(),s})()));
|
package/lib/collapse/collapse.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("vue"),require("../icon/"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon/"],n);else{var r="object"==typeof exports?n(require("../shared"),require("vue"),require("../icon/")):n(e["../shared"],e.vue,e["../icon/"]);for(var t in r)("object"==typeof exports?exports:e)[t]=r[t]}}(self,((e,n,r)=>(()=>{"use strict";var t={7685:e=>{e.exports=r},4212:n=>{n.exports=e},748:e=>{e.exports=n}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,i),r.exports}i.d=(e,n)=>{for(var r in n)i.o(n,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{default:()=>o});var e=i(4212),n=i(748),r=i(7685);const t=(0,n.defineComponent)({name:"Collapse",props:{list:e.PropTypes.arrayOf(e.PropTypes.any).def([]),idFiled:e.PropTypes.string.def("$index"),titleField:e.PropTypes.string.def("name"),contentField:e.PropTypes.string.def("content"),activeIndex:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.number).def([]),e.PropTypes.number.def(-1)]),activeName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string).def([]),e.PropTypes.string.def("")]),accordion:e.PropTypes.bool.def(!0)},setup:function(e,t){var o=t.slots,i=(this.$createElement,(0,n.ref)(null));(0,n.watch)((function(){return[e.activeName,e.activeIndex]}),(function(){i.value=null}));var a=(0,n.computed)((function(){return(e.list||[]).map((function(e,n){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?{$index:n,name:e}:Object.assign({$index:n},e)}))})),l=(0,n.computed)((function(){var n;return null!==i.value?i.value.map((function(e){return e.$index})):null!==e.activeName&&void 0!==e.activeName&&""!==e.activeName?u(e.activeName).map((function(n){return a.value.findIndex((function(r){return r[e.idFiled]===n}))})):u(null!==(n=e.activeIndex)&&void 0!==n?n:0)})),u=function n(r){return Array.isArray(r)?e.accordion?n(r[0]):r:"string"==typeof r||"number"==typeof r?[r]:[]},c=function(e){return l.value.some((function(n){return n===e.$index}))};return function(){return(0,n.createVNode)("div",{class:"bk-collapse-wrapper"},[a.value.map((function(t){var a,l,u,s;return(0,n.createVNode)("div",{class:"bk-collapse-item"},[(0,n.createVNode)("div",{class:"bk-collapse-header",onClick:function(){return function(n){if(null===i.value)i.value=[n];else if(e.accordion)i.value=[n];else{var r=i.value.findIndex((function(e){return e.$index===n.$index}));r>=0?i.value.splice(r,1):i.value.push(n)}}(t)}},[(0,n.createVNode)("span",{class:"bk-collapse-title"},[null!==(l=null===(a=o.default)||void 0===a?void 0:a.call(o,t))&&void 0!==l?l:t[e.titleField]]),c(t)?(0,n.createVNode)(r.AngleDown,{class:"bk-collapse-icon"},null):(0,n.createVNode)(r.AngleRight,{class:"bk-collapse-icon"},null)]),(0,n.createVNode)("div",{class:"bk-collapse-content ".concat(c(t)?"active":"")},[null!==(s=null===(u=o.content)||void 0===u?void 0:u.call(o,t))&&void 0!==s?s:t[e.contentField]])])}))])}}}),o=(0,e.withInstall)(t)})(),a})()));
|
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/typeof"),require("vue"),require("../directives"),require("../icon"),require("@babel/runtime/helpers/defineProperty"),require("js-calendar"),require("date-fns"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/slicedToArray","@babel/runtime/helpers/toConsumableArray","@babel/runtime/helpers/typeof","vue","../directives","../icon","@babel/runtime/helpers/defineProperty","js-calendar","date-fns"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/typeof"),require("vue"),require("../directives"),require("../icon"),require("@babel/runtime/helpers/defineProperty"),require("js-calendar"),require("date-fns")):t(e["../shared"],e["@babel/runtime/helpers/slicedToArray"],e["@babel/runtime/helpers/toConsumableArray"],e["@babel/runtime/helpers/typeof"],e.vue,e["../directives"],e["../icon"],e["@babel/runtime/helpers/defineProperty"],e["js-calendar"],e["date-fns"]);for(var a in n)("object"==typeof exports?exports:e)[a]=n[a]}}(self,((e,t,n,a,r,l,i,o,c,u)=>(()=>{"use strict";var s={4061:e=>{e.exports=l},6870:e=>{e.exports=i},4212:t=>{t.exports=e},311:e=>{e.exports=o},1673:e=>{e.exports=t},642:e=>{e.exports=n},8541:e=>{e.exports=a},7876:e=>{e.exports=u},7926:e=>{e.exports=c},748:e=>{e.exports=r}},d={};function p(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}};return s[e](n,n.exports,p),n.exports}p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return(()=>{p.r(f),p.d(f,{default:()=>le});var e=p(4212),t=p(1673),n=p.n(t),a=p(642),r=p.n(a),l=p(8541),i=p.n(l),o=p(748),c=p(4061),u={placement:{type:String,default:"bottom-start",validator:function(e){return!(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"].indexOf(e)<0&&(console.error("placement property is not valid: '".concat(e,"'")),1))}},className:{type:String},extPopoverCls:{type:String},appendToBody:{type:Boolean},triggerRef:{type:Object},onClick:Function};const s=(0,o.defineComponent)({props:u,emits:["changeVisible"],setup:function(t,n){var a=n.emit,r=Object.create(null),l=(0,o.ref)(null);(0,o.onMounted)((function(){c()})),(0,o.onBeforeUnmount)((function(){i()}));var i=function(){if(r&&0!==Object.keys(r).length){var e=r;e.isShow&&e.hide(),e.destroy(),r=null,a("changeVisible",!1)}},c=function(){r&&0!==Object.keys(r).length?(0,o.nextTick)((function(){r.update()})):(0,o.nextTick)((function(){r=new e.BKPopover(t.triggerRef,l.value,{placement:t.placement,trigger:"manual",modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},{name:"offset",options:{offset:[0,4]}}]})}))},u=(0,o.computed)((function(){var n={};return t.appendToBody&&(n["z-index"]=1060+e.bkZIndexManager.getModalNextIndex()),n})),s=(0,o.reactive)({styles:u});return Object.assign(Object.assign({},(0,o.toRefs)(s)),{refContentRef:l,updateDropdown:c,destoryDropdown:i})},render:function(){var e,t,n;return(0,o.createVNode)("div",{ref:"refContentRef",class:["bk-date-picker-dropdown",this.className,this.extPopoverCls],style:this.styles,onClick:this.onClick},[null!==(n=null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""])}});var d=p(6870),h=p(311),m=p.n(h),y=p(7926),b=p.n(y),g=p(7876),v={},D=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,k=/\d\d?/,w=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,V=function(){};function M(e,t){for(var n=[],a=0,r=e.length;a<r;a++)n.push(e[a].substr(0,t));return n}function S(e){return function(t,n,a){var r=a[e].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(t.month=r)}}function P(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=String(e);n.length<t;)n="0".concat(n);return n}var N=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],C=["January","February","March","April","May","June","July","August","September","October","November","December"],T=M(C,3),x=M(N,3);v.i18n={dayNamesShort:x,dayNames:N,monthNamesShort:T,monthNames:C,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10)*e%10]}};var F={D:function(e){return e.getDay()},DD:function(e){return P(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return P(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return P(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return String(e.getFullYear()).substr(2)},yyyy:function(e){return e.getFullYear()},h:function(e){return e.getHours()%12||12},hh:function(e){return P(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return P(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return P(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return P(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return P(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return P(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+P(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},O={d:[k,function(e,t){e.day=t}],M:[k,function(e,t){e.month=t-1}],yy:[k,function(e,t){var n=new Date,a=+"".concat(n.getFullYear()).substr(0,2);e.year="".concat(t>68?a-1:a).concat(t)}],h:[k,function(e,t){e.hour=t}],m:[k,function(e,t){e.minute=t}],s:[k,function(e,t){e.second=t}],yyyy:[/\d{4}/,function(e,t){e.year=t}],S:[/\d/,function(e,t){e.millisecond=100*t}],SS:[/\d{2}/,function(e,t){e.millisecond=10*t}],SSS:[/\d{3}/,function(e,t){e.millisecond=t}],D:[k,V],ddd:[w,V],MMM:[w,S("monthNamesShort")],MMMM:[w,S("monthNames")],a:[w,function(e,t,n){var a=t.toLowerCase();a===n.amPm[0]?e.isPm=!1:a===n.amPm[1]&&(e.isPm=!0)}],ZZ:[/[\\+\\-]\d\d:?\d\d/,function(e,t){var n,a="".concat(t).match(/([\\+\\-]|\d\d)/gi);a&&(n=60*a[1]+parseInt(a[2],10),e.timezoneOffset="+"===a[0]?n:-n)}]};O.DD=O.D,O.dddd=O.ddd,O.Do=O.dd=O.d,O.mm=O.m,O.hh=O.H=O.HH=O.h,O.MM=O.M,O.ss=O.s,O.A=O.a,v.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},v.format=function(e,t,n){var a=n||v.i18n;if("number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");return(t=v.masks[t]||t||v.masks.default).replace(D,(function(t){return t in F?F[t](e,a):t.slice(1,t.length-1)}))},v.parse=function(e,t,n){var a=n||v.i18n;if("string"!=typeof t)throw new Error("Invalid format in fecha.parse");if(t=v.masks[t]||t,e.length>1e3)return!1;var r=!0,l={};if(t.replace(D,(function(t){if(O[t]){var n=O[t],i=e.search(n[0]);~i?e.replace(n[0],(function(t){return n[1](l,t,a),e=e.substr(i+t.length),t})):r=!1}return O[t]?"":t.slice(1,t.length-1)})),!r)return!1;var i,o=new Date;return!0===l.isPm&&null!==l.hour&&12!=+l.hour?l.hour=+l.hour+12:!1===l.isPm&&12==+l.hour&&(l.hour=0),null!==l.timezoneOffset&&void 0!==l.timezoneOffset?(l.minute=+(l.minute||0)-+l.timezoneOffset,i=new Date(Date.UTC(l.year||o.getFullYear(),l.month||0,l.day||1,l.hour||0,l.minute||0,l.second||0,l.millisecond||0))):i=new Date(l.year||o.getFullYear(),l.month||0,l.day||1,l.hour||0,l.minute||0,l.second||0,l.millisecond||0),i};const L=v;var H=" - ",A=function(e,t){var n=(0,g.toDate)(new Date(e));return!n||isNaN(n.getTime())?"":(0,g.format)(n,t||"yyyy-MM-dd")},R=function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],a=e[1];if(n&&a)return A(n,t)+H+A(a,t)}else if(!Array.isArray(e)&&e instanceof Date)return A(e,t);return""},B=function(e,t){var n=Array.isArray(e)?e:e.split(H);if(2===n.length){var a=n[0],r=n[1];return[a instanceof Date?a:L.parse(a,t||"yyyy-MM-dd"),r instanceof Date?r:L.parse(r,t||"yyyy-MM-dd")]}return[]},j={default:{formatter:function(e){return e?"".concat(e):""},parser:function(e){return void 0===e||""===e?null:e}},date:{formatter:function(e,t){return A(e,t)},parser:function(e,t){return L.parse(e,t||"yyyy-MM-dd")}},datetime:{formatter:function(e,t){return A(e,t)},parser:function(e,t){return L.parse(e,t||"yyyy-MM-dd")}},daterange:{formatter:R,parser:B},datetimerange:{formatter:R,parser:B},timerange:{formatter:R,parser:B},time:{formatter:function(e,t){return A(e,t)},parser:function(e,t){return L.parse(e,t||"yyyy-MM-dd")}},month:{formatter:function(e,t){return A(e,t)},parser:function(e,t){return L.parse(e,t||"yyyy-MM-dd")}},year:{formatter:function(e,t){return A(e,t)},parser:function(e,t){return L.parse(e,t||"yyyy-MM-dd")}},multiple:{formatter:function(e,t){return e.filter(Boolean).map((function(e){return A(e,t)})).join(",")},parser:function(e,t){return("string"==typeof e?e.split(","):e).map((function(e){if(e instanceof Date)return e;var n=e;return"string"==typeof e?n=e.trim():"number"==typeof e||e||(n=""),L.parse(n,t||"yyyy-MM-dd")}))}},number:{formatter:function(e){return e?"".concat(e):""},parser:function(e){var t=Number(e);return isNaN(e)?null:t}}},z=function(e){return e?[e.getHours(),e.getMinutes(),e.getSeconds()]:[0,0,0]},q={date:"yyyy-MM-dd",month:"yyyy-MM",year:"yyyy",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",datetimerange:"yyyy-MM-dd HH:mm:ss"},I=function(e,t,a,r){var l=t.includes("range"),i=(j[t]||j.default).parser,o=r||q[t],c=j.multiple.parser,u=e;if(!e||"time"!==t||e instanceof Date)if(a&&e)u=c(e,o);else if(l)if(e)if("string"==typeof e)u=i(e,o);else if("timerange"===t)u=i(e,o).map((function(e){return e||""}));else{var s=n()(e,2),d=s[0],p=s[1];d instanceof Date&&p instanceof Date?u=e.map((function(e){return new Date(e)})):"string"==typeof d&&"string"==typeof p?u=i(e.join(H),o):d&&p||(u=[null,null])}else u=[null,null];else"string"==typeof e&&0!==t.indexOf("time")&&(u=i(e,o)||null);else u=i(e,o);return l||a?u||[]:[u]},Y=function(e,t,n,a){var r=q[t];return n?(0,j.multiple.formatter)(e,a||r):(0,(j[t]||j.default).formatter)(e,a||r)},U=Symbol("date-picker");function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return["bk-picker-panel-icon-btn","bk-date-picker-".concat(e,"-btn"),"bk-date-picker-".concat(e,"-btn-arrow").concat(t)]}var J,Z,K=function(e,t){var n,a=new Date(e),r=a.getMonth()+t,l=(n=a.getFullYear(),new Date(n,r+1,0).getDate());return l<a.getDate()&&a.setDate(l),a.setMonth(r),a},$=(J={yyyy:function(e){return e.getFullYear()},m:function(e){return e.getMonth()+1},mm:function(e){return"0".concat(e.getMonth()+1).slice(-2)},mmm:function(e,t){return e.toLocaleDateString(t,{month:"long"}).slice(0,3)},Mmm:function(e,t){var n=e.toLocaleDateString(t,{month:"long"});return(n[0].toUpperCase()+n.slice(1).toLowerCase()).slice(0,3)},mmmm:function(e,t){return e.toLocaleDateString(t,{month:"long"})},Mmmm:function(e,t){var n=e.toLocaleDateString(t,{month:"long"});return n[0].toUpperCase()+n.slice(1).toLowerCase()}},Z=new RegExp(["yyyy","Mmmm","mmmm","Mmm","mmm","mm","m"].join("|"),"g"),function(e,t,n){var a=t.match(/(\[[^\]]+\])([^\\[\]]+)(\[[^\]]+\])/).slice(1);return{separator:a[1],labels:[a[0],a[2]].map((function(t){return{label:t.replace(/\[[^\]]+\]/,(function(t){return t.slice(1,-1).replace(Z,(function(t){return J[t](n,e)}))})),type:-1!==t.indexOf("yy")?"year":"month"}}))}}),_=function(e){var t=new Date(e);return t.setHours(0,0,0,0),t.getTime()},W=function(e,t,a){if(!t||!a)return!1;var r=[t,a].sort(),l=n()(r,2),i=l[0],o=l[1];return e>=i&&e<=o},G={tableDate:{type:Date,required:!0},disableDate:Function,selectionMode:{type:String,required:!0},modelValue:{type:[Date,String,Number,Array]},rangeState:{type:Object,default:function(){return{from:null,to:null,selecting:!1}}},focusedDate:{type:Date,required:!0}};const Q=(0,o.defineComponent)({props:G,emits:["pick","pick-click","changeRange"],setup:function(e,t){var a=t.emit,r=(0,o.computed)((function(){return new(b().Generator)({onlyDays:!0,weekStart:0})})),l=(0,o.computed)((function(){var e=["日","一","二","三","四","五","六"];return e.splice(0,7).concat(e.splice(0,0))})),i=(0,o.computed)((function(){return"range"===e.selectionMode&&e.rangeState.selecting?[e.rangeState.from]:e.modelValue}));return{headerDays:l,cells:(0,o.computed)((function(){var t=e.tableDate.getFullYear(),a=e.tableDate.getMonth(),l=_(new Date),o=i.value.filter(Boolean).map(_),c=i.value.map(_),u=n()(c,2),s=u[0],d=u[1],p=e.rangeState.from&&_(e.rangeState.from),f=e.rangeState.to&&_(e.rangeState.to),h="range"===e.selectionMode,m="function"==typeof e.disableDate&&e.disableDate;return r.value(t,a,(function(e){e.date instanceof Date&&e.date.setTime(e.date.getTime()+6e4*e.date.getTimezoneOffset());var t=e.date&&_(e.date),n=e.date&&a===e.date.getMonth();return Object.assign(Object.assign({},e),{type:t===l?"today":e.type,selected:n&&o.includes(t),disabled:e.date&&m&&m(new Date(t)),range:n&&h&&W(t,p,f),start:n&&h&&t===s,end:n&&h&&t===d})})).cells.slice(0)})),getCellCls:function(e){var t;return["bk-date-picker-cells-cell",(t={},m()(t,"bk-date-picker-cells-cell-selected",e.selected||e.start||e.end),m()(t,"bk-date-picker-cells-cell-disabled",e.disabled),m()(t,"bk-date-picker-cells-cell-today","today"===e.type),m()(t,"bk-date-picker-cells-cell-prev-month","prevMonth"===e.type),m()(t,"bk-date-picker-cells-cell-next-month","nextMonth"===e.type),m()(t,"bk-date-picker-cells-cell-week-label","weekLabel"===e.type),m()(t,"bk-date-picker-cells-cell-range",e.range&&!e.start&&!e.end),t)]},handleClick:function(e){if(!e.disabled&&"weekLabel"!==e.type){var t=new Date(_(e.date));a("pick",t),a("pick-click")}},handleMouseMove:function(t){if(e.rangeState.selecting&&!t.disabled){var n=t.date;a("changeRange",n)}}}},render:function(){var e=this;return(0,o.createVNode)("div",{class:"bk-date-picker-cells"},[(0,o.createVNode)("div",{class:"bk-date-picker-cells-header"},[this.headerDays.map((function(e){return(0,o.createVNode)("span",null,[e])}))]),this.cells.map((function(t){return(0,o.createVNode)("span",{class:e.getCellCls(t),onClick:function(){return e.handleClick(t)},onMouseenter:function(){return e.handleMouseMove(t)}},[(0,o.createVNode)("em",null,[t.desc])])}))])}});var X={modelValue:{type:[Date,String,Number,Array]},shortcuts:{type:Array,default:function(){return[]}},multiple:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},shortcutClose:{type:Boolean,default:!1},selectionMode:{type:String,default:"date",validator:function(e){return!(["year","month","date","time"].indexOf(e)<0&&(console.error("selectionMode property is not valid: '".concat(e,"'")),1))}},startDate:{type:Date},disableDate:Function,focusedDate:{type:Date,required:!0}};const ee=(0,o.defineComponent)({props:X,emits:["pick","pick-success"],setup:function(e,t){var n=this,a=t.emit,r=function(e){return e.match(/^time/)?"time-picker":"".concat(e,"-table")},l=e.modelValue.slice().sort(),i=(0,o.reactive)({currentView:e.selectionMode||"date",pickerTable:r(e.selectionMode),dates:l,panelDate:e.startDate||l[0]||new Date}),c=function(e){i.panelDate=e,"year-table"===i.pickerTable?i.pickerTable="month-table":i.pickerTable=r(i.currentView)},u=function(t,n){console.warn("handlePick");var r;r="year"===e.selectionMode?new Date(t.getFullYear(),0,1):"month"===e.selectionMode?new Date(i.panelDate.getFullYear(),t.getMonth(),1):new Date(t),i.dates=[r],a("pick",r,!1,n||e.selectionMode)},s=(0,o.ref)(null),d=(0,o.ref)(null),p=(0,o.computed)((function(){return i.pickerTable==="".concat(i.currentView,"-table")?u:c})),f=(0,o.computed)((function(){var e=i.panelDate,t=$("zh-CN","[yyyy]-[mm]",e),n=t.labels;return{separator:t.separator,labels:n.map((function(e){var t,n=e;return n.handler=(t=e.type,function(){i.pickerTable=r(t)}),n}))}})),h=(0,o.computed)((function(){return"year"===f.value.labels[0].type||"date"===i.currentView})),m=(0,o.computed)((function(){return"year"===f.value.labels[1].type||"date"===i.currentView})),y=(0,o.computed)((function(){return"time"===i.currentView}));return console.warn("panelDatepanelDate",i.panelDate),Object.assign(Object.assign({},(0,o.toRefs)(i)),{panelPickerHandlers:p,datePanelLabel:f,showLabelFirst:h,showLabelSecond:m,handleShortcutClick:function(t){t.value&&a("pick",t.value(),!1,void 0,t),t.onClick&&t.onClick(n),e.shortcutClose&&(setTimeout((function(){i.currentView=e.selectionMode}),500),a("pick-success"))},changeYear:function(t){"year"===e.selectionMode||"year-table"===i.pickerTable?i.panelDate=new Date(i.panelDate.getFullYear()+10*t,0,1):i.panelDate=K(i.panelDate,12*t)},changeMonth:function(e){i.panelDate=K(i.panelDate,e)},reset:function(){i.currentView=e.selectionMode,i.pickerTable=r(i.currentView)},isTime:y,onToggleVisibility:function(e){var t,n;e&&(null===(t=null==s?void 0:s.value)||void 0===t||t.updateScroll(),null===(n=null==d?void 0:d.value)||void 0===n||n.updateScroll())}})},render:function(){var e=this;return(0,o.createVNode)("div",{class:["bk-picker-panel-body-wrapper",this.shortcuts.length?"bk-picker-panel-with-sidebar":""],onMousedown:function(e){e.preventDefault()}},[this.shortcuts.length?(0,o.createVNode)("div",{class:"bk-picker-panel-sidebar"},[this.shortcuts.map((function(t){return(0,o.createVNode)("div",{class:"bk-picker-panel-shortcut",onClick:function(){return e.handleShortcutClick(t)}},[t.text])}))]):"",(0,o.createVNode)("div",{class:"bk-picker-panel-body",style:"width: 261px;"},[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-date-picker-header"},[(0,o.createVNode)("span",{class:E("prev","-double"),onClick:function(){return e.changeYear(-1)}},[(0,o.createVNode)(d.AngleDoubleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]),"date-table"===this.pickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("prev"),onClick:function(){return e.changeMonth(-1)}},[(0,o.createVNode)(d.AngleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):"",this.datePanelLabel&&Object.keys(this.datePanelLabel).length>0?(0,o.createVNode)("span",null,[(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.datePanelLabel.labels[0].handler}},[this.datePanelLabel.labels[0].label]),[[o.vShow,this.showLabelFirst]]),"date"===this.currentView?" ".concat(this.datePanelLabel.separator," "):" ",(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.datePanelLabel.labels[1].handler}},[this.datePanelLabel.labels[1].label]),[[o.vShow,this.showLabelSecond]])]):"",(0,o.createVNode)("span",{class:E("next","-double"),onClick:function(){return e.changeYear(1)}},[(0,o.createVNode)(d.AngleDoubleRight,{style:{fontSize:"20px",lineHeight:1}},null)]),"date-table"===this.pickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("next"),onClick:function(){return e.changeMonth(1)}},[(0,o.createVNode)(d.AngleRight,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):""]),[[o.vShow,"time"!==this.currentView]]),(0,o.createVNode)("div",{class:"bk-picker-panel-content"},["time"!==this.currentView?"date-table"===e.pickerTable?(0,o.createVNode)(Q,{tableDate:e.panelDate,disableDate:e.disableDate,selectionMode:e.selectionMode,modelValue:e.dates,focusedDate:e.focusedDate,onPick:e.panelPickerHandlers},null):null:""])])])}});var te={modelValue:{type:[Date,String,Number,Array]},type:{type:String,default:"date",validator:function(e){return!(["year","month","date","daterange","datetime","datetimerange","time","timerange"].indexOf(e)<0&&(console.error("type property is not valid: '".concat(e,"'")),1))}},shortcuts:{type:Array,default:function(){return[]}},clearable:{type:Boolean,default:!0},splitPanels:{type:Boolean,default:!0},shortcutClose:{type:Boolean,default:!1},showTime:{type:Boolean,default:!1},selectionMode:{type:String,default:"date",validator:function(e){return!(["year","month","date","time"].indexOf(e)<0&&(console.error("selectionMode property is not valid: '".concat(e,"'")),1))}},startDate:{type:Date},upToNow:{type:Boolean,default:!1},disableDate:Function,focusedDate:{type:Date,required:!0}};const ne=(0,o.defineComponent)({props:te,emits:["pick"],setup:function(e,t){var a=t.emit,r=e.modelValue.map((function(e){return e||function(){var e=new Date;return e.setHours(0),e.setMinutes(0),e.setSeconds(0),e}()})),l=n()(r,2),i=l[0],c=l[1],u=e.startDate?e.startDate:i,s=(0,o.reactive)({currentView:e.selectionMode||"date",leftPickerTable:"".concat(e.selectionMode,"-table"),rightPickerTable:"".concat(e.selectionMode,"-table"),leftPanelDate:u,rightPanelDate:new Date(u.getFullYear(),u.getMonth()+1,1),rangeState:{from:e.modelValue[0],to:e.modelValue[1],selecting:i&&!c},upToNowEnable:!1,dates:e.modelValue}),d=function(e,t){return e&&t?e.getTime()-t.getTime():0},p=(0,o.ref)(null),f=(0,o.ref)(null),h=function t(n,a,r){var l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=new Date(s["".concat(n,"PanelDate")]);if(i["set".concat(a)](i["get".concat(a)]()+r),s["".concat(n,"PanelDate")]=i,l)if(e.splitPanels){var o="left"===n?"right":"left";"left"===n&&s.leftPanelDate>=s.rightPanelDate&&t(o,a,1),"right"===n&&s.rightPanelDate<=s.leftPanelDate&&t(o,a,-1)}else{var c="left"===n?"right":"left",u=s["".concat(c,"PanelDate")],d=new Date(u);if("Month"===a){var p=new Date(d.getFullYear(),d.getMonth()+r+1,0).getDate();d.setDate(Math.min(p,d.getDate()))}d["set".concat(a)](d["get".concat(a)]()+r),s["".concat(c,"PanelDate")]=d}},m=function(e){s["".concat(e,"PickerTable")]="year-table"},y=function(e){s["".concat(e,"PickerTable")]="month-table"},b=function(e){var t=s["".concat(e,"PanelDate")],n=$("zh-CN","[yyyy]-[mm]",t),a=n.labels;return{separator:n.separator,labels:a.map((function(t){var n,a,r=t;return r.handler=(n=t.type,a="month"===n?y:m,function(){return a(e)}),r}))}},g=function(t,r){if(console.warn("handleRangePick"),s.rangeState.selecting||"time"===s.currentView){if("time"===s.currentView)s.dates=t;else{var l=[s.rangeState.from,t].sort(d),i=n()(l,2),o=i[0],c=i[1],u="upToNow"===r?new Date:new Date(new Date(new Date(c.setHours(23)).setMinutes(59)).setSeconds(59));s.dates=[o,u],s.rangeState={from:o,to:u,selecting:!1}}!function(t,n){a("pick",s.dates,!1,n||e.type)}(0,r||"date")}else s.upToNowEnable=new Date(t).getTime()<(new Date).getTime(),s.rangeState={from:t,to:null,selecting:!0}},v=function(t,n){s["".concat(t,"PanelDate")]=n;var a=s["".concat(t,"PickerTable")];if(s["".concat(t,"PickerTable")]="year-table"===a?"month-table":"".concat(s.currentView,"-table"),!e.splitPanels){var r="left"===t?"right":"left";s["".concat(r,"PanelDate")]=n,h(r,"Month","left"===r?-1:1,!1)}};(0,o.watch)((function(){return e.selectionMode}),(function(e){s.currentView=e||"range"}));var D=(0,o.computed)((function(){return"time"===s.currentView})),k=(0,o.computed)((function(){return b("left")})),w=(0,o.computed)((function(){return b("right")})),V=(0,o.computed)((function(){return s.leftPickerTable.split("-").shift()})),M=(0,o.computed)((function(){return s.rightPickerTable.split("-").shift()})),S=(0,o.computed)((function(){return"year"===k.value.labels[0].type||"date"===s.currentView})),P=(0,o.computed)((function(){return"year"===k.value.labels[1].type||"date"===s.currentView})),N=(0,o.computed)((function(){return"year"===w.value.labels[0].type||"date"===s.currentView})),C=(0,o.computed)((function(){return"year"===w.value.labels[1].type||"date"===s.currentView})),T=(0,o.computed)((function(){var e="".concat(s.currentView,"-table");return{left:s.leftPickerTable!==e,right:s.rightPickerTable!==e}})),x=(0,o.computed)((function(){return{left:T.value.left?v.bind("left"):g,right:T.value.right?v.bind("right"):g}}));return Object.assign(Object.assign({},(0,o.toRefs)(s)),{isTime:D,prevYear:function(e){var t="year"===s.currentView?-10:-1;h(e,"FullYear",t)},nextYear:function(e){var t="year"===s.currentView?10:1;h(e,"FullYear",t)},prevMonth:function(e){h(e,"Month",-1)},nextMonth:function(e){h(e,"Month",1)},leftDatePanelLabel:k,rightDatePanelLabel:w,leftDatePanelView:V,rightDatePanelView:M,leftShowLabelFirst:S,leftShowLabelSecond:P,rightShowLabelFirst:N,rightShowLabelSecond:C,preSelecting:T,panelPickerHandlers:x,reset:function(){s.currentView=e.selectionMode,s.leftPickerTable="".concat(s.currentView,"-table"),s.rightPickerTable="".concat(s.currentView,"-table")},onToggleVisibility:function(e){var t,n;e&&(null===(t=null==p?void 0:p.value)||void 0===t||t.updateScroll(),null===(n=null==f?void 0:f.value)||void 0===n||n.updateScroll())},handleRangePick:g,handleChangeRange:function(e){s.rangeState.to=e}})},render:function(){var e=this;return(0,o.createVNode)("div",{class:["bk-picker-panel-body-wrapper","bk-date-picker-with-range",this.shortcuts.length||this.$slots.shortcuts?"bk-picker-panel-with-sidebar":""],onMousedown:function(e){e.preventDefault()}},[(0,o.createVNode)("div",{class:["bk-picker-panel-body",this.showTime?"bk-picker-panel-body-time":"bk-picker-panel-body-date"]},[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-picker-panel-content bk-picker-panel-content-left",style:"width: 261px;"},[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-date-picker-header"},[(0,o.createVNode)("span",{class:E("prev","-double"),onClick:function(){return e.prevYear("left")}},[(0,o.createVNode)(d.AngleDoubleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]),"date-table"===this.leftPickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("prev"),onClick:function(){return e.prevMonth("left")}},[(0,o.createVNode)(d.AngleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):"",this.leftDatePanelLabel&&Object.keys(this.leftDatePanelLabel).length>0?(0,o.createVNode)("span",null,[(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.leftDatePanelLabel.labels[0].handler}},[this.leftDatePanelLabel.labels[0].label]),[[o.vShow,this.leftShowLabelFirst]]),"date"===this.leftDatePanelView?" ".concat(this.leftDatePanelLabel.separator," "):" ",(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.leftDatePanelLabel.labels[1].handler}},[this.leftDatePanelLabel.labels[1].label]),[[o.vShow,this.leftShowLabelSecond]])]):"",this.splitPanels||"date-table"!==this.leftPickerTable?(0,o.createVNode)("span",{class:E("next","-double"),onClick:function(){return e.nextYear("left")}},[(0,o.createVNode)(d.AngleDoubleRight,{style:{fontSize:"20px",lineHeight:1}},null)]):"",this.splitPanels||"date-table"===this.leftPickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("next"),onClick:function(){return e.nextMonth("left")}},[(0,o.createVNode)(d.AngleRight,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):""]),[[o.vShow,"time"!==this.currentView]]),"time"!==this.currentView?"date-table"===e.leftPickerTable?(0,o.createVNode)(Q,{selectionMode:"range",tableDate:e.leftPanelDate,disableDate:e.disableDate,rangeState:e.rangeState,modelValue:e.preSelecting.left?[e.dates[0]]:e.dates,focusedDate:e.focusedDate,onChangeRange:e.handleChangeRange,onPick:e.panelPickerHandlers.left},null):null:""]),[[o.vShow,!this.isTime]]),(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-picker-panel-content bk-picker-panel-content-right",style:"width: 261px;"},[(0,o.withDirectives)((0,o.createVNode)("div",{class:"bk-date-picker-header"},[this.splitPanels||"date-table"!==this.rightPickerTable?(0,o.createVNode)("span",{class:E("prev","-double"),onClick:function(){return e.prevYear("right")}},[(0,o.createVNode)(d.AngleDoubleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]):"",this.splitPanels&&"date-table"===this.rightPickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("prev","-double"),onClick:function(){return e.prevMonth("right")}},[(0,o.createVNode)(d.AngleLeft,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):"",this.rightDatePanelLabel&&Object.keys(this.rightDatePanelLabel).length>0?(0,o.createVNode)("span",null,[(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.rightDatePanelLabel.labels[0].handler}},[this.rightDatePanelLabel.labels[0].label]),[[o.vShow,this.rightShowLabelFirst]]),"date"===this.rightDatePanelView?" ".concat(this.rightDatePanelLabel.separator," "):" ",(0,o.withDirectives)((0,o.createVNode)("span",{class:"bk-date-picker-header-label",onClick:function(){return e.rightDatePanelLabel.labels[1].handler}},[this.rightDatePanelLabel.labels[1].label]),[[o.vShow,this.rightShowLabelSecond]])]):"",this.upToNow?(e.rangeState.selecting||"time"===e.currentView)&&e.upToNowEnable?(0,o.createVNode)("span",{class:"up-to-now",onClick:function(){return e.handleRangePick(new Date,"upToNow")}},[(0,o.createTextVNode)("至今")]):(0,o.createVNode)("span",{class:"up-to-now disabled"},[(0,o.createTextVNode)("至今")]):"",(0,o.createVNode)("span",{class:E("next","-double"),onClick:function(){return e.nextYear("right")}},[(0,o.createVNode)(d.AngleDoubleRight,{style:{fontSize:"20px",lineHeight:1}},null)]),"date-table"===this.rightPickerTable?(0,o.withDirectives)((0,o.createVNode)("span",{class:E("next"),onClick:function(){return e.nextMonth("right")}},[(0,o.createVNode)(d.AngleRight,{style:{fontSize:"20px",lineHeight:1}},null)]),[[o.vShow,"date"===this.currentView]]):""]),[[o.vShow,"time"!==this.currentView]]),"time"!==this.currentView?"date-table"===e.rightPickerTable?(0,o.createVNode)(Q,{selectionMode:"range",tableDate:e.rightPanelDate,disableDate:e.disableDate,rangeState:e.rangeState,modelValue:e.preSelecting.right?[e.dates[e.dates.length-1]]:e.dates,focusedDate:e.focusedDate,onChangeRange:e.handleChangeRange,onPick:e.panelPickerHandlers.right},null):null:""]),[[o.vShow,!this.isTime]])])])}});var ae={type:{type:String,default:"date",validator:function(e){return!(["year","month","date","daterange","datetime","datetimerange","time","timerange"].indexOf(e)<0&&(console.error("type property is not valid: '".concat(e,"'")),1))}},extPopoverCls:{type:String,default:""},format:String,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},open:{type:Boolean,default:null},multiple:{type:Boolean,default:!1},timePickerOptions:{type:Object,default:function(){return{}}},splitPanels:{type:Boolean,default:!0},startDate:Date,placeholder:{type:String,default:""},placement:{type:String,default:"bottom-start",validator:function(e){return!(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"].indexOf(e)<0&&(console.error("placement property is not valid: '".concat(e,"'")),1))}},transfer:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},shortcuts:{type:Array,default:function(){return[]}},shortcutClose:{type:Boolean,default:!1},modelValue:{type:[Date,String,Number,Array]},options:{type:Object,default:function(){return{}}},fontSize:{type:String,default:"normal"},upToNow:{type:Boolean,default:!1},useShortcutText:{type:Boolean,default:!1},shortcutSelectedIndex:{type:Number,default:-1},footerSlotCls:{type:String,default:""},allowCrossDay:{type:Boolean,default:!1},behavior:{type:String,default:"normal",validator:function(e){return["simplicity","normal"].indexOf(e)>-1}},disableDate:Function};const re=(0,o.defineComponent)({name:"DatePicker",directives:{clickoutside:c.clickoutside},props:ae,emits:["open-change","input","change","update:modelValue","clear","shortcut-change","pick-success"],slots:["header"],setup:function(e,t){var a=t.slots,l=t.emit,c=e.type.includes("range"),u=c?[null,null]:[null],s=((c?e.modelValue:[e.modelValue])||[]).every((function(e){return!e||"string"==typeof e&&""===e.trim()}))?u:I(e.modelValue,e.type,e.multiple,e.format),d=null;-1!==e.shortcutSelectedIndex&&(d=e.shortcuts[e.shortcutSelectedIndex]||null)&&(s=d.value());var p=(0,o.reactive)({showClose:!1,visible:!1,internalValue:s,disableClickOutSide:!1,disableCloseUnderTransfer:!1,selectionMode:"date",forceInputRerender:1,isFocused:!1,focusedDate:s[0]||e.startDate||new Date,focusedTime:{column:0,picker:0,time:s.map(z),active:!1},internalFocus:!1,timeEnterMode:!0,shortcut:d,onSelectionModeChange:f});function f(e){var t=e;return e.match(/^date/)&&(t="date"),p.selectionMode=["year","month","date","time"].indexOf(t)>-1&&t,p.selectionMode}var h=(0,o.computed)((function(){if(e.multiple)return p.internalValue.slice();var t=e.type.includes("range"),n=p.internalValue.map((function(e){return e instanceof Date?new Date(e):e||""}));return e.type.match(/^time/)&&(n=n.map((function(t){return Y(t,e.type,e.multiple,e.format)}))),t||e.multiple?n:n[0]})),m=(0,o.computed)((function(){return e.type.match(/^time/)?h.value:e.multiple?Y(h.value,e.type,e.multiple,e.format):Array.isArray(h.value)?h.value.map((function(t){return Y(t,e.type,e.multiple,e.format)})):Y(h.value,e.type,e.multiple,e.format)})),y=(0,o.computed)((function(){return"daterange"===e.type||"datetimerange"===e.type?"DateRangePanel":"DatePanel"})),b=(0,o.computed)((function(){return null===e.open?p.visible:e.open})),g=(0,o.computed)((function(){return console.warn("state.internalValue",p.internalValue),Y(p.internalValue,e.type,e.multiple,e.format)})),v=(0,o.computed)((function(){var t;return(null===(t=p.shortcut)||void 0===t?void 0:t.text)&&e.useShortcutText?p.shortcut.text:g.value})),D=(0,o.computed)((function(){return!!a.trigger||"datetime"===e.type||"datetimerange"===e.type||e.multiple})),k=(0,o.computed)((function(){var t="";return"medium"===e.fontSize?t="medium-font":"large"===e.fontSize&&(t="large-font"),t})),w=(0,o.computed)((function(){var t="";return"medium"===e.fontSize?t="medium-width":"large"===e.fontSize&&(t="large-width"),t})),V=(0,o.computed)((function(){var t;return!(!(null===(t=p.shortcut)||void 0===t?void 0:t.text)||!e.useShortcutText)||!e.editable||e.readonly})),M=(0,o.computed)((function(){return!!a.footer})),S=(0,o.computed)((function(){return"RangeTimePickerPanel"===y.value&&e.allowCrossDay})),P=(0,o.ref)(null);(0,o.watch)((function(){return p.visible}),(function(e){var t,n;console.error(123),!1===e&&(null===(t=N.value)||void 0===t||t.destoryDropdown()),null===(n=N.value)||void 0===n||n.updateDropdown(),l("open-change",e)}));var N=(0,o.ref)(null);(0,o.watch)((function(){return e.modelValue}),(function(t){p.internalValue=I(t,e.type,e.multiple,e.format)})),(0,o.watch)((function(){return e.open}),(function(e){p.visible=!0===e})),(0,o.watch)((function(){return e.type}),(function(e){f(e)})),(0,o.watch)((function(){return h}),(function(e,t){(JSON.stringify(e)!==JSON.stringify(t)||i()(e)!==i()(t))&&l("input",e)})),(0,o.onMounted)((function(){e.type.indexOf("date"),p.timeEnterMode=!0;var t=e.modelValue,n=h.value;i()(t)===i()(n)&&JSON.stringify(t)===JSON.stringify(n)||l("input",h.value),null!==e.open&&(p.visible=e.open),(0,o.provide)(U,{props:e,focus:function(){var e;null===(e=null==P?void 0:P.value)||void 0===e||e.focus()}})}));var C=(0,o.ref)(null),T=function(e){var t;if(p.disableCloseUnderTransfer)return p.disableCloseUnderTransfer=!1,!1;if(e&&"mousedown"===e.type&&p.visible)return e.preventDefault(),void e.stopPropagation();if(p.visible){var n=null===(t=null==C?void 0:C.value)||void 0===t?void 0:t.$el;if(e&&n&&n.contains(e.target))return;return p.visible=!1,null==e||e.preventDefault(),void(null==e||e.stopPropagation())}p.isFocused=!1,p.disableClickOutSide=!1},x=function(t){(0,o.nextTick)((function(){var n;l("change",m.value,t),l("update:modelValue",h.value),e.type.indexOf("time")<0&&(null===(n=null==P?void 0:P.value)||void 0===n||n.blur())}))},F=function(){var e;null===(e=null==C?void 0:C.value)||void 0===e||e.reset()},O=function(){var e;p.visible=!1,(0,o.nextTick)((function(){l("pick-success")})),null===(e=null==P?void 0:P.value)||void 0===e||e.blur(),F()},L=(0,o.ref)(null);return Object.assign(Object.assign({},(0,o.toRefs)(p)),{panel:y,publicStringValue:m,opened:b,visualValue:g,displayValue:v,isConfirm:D,fontSizeCls:k,longWidthCls:w,localReadonly:V,hasFooter:M,allowCrossDayProp:S,pickerDropdownRef:N,inputRef:P,triggerRef:L,pickerPanelRef:C,handleClose:T,handleIconClick:function(){var e,t;null===(e=null==P?void 0:P.value)||void 0===e||e.focus(),null===(t=null==P?void 0:P.value)||void 0===t||t.click()},handleInputMouseenter:function(){e.readonly||e.disabled||(null==g?void 0:g.value)&&(p.showClose=!0)},handleInputMouseleave:function(e){var t;(null===(t=e.toElement)||void 0===t?void 0:t.classList.contains("clear-action"))||(p.showClose=!1)},handleFocus:function(t){e.readonly||(p.isFocused=!0,t&&"focus"===t.type||e.disabled||(p.visible=!0))},handleBlur:function(t){var n;p.internalFocus?p.internalFocus=!1:p.visible?t.preventDefault():(p.isFocused=!1,f(e.type),p.internalValue=p.internalValue.slice(),F(),null===(n=null==C?void 0:C.value)||void 0===n||n.onToggleVisibility(!1))},handleKeydown:function(e){var t=e.keyCode;if(9===t&&p.visible)if(e.stopPropagation(),e.preventDefault(),D.value){var n=N.value.$el.querySelectorAll(".bk-picker-confirm > *");p.internalFocus=!0,r()(n)[e.shiftKey?"pop":"shift"]().focus()}else T();var a=[37,38,39,40];p.visible||!a.includes(t)?(27===t&&p.visible&&(e.stopPropagation(),T()),a.includes(t)&&p.focusedTime.active&&e.preventDefault()):p.visible=!0},handleInputChange:function(t){var n,a=e.type.includes("range")||e.multiple,r=g.value,l=t.target.value,i=I(l,e.type,e.multiple,e.format),o=a?i:i[0],c=null===(n=e.disableDate)||void 0===n?void 0:n.call(e,o),u=i.reduce((function(e,t){return e&&t instanceof Date}),!0);l!==r&&!c&&u?(x(e.type),p.internalValue=i):p.forceInputRerender=p.forceInputRerender+1},handleClear:function(){p.visible=!1,p.internalValue=p.internalValue.map((function(){return null})),l("clear"),x(e.type),F(),p.showClose=!1,p.shortcut=null,setTimeout((function(){return f(e.type)}),500)},handleTransferClick:function(){e.appendToBody&&(p.disableCloseUnderTransfer=!0)},onPick:function(t){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,c=t;if(e.multiple){var u=c.getTime(),s=p.internalValue.findIndex((function(e){return e&&e.getTime()===u})),d=[].concat(r()(p.internalValue),[c]).filter(Boolean),h=d.map((function(e){return e.getTime()})).filter((function(e,t,n){return n.indexOf(e)===t&&t!==s}));p.internalValue=h.map((function(e){return new Date(e)}))}else c=I(t,e.type,e.multiple,e.format),p.internalValue=Array.isArray(c)?c:[c];if(p.internalValue[0]){var m=n()(p.internalValue,1),y=m[0];p.focusedDate=y}p.focusedTime=Object.assign(Object.assign({},p.focusedTime),{time:p.internalValue.map(z)}),D.value||(f(e.type),p.visible=a),"upToNow"===i&&"daterange"===e.type&&O(),p.shortcut=o,x(i);var b=e.shortcuts.findIndex((function(e){return e===p.shortcut}));l("shortcut-change",p.shortcut,b)}})},render:function(){var e,t,n,a=this,r=(0,o.createVNode)("div",null,[(0,o.createVNode)("span",{class:["icon-wrapper",this.disabled?"disabled":""],onClick:this.handleIconClick,onMouseenter:this.handleInputMouseenter,onMouseleave:this.handleInputMouseleave},["time"===this.type||"timerange"===this.type?(0,o.createVNode)("svg",{class:"picker-icon",x:"0px",y:"0px",viewBox:"0 0 1024 1024"},[(0,o.createVNode)("g",{id:"time"},[(0,o.createVNode)("path",{fill:"#c4c6cc",d:"M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"},null),(0,o.createVNode)("polygon",{fill:"#c4c6cc",points:"512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"},null)])]):(0,o.createVNode)("svg",{class:"picker-icon",x:"0px",y:"0px",viewBox:"0 0 1024 1024"},[(0,o.createVNode)("g",{id:"date"},[(0,o.createVNode)("path",{fill:"#c4c6cc",d:"M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"},null),(0,o.createVNode)("rect",{x:"416",y:"128",fill:"#c4c6cc",width:"192",height:"64"},null),(0,o.createVNode)("rect",{x:"288",y:"96",fill:"#c4c6cc",width:"64",height:"128"},null),(0,o.createVNode)("rect",{x:"672",y:"96",fill:"#c4c6cc",width:"64",height:"128"},null),(0,o.createVNode)("polygon",{fill:"#c4c6cc",points:"403.7,514.4 557.1,514.4 557.1,515.3 420.1,765.5 483.5,765.5 620.3,504.3 620.3,466.5 403.7,466.5"},null)])])]),(0,o.createVNode)("input",{type:"text",class:["bk-date-picker-editor",this.readonly?"readonly":"",this.fontSizeCls,"simplicity"===this.behavior?"only-bottom-border":""],ref:"inputRef",key:this.forceInputRerender,readonly:this.localReadonly,disabled:this.disabled,placeholder:this.placeholder,value:this.displayValue,onFocus:this.handleFocus,onClick:this.handleFocus,onBlur:this.handleBlur,onMouseenter:this.handleInputMouseenter,onMouseleave:this.handleInputMouseleave,onKeydown:this.handleKeydown,onChange:this.handleInputChange},null),this.clearable&&this.showClose?(0,o.createVNode)("i",{class:"bk-icon icon-close-circle-shape clear-action",onClick:this.handleClear},null):""]);return(0,o.withDirectives)((0,o.createVNode)("div",{class:["bk-date-picker","datetimerange"===this.type?"long":"",this.longWidthCls]},[(0,o.createVNode)("div",{ref:"triggerRef",class:"bk-date-picker-rel"},[null!==(n=null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==n?n:r]),(0,o.createVNode)(o.Teleport,{to:"body",disabled:!this.appendToBody},{default:function(){return[(0,o.createVNode)(o.Transition,{name:"bk-fade-down-transition"},{default:function(){return[(0,o.withDirectives)((0,o.createVNode)(s,{class:[a.appendToBody?"bk-date-picker-transfer":""],ref:"pickerDropdownRef",triggerRef:a.triggerRef,placement:a.placement,extPopoverCls:a.extPopoverCls,appendToBody:a.appendToBody,onClick:a.handleTransferClick},{default:function(){return["DateRangePanel"===a.panel?(0,o.createVNode)(ne,{ref:"pickerPanelRef",shortcuts:a.shortcuts,modelValue:a.internalValue,type:a.type,selectionMode:a.selectionMode,startDate:a.startDate,disableDate:a.disableDate,focusedDate:a.focusedDate,onPick:a.onPick},null):(0,o.createVNode)(ee,{ref:"pickerPanelRef",shortcuts:a.shortcuts,multiple:a.multiple,clearable:a.clearable,shortcutClose:a.shortcutClose,selectionMode:a.selectionMode,modelValue:a.internalValue,startDate:a.startDate,disableDate:a.disableDate,focusedDate:a.focusedDate,onPick:a.onPick},null)]}}),[[o.vShow,a.opened]])]}})]}})]),[[(0,o.resolveDirective)("clickoutside"),this.handleClose]])}}),le=(0,e.withInstall)(re)})(),f})()));
|
package/lib/dialog/dialog.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../modal")):t(e["../shared"],e.vue,e["../button"],e["../modal"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var n={4976:e=>{e.exports=o},8014:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},l={};function a(e){var t=l[e];if(void 0!==t)return t.exports;var o=l[e]={exports:{}};return n[e](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{a.r(i),a.d(i,{default:()=>c});var e=a(4212),t=a(748),o=a(4976),r=a.n(o),n=a(8014),l=a.n(n);const d=(0,t.defineComponent)({name:"Dialog",components:{BkModal:l(),BkButton:r()},props:Object.assign(Object.assign({},n.propsMixin),{confirmText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},title:{type:String,default:"Title"},headerAlign:{type:String,default:"left",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("headerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}},footerAlign:{type:String,default:"right",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("footerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}}}),emits:["closed","update:isShow"],methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")}},render:function(){var e,o=this,n={header:function(){var e,r,n;return(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)("div",{class:"bk-dialog-tool"},[(0,t.createVNode)("span",{class:"bk-dialog-close",onClick:o.handleClose},[(0,t.createTextVNode)("+")])]),(0,t.createVNode)("div",{class:"bk-dialog-header"},[(0,t.createVNode)("span",{class:"bk-dialog-title",style:"text-align: ".concat(o.headerAlign)},[null!==(n=null===(r=(e=o.$slots).header)||void 0===r?void 0:r.call(e))&&void 0!==n?n:o.title])])])},default:function(){var e,t,r;return null!==(r=null===(t=(e=o.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"default"},footer:function(){var e,n,l;return(0,t.createVNode)("div",{class:"bk-dialog-footer",style:"text-align: ".concat(o.footerAlign)},[null!==(l=null===(n=(e=o.$slots).footer)||void 0===n?void 0:n.call(e))&&void 0!==l?l:(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(r(),{onClick:o.handleClose,theme:"primary"},{default:function(){return[o.confirmText]}}),(0,t.createVNode)(r(),{onClick:o.handleClose},{default:function(){return[o.cancelText]}})])])}},a="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,t.createVNode)(l(),(0,t.mergeProps)(this.$props,{class:a}),"function"==typeof(e=n)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)?n:{default:function(){return[n]}})}}),c=(0,e.withInstall)(d)})(),i})()));
|
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see directives.js.LICENSE.txt */
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/typeof"),require("../shared"),require("@popperjs/core"),require("../styles/mixins/popper.less"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/toConsumableArray","@babel/runtime/helpers/typeof","../shared","@popperjs/core","../styles/mixins/popper.less"],t);else{var n="object"==typeof exports?t(require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/typeof"),require("../shared"),require("@popperjs/core"),require("../styles/mixins/popper.less")):t(e["@babel/runtime/helpers/toConsumableArray"],e["@babel/runtime/helpers/typeof"],e["../shared"],e["@popperjs/core"],e["../styles/mixins/popper.less"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r,o)=>(()=>{var i={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,s,u,c,d,l,p,f,m,v,b=!1;function h(){if(!b){b=!0;var e=navigator.userAgent,h=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),l=!!/Win64/.exec(e),h){(t=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=h[2]?parseFloat(h[2]):NaN,r=h[3]?parseFloat(h[3]):NaN,(o=h[4]?parseFloat(h[4]):NaN)?(h=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=h&&h[1]?parseFloat(h[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(y){if(y[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!x||parseFloat(x[1].replace("_","."))}else s=!1;u=!!y[2],c=!!y[3]}else s=u=c=!1}}var y={ie:function(){return h()||t},ieCompatibilityMode:function(){return h()||a>t},ie64:function(){return y.ie()&&l},firefox:function(){return h()||n},opera:function(){return h()||r},webkit:function(){return h()||o},safari:function(){return y.webkit()},chrome:function(){return h()||i},windows:function(){return h()||u},osx:function(){return h()||s},linux:function(){return h()||c},iphone:function(){return h()||p},mobile:function(){return h()||p||f||d||v},nativeApp:function(){return h()||m},android:function(){return h()||d},ipad:function(){return h()||f}};e.exports=y},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},4212:e=>{"use strict";e.exports=n},7018:e=>{"use strict";e.exports=o},642:t=>{"use strict";t.exports=e},8541:e=>{"use strict";e.exports=t},5798:e=>{"use strict";e.exports=r}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";s.r(u),s.d(u,{bkTooltips:()=>y,clickoutside:()=>l,mousewheel:()=>r});var e=s(2439),t=s.n(e),n="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(n?"DOMMouseScroll":"mousewheel",(function(e){var n=t()(e);null==i||i.apply(this,[e,n])}))}};function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a,c=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,s=null==o?void 0:o.target,u=!t||!t.instance,c=!a||!s,d=e.contains(a)||e.contains(s),l=e===a,p=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(s),f=i&&(i.contains(a)||i.contains(s));u||c||d||l||p||f||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return a=e})),document.addEventListener("mouseup",(function(e){var t,n=o(c.values());try{for(n.s();!(t=n.n()).done;){var r,i=o(t.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,a)}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}}));const l={beforeMount:function(e,t){c.has(e)||c.set(e,[]),c.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){c.has(e)||c.set(e,[]);var n=c.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){c.delete(e)}};var p=s(642),f=s.n(p),m=s(8541),v=s.n(m),b=s(4212),h=s(5798);s(7018);const y={mounted:function(e,t){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===v()(t.value)?Object.assign(n,t.value):n.content=t.value;var r=n.disabled,o=n.arrow,i=n.theme;if(!r){var a=function(e,t,n){var r=b.bkZIndexManager.getPopperIndex(),o=document.createElement("div");if(o.className="bk-popper ".concat(n?"light":"dark"),o.innerText=e,o.style.zIndex=String(r),t){var i=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();o.appendChild(i)}return document.body.appendChild(o),o}(n.content,o,"light"===i);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,s=n.onShow,u=n.onHide,c=(0,h.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){["mouseenter","focus"].forEach((function(t){e.addEventListener(t,d)})),["mouseleave","blur"].forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?d():t.hasAttribute("data-show")&&l()}));function d(){t.setAttribute("data-show",""),s(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(f()(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),c.update()}function l(){t.removeAttribute("data-show"),u(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(f()(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}a&&d()}(e,a,n)}}}})(),u})()));
|
package/lib/form/form.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("@babel/runtime/helpers/toConsumableArray"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/defineProperty","vue","@babel/runtime/helpers/toConsumableArray"],r);else{var t="object"==typeof exports?r(require("../shared"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("@babel/runtime/helpers/toConsumableArray")):r(e["../shared"],e["@babel/runtime/helpers/defineProperty"],e.vue,e["@babel/runtime/helpers/toConsumableArray"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var n={4212:r=>{r.exports=e},311:e=>{e.exports=r},642:e=>{e.exports=o},748:e=>{e.exports=t}},s={};function i(e){var r=s[e];if(void 0!==r)return r.exports;var t=s[e]={exports:{}};return n[e](t,t.exports,i),t.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{BkForm:()=>b,BkFormItem:()=>f,default:()=>g});var e=i(4212),r=i(311),t=i.n(r),o=i(748),n=Symbol("form"),s={formType:e.PropTypes.oneOf(["default","vertical"]).def("default"),labelWidth:e.PropTypes.oneOfType([Number,String]),labelPosition:e.PropTypes.oneOf(["left","center","right"]),model:e.PropTypes.object,rules:e.PropTypes.array};const l=(0,o.defineComponent)({name:"BKForm",props:s,setup:function(e){var r=[];return(0,o.provide)(n,{props:e,register:function(e){r.push(e)},unregister:function(e){r=r.reduce((function(r,t){return t!==e&&r.push(t),r}),[])}}),{validate:function(o){var n={};return n=o?("string"==typeof o?[o]:o).reduce((function(e,r){return Object.assign(Object.assign({},e),t()({},r,!0))}),{}):r.reduce((function(e,r){return r.property?Object.assign(Object.assign({},e),t()({},r.property,!0)):e}),{}),Promise.all(r.reduce((function(e,r){return n[r.property]&&e.push(r.validate()),e}),[])).then((function(){return Promise.resolve(e.model)}))},clearValidate:function(e){var o={};o=e?("string"==typeof e?[e]:e).reduce((function(e,r){return Object.assign(Object.assign({},e),t()({},r,!0))}),{}):r.reduce((function(e,r){return Object.assign(Object.assign({},e),t()({},r.property,!0))}),{}),r.forEach((function(e){return o[e.property]&&e.clearValidate()}))}}},render:function(){var r,n,s=(0,e.classes)(t()({"bk-form":!0},"bk-form--".concat(this.formType),!0));return(0,o.createVNode)("form",{class:s},[null===(n=(r=this.$slots).default)||void 0===n?void 0:n.call(r)])}});var u=i(642),p=i.n(u);const c={required:function(e){return console.log("required"),""!==e&&null!=e},min:function(e,r){return console.log("min"),e>=r},max:function(e,r){return console.log("max"),r>=e},email:function(e){return console.log("email"),/^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/.test(e)},maxlength:function(e,r){return console.log("maxlength"),e.length<=r}};var m={label:e.PropTypes.string,labelWidth:e.PropTypes.oneOfType([Number,String]),labelPosition:e.PropTypes.oneOf(["left","center","right"]),property:e.PropTypes.string.def(""),required:e.PropTypes.bool.def(!1),email:e.PropTypes.bool.def(!1),max:e.PropTypes.number,min:e.PropTypes.number,maxlength:e.PropTypes.number,rules:e.PropTypes.array,autoCheck:e.PropTypes.bool.def(!1),description:e.PropTypes.string},d=function(e){return void 0!==e};const f=(0,o.defineComponent)({name:"BKFormItem",props:m,setup:function(e){var r=(0,o.getCurrentInstance)(),t=(0,o.reactive)({isError:!1,errorMessage:""}),s=(0,o.inject)(n),i=Boolean(s),a=(0,o.computed)((function(){var r={width:"",paddingRight:"",textAlign:""},t=d(e.labelWidth)?e.labelWidth:i&&s.props.labelWidth;d(t)&&(r.width="".concat(t,"px"),r.paddingRight=t?"":"0px");var o=e.labelPosition||i&&s.props.labelPosition;return o&&(r["text-align"]=o),r}));return(0,o.onMounted)((function(){i&&s.register(r.proxy)})),(0,o.onBeforeUnmount)((function(){i&&s.unregister(r.proxy)})),Object.assign(Object.assign({},(0,o.toRefs)(t)),{labelStyles:a,validate:function(){if(!e.property||i&&!s.props.model)return Promise.resolve();var r,o,n,a,l,u=[];i&&s.props.rules&&(r=s.props.rules,o=e.property,Object.prototype.hasOwnProperty.call(r,o))&&(u=s.props.rules[e.property]),e.rules&&(u=e.rules),n=u,a=function(e){var r=[];return e.required&&r.push({validator:c.required,message:"".concat(e.label,"不能为空"),trigger:"blur"}),e.email&&r.push({validator:c.email,message:"".concat(e.label,"格式不正确"),trigger:"blur"}),Number(e.max)>-1&&r.push({validator:function(r){return c.max(r,e.max)},message:"".concat(e.label,"最大值").concat(e.max),trigger:"blur"}),Number(e.min)>-1&&r.push({validator:function(r){return c.min(r,e.min)},message:"".concat(e.label,"最小值").concat(e.min),trigger:"blur"}),Number(e.maxlength)>-1&&r.push({validator:function(r){return c.maxlength(r,e.maxlength)},message:"".concat(e.label,"最大长度").concat(e.maxlength),trigger:"blur"}),r}(e),l=n.map((function(e){return{validator:e.required?c.required:e.email?c.email:Number(e.max)>-1?function(r){return c.max(r,e.max)}:Number(e.min)>-1||Number(e.maxlength)>-1?function(r){return c.min(r,e.max)}:function(){return!0},message:e.message,trigger:e.trigger}})),u=[].concat(p()(a),p()(l));var m,d=s.props.model[e.property],f=(m=-1,function(){if((m+=1)>=u.length)return Promise.resolve();var e=u[m];return Promise.resolve().then((function(){var r=e.validator(d);return"boolean"!=typeof r&&"function"==typeof r.then?r.then((function(){return f}),(function(){return t.isError=!0,t.errorMessage=e.message,Promise.reject(e.message)})):r?f():(t.isError=!0,t.errorMessage=e.message,Promise.reject(e.message))}))});return f()},clearValidate:function(){t.isError=!1,t.errorMessage=""}})},render:function(){var r,t,n=(0,e.classes)({"bk-form-item":!0,"is-error":this.isError,"is-required":this.required});return(0,o.createVNode)("div",{class:n},[(0,o.createVNode)("div",{class:"bk-form-label",style:this.labelStyles},[this.$slots.label?this.$slots.label():this.label]),(0,o.createVNode)("div",{class:"bk-form-content"},[null===(t=(r=this.$slots).default)||void 0===t?void 0:t.call(r),this.isError&&(0,o.createVNode)("div",{class:"bk-form-error"},[this.$slots.error?this.$slots.error(this.errorMessage):this.errorMessage])])])}});var b=(0,e.withInstallProps)(l,{FormItem:f});const g=b})(),a})()));
|
package/lib/icon/icon.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{var a="object"==typeof exports?t(require("vue")):t(e.vue);for(var n in a)("object"==typeof exports?exports:e)[n]=a[n]}}(self,(e=>(()=>{"use strict";var t={9430:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(748);function r(e,t,a){return(0,n.h)(e.name,Object.assign(Object.assign({key:t},e.attributes),{style:"".concat(e.attributes.style," ").concat(a)}),(e.elements||[]).map((function(a,n){return r(a,"".concat(t,"-").concat(e.name,"-").concat(n))})))}Object.create,Object.create;var l=function(e,t){var a=Object.assign(Object.assign({},t.attrs),e),l=a.data,i=a.name,s=a.width,m=a.height,o=a.fill,c=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a}(a,["data","name","width","height","fill"]),d="width: ".concat(s,"; height: ").concat(m,"; fill: ").concat(o);return(0,n.createVNode)("span",c,[r(l,i,d)])};l.inheritAttrs=!1,l.displayName="bkIcon";const i=l},8914:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64zM512 896C299.2 896 128 724.8 128 512S299.2 128 512 128s384 171.2 384 384S724.8 896 512 896z"}},{"type":"element","name":"path","attributes":{"d":"M494.4 403.2c-28.8 6.4-56 20.8-76.8 41.6-24 22.4 1.6 44.8 16 27.2 9.6-12.8 24-22.4 40-28.8 11.2-1.6 17.6 1.6 19.2 9.6 1.6 14.4 0 27.2-4.8 41.6-4.8 19.2-14.4 51.2-25.6 94.4-22.4 76.8-33.6 124.8-30.4 140.8 3.2 17.6 12.8 32 28.8 41.6 17.6 8 38.4 9.6 57.6 4.8 30.4-6.4 57.6-22.4 80-44.8 25.6-25.6-3.2-43.2-17.6-28.8-9.6 12.8-24 22.4-40 25.6-14.4 3.2-22.4-3.2-25.6-16-1.6-14.4 1.6-28.8 6.4-41.6 40-136 57.6-212.8 52.8-232-3.2-14.4-12.8-27.2-25.6-33.6C532.8 398.4 512 398.4 494.4 403.2z"}},{"type":"element","name":"path","attributes":{"d":"M608 304A48 48 0 0 1 560 352 48 48 0 0 1 512 304 48 48 0 0 1 608 304z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"infoLine"}),null)};i.displayName="infoLine",i.inheritAttrs=!1;const s=i},7450:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64A448 448 0 1 1 64 512 448 448 0 0 1 512 64ZM493.92 402.56a156 156 0 0 0-77.12 42.24c-24.32 22.88 1.44 44 16 27.52a82.56 82.56 0 0 1 40.48-28.16c11.04-2.24 17.6 1.28 19.36 10.4A118.88 118.88 0 0 1 488.16 496q-7.2 29.76-26.4 93.92-34.72 116.32-30.08 140.8a54.72 54.72 0 0 0 28.8 40.96 88 88 0 0 0 58.4 5.12 161.76 161.76 0 0 0 80-45.44c25.76-24.96-3.52-43.04-17.28-28a76.32 76.32 0 0 1-39.36 26.08c-14.24 2.88-22.72-2.4-25.28-16A104.96 104.96 0 0 1 522.88 672Q582.24 469.12 576 439.84a46.24 46.24 0 0 0-25.6-33.6A89.6 89.6 0 0 0 493.92 402.56Zm67.84-39.84A49.92 49.92 0 1 0 512 312.96 49.76 49.76 0 0 0 561.76 362.72Z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"info"}),null)};i.displayName="info",i.inheritAttrs=!1;const s=i},2555:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M680.96 129.92c-14.08-3.84-30.08-1.2799999999999998-40.31999999999999 7.04l-439.03999999999996 356.48c-12.799999999999999 10.239999999999998-12.799999999999999 26.88 0 37.12l439.03999999999996 356.48c7.04 5.76 16.64 8.959999999999999 26.88 8.959999999999999 4.4799999999999995 0 8.959999999999999-0.6399999999999999 13.44-1.92 14.08-3.84 23.04-14.08 23.04-25.599999999999998v-712.96c0-11.52-8.959999999999999-21.759999999999998-23.04-25.599999999999998z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"leftShape"}),null)};i.displayName="leftShape",i.inheritAttrs=!1;const s=i},6432:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M827.9893333333332 482.73066666666665l-585.1306666666667-474.7093333333333c-6.229333333333333-5.418666666666667-14.421333333333333-8.746666666666666-23.381333333333334-8.789333333333332-20.223999999999997 0-36.56533333333333 16.384-36.56533333333333 36.56533333333333v950.8693333333333c0 20.18133333333333 16.384 36.56533333333333 36.56533333333333 36.56533333333333 0 0 0.042666666666666665 0 0.042666666666666665 0 8.618666666666666 0 16.512-3.0293333333333328 22.698666666666668-8.106666666666666l585.088-474.66666666666663c8.874666666666666-6.741333333333333 14.506666666666668-17.28 14.506666666666668-29.184 0-11.562666666666667-5.333333333333333-21.845333333333333-13.696-28.544z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"playShape"}),null)};i.displayName="playShape",i.inheritAttrs=!1;const s=i},9497:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M736 480L544 480 544 288 480 288 480 480 288 480 288 544 480 544 480 736 544 736 544 544 736 544z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"plus"}),null)};i.displayName="plus",i.inheritAttrs=!1;const s=i},8754:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1117.090909090909","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M314.1818181818182 1117.090909090909h-30.720000000000002c-58.78690909090909-0.6516363636363637-112.73309090909092-21.038545454545456-155.5549090909091-54.87709090909091-18.01309090909091-17.31490909090909-29.55636363636364-42.216727272727276-29.55636363636364-69.86472727272727 0-1.3032727272727274 0.04654545454545455-2.6530909090909094 0.0930909090909091-3.956363636363637 0.1861818181818182-11.776 3.025454545454546-23.04 7.866181818181819-33.09381818181818-0.1861818181818182 0.32581818181818184-0.1861818181818182 0.1861818181818182-0.1861818181818182 0 0-18.478545454545458 7.168-35.281454545454544 18.897454545454547-47.75563636363636 8.424727272727273-10.100363636363637 18.10618181818182-18.897454545454547 28.811636363636364-26.205090909090906-7.866181818181819-12.008727272727274-16.19781818181818-25.506909090909094-23.691636363636366-39.47054545454545-17.268363636363638 19.78181818181818-42.123636363636365 34.443636363636365-70.42327272727273 37.05018181818182-19.642181818181818-1.349818181818182-35.70036363636364-13.870545454545454-42.170181818181824-31.045818181818184-51.75854545454546-139.96218181818182 26.43781818181818-264.9367272727273 87.17963636363636-336.1512727272728-0.32581818181818184-3.2581818181818187-0.512-7.028363636363636-0.512-10.798545454545456s0.1861818181818182-7.586909090909091 0.5585454545454546-11.310545454545455c-0.3723636363636364-2.699636363636364-0.5585454545454546-6.3767272727272735-0.5585454545454546-10.053818181818182 0-18.990545454545455 5.12-36.77090909090909 14.056727272727272-52.08436363636364 0.4189090909090909-23.505454545454548 10.705454545454547-44.96290909090909 26.903272727272725-60.22981818181819 2.0014545454545454-203.264 167.2378181818182-367.29018181818185 370.78109090909095-367.29018181818185 0.512 0 0.9774545454545456 0 1.4894545454545456 0 104.40145454545454 1.2567272727272727 198.42327272727272 44.86981818181818 265.8210909090909 114.40872727272729 65.34981818181818 65.25672727272728 106.82181818181819 154.25163636363638 110.40581818181818 252.88145454545455 22.43490909090909 28.904727272727275 36.02618181818182 65.1170909090909 36.02618181818182 104.44800000000001 0 12.706909090909091-1.3963636363636363 25.088-4.096 37.00363636363637 51.2 64.512 134.28363636363636 203.45018181818185 70.05090909090909 343.7847272727273-7.493818181818182 17.268363636363638-24.34327272727273 29.184-43.985454545454544 29.323636363636364h0c-27.694545454545455-4.654545454545455-50.87418181818182-20.945454545454545-64.69818181818181-43.566545454545455-8.424727272727273 15.63927272727273-16.57018181818182 29.137454545454545-25.46036363636364 42.030545454545454 14.382545454545454 6.935272727272727 25.925818181818183 16.942545454545453 35.51418181818182 28.57890909090909 11.450181818181818 11.86909090909091 18.71127272727273 27.46181818181818 19.735272727272726 44.73018181818182 4.654545454545455 9.774545454545455 7.493818181818182 21.038545454545456 7.680000000000001 32.954181818181816 0.04654545454545455 1.2101818181818182 0.0930909090909091 2.5134545454545454 0.0930909090909091 3.816727272727273 0 27.601454545454544-11.543272727272727 52.54981818181818-30.06836363636364 70.23709090909091-42.30981818181819 33.466181818181816-96.256 53.85309090909091-154.90327272727274 54.50472727272727-10.14690909090909 1.2101818181818182-21.736727272727276 1.8618181818181818-33.512727272727275 1.8618181818181818-66.28072727272728 0-127.44145454545455-21.643636363636364-176.91927272727273-58.32145454545454l-33.419636363636364 0.5585454545454546c-47.19709090909091 36.25890909090909-107.14763636363637 58.088727272727276-172.17163636363637 58.088727272727276-3.3047272727272725 0-6.56290909090909-0.04654545454545455-9.821090909090909-0.1861818181818182zM187.11272727272726 946.7345454545455l18.152727272727272 11.17090909090909-38.4 30.720000000000002c0.8378181818181818 8.238545454545454 3.8632727272727276 15.63927272727273 8.471272727272726 21.736727272727276 31.232000000000003 22.900363636363636 70.51636363636364 36.72436363636364 113.01236363636363 36.910545454545456 9.588363636363637 1.442909090909091 20.57309090909091 2.280727272727273 31.744000000000003 2.280727272727273 53.061818181818175 0 101.74836363636364-18.80436363636364 139.72945454545453-50.0829090909091l10.100363636363637-9.495272727272727h21.643636363636364c6.469818181818183 0.46545454545454545 14.010181818181819 0.7447272727272728 21.643636363636364 0.7447272727272728s15.173818181818183-0.2792727272727273 22.667636363636365-0.7912727272727273l14.336 0.04654545454545455 11.17090909090909 10.472727272727273c37.376000000000005 31.09236363636364 85.9229090909091 49.98981818181819 138.8450909090909 49.98981818181819 11.636363636363637 0 23.04-0.9309090909090909 34.16436363636364-2.6530909090909094-0.6516363636363637 0.1861818181818182 0 0.1861818181818182 0.6516363636363637 0.1861818181818182 42.07709090909091 0 80.94254545454547-13.637818181818181 112.45381818181818-36.67781818181818 3.6770909090909094-4.561454545454546 6.2370909090909095-11.031272727272727 6.2370909090909095-18.10618181818182 0-1.8618181818181818-0.1861818181818182-3.6770909090909094-0.512-5.445818181818182l-38.35345454545455-30.533818181818184 18.152727272727272-9.774545454545455c-10.053818181818182-7.633454545454546-21.969454545454546-13.451636363636363-34.955636363636366-16.61672727272727l-55.80800000000001-14.103272727272728 37.70181818181818-42.58909090909091c29.649454545454546-33.18690909090909 52.1309090909091-73.49527272727273 64.41890909090908-117.99272727272728l24.948363636363638-94.25454545454545 40.49454545454545 85.87636363636364c8.843636363636364 19.456 19.316363636363636 36.21236363636364 31.744000000000003 51.386181818181825 30.39418181818182-108.63709090909092-47.104-218.25163636363638-83.40945454545455-262.2370909090909l-13.265454545454544-15.360000000000001 6.9818181818181815-18.85090909090909c3.1185454545454547-9.076363636363636 4.887272727272728-19.54909090909091 4.887272727272728-30.440727272727276 0-25.134545454545457-9.541818181818181-48.034909090909096-25.227636363636368-65.25672727272728l-9.681454545454546-10.379636363636363v-13.963636363636363c-0.32581818181818184-169.70472727272727-135.40072727272727-307.75854545454547-303.9418181818182-312.78545454545457-1.349818181818182 0-2.373818181818182-0.04654545454545455-3.444363636363636-0.04654545454545455-167.7498181818182 0-303.70909090909095 135.95927272727272-303.70909090909095 303.70909090909095 0 3.6770909090909094 0.04654545454545455 7.354181818181819 0.1861818181818182 11.031272727272727l0 20.433454545454545-17.454545454545453 13.963636363636363c-5.678545454545454 3.1650909090909094-9.448727272727274 9.076363636363636-9.448727272727274 15.918545454545455 0 1.3032727272727274 0.13963636363636364 2.5134545454545454 0.3723636363636364 3.7236363636363636l4.189090909090909 27.089454545454544-16.756363636363638 7.680000000000001c-0.3723636363636364 2.7461818181818183-0.6050909090909091 5.864727272727273-0.6050909090909091 9.076363636363636s0.23272727272727273 6.330181818181819 0.6516363636363637 9.448727272727274c0.512 6.842181818181818 2.280727272727273 13.451636363636363 4.980363636363636 19.54909090909091l8.238545454545454 19.874909090909092-14.661818181818182 16.05818181818182c-59.485090909090914 55.482181818181814-96.53527272727273 134.28363636363636-96.53527272727273 221.7890909090909 0 10.891636363636364 0.5585454545454546 21.69018181818182 1.722181818181818 32.30254545454545 12.288-14.754909090909091 23.179636363636366-29.88218181818182 32.11636363636364-46.21963636363636l41.099636363636364-70.98181818181818 23.73818181818182 78.89454545454547c13.312 44.12509090909091 35.14181818181818 82.19927272727273 63.76727272727273 114.0829090909091l36.07272727272728 40.215272727272726-52.36363636363637 16.05818181818182c-12.427636363636365 2.3272727272727276-23.458909090909092 6.935272727272727-33.14036363636364 13.451636363636363zM165.4690909090909 474.76363636363635v0z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"qq"}),null)};i.displayName="qq",i.inheritAttrs=!1;const s=i},4197:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M822.3999999999999 493.43999999999994l-439.03999999999996-356.48c-10.239999999999998-8.32-26.24-10.879999999999999-40.31999999999999-7.04s-23.04 14.08-23.04 25.599999999999998v712.96c0 11.52 8.959999999999999 21.119999999999997 23.04 25.599999999999998 4.4799999999999995 1.2799999999999998 8.959999999999999 1.92 13.44 1.92 10.239999999999998 0 19.84-3.1999999999999997 26.88-8.959999999999999l439.03999999999996-356.48c12.799999999999999-10.239999999999998 12.799999999999999-26.88 0-37.12z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"rightShape"}),null)};i.displayName="rightShape",i.inheritAttrs=!1;const s=i},600:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M842.56 797.28l-151.52-151.52a336 336 0 1 0-45.28 45.28l151.52 151.52a32 32 0 0 0 45.28-45.28ZM432 704A272 272 0 1 1 704 432 272 272 0 0 1 432 704Z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"search"}),null)};i.displayName="search",i.inheritAttrs=!1;const s=i},461:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"icon","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M981.333333 1024H42.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V42.666667a42.666667 42.666667 0 0 1 42.666667-42.666667h341.333333a42.666667 42.666667 0 0 1 0 85.333333H85.333333v853.333334h853.333334V618.666667a42.666667 42.666667 0 0 1 85.333333 0v362.666666a42.666667 42.666667 0 0 1-42.666667 42.666667z m0-576a42.666667 42.666667 0 0 1-42.666666-42.666667V152.746667L315.306667 796.8a48 48 0 0 1-67.2 0 47.36 47.36 0 0 1 0-66.133333L871.893333 85.333333H640a42.666667 42.666667 0 0 1 0-85.333333h341.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v362.666666a42.666667 42.666667 0 0 1-42.666667 42.666667z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"share"}),null)};i.displayName="share",i.inheritAttrs=!1;const s=i},2927:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"lds-spin","preserveAspectRatio":"xMidYMid","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M874.3255040000001 512A55.125504 55.125504 0 0 1 819.2 567.125504 55.125504 55.125504 0 0 1 764.074496 512 55.125504 55.125504 0 0 1 874.3255040000001 512z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.9166666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.9166666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".917","d":"M826.5220089266763 693.5878203150381A55.978496 55.978496 0 0 1 750.0539613250309 714.0773719166838 55.978496 55.978496 0 0 1 729.5644097233852 637.6093243150382 55.978496 55.978496 0 0 1 826.5220089266763 693.5878203150381z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.8333333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.8333333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".833","d":"M694.0170969047495 827.2583983352753A56.83200000000001 56.83200000000001 0 0 1 616.3831411568723 806.4564425873981 56.83200000000001 56.83200000000001 0 0 1 637.1850969047495 728.8224868395207 56.83200000000001 56.83200000000001 0 0 1 694.0170969047495 827.2583983352753z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.75s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.75s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".75","d":"M512 876.8855040000001A57.685504 57.685504 0 0 1 454.314496 819.2 57.685504 57.685504 0 0 1 512 761.5144959999999 57.685504 57.685504 0 0 1 512 876.8855040000001z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.6666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.6666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".667","d":"M329.1269198807941 828.7408206328269A58.538495999999995 58.538495999999995 0 0 1 307.7003432454604 748.7757479974932 58.538495999999995 58.538495999999995 0 0 1 387.6654158807941 727.3491713621594 58.538495999999995 58.538495999999995 0 0 1 329.1269198807941 828.7408206328269z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.5833333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.5833333333333334s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".583","d":"M194.5170177632531 695.2980006130954A59.39199999999999 59.39199999999999 0 0 1 216.2559985448185 614.16701983153 59.39199999999999 59.39199999999999 0 0 1 297.3869793263839 635.9060006130953 59.39199999999999 59.39199999999999 0 0 1 194.5170177632531 695.2980006130954z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.5s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.5s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".5","d":"M144.55449600000003 512A60.245504000000004 60.245504000000004 0 0 1 204.80000000000004 451.754496 60.245504000000004 60.245504000000004 0 0 1 265.04550400000005 512 60.245504000000004 60.245504000000004 0 0 1 144.55449600000003 512z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.4166666666666667s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.4166666666666667s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".417","d":"M193.04947448121268 327.85151812453734A61.098496 61.098496 0 0 1 276.5115721502346 305.48791645551546 61.098496 61.098496 0 0 1 298.87517381925653 388.95001412453735 61.098496 61.098496 0 0 1 193.04947448121268 327.85151812453734z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.3333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.3333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".333","d":"M332.5476411431614 201.1754130120454A51.711999999999996 51.711999999999996 0 0 1 403.1875468236623 220.1033186925463 51.711999999999996 51.711999999999996 0 0 1 384.2596411431614 290.7432243730472 51.711999999999996 51.711999999999996 0 0 1 332.5476411431614 201.1754130120454z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.25s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.25s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".25","d":"M512 152.234496A52.565504000000004 52.565504000000004 0 0 1 564.565504 204.8 52.565504000000004 52.565504000000004 0 0 1 512 257.365504 52.565504000000004 52.565504000000004 0 0 1 512 152.234496z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.16666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.16666666666666666s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".167","d":"M692.3075781671167 199.69299071449373A53.418496000000005 53.418496000000005 0 0 1 711.8601047350743 272.66401328245115 53.418496000000005 53.418496000000005 0 0 1 638.8890821671168 292.21653985040854 53.418496000000005 53.418496000000005 0 0 1 692.3075781671167 199.69299071449373z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"-0.08333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"-0.08333333333333333s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]},{"type":"element","name":"path","attributes":{"fill-opacity":".083","d":"M825.0362880000001 331.264A54.27213621356492 54.27213621356492 0 0 1 805.1712000000001 405.401088 54.27213621356492 54.27213621356492 0 0 1 731.034112 385.536 54.27213621356492 54.27213621356492 0 0 1 825.0362880000001 331.264z"},"elements":[{"type":"element","name":"animateTransform","attributes":{"attributeName":"transform","begin":"0s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","type":"scale","values":"1.2 1.2;1 1"}},{"type":"element","name":"animate","attributes":{"attributeName":"fill-opacity","begin":"0s","dur":"1s","keyTimes":"0;1","repeatCount":"indefinite","values":"1;0"}}]}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"spinner"}),null)};i.displayName="spinner",i.inheritAttrs=!1;const s=i},8305:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM485.7 670.3l-181-181L350 444l135.8 135.8L712 353.5l45.3 45.3L485.7 670.3z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"success"}),null)};i.displayName="success",i.inheritAttrs=!1;const s=i},6798:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"aria-hidden":"true","class":"anticon-spin","data-icon":"loading","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3 0.1 19.9-16 36-35.9 36z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"switcherLoading"}),null)};i.displayName="switcherLoading",i.inheritAttrs=!1;const s=i},7312:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M704 64L704 64H128v896h768V256l0 0L704 64zM704 154.5L805.5 256H704V154.5zM832 896H192V128h448v192h192V896z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 320H544V384H288V320z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 448H736V512H288V448z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 576H736V640H288V576z","class":"st0"}},{"type":"element","name":"path","attributes":{"d":"M288 704H736V768H288V704z","class":"st0"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"textFile"}),null)};i.displayName="textFile",i.inheritAttrs=!1;const s=i},9037:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M432.64 576h156.79999999999998l-79.36-260.48-77.44 260.48z"}},{"type":"element","name":"path","attributes":{"d":"M512 0c-282.75199999999995 0-512 229.248-512 512s229.248 512 512 512c282.75199999999995 0 512-229.248 512-512s-229.248-512-512-512zM681.5999999999999 768h-9.6c-0.042666666666666665 0-0.128 0-0.21333333333333332 0-14.250666666666667 0-26.325333333333333-9.301333333333332-30.464-22.186666666666667l-32.04266666666666-105.81333333333333h-192l-33.28 105.6c-4.1386666666666665 13.994666666666667-16.896 24.02133333333333-32 24.02133333333333-18.389333333333333 0-33.32266666666666-14.933333333333332-33.32266666666666-33.32266666666666 0-3.328 0.46933333333333327-6.485333333333333 1.3653333333333333-9.514666666666667l133.07733333333334-429.82399999999996c9.813333333333333-23.552 32.64-39.808 59.263999999999996-39.808 24.917333333333332 0 46.464 14.208 57.04533333333333 34.986666666666665l134.57066666666665 434.304c1.152 3.157333333333333 1.792 6.784 1.792 10.581333333333333 0 14.890666666666664-10.197333333333333 27.434666666666665-23.97866666666667 30.976z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"treeApplicationShape"}),null)};i.displayName="treeApplicationShape",i.inheritAttrs=!1;const s=i},9730:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M500.16 304a355.04 355.04 0 0 1 128 24.8l48-48.96a426.08 426.08 0 0 0-176-39.84v64Z"}},{"type":"element","name":"path","attributes":{"d":"M763.2 328.8l-46.08 46.08a822.24 822.24 0 0 1 160 138.88 807.52 807.52 0 0 1-86.88 85.12C723.84 654.24 620.48 720 502.56 720a331.52 331.52 0 0 1-111.04-19.52l-49.44 49.28a402.4 402.4 0 0 0 160 34.24C768 784 960 512 960 512A962.56 962.56 0 0 0 763.2 328.8Z"}},{"type":"element","name":"path","attributes":{"d":"M254.88 701.12l46.08-46.08a706.56 706.56 0 0 1-156.64-144C197.44 442.88 328.16 304 500.16 304V240h0C234.72 240 64 512 64 512A838.72 838.72 0 0 0 254.88 701.12Z"}},{"type":"element","name":"path","attributes":{"d":"M512 640a128 128 0 0 0 110.24-192.96L888 181.28A32 32 0 1 0 842.72 136L576.96 401.76a128 128 0 0 0-176 176L136 842.72a32 32 0 1 0 45.28 45.28L447.04 622.24A128 128 0 0 0 512 640Zm64-128a64 64 0 0 1-64 64 60.96 60.96 0 0 1-16-2.4L573.6 496A60.96 60.96 0 0 1 576 512Zm-64-64a60.96 60.96 0 0 1 16 2.4L450.4 528A60.96 60.96 0 0 1 448 512 64 64 0 0 1 512 448Z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"unvisible"}),null)};i.displayName="unvisible",i.inheritAttrs=!1;const s=i},5227:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M896 671.3599999999999c0-2.5599999999999996-0.6399999999999999-4.4799999999999995-1.2799999999999998-7.04-0.6399999999999999-1.92-0.6399999999999999-3.84-1.2799999999999998-5.119999999999999s-1.2799999999999998-2.5599999999999996-1.92-3.1999999999999997c-1.2799999999999998-2.5599999999999996-2.5599999999999996-4.4799999999999995-4.4799999999999995-6.3999999999999995 0 0 0 0 0-0.6399999999999999l-356.48-384c-10.239999999999998-11.52-26.88-11.52-37.12 0l-356.48 384c0 0 0 0.6399999999999999 0 0.6399999999999999-1.92 1.92-2.5599999999999996 3.84-3.84 6.3999999999999995-0.6399999999999999 1.2799999999999998-1.92 2.5599999999999996-2.5599999999999996 3.84s-0.6399999999999999 3.1999999999999997-1.2799999999999998 5.119999999999999c-0.6399999999999999 1.2799999999999998-1.2799999999999998 3.84-1.2799999999999998 6.3999999999999995 0 0 0 0.6399999999999999 0 0.6399999999999999 0 1.92 0.6399999999999999 3.1999999999999997 0.6399999999999999 4.4799999999999995 0 2.5599999999999996 0.6399999999999999 4.4799999999999995 1.2799999999999998 7.04s1.92 4.4799999999999995 3.1999999999999997 6.3999999999999995c0.6399999999999999 1.2799999999999998 1.2799999999999998 2.5599999999999996 1.92 3.84 0 0 0 0 0.6399999999999999 0.6399999999999999 1.2799999999999998 1.92 3.1999999999999997 3.1999999999999997 5.119999999999999 4.4799999999999995 1.2799999999999998 0.6399999999999999 2.5599999999999996 1.92 3.84 2.5599999999999996s2.5599999999999996 0.6399999999999999 3.84 1.2799999999999998c1.92 0 3.84 1.2799999999999998 6.3999999999999995 1.2799999999999998 0 0 0.6399999999999999 0 0.6399999999999999 0h712.96c3.84 0 7.68-0.6399999999999999 10.879999999999999-2.5599999999999996 0.6399999999999999 0 0.6399999999999999-0.6399999999999999 1.2799999999999998-0.6399999999999999 3.1999999999999997-1.92 5.76-3.84 8.32-6.3999999999999995 0 0 0 0 0.6399999999999999 0 0.6399999999999999-1.2799999999999998 1.2799999999999998-2.5599999999999996 1.92-3.84 1.2799999999999998-1.92 2.5599999999999996-3.84 3.1999999999999997-6.3999999999999995 0.6399999999999999-1.92 0.6399999999999999-4.4799999999999995 1.2799999999999998-7.04 0-1.92 0.6399999999999999-3.1999999999999997 0.6399999999999999-4.4799999999999995-0.6399999999999999-0.6399999999999999-0.6399999999999999-1.2799999999999998-0.6399999999999999-1.2799999999999998z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"upShape"}),null)};i.displayName="upShape",i.inheritAttrs=!1;const s=i},240:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM544 704h-64v-64h64V704zM544 576h-64V320h64V576z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"warn"}),null)};i.displayName="warn",i.inheritAttrs=!1;const s=i},4273:(e,t,a)=>{a.d(t,{default:()=>s});var n=a(748),r=a(9430),l=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M603.52 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M357.11999999999995 348.8c0 26.496-22.357333333333333 48-49.919999999999995 48s-49.919999999999995-21.503999999999998-49.919999999999995-48c0-26.496 22.357333333333333-48 49.919999999999995-48s49.919999999999995 21.503999999999998 49.919999999999995 48z"}},{"type":"element","name":"path","attributes":{"d":"M693.12 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}},{"type":"element","name":"path","attributes":{"d":"M951.68 832c43.775999999999996-42.410666666666664 71.29599999999999-101.41866666666665 72.32-166.86933333333332-4.608-109.696-77.35466666666666-201.0453333333333-176.72533333333334-233.30133333333333 5.674666666666667-12.117333333333331 10.154666666666666-26.282666666666664 10.154666666666666-41.471999999999994 0-4.522666666666666-0.38399999999999995-8.959999999999999-1.152-13.226666666666667-33.834666666666664-181.29066666666665-212.39466666666664-313.1306666666667-425.5146666666667-313.1306666666667-238.71999999999997 0-430.72 167.04-430.72 372.48 1.2799999999999998 107.56266666666666 50.56 203.30666666666664 127.40266666666668 267.05066666666664l-16.682666666666666 55.50933333333333c-2.1759999999999997 6.784-3.456 14.634666666666668-3.456 22.741333333333333 0 42.410666666666664 34.38933333333333 76.8 76.8 76.8 12.458666666666666 0 24.191999999999997-2.944 34.602666666666664-8.234666666666666l101.33333333333333-52.906666666666666c32.81066666666666 7.722666666666666 70.52799999999999 12.159999999999998 109.22666666666666 12.159999999999998 0.08533333333333333 0 0.17066666666666666 0 0.21333333333333332 0h28.16c13.098666666666666-0.7679999999999999 25.130666666666663-4.693333333333333 35.54133333333333-11.050666666666666 54.22933333333333 73.55733333333333 140.672 120.53333333333333 238.07999999999998 120.53333333333333 1.664 0 3.3706666666666667 0 5.034666666666666-0.042666666666666665 21.077333333333332-0.08533333333333333 41.855999999999995-2.1759999999999997 61.99466666666667-6.101333333333333l49.10933333333333 26.581333333333333c9.941333333333333 5.034666666666666 21.717333333333332 8.021333333333333 34.176 8.021333333333333 42.410666666666664 0 76.8-34.38933333333333 76.8-76.8 0-8.106666666666666-1.2799999999999998-15.957333333333333-3.584-23.296zM430.72 752.64c-0.17066666666666666 0-0.38399999999999995 0-0.5973333333333333 0-40.831999999999994 0-80.29866666666666-5.8453333333333335-117.58933333333331-16.72533333333333l-3.456 0.7253333333333334-131.2 67.19999999999999 35.199999999999996-113.27999999999999h-3.1999999999999997c-86.10133333333332-52.05333333333333-143.40266666666668-144.17066666666665-145.92-249.89866666666666 0-172.50133333333332 165.76-312.66133333333335 366.72-312.66133333333335 5.717333333333333-0.3413333333333333 12.415999999999999-0.512 19.157333333333334-0.512 163.32799999999997 0 300.58666666666664 111.40266666666668 340.0106666666667 262.4l-14.805333333333332 2.432c-183.04 0-327.03999999999996 112-327.03999999999996 285.44 0.512 26.709333333333333 5.1626666666666665 52.181333333333335 13.312 75.98933333333332zM872.96 812.8v0l21.759999999999998 67.84-81.28-40.959999999999994h-3.84c-21.119999999999997 6.101333333333333-45.397333333333336 9.6-70.48533333333333 9.6-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0-5.888 0.5973333333333333-12.757333333333332 0.9386666666666665-19.712 0.9386666666666665-107.09333333333332 0-195.2853333333333-80.93866666666666-206.71999999999997-184.95999999999998 10.367999999999999-106.96533333333333 99.072-189.1413333333333 206.976-189.1413333333333 5.973333333333334 0 11.861333333333334 0.256 17.706666666666663 0.7253333333333334 4.309333333333333-0.512 10.197333333333333-0.7253333333333334 16.170666666666666-0.7253333333333334 107.904 0 196.60799999999998 82.17599999999999 206.976 187.34933333333333-1.7066666666666666 63.82933333333333-35.79733333333333 118.44266666666665-86.18666666666667 148.90666666666667z"}},{"type":"element","name":"path","attributes":{"d":"M839.68 604.16c0 15.914666666666665-13.184 28.8-29.439999999999998 28.8s-29.439999999999998-12.885333333333332-29.439999999999998-28.8c0-15.914666666666665 13.184-28.8 29.439999999999998-28.8s29.439999999999998 12.885333333333332 29.439999999999998 28.8z"}}]}'),i=function(e,t){var a=Object.assign(Object.assign({},e),t.attrs);return(0,n.createVNode)(r.Z,(0,n.mergeProps)(a,{data:l,name:"weixin"}),null)};i.displayName="weixin",i.inheritAttrs=!1;const s=i},748:t=>{t.exports=e}},a={};function n(e){var r=a[e];if(void 0!==r)return r.exports;var l=a[e]={exports:{}};return t[e](l,l.exports,n),l.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{AngleDoubleDownLine:()=>i,AngleDoubleLeft:()=>p,AngleDoubleLeftLine:()=>o,AngleDoubleRight:()=>b,AngleDoubleRightLine:()=>g,AngleDoubleUpLine:()=>N,AngleDown:()=>L,AngleDownFill:()=>j,AngleDownLine:()=>S,AngleLeft:()=>P,AngleRight:()=>T,AngleUp:()=>U,AngleUpFill:()=>H,ArrowsLeft:()=>I,ArrowsRight:()=>W,Bk:()=>K,Circle:()=>ee,Close:()=>ne,Code:()=>ie,CogShape:()=>oe,CollapseLeft:()=>pe,Copy:()=>ge,Done:()=>be,DownShape:()=>Ne,DownSmall:()=>je,Ellipsis:()=>Se,Error:()=>Le,Eye:()=>Pe,Folder:()=>Ie,FolderOpen:()=>Te,FolderShape:()=>Ue,FolderShapeOpen:()=>He,Help:()=>et,HelpDocumentFill:()=>We,HelpFill:()=>Ke,Info:()=>at.default,InfoLine:()=>tt.default,LeftShape:()=>nt.default,PlayShape:()=>rt.default,Plus:()=>lt.default,QQ:()=>it.default,RightShape:()=>st.default,Search:()=>mt.default,Share:()=>ot.default,Spinner:()=>ct.default,Success:()=>dt.default,SwitcherLoading:()=>pt.default,TextFile:()=>ut.default,TreeApplicationShape:()=>ht.default,Unvisible:()=>gt.default,UpShape:()=>vt.default,Warn:()=>wt.default,Weixin:()=>bt.default});var e=n(748),t=n(9430),a=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 744.64L789.6 462.72 880 554.56 512 928 144 554.56 234.4 462.72 512 744.64z"}},{"type":"element","name":"path","attributes":{"d":"M144 187.68L234.4 96 512 377.76 789.6 96 880 187.68 512 561.28 144 187.68z"}}]}'),l=function(n,r){var l=Object.assign(Object.assign({},n),r.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(l,{data:a,name:"angleDoubleDownLine"}),null)};l.displayName="angleDoubleDownLine",l.inheritAttrs=!1;const i=l;var s=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M279.36 512L561.28 789.6 469.44 880 96 512 469.44 144 561.28 234.4 279.36 512z"}},{"type":"element","name":"path","attributes":{"d":"M836.32 144L928 234.4 646.08 512 928 789.6 836.32 880 462.72 512 836.32 144z"}}]}'),m=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:s,name:"angleDoubleLeftLine"}),null)};m.displayName="angleDoubleLeftLine",m.inheritAttrs=!1;const o=m;var c=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M697.6 281.6l48 48-176 176 176 176-48 48-224-224L697.6 281.6z"}},{"type":"element","name":"path","attributes":{"d":"M505.6 281.6l48 48-176 176 176 176-48 48-224-224L505.6 281.6z"}}]}'),d=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:c,name:"angleDoubleLeft"}),null)};d.displayName="angleDoubleLeft",d.inheritAttrs=!1;const p=d;var u=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M744.64 512L462.72 789.6 554.56 880 928 512 554.56 144 462.72 234.4 744.64 512z"}},{"type":"element","name":"path","attributes":{"d":"M187.68 144L96 234.4 377.76 512 96 789.6 187.68 880 561.28 512 187.68 144z"}}]}'),h=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:u,name:"angleDoubleRightLine"}),null)};h.displayName="angleDoubleRightLine",h.inheritAttrs=!1;const g=h;var v=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M358.4 729.6l-48-48 176-176-176-176 48-48 224 224L358.4 729.6z"}},{"type":"element","name":"path","attributes":{"d":"M550.4 729.6l-48-48 176-176-176-176 48-48 224 224L550.4 729.6z"}}]}'),w=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:v,name:"angleDoubleRight"}),null)};w.displayName="angleDoubleRight",w.inheritAttrs=!1;const b=w;var y=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 279.36L789.6 561.28 880 469.44 512 96 144 469.44 234.4 561.28 512 279.36z"}},{"type":"element","name":"path","attributes":{"d":"M144 836.32L234.4 928 512 646.08 789.6 928 880 836.32 512 462.72 144 836.32z"}}]}'),f=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:y,name:"angleDoubleUpLine"}),null)};f.displayName="angleDoubleUpLine",f.inheritAttrs=!1;const N=f;var O=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 256L96 704 187.04 704 512 704 836.96 704 928 704 512 256z"}}]}'),M=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:O,name:"angleDownFill"}),null)};M.displayName="angleDownFill",M.inheritAttrs=!1;const j=M;var x=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 762.56L98.72 349.28 189.28 258.72 512 581.44 834.72 258.72 925.28 349.28 512 762.56z"}}]}'),z=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:x,name:"angleDownLine"}),null)};z.displayName="angleDownLine",z.inheritAttrs=!1;const S=z;var C=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M288 448L336 400 512 576 688 400 736 448 512 672z"}}]}'),A=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:C,name:"angleDown"}),null)};A.displayName="angleDown",A.inheritAttrs=!1;const L=A;var V=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M376 504L600 280 648 328 472 504 648 680 600 728 376 504z"}}]}'),Z=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:V,name:"angleLeft"}),null)};Z.displayName="angleLeft",Z.inheritAttrs=!1;const P=Z;var B=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M424 728L376 680 552 504 376 328 424 280 648 504 424 728z"}}]}'),J=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:B,name:"angleRight"}),null)};J.displayName="angleRight",J.inheritAttrs=!1;const T=J;var k=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 704L96 256 187.04 256 512 256 836.96 256 928 256 512 704z"}}]}'),D=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:k,name:"angleUpFill"}),null)};D.displayName="angleUpFill",D.inheritAttrs=!1;const H=D;var F=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 368L736 592 688 640 512 464 336 640 288 592 512 368z"}}]}'),R=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:F,name:"angleUp"}),null)};R.displayName="angleUp",R.inheritAttrs=!1;const U=R;var q=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M416 480h320v64H416l96 96-48 48L288 512l176-176L512 384 416 480z"}}]}'),E=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:q,name:"arrowsLeft"}),null)};E.displayName="arrowsLeft",E.inheritAttrs=!1;const I=E;var _=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M608 480H288v64H608l-96 96 48 48L736 512l-176-176L512 384Z"}}]}'),Q=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:_,name:"arrowsRight"}),null)};Q.displayName="arrowsRight",Q.inheritAttrs=!1;const W=Q;var Y=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M384 289.28c103.50933333333333 18.986666666666665 183.89333333333332 99.37066666666666 202.62399999999997 201.344l5.3759999999999994 37.376c1.664 83.62666666666667 32.59733333333333 159.7013333333333 82.94399999999999 218.70933333333335 32.72533333333333 37.84533333333333 81.024 62.29333333333333 135.08266666666665 63.53066666666667 2.9013333333333335 0.128 6.0586666666666655 0.21333333333333332 9.216 0.21333333333333332 49.834666666666664 0 95.488-17.962666666666664 130.81599999999997-47.78666666666667 47.40266666666666-42.367999999999995 77.312-104.10666666666665 77.312-172.79999999999998 0-13.952-1.2373333333333334-27.562666666666665-3.584-40.831999999999994-15.786666666666665-115.62666666666667-96.29866666666666-210.43200000000002-203.73333333333335-246.91199999999998-5.8453333333333335-59.98933333333333-33.49333333333333-112.21333333333332-75.47733333333332-148.224-37.33333333333333-34.432-87.03999999999999-55.42399999999999-141.61066666666665-55.42399999999999-15.445333333333332 0-30.506666666666664 1.664-45.01333333333333 4.864-50.986666666666665 13.141333333333332-95.01866666666666 42.83733333333333-126.208 83.072-5.333333333333333 6.143999999999999-8.362666666666666 13.568-8.362666666666666 21.674666666666667 0 9.685333333333332 4.309333333333333 18.389333333333333 11.136 24.27733333333333l3.8826666666666663 0.042666666666666665c-16.21333333333333-4.053333333333333-34.901333333333326-6.613333333333333-54.10133333333333-7.04-6.101333333333333-0.38399999999999995-12.927999999999999-0.6399999999999999-19.797333333333334-0.6399999999999999s-13.696 0.21333333333333332-20.43733333333333 0.6826666666666666l0.9386666666666665-10.922666666666666c2.1333333333333333-25.813333333333333 17.194666666666667-47.70133333333334 38.656-59.30666666666666 9.173333333333332-6.015999999999999 14.933333333333332-15.872 14.933333333333332-27.093333333333334 0-17.749333333333333-14.378666666666668-32.128-32.128-32.128-6.528 0-12.629333333333332 1.9626666666666666-17.706666666666663 5.333333333333333-21.290666666666667 13.653333333333332-38.18666666666667 32.81066666666666-48.81066666666666 55.42399999999999-15.274666666666665-6.442666666666666-32.85333333333333-10.709333333333333-51.413333333333334-10.709333333333333-8.661333333333333 0-17.109333333333332 0.9386666666666665-25.258666666666663 2.6879999999999997-14.037333333333333 3.1999999999999997-24.959999999999997 16.256-24.959999999999997 31.872 0 18.090666666666664 14.677333333333332 32.768 32.768 32.768 2.474666666666667 0 4.906666666666666-0.29866666666666664 7.253333333333334-0.8106666666666666 2.1333333333333333-0.29866666666666664 4.8213333333333335-0.512 7.552-0.512 18.048 0 34.176 8.405333333333333 44.629333333333335 21.546666666666667l0.08533333333333333 0.128c-122.24000000000001 28.16-197.12 139.51999999999998-240 236.79999999999998-33.28 74.88-80.63999999999999 215.67999999999998-24.319999999999997 316.79999999999995 29.610666666666663 61.056 88.96 103.55199999999999 158.72 108.75733333333332l704.64 0.042666666666666665c17.663999999999998 0 32-14.336 32-32s-14.336-32-32-32h-704c-46.848-4.906666666666666-85.80266666666667-34.474666666666664-103.97866666666665-75.34933333333333-44.50133333333333-80.17066666666666 3.498666666666667-208.81066666666666 26.538666666666664-260.65066666666667 65.91999999999999-147.2 156.79999999999998-217.59999999999997 275.84-206.71999999999997zM480 229.12c22.826666666666668-30.976 55.296-53.63199999999999 92.88533333333334-63.744 10.069333333333333-2.1759999999999997 20.266666666666666-3.2426666666666666 30.72-3.2426666666666666 37.888 0 72.448 14.250666666666667 98.60266666666666 37.67466666666667 31.786666666666665 28.8 51.754666666666665 70.39999999999999 51.754666666666665 116.69333333333333 0 1.2373333333333334 0 2.474666666666667-0.042666666666666665 3.7119999999999997l0 32.46933333333333 24.959999999999997 3.84c95.27466666666666 23.296 167.25333333333333 101.50399999999999 180.992 198.4 1.92 10.495999999999999 2.944 21.119999999999997 2.944 32 0 52.522666666666666-23.59466666666667 99.49866666666665-60.75733333333333 130.98666666666665-21.503999999999998 16.554666666666666-48.512 26.368-77.824 26.368-4.224 0-8.448-0.21333333333333332-12.586666666666666-0.5973333333333333 0.512 0.042666666666666665 0.512 0.042666666666666665 0.512 0.042666666666666665-35.583999999999996 0-67.54133333333333-15.530666666666665-89.472-40.19199999999999-39.38133333333333-48.768-63.40266666666666-111.18933333333332-64.08533333333332-179.15733333333333l-5.76-42.410666666666664c-22.954666666666668-111.744-100.30933333333333-201.38666666666666-202.58133333333333-241.152-1.1093333333333333-0.6399999999999999 0.21333333333333332-0.5546666666666666 1.5359999999999998-0.5546666666666666 10.239999999999998 0 19.413333333333334-4.522666666666666 25.599999999999998-11.690666666666667z"}}]}'),G=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Y,name:"bk"}),null)};G.displayName="bk",G.inheritAttrs=!1;const K=G;var X=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 0c-17.919999999999998 0-32 14.08-32 32s14.08 32 32 32c247.04 0 448 200.95999999999998 448 448 0 17.919999999999998 14.08 32 32 32s32-14.08 32-32c0-282.24-229.76-512-512-512z"}}]}'),$=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:X,name:"circle"}),null)};$.displayName="circle",$.inheritAttrs=!1;const ee=$;var te=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zM670.4 625.1l-45.3 45.3L512 557.3 398.9 670.4l-45.3-45.3L466.7 512 353.6 398.9l45.3-45.3L512 466.7l113.1-113.1 45.3 45.3L557.3 512 670.4 625.1z"}}]}'),ae=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:te,name:"close"}),null)};ae.displayName="close",ae.inheritAttrs=!1;const ne=ae;var re=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M1011.1999999999999 489.59999999999997l-224-224c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0s-12.799999999999999 32.64 0 45.44l201.59999999999997 200.95999999999998-201.59999999999997 201.59999999999997c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44 6.3999999999999995 6.3999999999999995 14.719999999999999 9.6 22.4 9.6s16.64-3.1999999999999997 22.4-9.6l224-224c12.799999999999999-12.799999999999999 12.799999999999999-33.28 0.6399999999999999-45.44z"}},{"type":"element","name":"path","attributes":{"d":"M282.24 265.59999999999997c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0l-224 224c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44l224 224c6.3999999999999995 5.76 14.719999999999999 8.959999999999999 23.04 8.959999999999999s16.64-3.1999999999999997 22.4-9.6c12.799999999999999-12.799999999999999 12.799999999999999-32.64 0-45.44l-201.59999999999997-200.95999999999998 201.59999999999997-201.59999999999997c12.159999999999998-12.159999999999998 12.159999999999998-32.64 0-44.8z"}},{"type":"element","name":"path","attributes":{"d":"M616.3199999999999 129.27999999999997c-16.64-5.119999999999999-34.56 5.119999999999999-39.04 22.4l-192 704c-4.4799999999999995 17.28 5.119999999999999 34.56 22.4 39.04 2.5599999999999996 0.6399999999999999 5.76 1.2799999999999998 8.32 1.2799999999999998 14.08 0 26.88-9.6 30.72-23.68l192-704c4.4799999999999995-16.64-5.119999999999999-34.56-22.4-39.04z"}}]}'),le=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:re,name:"code"}),null)};le.displayName="code",le.inheritAttrs=!1;const ie=le;var se=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M608 512A96 96 0 0 1 512 608 96 96 0 0 1 416 512 96 96 0 0 1 608 512z"}},{"type":"element","name":"path","attributes":{"d":"M860.8 558.4c4.8-30.4 4.8-62.4 0-92.8l67.2-57.6c9.6-8 14.4-22.4 9.6-35.2-19.2-59.2-51.2-115.2-92.8-161.6-6.4-6.4-14.4-11.2-24-11.2-3.2 0-8 0-11.2 1.6l-83.2 30.4c-24-19.2-52.8-35.2-81.6-46.4l-16-86.4c-1.6-12.8-12.8-22.4-25.6-25.6-60.8-12.8-124.8-12.8-185.6 0-12.8 3.2-22.4 12.8-24 25.6l-16 86.4c-28.8 11.2-56 27.2-81.6 46.4l-83.2-30.4c-3.2-1.6-6.4-1.6-11.2-1.6-9.6 0-17.6 3.2-24 11.2-41.6 46.4-73.6 100.8-92.8 161.6-4.8 12.8 0 27.2 9.6 35.2l67.2 57.6C160 496 160 528 163.2 558.4L96 616c-9.6 8-14.4 22.4-9.6 35.2 19.2 59.2 51.2 115.2 92.8 161.6 6.4 6.4 14.4 11.2 24 11.2 3.2 0 8 0 11.2-1.6l83.2-30.4c24 19.2 52.8 35.2 81.6 46.4l16 86.4c1.6 12.8 12.8 22.4 25.6 25.6 60.8 12.8 124.8 12.8 185.6 0 12.8-3.2 22.4-12.8 25.6-25.6l16-86.4c28.8-11.2 56-27.2 81.6-46.4l83.2 30.4c3.2 1.6 6.4 1.6 11.2 1.6 9.6 0 17.6-3.2 24-11.2 41.6-46.4 73.6-100.8 92.8-161.6 3.2-12.8 0-27.2-11.2-35.2L860.8 558.4zM512 672c-88 0-160-72-160-160s72-160 160-160 160 72 160 160S600 672 512 672z"}}]}'),me=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:se,name:"cogShape"}),null)};me.displayName="cogShape",me.inheritAttrs=!1;const oe=me;var ce=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M496 216l-76.32 76.32 152.64 152.8H64v101.76H572.16l-152.48 152.8L496 776 775.52 496Zm362.4 0v560H960v-560Z"}}]}'),de=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:ce,name:"collapseLeft"}),null)};de.displayName="collapseLeft",de.inheritAttrs=!1;const pe=de;var ue=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 128H288c-17.6 0-32 14.4-32 32v96h-96c-17.6 0-32 14.4-32 32v576c0 17.6 14.4 32 32 32h576c17.6 0 32-14.4 32-32v-96h96c17.6 0 32-14.4 32-32V160C896 142.4 881.6 128 864 128zM704 704v64 64H192V320h64 64 384V704zM832 704h-64V288c0-17.6-14.4-32-32-32H320v-64h512V704z"}},{"type":"element","name":"path","attributes":{"d":"M275.2 419.2H611.2V483.2H275.2z"}},{"type":"element","name":"path","attributes":{"d":"M272 544H608V608H272z"}},{"type":"element","name":"path","attributes":{"d":"M272 672H608V736H272z"}}]}'),he=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:ue,name:"copy"}),null)};he.displayName="copy",he.inheritAttrs=!1;const ge=he;var ve=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M704 352l48 48-304 304-176-176 48-48 128 128z"}}]}'),we=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:ve,name:"done"}),null)};we.displayName="done",we.inheritAttrs=!1;const be=we;var ye=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 768c-6.3999999999999995 0-13.44-2.5599999999999996-18.56-8.32l-356.48-384c-8.32-8.959999999999999-10.879999999999999-23.04-7.04-35.199999999999996s14.08-20.479999999999997 25.599999999999998-20.479999999999997h712.96c11.52 0 21.119999999999997 8.32 25.599999999999998 20.479999999999997s1.2799999999999998 26.24-7.04 35.199999999999996l-356.48 384c-5.119999999999999 5.76-12.159999999999998 8.32-18.56 8.32z"}}]}'),fe=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:ye,name:"downShape"}),null)};fe.displayName="downShape",fe.inheritAttrs=!1;const Ne=fe;var Oe=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M288 448L336 400 512 576 688 400 736 448 512 672z"}}]}'),Me=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Oe,name:"downSmall"}),null)};Me.displayName="downSmall",Me.inheritAttrs=!1;const je=Me;var xe=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M320 512c0 35.199999999999996-28.8 64-64 64s-64-28.8-64-64c0-35.199999999999996 28.8-64 64-64s64 28.8 64 64zM512 448c-35.199999999999996 0-64 28.8-64 64s28.8 64 64 64 64-28.8 64-64c0-35.199999999999996-28.8-64-64-64zM768 448c-35.199999999999996 0-64 28.8-64 64s28.8 64 64 64 64-28.8 64-64c0-35.199999999999996-28.8-64-64-64z"}}]}'),ze=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:xe,name:"ellipsis"}),null)};ze.displayName="ellipsis",ze.inheritAttrs=!1;const Se=ze;var Ce=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"fill-rule":"evenodd","d":"M452.7573333333333 510.91200000000003L225.83338666666668 737.8346666666666 286.1730133333333 798.1738666666666 513.0965333333334 571.2511999999999 739.8399999999999 797.9946666666666 797.9946666666666 739.8399999999999 571.2511999999999 513.0965333333334 798.1738666666666 286.1730133333333 737.8346666666666 225.83338666666668 510.91200000000003 452.7573333333333 283.9867733333333 225.83338666666668 225.83338666666668 283.9867733333333 452.7573333333333 510.91200000000003Z","clip-rule":"evenodd"}}]}'),Ae=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Ce,name:"error"}),null)};Ae.displayName="error",Ae.inheritAttrs=!1;const Le=Ae;var Ve=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 384a128 128 0 1 0 128 128A128 128 0 0 0 512 384Zm0 192a64 64 0 1 1 64-64A64 64 0 0 1 512 576Z"}},{"type":"element","name":"path","attributes":{"d":"M512 240C264.64 240 64 512 64 512S264.64 784 512 784 960 512 960 512 759.36 240 512 240Zm0 480C352 720 208 580.96 147.04 512 208 442.88 352 304 512 304s304 139.04 364.96 208C816 581.12 672 720 512 720Z"}}]}'),Ze=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Ve,name:"eye"}),null)};Ze.displayName="eye",Ze.inheritAttrs=!1;const Pe=Ze;var Be=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 320h-35.199999999999996c-15.402666666666665-73.55733333333333-79.744-128-156.75733333333332-128 0 0-0.042666666666666665 0-0.042666666666666665 0h-288v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 88.36266666666667 71.63733333333333 160 160 160h704c0.38399999999999995 0 0.8533333333333333 0 1.3226666666666667 0 51.199999999999996 0 92.88533333333334-40.61866666666666 94.67733333333332-91.34933333333333l64-452.65066666666667c0-53.034666666666666-42.96533333333333-96-96-96zM64 800v-640c0-17.663999999999998 14.336-32 32-32h256c17.663999999999998 0 32 14.336 32 32v64c0 17.663999999999998 14.336 32 32 32h320c41.42933333333333 0.128 76.71466666666666 26.496 90.02666666666666 63.31733333333333l-538.0266666666666 0.6826666666666666c-0.38399999999999995 0-0.8533333333333333 0-1.3226666666666667 0-51.199999999999996 0-92.88533333333334 40.61866666666666-94.67733333333332 91.34933333333333l-64 452.65066666666667c0.128 9.856 1.7493333333333334 19.328 4.650666666666666 28.202666666666666-39.97866666666667-12.842666666666666-68.47999999999999-49.151999999999994-68.65066666666667-92.16zM896 864c0 17.663999999999998-14.336 32-32 32h-640c-0.08533333333333333 0-0.21333333333333332 0-0.29866666666666664 0-16.08533333333333 0-29.39733333333333-11.861333333333334-31.658666666666665-27.349333333333334l64-452.65066666666667c0-17.663999999999998 14.336-32 32-32h640c0.08533333333333333 0 0.21333333333333332 0 0.29866666666666664 0 16.08533333333333 0 29.39733333333333 11.861333333333334 31.658666666666665 27.349333333333334z"}}]}'),Je=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Be,name:"folderOpen"}),null)};Je.displayName="folderOpen",Je.inheritAttrs=!1;const Te=Je;var ke=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M202.24 421.11999999999995c1.792-56.23466666666667 47.78666666666667-101.12 104.27733333333333-101.12 0.46933333333333327 0 0.9386666666666665 0 1.408 0l568.2346666666666 0c0.17066666666666666 0 0.38399999999999995 0 0.5973333333333333 0 7.082666666666666 0 12.799999999999999-5.717333333333333 12.799999999999999-12.799999999999999 0-1.3653333333333333-0.21333333333333332-2.6879999999999997-0.6399999999999999-3.925333333333333-21.205333333333332-65.024-81.40799999999999-111.27466666666666-152.40533333333332-111.27466666666666-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0h-287.9573333333333v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 0.9813333333333333-0.042666666666666665 2.0906666666666665-0.042666666666666665 3.2426666666666666 0 77.056 54.44266666666667 141.39733333333334 126.976 156.58666666666664 0.896-1.92 0.8106666666666666-4.394666666666666 0.8106666666666666-6.8693333333333335s0.08533333333333333-4.949333333333334 0.256-7.381333333333332z"}},{"type":"element","name":"path","attributes":{"d":"M960 384h-652.16c-22.954666666666668 0-41.599999999999994 18.645333333333333-41.599999999999994 41.599999999999994l-74.24 521.5999999999999c-0.42666666666666664 1.92-0.6399999999999999 4.1386666666666665-0.6399999999999999 6.3999999999999995s0.256 4.4799999999999995 0.6826666666666666 6.613333333333333l703.9573333333333-0.21333333333333332c35.327999999999996 0 64-28.672 64-64l64-448c0-35.327999999999996-28.672-64-64-64z"}}]}'),De=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:ke,name:"folderShapeOpen"}),null)};De.displayName="folderShapeOpen",De.inheritAttrs=!1;const He=De;var Fe=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 192h-416v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 88.36266666666667 71.63733333333333 160 160 160h704c88.36266666666667 0 160-71.63733333333333 160-160v-448c0-88.36266666666667-71.63733333333333-160-160-160z"}}]}'),Re=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Fe,name:"folderShape"}),null)};Re.displayName="folderShape",Re.inheritAttrs=!1;const Ue=Re;var qe=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M864 960h-704c-88.36266666666667 0-160-71.63733333333333-160-160v-640c0-53.034666666666666 42.96533333333333-96 96-96h256c53.034666666666666 0 96 42.96533333333333 96 96v32h416c88.36266666666667 0 160 71.63733333333333 160 160v448c0 88.36266666666667-71.63733333333333 160-160 160zM96 128c-17.663999999999998 0-32 14.336-32 32v640c0 53.034666666666666 42.96533333333333 96 96 96h704c53.034666666666666 0 96-42.96533333333333 96-96v-448c0-53.034666666666666-42.96533333333333-96-96-96h-448c-17.663999999999998 0-32-14.336-32-32v-64c0-17.663999999999998-14.336-32-32-32z"}}]}'),Ee=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:qe,name:"folder"}),null)};Ee.displayName="folder",Ee.inheritAttrs=!1;const Ie=Ee;var _e=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512c0 57.6 11.2 113.6 32 166.4V896c0 17.6 14.4 32 32 32h217.6C576 1019.2 836.8 908.8 928 678.4S908.8 187.2 678.4 96C625.6 75.2 569.6 64 512 64zM500.8 721.6c-27.2 0-48-20.8-48-48s20.8-48 48-48c27.2 0 48 20.8 48 48S528 721.6 500.8 721.6zM587.2 507.2c-36.8 20.8-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8c1.6-70.4 49.6-118.4 136-118.4 80 0 132.8 44.8 132.8 110.4C648 454.4 627.2 484.8 587.2 507.2z"}}]}'),Qe=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:_e,name:"helpDocumentFill"}),null)};Qe.displayName="helpDocumentFill",Qe.inheritAttrs=!1;const We=Qe;var Ye=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64zM500.8 721.6c-27.2 0-48-20.8-48-48s20.8-48 48-48c27.2 0 48 20.8 48 48S528 721.6 500.8 721.6zM587.2 507.2c-36.8 20.8-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8c1.6-70.4 49.6-118.4 136-118.4 80 0 132.8 44.8 132.8 110.4C648 454.4 627.2 484.8 587.2 507.2z"}}]}'),Ge=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Ye,name:"helpFill"}),null)};Ge.displayName="helpFill",Ge.inheritAttrs=!1;const Ke=Ge;var Xe=JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 128c212.8 0 384 171.2 384 384S724.8 896 512 896 128 724.8 128 512 299.2 128 512 128M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64z"}},{"type":"element","name":"path","attributes":{"d":"M548.8 673.6A48 48 0 0 1 500.8 721.6 48 48 0 0 1 452.8 673.6 48 48 0 0 1 548.8 673.6z"}},{"type":"element","name":"path","attributes":{"d":"M513.6 302.4c80 0 132.8 44.8 132.8 110.4 0 41.6-20.8 72-60.8 96-40 24-48 35.2-48 62.4v14.4H464v-16c-3.2-44.8 11.2-70.4 51.2-92.8 36.8-22.4 48-35.2 48-60.8s-20.8-44.8-52.8-44.8c-28.8-1.6-52.8 19.2-56 48 0 1.6 0 1.6 0 3.2h-76.8C377.6 352 427.2 302.4 513.6 302.4z"}}]}'),$e=function(a,n){var r=Object.assign(Object.assign({},a),n.attrs);return(0,e.createVNode)(t.Z,(0,e.mergeProps)(r,{data:Xe,name:"help"}),null)};$e.displayName="help",$e.inheritAttrs=!1;const et=$e;var tt=n(8914),at=n(7450),nt=n(2555),rt=n(6432),lt=n(9497),it=n(8754),st=n(4197),mt=n(600),ot=n(461),ct=n(2927),dt=n(8305),pt=n(6798),ut=n(7312),ht=n(9037),gt=n(9730),vt=n(5227),wt=n(240),bt=n(4273)})(),r})()));
|