asiaint-lowcode 3.1.74 → 3.1.76

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.
Files changed (43) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +23 -23
  4. package/dist/index.d.ts +1 -1
  5. package/dist/lazy/{Card-BbBrr03E.js → Card-C_5M2sfI.js} +2 -2
  6. package/dist/lazy/{Cascader-DeeAT1hf.js → Cascader-BdAzD6Ug.js} +1 -1
  7. package/dist/lazy/{Checkbox-CvMxkz8o.js → Checkbox-RPwj0eRC.js} +2 -2
  8. package/dist/lazy/{Collapse-CgRqnp7y.js → Collapse-hsO80EFP.js} +1 -1
  9. package/dist/lazy/{Component-Cr-hM_M3.js → Component-BzOw5k3h.js} +18 -18
  10. package/dist/lazy/{Component-BqrhqDET.js → Component-C73j-5u7.js} +2 -2
  11. package/dist/lazy/{Component-3pgB8FgN.js → Component-CscYYQG3.js} +2 -2
  12. package/dist/lazy/{Component-D1Abo0Xr.js → Component-NILj3AXd.js} +1 -1
  13. package/dist/lazy/{Component-6BGK9is-.js → Component-O5RX7dBo.js} +1 -1
  14. package/dist/lazy/{Component-CTdESyva.js → Component-dhQAh6Ij.js} +2 -2
  15. package/dist/lazy/{CurdCard-LT8GSpPF.js → CurdCard-BshLpwB1.js} +2 -2
  16. package/dist/lazy/Custom-DqTQS-rr.js +26 -0
  17. package/dist/lazy/{DatePicker-BuF7eeOK.js → DatePicker-C6shL4h5.js} +1 -1
  18. package/dist/lazy/{DragList-B-d9bPsp.js → DragList-BeW-AH5A.js} +13 -13
  19. package/dist/lazy/{FilterSearch-C_RtqpMz.js → FilterSearch-CA8LdP5R.js} +8 -8
  20. package/dist/lazy/{FloatCurd-CNM9_Nlx.js → FloatCurd-Bjjlmuss.js} +9 -9
  21. package/dist/lazy/{FormList-BIxfq-Pd.js → FormList-CQZdmDta.js} +1 -1
  22. package/dist/lazy/{Grid-CkJTREdN.js → Grid-BXXAqjh1.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-D_eeggg3.js → InfiniteScroll-4I1XXAaA.js} +4 -4
  24. package/dist/lazy/{Inline-bpBXgICp.js → Inline-k7L1TpwS.js} +3 -3
  25. package/dist/lazy/{JsonEdit-CsjZodM4.js → JsonEdit-CDaQZrum.js} +3 -3
  26. package/dist/lazy/{LogList-lNHUdbJc.js → LogList-B6DL9hiv.js} +7 -7
  27. package/dist/lazy/{ObjGroup-CZNfqCzh.js → ObjGroup-DS1THJUU.js} +1 -1
  28. package/dist/lazy/{OfferDetails-B5M0NCs2.js → OfferDetails-CPtINrFI.js} +2 -2
  29. package/dist/lazy/{Pagination-BQU4tOpu.js → Pagination-nCNGkTDC.js} +4 -4
  30. package/dist/lazy/{Progress-BTQKsZGJ.js → Progress-Bq0qpHp2.js} +15 -15
  31. package/dist/lazy/{Radio-Des6luMf.js → Radio-C83wDF5-.js} +3 -3
  32. package/dist/lazy/{SearchSelect-Bo2mB5RF.js → SearchSelect-Dafj1bRE.js} +6 -6
  33. package/dist/lazy/{Select-C1yWBUBW.js → Select-CNoSoWth.js} +2 -2
  34. package/dist/lazy/{Table-B9LNWTMa.js → Table-CV9tCoK_.js} +2 -2
  35. package/dist/lazy/{Tabs-B0QSKq6q.js → Tabs-Eb8zx07Y.js} +11 -11
  36. package/dist/lazy/{TextArea-DMESZuY7.js → TextArea-Dovq4YCk.js} +2 -2
  37. package/dist/lazy/{Wrapper-Clt4yF7g.js → Wrapper-hMb-bwM3.js} +2 -2
  38. package/dist/lazy/{index-DhT42zXk.js → index-CQ-hxHsS.js} +64 -57
  39. package/dist/lazy/{useSelect-DK5Yb8CO.js → useSelect-DKS0JRP9.js} +1 -1
  40. package/dist/style.css +2 -2
  41. package/global.d.ts +10 -10
  42. package/package.json +36 -36
  43. package/dist/lazy/Custom-DZkxMKhy.js +0 -26
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
77
77
  `+g)}u&&(v?v=u+v+`
78
78
  `+s:v=u+s),k.print_newline(!1),v&&(m.text=v,m.whitespace_before="",m.newlines=0,k.add_raw_token(m),k.print_newline(!0))}},K.prototype._handle_tag_open=function(k,m,F,_,v){var B=this._get_tag_open_token(m);if((F.is_unformatted||F.is_content_unformatted)&&!F.is_empty_element&&m.type===i.TAG_OPEN&&!B.is_start_tag?(k.add_raw_token(m),B.start_tag_token=this._tag_stack.try_pop(B.tag_name)):(k.traverse_whitespace(m),this._set_tag_position(k,m,B,F,_),B.is_inline_element||k.set_wrap_point(),k.print_token(m)),B.is_start_tag&&this._is_wrap_attributes_force){var p=0,u;do u=v.peek(p),u.type===i.ATTRIBUTE&&(B.attr_count+=1),p+=1;while(u.type!==i.EOF&&u.type!==i.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(B.alignment_size=m.text.length+1),!B.tag_complete&&!B.is_unformatted&&(k.alignment_size=B.alignment_size),B};var U=function(k,m){if(this.parent=k||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!m)this.tag_complete=!0;else{var F;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(F=m.text.match(/^<([^\s>]*)/),this.tag_check=F?F[1]:""):(F=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=F?F[1]:"",(m.text.startsWith("{{#>")||m.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&m.next!==null?this.tag_check=m.next.text.split(" ")[0]:this.tag_check=m.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),m.type===i.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||m.closed&&m.closed.text==="/>";var _=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(_=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(_)))}};K.prototype._get_tag_open_token=function(k){var m=new U(this._tag_stack.get_parser_token(),k);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||f(m.tag_check,this._options.void_elements),m.is_empty_element=m.tag_complete||m.is_start_tag&&m.is_end_tag,m.is_unformatted=!m.tag_complete&&f(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&f(m.tag_check,this._options.content_unformatted),m.is_inline_element=f(m.tag_name,this._options.inline)||this._options.inline_custom_elements&&m.tag_name.includes("-")||m.tag_start_char==="{",m},K.prototype._set_tag_position=function(k,m,F,_,v){if(F.is_empty_element||(F.is_end_tag?F.start_tag_token=this._tag_stack.try_pop(F.tag_name):(this._do_optional_end_element(F)&&(F.is_inline_element||k.print_newline(!1)),this._tag_stack.record_tag(F),(F.tag_name==="script"||F.tag_name==="style")&&!(F.is_unformatted||F.is_content_unformatted)&&(F.custom_beautifier_name=y(F.tag_check,m)))),f(F.tag_check,this._options.extra_liners)&&(k.print_newline(!1),k._output.just_added_blankline()||k.print_newline(!0)),F.is_empty_element){if(F.tag_start_char==="{"&&F.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),F.indent_content=!0;var B=k.current_line_has_match(/{{#if/);B||k.print_newline(!1)}F.tag_name==="!--"&&v.type===i.TAG_CLOSE&&_.is_end_tag&&F.text.indexOf(`
79
79
  `)===-1||(F.is_inline_element||F.is_unformatted||k.print_newline(!1),this._calcluate_parent_multiline(k,F))}else if(F.is_end_tag){var p=!1;p=F.start_tag_token&&F.start_tag_token.multiline_content,p=p||!F.is_inline_element&&!(_.is_inline_element||_.is_unformatted)&&!(v.type===i.TAG_CLOSE&&F.start_tag_token===_)&&v.type!=="TK_CONTENT",(F.is_content_unformatted||F.is_unformatted)&&(p=!1),p&&k.print_newline(!1)}else F.indent_content=!F.custom_beautifier_name,F.tag_start_char==="<"&&(F.tag_name==="html"?F.indent_content=this._options.indent_inner_html:F.tag_name==="head"?F.indent_content=this._options.indent_head_inner_html:F.tag_name==="body"&&(F.indent_content=this._options.indent_body_inner_html)),!(F.is_inline_element||F.is_unformatted)&&(v.type!=="TK_CONTENT"||F.is_content_unformatted)&&k.print_newline(!1),this._calcluate_parent_multiline(k,F)},K.prototype._calcluate_parent_multiline=function(k,m){m.parent&&k._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var P=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],G=["a","audio","del","ins","map","noscript","video"];return K.prototype._do_optional_end_element=function(k){var m=null;if(!(k.is_empty_element||!k.is_start_tag||!k.parent)){if(k.tag_name==="body")m=m||this._tag_stack.try_pop("head");else if(k.tag_name==="li")m=m||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(k.tag_name==="dd"||k.tag_name==="dt")m=m||this._tag_stack.try_pop("dt",["dl"]),m=m||this._tag_stack.try_pop("dd",["dl"]);else if(k.parent.tag_name==="p"&&P.indexOf(k.tag_name)!==-1){var F=k.parent.parent;(!F||G.indexOf(F.tag_name)===-1)&&(m=m||this._tag_stack.try_pop("p"))}else k.tag_name==="rp"||k.tag_name==="rt"?(m=m||this._tag_stack.try_pop("rt",["ruby","rtc"]),m=m||this._tag_stack.try_pop("rp",["ruby","rtc"])):k.tag_name==="optgroup"?m=m||this._tag_stack.try_pop("optgroup",["select"]):k.tag_name==="option"?m=m||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):k.tag_name==="colgroup"?m=m||this._tag_stack.try_pop("caption",["table"]):k.tag_name==="thead"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"])):k.tag_name==="tbody"||k.tag_name==="tfoot"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("thead",["table"]),m=m||this._tag_stack.try_pop("tbody",["table"])):k.tag_name==="tr"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(k.tag_name==="th"||k.tag_name==="td")&&(m=m||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),m=m||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return k.parent=this._tag_stack.get_parser_token(),m}},Ac.Beautifier=K,Ac}var _u;function vE(){if(_u)return xa.exports;_u=1;var n=DE().Beautifier,e=yu().Options;function t(i,d,I,o){var b=new n(i,d,I,o);return b.beautify()}return xa.exports=t,xa.exports.defaultOptions=function(){return new e},xa.exports}var Mu;function kE(){if(Mu)return pr;Mu=1;var n=wE(),e=yE(),t=vE();function i(d,I,o,b){return o=o||n,b=b||e,t(d,I,o,b)}return i.defaultOptions=t.defaultOptions,pr.js=n,pr.css=e,pr.html=i,pr}(function(n){function e(t,i,d){var I=function(o,b){return t.js_beautify(o,b)};return I.js=t.js_beautify,I.css=i.css_beautify,I.html=d.html_beautify,I.js_beautify=t.js_beautify,I.css_beautify=i.css_beautify,I.html_beautify=d.html_beautify,I}(function(t){var i=kE();i.js_beautify=i.js,i.css_beautify=i.css,i.html_beautify=i.html,t.exports=e(i,i,i)})(n)})(Au);var _E=Au.exports,ME=EE(_E),xu=function(){function n(e){var t=this;this.isDisabled=function(){var i=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],d=t.attributes().disabled!==void 0,I=ur(t.element)&&i.includes(t.element.tagName);return d&&I},this.wrapperElement=e}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(e){var t=this.getRootNodes().filter(ur);if(t.length===0)return[];var i=Pd([],t.filter(function(d){return d.matches(e)}));return t.forEach(function(d){i.push.apply(i,Array.from(d.querySelectorAll(e)))}),i},n.prototype.find=function(e){if(typeof e=="object"&&"ref"in e){var t=this.getCurrentComponent();if(!t)return Fi("DOMWrapper");var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i instanceof Node?hr(i):Fi("DOMWrapper")}var d=this.findAll(e);return d.length>0?d[0]:Fi("DOMWrapper")},n.prototype.findComponent=function(e){var t=this.getCurrentComponent();if(!t)return Fi("VueWrapper");if(typeof e=="object"&&"ref"in e){var i=t.refs[e.ref];return Array.isArray(i)&&(i=i.length?i[0]:void 0),i&&!(i instanceof HTMLElement)?Ll(null,i):Fi("VueWrapper")}if(qd(t.vnode,e)&&this.element.contains(t.vnode.el))return Ll(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var d=this.findAllComponents(e)[0];return d??Fi("VueWrapper")},n.prototype.findAllComponents=function(e){var t=this.getCurrentComponent();if(!t)return[];var i=pE(t.subTree,e);return i.map(function(d){return d.proxy?Ll(null,d.proxy):hr(d.vnode.el)})},n.prototype.html=function(e){var t=this.getRootNodes().map(function(i){return mE(i)});return e!=null&&e.raw?t.join(""):t.map(function(i){return ME.html(i,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
80
- `)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,I=i;d<I.length;d++){var o=I[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){if(t&&t.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(i=aE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),xE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(I){return i.element.contains(I.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(I){if(i=this.element,d=this.attributes().type,d==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,I=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&I==="checkbox")return this.setChecked(t);if(d==="INPUT"&&I==="radio")return this.setChecked(t);if(d==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var y=o.options[b];y.selected=t.includes(y.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(xu);Vd(xo.DOMWrapper,function(n){return new xE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var d=n.children.flat();return d.flatMap(function(I){return Na(I)}).filter(qm)}}return[]}var qi={};function SE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var NE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},FE=function(n){var e=n.$.uid;delete qi[e]};function RE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,I){return i in e?Reflect.set(e,i,d,I):Reflect.set(t,i,d,I)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Gd(e,n);function e(t,i,d){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=d,I.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(I),I}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var I=d[0],o=function(N){if(i.includes(N))return"continue";var K=function(){for(var U=[],P=0;P<arguments.length;P++)U[P]=arguments[P];NE(t.$,N,U)};I.addEventListener(N,K),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,K)})},b=this,y=0,f=Object.keys(Ud);y<f.length;y++){var x=f[y];o(x)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return SE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");FE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xu);Vd(xo.VueWrapper,function(n,e,t){return new LE(n,e,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return GE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Xn=Symbol(),Su=Symbol(),Nu=Symbol(),Fu={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},Fa=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],PE=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],HE="vfc",je=(n="")=>`${HE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const I={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(I.children=Lu(i.children)),i.label&&!((d=I.label)!=null&&d.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),mt=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(Su,n)},KE=()=>{const{fetchOptionsFn:n}=A.inject(Xn);return n},Br=n=>{const e=mt(),t=KE(),i=A.ref([]),d=A.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const x=++I;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(x!==I)return;const K=n.defaultOptions||[];if(i.value=[...K,...N],n.filters&&(i.value=i.value.filter(G=>Array.isArray(n.filters)?!n.filters.includes(G[n.valueKey||"value"]):!0)),n.name){const G=ln(e.schema.items,n.name);G&&G.props&&(G.props.options=i.value)}const U=e.formValues[n.name],P=i.value.findIndex(G=>G[n.valueKey||"value"]===U)!==-1;if(n.refreshFlag&&i.value.length>0&&!P){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const G=ln(e.schema.items,n.name);G&&G.props&&(G.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:x,options:N=[]}=n;x==="static"&&(i.value=N),x==="remote"&&o()}),A.watch(()=>n.apiParams,(x,N)=>{ut.isEqual(x,N)||(i.value=[],o())}),A.watch(()=>n.options,(x=[])=>{n.mode==="static"&&(i.value=x)}),A.watch(()=>n.mode,x=>{x==="static"&&(i.value=n.options||[]),x==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:y}=n;if(b==="remote"&&Array.isArray(y))for(const x of y)A.watch(()=>e.formValues[x],(N,K)=>{o()});return{selectChange:x=>{const{valueKey:N="value",multiple:K,name:U}=n;let P={};K&&Array.isArray(x)?P=i.value.filter(G=>x.includes(G[N])):P=i.value.find(G=>G[N]===x)||{},e.selectData&&U&&e.updateSelectData(U,P)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Xn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Vn(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},TE={},UE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function YE(n,e){return A.openBlock(),A.createElementBlock("svg",UE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},zE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function JE(n,e){return A.openBlock(),A.createElementBlock("svg",zE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const ZE=Object.freeze(Object.defineProperty({__proto__:null,default:oe($E,[["render",JE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,e){return A.openBlock(),A.createElementBlock("svg",jE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function eQ(n,e){return A.openBlock(),A.createElementBlock("svg",AQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function oQ(n,e){return A.openBlock(),A.createElementBlock("svg",iQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function lQ(n,e){return A.openBlock(),A.createElementBlock("svg",sQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},dQ={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function uQ(n,e){return A.openBlock(),A.createElementBlock("svg",dQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(gQ,[["render",uQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},CQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function BQ(n,e){return A.openBlock(),A.createElementBlock("svg",CQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(pQ,[["render",BQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function IQ(n,e){return A.openBlock(),A.createElementBlock("svg",QQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function yQ(n,e){return A.openBlock(),A.createElementBlock("svg",bQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const DQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(wQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function _Q(n,e){return A.openBlock(),A.createElementBlock("svg",kQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function NQ(n,e){return A.openBlock(),A.createElementBlock("svg",SQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const FQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function GQ(n,e){return A.openBlock(),A.createElementBlock("svg",LQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function TQ(n,e){return A.openBlock(),A.createElementBlock("svg",KQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const UQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function $Q(n,e){return A.openBlock(),A.createElementBlock("svg",OQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const zQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),JQ={},ZQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function WQ(n,e){return A.openBlock(),A.createElementBlock("svg",ZQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function VQ(n,e){return A.openBlock(),A.createElementBlock("svg",XQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function nI(n,e){return A.openBlock(),A.createElementBlock("svg",tI,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function aI(n,e){return A.openBlock(),A.createElementBlock("svg",rI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function gI(n,e){return A.openBlock(),A.createElementBlock("svg",cI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),uI={},hI={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function pI(n,e){return A.openBlock(),A.createElementBlock("svg",hI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),BI={},mI={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function EI(n,e){return A.openBlock(),A.createElementBlock("svg",mI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function wI(n,e){return A.openBlock(),A.createElementBlock("svg",fI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const bI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),yI={},DI={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function vI(n,e){return A.openBlock(),A.createElementBlock("svg",DI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function xI(n,e){return A.openBlock(),A.createElementBlock("svg",MI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),NI={},FI={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function RI(n,e){return A.openBlock(),A.createElementBlock("svg",FI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function HI(n,e){return A.openBlock(),A.createElementBlock("svg",PI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const KI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function YI(n,e){return A.openBlock(),A.createElementBlock("svg",UI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},zI={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function JI(n,e){return A.openBlock(),A.createElementBlock("svg",zI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:oe($I,[["render",JI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function qI(n,e){return A.openBlock(),A.createElementBlock("svg",jI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,e){return A.openBlock(),A.createElementBlock("svg",If,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const xf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function Aw(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function iw(n,e){return A.openBlock(),A.createElementBlock("svg",nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function sw(n,e){return A.openBlock(),A.createElementBlock("svg",aw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const lw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function dw(n,e){return A.openBlock(),A.createElementBlock("svg",gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const uw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cw,[["render",dw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Cw(n,e){return A.openBlock(),A.createElementBlock("svg",pw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hw,[["render",Cw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function Qw(n,e){return A.openBlock(),A.createElementBlock("svg",Ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function bw(n,e){return A.openBlock(),A.createElementBlock("svg",ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),Dw={},vw={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function kw(n,e){return A.openBlock(),A.createElementBlock("svg",vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Dw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function Sw(n,e){return A.openBlock(),A.createElementBlock("svg",xw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Fw={},Rw={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function Lw(n,e){return A.openBlock(),A.createElementBlock("svg",Rw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Fw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Kw(n,e){return A.openBlock(),A.createElementBlock("svg",Hw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function Ow(n,e){return A.openBlock(),A.createElementBlock("svg",Yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const $w=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),zw={},Jw={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function Zw(n,e){return A.openBlock(),A.createElementBlock("svg",Jw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function Xw(n,e){return A.openBlock(),A.createElementBlock("svg",qw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const Vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function t0(n,e){return A.openBlock(),A.createElementBlock("svg",e0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const n0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function r0(n,e){return A.openBlock(),A.createElementBlock("svg",o0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const a0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function c0(n,e){return A.openBlock(),A.createElementBlock("svg",l0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const g0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),Ie=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":DQ,"./icons/copy.vue":MQ,"./icons/custom.vue":FQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":zQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":dI,"./icons/formList.vue":CI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":Jf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":uw,"./icons/tableEmpty.vue":Bw,"./icons/tabs.vue":Iw,"./icons/tag.vue":yw,"./icons/text.vue":_w,"./icons/textarea.vue":Nw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[d,I])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),d0={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},u0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function h0(){return 2147483648}function p0(){return typeof performance<"u"?performance.now():Date.now()}const C0=(n,e)=>n+(e-n%e)%e;async function B0(n){let e,t;const i={};function d(U){t=U,i.HEAPU8=new Uint8Array(U),i.HEAPU32=new Uint32Array(U)}function I(U,P,G){i.HEAPU8.copyWithin(U,P,P+G)}function o(U){try{return e.grow(U-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(U){const P=i.HEAPU8.length;U=U>>>0;const G=h0();if(U>G)return!1;for(let k=1;k<=4;k*=2){let m=P*(1+.2/k);m=Math.min(m,U+100663296);const F=Math.min(G,C0(Math.max(U,m),65536));if(o(F))return!0}return!1}const y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(U,P,G=1024){const k=P+G;let m=P;for(;U[m]&&!(m>=k);)++m;if(m-P>16&&U.buffer&&y)return y.decode(U.subarray(P,m));let F="";for(;P<m;){let _=U[P++];if(!(_&128)){F+=String.fromCharCode(_);continue}const v=U[P++]&63;if((_&224)===192){F+=String.fromCharCode((_&31)<<6|v);continue}const B=U[P++]&63;if((_&240)===224?_=(_&15)<<12|v<<6|B:_=(_&7)<<18|v<<12|B<<6|U[P++]&63,_<65536)F+=String.fromCharCode(_);else{const p=_-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function x(U,P){return U?f(i.HEAPU8,U,P):""}const N={emscripten_get_now:p0,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function K(){const P=await n({env:N,wasi_snapshot_preview1:N});e=P.memory,d(e.buffer),Object.assign(i,P),i.UTF8ToString=x}return await K(),i}let Gt=null;function m0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,I=d?new Uint32Array(t+1):null;d&&(I[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let y=0;for(let f=0;f<t;f++){const x=e.charCodeAt(f);let N=x,K=!1;if(x>=55296&&x<=56319&&f+1<t){const U=e.charCodeAt(f+1);U>=56320&&U<=57343&&(N=(x-55296<<10)+65536|U-56320,K=!0)}d&&(I[f]=y,K&&(I[f+1]=y),N<=127?o[y+0]=f:N<=2047?(o[y+0]=f,o[y+1]=f):N<=65535?(o[y+0]=f,o[y+1]=f,o[y+2]=f):(o[y+0]=f,o[y+1]=f,o[y+2]=f,o[y+3]=f)),N<=127?b[y++]=N:N<=2047?(b[y++]=192|(N&1984)>>>6,b[y++]=128|(N&63)>>>0):N<=65535?(b[y++]=224|(N&61440)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0):(b[y++]=240|(N&1835008)>>>18,b[y++]=128|(N&258048)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0),K&&f++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const I=e.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<d){const y=e.charCodeAt(i+1);y>=56320&&y<=57343&&(o=(I-55296<<10)+65536|y-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class E0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,y=e.length;b<y;b++){const f=new Ra(e[b]);t[b]=f.createString(Gt),i[b]=f.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const I=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,I/4);const o=Gt.createOnigScanner(d,I,e.length);for(let b=0,y=e.length;b<y;b++)Gt.ofree(t[b]);Gt.ofree(I),Gt.ofree(d),o===0&&m0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const I=this._findNextMatchSync(e,t,!1,d);return e.dispose(),I}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=I.HEAPU32;let y=o/4;const f=b[y++],x=b[y++],N=[];for(let K=0;K<x;K++){const U=e.convertUtf8OffsetToUtf16(b[y++]),P=e.convertUtf8OffsetToUtf16(b[y++]);N[K]={start:U,end:P,length:P-U}}return{index:f,captureIndices:N}}}function Q0(n){return typeof n.instantiator=="function"}function I0(n){return typeof n.default=="function"}function f0(n){return typeof n.data<"u"}function w0(n){return typeof Response<"u"&&n instanceof Response}function b0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function y0(n){if(Ga)return Ga;async function e(){Gt=await B0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),Q0(i)?i=await i.instantiator(t):I0(i)?i=await i.default(t):(f0(i)&&(i=i.data),w0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await D0(i)(t):i=await v0(i)(t):b0(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function D0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function v0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let k0;function _0(){return k0}async function M0(n){return n&&await y0(n),{createScanner(e){return new E0(e)},createString(e){return new La(e)}}}function x0(n){return rc(n)}function rc(n){return Array.isArray(n)?S0(n):typeof n=="object"?N0(n):n}function S0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function N0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,I,o)=>{let b=t[parseInt(d||I,10)];if(b){let y=e.substring(b.start,b.end);for(;y[0]===".";)y=y.substring(1);switch(o){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}else return i})}};function Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let I=Tu(n[d],e[d]);if(I!==0)return I}return 0}return t-i}function Yu(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(L0(n),e)}static createFromParsedTheme(n,e){return P0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>F0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function F0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!R0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function R0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function L0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,I=e.length;d<I;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let y=-1;if(typeof o.settings.fontStyle=="string"){y=0;let N=o.settings.fontStyle.split(" ");for(let K=0,U=N.length;K<U;K++)switch(N[K]){case"italic":y=y|1;break;case"bold":y=y|2;break;case"underline":y=y|4;break;case"strikethrough":y=y|8;break}}let f=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(f=o.settings.foreground);let x=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(x=o.settings.background);for(let N=0,K=b.length;N<K;N++){let P=b[N].trim().split(" "),G=P[P.length-1],k=null;P.length>1&&(k=P.slice(0,P.length-1),k.reverse()),t[i++]=new G0(G,k,d,y,f,x)}}return t}var G0=class{constructor(n,e,t,i,d,I){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=I}},hi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(hi||{});function P0(n,e){n.sort((y,f)=>{let x=Tu(y.scope,f.scope);return x!==0||(x=Uu(y.parentScopes,f.parentScopes),x!==0)?x:y.index-f.index});let t=0,i="#000000",d="#ffffff";for(;n.length>=1&&n[0].scope==="";){let y=n.shift();y.fontStyle!==-1&&(t=y.fontStyle),y.foreground!==null&&(i=y.foreground),y.background!==null&&(d=y.background)}let I=new H0(e),o=new zu(t,I.getId(i),I.getId(d)),b=new T0(new lc(0,null,-1,0,0),[]);for(let y=0,f=n.length;y<f;y++){let x=n[y];b.insert(0,x.scope,x.parentScopes,x.fontStyle,I.getId(x.foreground),I.getId(x.background))}return new Ha(I,o,b)}var H0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},K0=Object.freeze([]),lc=class Cm{constructor(e,t,i,d,I){this.scopeDepth=e,this.parentScopes=t||K0,this.fontStyle=i,this.foreground=d,this.background=I}clone(){return new Cm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},T0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const I=t.parentScopes[d].length-e.parentScopes[i].length;if(I!==0)return I;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,I;if(i===-1?(d=e,I=""):(d=e.substring(0,i),I=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,I,o){if(t===""){this._doInsertHere(e,i,d,I,o);return}let b=t.indexOf("."),y,f;b===-1?(y=t,f=""):(y=t.substring(0,b),f=t.substring(b+1));let x;this._children.hasOwnProperty(y)?x=this._children[y]:(x=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[y]=x),x.insert(e+1,f,i,d,I,o)}_doInsertHere(e,t,i,d,I){if(t===null){this._mainRule.acceptOverwrite(e,i,d,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let y=this._rulesWithParentScopes[o];if(Uu(y.parentScopes,t)===0){y.acceptOverwrite(e,i,d,I);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,I))}},No=class Yn{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=Yn.getLanguageId(e),i=Yn.getTokenType(e),d=Yn.getFontStyle(e),I=Yn.getForeground(e),o=Yn.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:I,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,I,o,b){let y=Yn.getLanguageId(e),f=Yn.getTokenType(e),x=Yn.containsBalancedBrackets(e)?1:0,N=Yn.getFontStyle(e),K=Yn.getForeground(e),U=Yn.getBackground(e);return t!==0&&(y=t),i!==8&&(f=i),d!==null&&(x=d?1:0),I!==-1&&(N=I),o!==0&&(K=o),b!==0&&(U=b),(y<<0|f<<8|x<<10|N<<11|K<<15|U<<24)>>>0}};function AP(n){return n}function eP(n){return n}function Ka(n,e){const t=[],i=U0(n);let d=i.next();for(;d!==null;){let y=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let f=o();if(t.push({matcher:f,priority:y}),d!==",")break;d=i.next()}return t;function I(){if(d==="-"){d=i.next();const y=I();return f=>!!y&&!y(f)}if(d==="("){d=i.next();const y=b();return d===")"&&(d=i.next()),y}if(Ju(d)){const y=[];do y.push(d),d=i.next();while(Ju(d));return f=>e(y,f)}return null}function o(){const y=[];let f=I();for(;f;)y.push(f),f=I();return x=>y.every(N=>N(x))}function b(){const y=[];let f=o();for(;f&&(y.push(f),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");f=o()}return x=>y.some(N=>N(x))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function U0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},Y0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},O0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},$0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new O0;for(const t of n)z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const I=t.lookup(e);n instanceof mr?Ta({baseGrammar:I,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:I,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const I=i.include;if(!I)continue;const o=Wu(I);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const y={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,y,t):Ta(y,t)}else o.kind===4?t.add(new Y0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var J0=class{constructor(){this.kind=0}},Z0=class{constructor(){this.kind=1}},W0=class{constructor(n){this.ruleName=n,this.kind=2}},j0=class{constructor(n){this.scopeName=n,this.kind=3}},q0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new J0;if(n==="$self")return new Z0;const e=n.indexOf("#");if(e===-1)return new j0(n);if(e===0)return new W0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new q0(t,i)}}var X0=/\\(\d+)/,ju=/\\(\d+)/g,V0=-1,qu=-2;function tP(n){return n}function nP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},Ab=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},eb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ir,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ir,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,I,o,b,y,f){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=I,this._end=new Qr(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=y||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ir;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,I,o,b,y){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Qr(o,qu),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=y.patterns,this.hasMissingPatterns=y.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ir;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ir,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,I){return e.registerRule(o=>new Ab(t,o,i,d,I))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new eb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let I=e.patterns;return typeof I>"u"&&e.include&&(I=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(I,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let I=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let y=0;e[o].patterns&&(y=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,y)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let I=0,o=e.length;I<o;I++){const b=e[I];let y=-1;if(b.include){const f=Wu(b.include);switch(f.kind){case 0:case 1:y=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let x=i[f.ruleName];x&&(y=Jt.getCompiledRuleId(x,t,i));break;case 3:case 4:const N=f.scopeName,K=f.kind===4?f.ruleName:null,U=t.getExternalGrammar(N,i);if(U)if(K){let P=U.repository[K];P&&(y=Jt.getCompiledRuleId(P,t,U.repository))}else y=Jt.getCompiledRuleId(U.repository.$self,t,U.repository);break}}else y=Jt.getCompiledRuleId(b,t,i);if(y!==-1){const f=t.getRule(y);let x=!1;if((f instanceof Xu||f instanceof gc||f instanceof Ya)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;d.push(y)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Bm{constructor(e,t){if(e){const i=e.length;let d=0,I=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const f=e.charAt(b+1);f==="z"?(I.push(e.substring(d,b)),I.push("$(?!\\n)(?<!\\n)"),d=b+2):(f==="A"||f==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(I.push(e.substring(d,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=X0.test(this.source)}clone(){return new Bm(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,I)=>Ou(i[parseInt(I,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],I,o,b,y;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),e[I]=b,t[I]=b,i[I]=b,d[I]=b,b==="\\"&&I+1<o&&(y=this.source.charAt(I+1),y==="A"?(e[I+1]="￿",t[I+1]="￿",i[I+1]="A",d[I+1]="A"):y==="G"?(e[I+1]="￿",t[I+1]="G",i[I+1]="￿",d[I+1]="G"):(e[I+1]=y,t[I+1]=y,i[I+1]=y,d[I+1]=y),I++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Ir=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
80
+ `)},n.prototype.classes=function(e){var t=ur(this.element)?Array.from(this.element.classList):[];return e?t.includes(e):t},n.prototype.attributes=function(e){var t={};if(ur(this.element))for(var i=Array.from(this.element.attributes),d=0,I=i;d<I.length;d++){var o=I[d];t[o.localName]=o.value}return e?t[e]:t},n.prototype.text=function(){return this.getRootNodes().map(Wm).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(e){var t=this.find(e);if(t.exists())return t;throw new Error("Unable to get ".concat(e," within: ").concat(this.html()))},n.prototype.getComponent=function(e){var t=this.findComponent(e);if(t.exists())return t;var i="Unable to get ";throw typeof e=="string"?i+="component with selector ".concat(e):"name"in e?i+="component with name ".concat(e.name):"ref"in e?i+="component with ref ".concat(e.ref):i+="specified component",i+=" within: ".concat(this.html()),new Error(i)},n.prototype.isVisible=function(){return ur(this.element)&&Xd(this.element)},n.prototype.trigger=function(e,t){return Nl(this,void 0,void 0,function(){var i;return Fl(this,function(d){if(t&&t.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(i=aE(e,t),i._vts=Date.now()+1,this.element.dispatchEvent(i)),[2,A.nextTick()]})})},n}(),xE=function(n){Gd(e,n);function e(t){var i=this;return t?(i=n.call(this,t)||this,Kd.plugins.DOMWrapper.extend(i),i):Fi("DOMWrapper")}return e.prototype.getRootNodes=function(){return[this.wrapperElement]},e.prototype.getCurrentComponent=function(){for(var t,i=this.element.__vueParentComponent;((t=i==null?void 0:i.parent)===null||t===void 0?void 0:t.vnode.el)===this.element;)i=i.parent;return i},e.prototype.find=function(t){var i=n.prototype.find.call(this,t);return i.exists()&&Xm(t)?this.element.contains(i.element)?i:Fi("DOMWrapper"):i},e.prototype.findAll=function(t){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(t),hr):[]},e.prototype.findAllComponents=function(t){var i=this,d=n.prototype.findAllComponents.call(this,t);return d.filter(function(I){return i.element.contains(I.element)})},e.prototype.setChecked=function(){return Nl(this,arguments,void 0,function(t){var i,d;return t===void 0&&(t=!0),Fl(this,function(I){if(i=this.element,d=this.attributes().type,d==="radio"&&!t)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return t===i.checked?[2]:(i.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},e.prototype.setValue=function(t){var i=this.element,d=i.tagName,I=this.attributes().type;if(d==="OPTION")return this.setSelected(),Promise.resolve();if(d==="INPUT"&&I==="checkbox")return this.setChecked(t);if(d==="INPUT"&&I==="radio")return this.setChecked(t);if(d==="SELECT"){if(Array.isArray(t))for(var o=i,b=0;b<o.options.length;b++){var y=o.options[b];y.selected=t.includes(y.value)}else i.value=t;return this.trigger("input"),this.trigger("change")}else{if(d==="INPUT"||d==="TEXTAREA")return i.value=t,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(d))}},e.prototype.setSelected=function(){var t=this.element;if(!t.selected){t.selected=!0;var i=t.parentElement;i.tagName==="OPTGROUP"&&(i=i.parentElement);var d=new e(i);return d.trigger("input"),d.trigger("change")}},e}(xu);Vd(xo.DOMWrapper,function(n){return new xE(n)});function Na(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var e=n.component.subTree;return Na(e)}else{if(n.shapeFlag&128)return Na(n.suspense.activeBranch);if(n.shapeFlag&72){var t=[n.el];if(n.anchor)for(var i=t[0].nextSibling;i&&i.previousSibling!==n.anchor;)t.push(i),i=i.nextSibling;return t}else if(n.shapeFlag&16){var d=n.children.flat();return d.flatMap(function(I){return Na(I)}).filter(qm)}}return[]}var qi={};function SE(n,e){var t=n.$.uid,i=qi[t]||{};return e?i?i[e]:void 0:i}var NE=function(n,e,t){for(var i=n;typeof(i==null?void 0:i.type)=="function";)i=i.parent;var d=i.uid;d in qi||(qi[d]={}),e in qi[d]||(qi[d][e]=[]),qi[d][e].push(t)},FE=function(n){var e=n.$.uid;delete qi[e]};function RE(n,e){return new Proxy(n,{get:function(t,i,d){return t.$.exposed&&t.$.exposeProxy&&i in t.$.exposeProxy?Reflect.get(t.$.exposeProxy,i,d):i in e?Reflect.get(e,i,d):i in t.$.appContext.config.globalProperties?Reflect.get(t.$.appContext.config.globalProperties,i,d):t.$.ctx[i]},set:function(t,i,d,I){return i in e?Reflect.set(e,i,d,I):Reflect.set(t,i,d,I)},has:function(t,i){return Reflect.has(e,i)||Reflect.has(t,i)},defineProperty:function(t,i,d){return i in e?Reflect.defineProperty(e,i,d):Reflect.defineProperty(t,i,d)},getOwnPropertyDescriptor:function(t,i){return i in e?Reflect.getOwnPropertyDescriptor(e,i):Reflect.getOwnPropertyDescriptor(t,i)},deleteProperty:function(t,i){return i in e?Reflect.deleteProperty(e,i):Reflect.deleteProperty(t,i)}})}var LE=function(n){Gd(e,n);function e(t,i,d){var I=n.call(this,i==null?void 0:i.$el)||this;return I.cleanUpCallbacks=[],I.__app=t,I.rootVM=i==null?void 0:i.$root,Vm(i)?I.componentVM=RE(i,i.$.setupState):I.componentVM=i,I.__setProps=d,I.attachNativeEventListener(),Kd.plugins.VueWrapper.extend(I),I}return Object.defineProperty(e.prototype,"hasMultipleRoots",{get:function(){var t=function(i){var d;if(i.shapeFlag===16)return!0;if(i.shapeFlag&4||i.shapeFlag&2){if(!((d=i.component)===null||d===void 0)&&d.subTree)return t(i.component.subTree);if(i.shapeFlag&16)return!0}return!1};return t(this.vm.$.subTree)},enumerable:!1,configurable:!0}),e.prototype.getRootNodes=function(){return Na(this.vm.$.vnode)},Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),e.prototype.getCurrentComponent=function(){return this.vm.$},e.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},e.prototype.findAll=function(t){return this.findAllDOMElements(t).map(hr)},e.prototype.attachNativeEventListener=function(){var t=this.vm;if(t){var i=t.$options.emits?Array.isArray(t.$options.emits)?t.$options.emits:Object.keys(t.$options.emits):[],d=this.getRootNodes().filter(function(N){return N instanceof Element});if(d.length===1)for(var I=d[0],o=function(N){if(i.includes(N))return"continue";var K=function(){for(var U=[],P=0;P<arguments.length;P++)U[P]=arguments[P];NE(t.$,N,U)};I.addEventListener(N,K),b.cleanUpCallbacks.push(function(){I.removeEventListener(N,K)})},b=this,y=0,f=Object.keys(Ud);y<f.length;y++){var x=f[y];o(x)}}},Object.defineProperty(e.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),e.prototype.props=function(t){var i=this.componentVM.$props;return t?i[t]:i},e.prototype.emitted=function(t){return SE(this.vm,t)},e.prototype.isVisible=function(){var t=hr(this.element);return t.isVisible()},e.prototype.setData=function(t){return Td(this.componentVM.$data,t),A.nextTick()},e.prototype.setProps=function(t){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(t),A.nextTick()},e.prototype.setValue=function(t,i){var d=i||"modelValue";return this.vm.$emit("update:".concat(d),t),this.vm.$nextTick()},e.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");FE(this.vm),this.cleanUpCallbacks.forEach(function(t){return t()}),this.cleanUpCallbacks=[],this.__app.unmount()},e}(xu);Vd(xo.VueWrapper,function(n,e,t){return new LE(n,e,t)});var GE={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};A.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,e,t,i=A.computed(function(){return GE}),d=(t=(e=this.$slots)===null||e===void 0?void 0:e.default)===null||t===void 0?void 0:t.call(e,{route:i,href:A.computed(function(){return i.value.href}),isActive:A.computed(function(){return!1}),isExactActive:A.computed(function(){return!1}),navigate:function(){return Nl(n,void 0,void 0,function(){return Fl(this,function(I){return[2]})})}});return this.custom?d:A.h("a",void 0,d)}}),typeof setImmediate=="function"&&setImmediate;const Xn=Symbol(),Su=Symbol(),Nu=Symbol(),Fu={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}},table:{pollText:"定时刷新",pollUnit:"分钟"}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}},table:{pollText:"Refresh List per",pollUnit:"minutes"}}},Fa=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],PE=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],HE="vfc",je=(n="")=>`${HE}-${n}`,tc=(n,e)=>n.reduce((t,i)=>{if(i.designKey===e)return i;if(i.children){const d=tc(i.children,e);if(d)return d}return t},null),Ru=(n,e)=>n.map(t=>t.designKey===e.designKey?e:t.children?{...t,children:Ru(t.children,e)}:t),Lu=n=>n.map(e=>{const t={...ut.cloneDeep(e),designKey:`form-${Ni(4)}`,name:Ni(8)};return e.children&&(t.children=Lu(e.children)),t}),Gu=(n,e)=>n.reduce((t,i)=>{var d;if(i.children?t.push({...i,children:Gu(i.children,e)}):t.push(i),i.designKey===e){const I={...ut.cloneDeep(i),designKey:`form-${Ni(4)}`,name:`${i.name}-${Ni(2)}`};i.children&&(I.children=Lu(i.children)),i.label&&!((d=I.label)!=null&&d.includes("copy"))&&(I.label=I.label+" copy"),t.push(I)}return t},[]),Pu=n=>n.map(e=>{if(!e.render)return e;const t={component:e.component,designKey:e.designKey||`design-${Ni(4)}`,name:e.name||`form-${Ni(4)}`};return e.children&&(t.children=Pu(e.children)),t}),mt=()=>{const n=A.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return A.inject(Su,n)},KE=()=>{const{fetchOptionsFn:n}=A.inject(Xn);return n},Br=n=>{const e=mt(),t=KE(),i=A.ref([]),d=A.ref(!1);let I=0;const o=ut.debounce(async()=>{if(!t||!n.apiParams||Object.values(n.apiParams).some(N=>N===void 0))return;d.value=!0;const x=++I;try{const N=await t({formItemProps:A.toRaw(n),formSchema:A.toRaw(e.schema)});if(x!==I)return;const K=n.defaultOptions||[];if(i.value=[...K,...N],n.filters&&(i.value=i.value.filter(G=>Array.isArray(n.filters)?!n.filters.includes(G[n.valueKey||"value"]):!0)),n.name){const G=ln(e.schema.items,n.name);G&&G.props&&(G.props.options=i.value)}const U=e.formValues[n.name],P=i.value.findIndex(G=>G[n.valueKey||"value"]===U)!==-1;if(n.refreshFlag&&i.value.length>0&&!P){e.updateFormValues({[`${n.name}`]:i.value[0][n.valueKey||"value"]},!0);const G=ln(e.schema.items,n.name);G&&G.props&&(G.props.refreshFlag=!1)}}finally{d.value=!1}},300);A.onMounted(()=>{const{mode:x,options:N=[]}=n;x==="static"&&(i.value=N),x==="remote"&&o()}),A.watch(()=>n.apiParams,(x,N)=>{ut.isEqual(x,N)||(i.value=[],o())}),A.watch(()=>n.options,(x=[])=>{n.mode==="static"&&(i.value=x)}),A.watch(()=>n.mode,x=>{x==="static"&&(i.value=n.options||[]),x==="remote"&&(i.value=[],o())});const{mode:b,dependentFields:y}=n;if(b==="remote"&&Array.isArray(y))for(const x of y)A.watch(()=>e.formValues[x],(N,K)=>{o()});return{selectChange:x=>{const{valueKey:N="value",multiple:K,name:U}=n;let P={};K&&Array.isArray(x)?P=i.value.filter(G=>x.includes(G[N])):P=i.value.find(G=>G[N]===x)||{},e.selectData&&U&&e.updateSelectData(U,P)},currentOptions:i,loading:d,fetchData:o}};function nc(){const n=A.inject(Xn),e=A.inject("asiaint-lang",A.ref("zh"));return n!=null&&n.lang?A.ref(n.lang):e}function Vn(){const n=nc();return A.computed(()=>Fu[(n==null?void 0:n.value)||"en"])}const oe=(n,e)=>{const t=n.__vccOpts||n;for(const[i,d]of e)t[i]=d;return t},TE={},UE={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function YE(n,e){return A.openBlock(),A.createElementBlock("svg",UE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"var(--el-color-primary)","p-id":"4620"},null,-1),A.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"var(--el-color-primary)","p-id":"4621"},null,-1),A.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"var(--el-color-primary)","p-id":"4622"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},zE={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function JE(n,e){return A.openBlock(),A.createElementBlock("svg",zE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),A.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),A.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const ZE=Object.freeze(Object.defineProperty({__proto__:null,default:oe($E,[["render",JE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1750754916904",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9550",width:"200",height:"200"};function qE(n,e){return A.openBlock(),A.createElementBlock("svg",jE,e[0]||(e[0]=[A.createElementVNode("path",{d:"M966.857993 938.452769H53.788602a42.83445 42.83445 0 0 0 0 85.424829h913.069391a42.83445 42.83445 0 1 0 0-85.424829zM112.487663 448.60239v380.384562a42.83445 42.83445 0 1 0 85.42483 0V448.60239a42.83445 42.83445 0 1 0-85.42483 0zM340.571958 42.712415v786.274537a42.83445 42.83445 0 1 0 85.424829 0V42.712415a42.83445 42.83445 0 0 0-85.424829 0zM569.022359 271.04078v557.946172a42.83445 42.83445 0 1 0 85.424829 0V271.04078a42.83445 42.83445 0 0 0-85.424829 0zM797.350724 423.219012v405.76794a42.83445 42.83445 0 1 0 85.42483 0V423.219012a42.83445 42.83445 0 0 0-85.42483 0z",fill:"#4D4D4D","p-id":"9551"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function eQ(n,e){return A.openBlock(),A.createElementBlock("svg",AQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),A.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function oQ(n,e){return A.openBlock(),A.createElementBlock("svg",iQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),A.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),A.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),A.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const rQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),aQ={},sQ={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function lQ(n,e){return A.openBlock(),A.createElementBlock("svg",sQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),A.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(aQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},dQ={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function uQ(n,e){return A.openBlock(),A.createElementBlock("svg",dQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(gQ,[["render",uQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},CQ={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function BQ(n,e){return A.openBlock(),A.createElementBlock("svg",CQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),A.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),A.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const mQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(pQ,[["render",BQ]])},Symbol.toStringTag,{value:"Module"})),EQ={},QQ={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function IQ(n,e){return A.openBlock(),A.createElementBlock("svg",QQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),A.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(EQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},bQ={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function yQ(n,e){return A.openBlock(),A.createElementBlock("svg",bQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const DQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(wQ,[["render",yQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function _Q(n,e){return A.openBlock(),A.createElementBlock("svg",kQ,e[0]||(e[0]=[A.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),xQ={},SQ={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function NQ(n,e){return A.openBlock(),A.createElementBlock("svg",SQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const FQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(xQ,[["render",NQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function GQ(n,e){return A.openBlock(),A.createElementBlock("svg",LQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),A.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),A.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const PQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),HQ={},KQ={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function TQ(n,e){return A.openBlock(),A.createElementBlock("svg",KQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),A.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),A.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),A.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const UQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(HQ,[["render",TQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function $Q(n,e){return A.openBlock(),A.createElementBlock("svg",OQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),A.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),A.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),A.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),A.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const zQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),JQ={},ZQ={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function WQ(n,e){return A.openBlock(),A.createElementBlock("svg",ZQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:oe(JQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function VQ(n,e){return A.openBlock(),A.createElementBlock("svg",XQ,e[0]||(e[0]=[A.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),A.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),eI={},tI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function nI(n,e){return A.openBlock(),A.createElementBlock("svg",tI,e[0]||(e[0]=[A.createElementVNode("defs",null,[A.createElementVNode("clipPath",{id:"clipPath6999889763"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),A.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[A.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(eI,[["render",nI]])},Symbol.toStringTag,{value:"Module"})),oI={},rI={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function aI(n,e){return A.openBlock(),A.createElementBlock("svg",rI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(oI,[["render",aI]])},Symbol.toStringTag,{value:"Module"})),lI={},cI={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function gI(n,e){return A.openBlock(),A.createElementBlock("svg",cI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(lI,[["render",gI]])},Symbol.toStringTag,{value:"Module"})),uI={},hI={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function pI(n,e){return A.openBlock(),A.createElementBlock("svg",hI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(uI,[["render",pI]])},Symbol.toStringTag,{value:"Module"})),BI={},mI={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function EI(n,e){return A.openBlock(),A.createElementBlock("svg",mI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(BI,[["render",EI]])},Symbol.toStringTag,{value:"Module"})),II={},fI={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function wI(n,e){return A.openBlock(),A.createElementBlock("svg",fI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const bI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(II,[["render",wI]])},Symbol.toStringTag,{value:"Module"})),yI={},DI={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function vI(n,e){return A.openBlock(),A.createElementBlock("svg",DI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const kI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(yI,[["render",vI]])},Symbol.toStringTag,{value:"Module"})),_I={},MI={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function xI(n,e){return A.openBlock(),A.createElementBlock("svg",MI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(_I,[["render",xI]])},Symbol.toStringTag,{value:"Module"})),NI={},FI={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function RI(n,e){return A.openBlock(),A.createElementBlock("svg",FI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const LI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(NI,[["render",RI]])},Symbol.toStringTag,{value:"Module"})),GI={},PI={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function HI(n,e){return A.openBlock(),A.createElementBlock("svg",PI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const KI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(GI,[["render",HI]])},Symbol.toStringTag,{value:"Module"})),TI={},UI={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function YI(n,e){return A.openBlock(),A.createElementBlock("svg",UI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(TI,[["render",YI]])},Symbol.toStringTag,{value:"Module"})),$I={},zI={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function JI(n,e){return A.openBlock(),A.createElementBlock("svg",zI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),A.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:oe($I,[["render",JI]])},Symbol.toStringTag,{value:"Module"})),WI={},jI={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function qI(n,e){return A.openBlock(),A.createElementBlock("svg",jI,e[0]||(e[0]=[A.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const XI=Object.freeze(Object.defineProperty({__proto__:null,default:oe(WI,[["render",qI]])},Symbol.toStringTag,{value:"Module"})),VI={},Af={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function ef(n,e){return A.openBlock(),A.createElementBlock("svg",Af,e[0]||(e[0]=[A.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const tf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(VI,[["render",ef]])},Symbol.toStringTag,{value:"Module"})),nf={},of={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function rf(n,e){return A.openBlock(),A.createElementBlock("svg",of,e[0]||(e[0]=[A.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const af=Object.freeze(Object.defineProperty({__proto__:null,default:oe(nf,[["render",rf]])},Symbol.toStringTag,{value:"Module"})),sf={},lf={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function cf(n,e){return A.openBlock(),A.createElementBlock("svg",lf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const gf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(sf,[["render",cf]])},Symbol.toStringTag,{value:"Module"})),df={},uf={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function hf(n,e){return A.openBlock(),A.createElementBlock("svg",uf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const pf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(df,[["render",hf]])},Symbol.toStringTag,{value:"Module"})),Cf={},Bf={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function mf(n,e){return A.openBlock(),A.createElementBlock("svg",Bf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),A.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Ef=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Cf,[["render",mf]])},Symbol.toStringTag,{value:"Module"})),Qf={},If={t:"1750754729084",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8507",width:"200",height:"200"};function ff(n,e){return A.openBlock(),A.createElementBlock("svg",If,e[0]||(e[0]=[A.createElementVNode("path",{d:"M875.166 118.245c100.653 90.117 155.335 226.557 147.918 360.878q-239.153 1.354-478.482 0-1.236-239.212 0-478.482a456.115 456.115 0 0 1 330.564 117.604z m25.781 113.661c-44.028-71.693-116.074-121.96-193.476-152.332a235.444 235.444 0 0 0-105.538-21.838q-0.412 182.057 0 364.233h364.174c2.295-68.809-30.432-132.614-65.1-190.004z m-0.294 316.673c3.06 94.53-20.366 190.533-72.693 269.878A449.993 449.993 0 1 1 248 171.809c69.868-35.964 149.154-50.444 227.38-48.266 1.001 141.266 0 283.004 0.471 424.565 141.267 0.412 283.064-0.648 424.624 0.47z m-49.031 49.973c-141.856-0.765-283.77 0-425.684-0.353-0.353-141.914 0.353-283.828-0.353-425.684-82.111 12.302-165.517 37.73-229.028 93.354-19.896 20.601-40.732 40.261-60.569 60.921C77.893 404.075 44.99 501.313 49.58 598.258c8.888 71.045 29.43 142.443 71.281 201.54 18.07 29.725 46.442 50.797 69.692 76.107a383.01 383.01 0 0 0 149.39 81.111c50.502 12.184 103.065 25.251 155.04 14.068 89.35-12.596 178.172-50.974 238.622-119.547 72.517-63.805 103.949-160.279 117.722-253.103z","p-id":"8508"},null,-1)]))}const wf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Qf,[["render",ff]])},Symbol.toStringTag,{value:"Module"})),bf={},yf={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function Df(n,e){return A.openBlock(),A.createElementBlock("svg",yf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),A.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const vf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(bf,[["render",Df]])},Symbol.toStringTag,{value:"Module"})),kf={},_f={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function Mf(n,e){return A.openBlock(),A.createElementBlock("svg",_f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const xf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(kf,[["render",Mf]])},Symbol.toStringTag,{value:"Module"})),Sf={},Nf={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function Ff(n,e){return A.openBlock(),A.createElementBlock("svg",Nf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const Rf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Sf,[["render",Ff]])},Symbol.toStringTag,{value:"Module"})),Lf={},Gf={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function Pf(n,e){return A.openBlock(),A.createElementBlock("svg",Gf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),A.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Hf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Lf,[["render",Pf]])},Symbol.toStringTag,{value:"Module"})),Kf={},Tf={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function Uf(n,e){return A.openBlock(),A.createElementBlock("svg",Tf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const Yf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Kf,[["render",Uf]])},Symbol.toStringTag,{value:"Module"})),Of={},$f={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function zf(n,e){return A.openBlock(),A.createElementBlock("svg",$f,e[0]||(e[0]=[A.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Jf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Of,[["render",zf]])},Symbol.toStringTag,{value:"Module"})),Zf={},Wf={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function jf(n,e){return A.openBlock(),A.createElementBlock("svg",Wf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const qf=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Zf,[["render",jf]])},Symbol.toStringTag,{value:"Module"})),Xf={},Vf={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function Aw(n,e){return A.openBlock(),A.createElementBlock("svg",Vf,e[0]||(e[0]=[A.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Xf,[["render",Aw]])},Symbol.toStringTag,{value:"Module"})),tw={},nw={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function iw(n,e){return A.openBlock(),A.createElementBlock("svg",nw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),A.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const ow=Object.freeze(Object.defineProperty({__proto__:null,default:oe(tw,[["render",iw]])},Symbol.toStringTag,{value:"Module"})),rw={},aw={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function sw(n,e){return A.openBlock(),A.createElementBlock("svg",aw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const lw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(rw,[["render",sw]])},Symbol.toStringTag,{value:"Module"})),cw={},gw={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function dw(n,e){return A.openBlock(),A.createElementBlock("svg",gw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),A.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const uw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(cw,[["render",dw]])},Symbol.toStringTag,{value:"Module"})),hw={},pw={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Cw(n,e){return A.openBlock(),A.createElementBlock("svg",pw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),A.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),A.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const Bw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(hw,[["render",Cw]])},Symbol.toStringTag,{value:"Module"})),mw={},Ew={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function Qw(n,e){return A.openBlock(),A.createElementBlock("svg",Ew,e[0]||(e[0]=[A.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z",fill:"#323333","p-id":"3899"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),A.createElementVNode("path",{d:"M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z",fill:"#323333","p-id":"3901"},null,-1),A.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Iw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(mw,[["render",Qw]])},Symbol.toStringTag,{value:"Module"})),fw={},ww={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function bw(n,e){return A.openBlock(),A.createElementBlock("svg",ww,e[0]||(e[0]=[A.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),A.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(fw,[["render",bw]])},Symbol.toStringTag,{value:"Module"})),Dw={},vw={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function kw(n,e){return A.openBlock(),A.createElementBlock("svg",vw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),A.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),A.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const _w=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Dw,[["render",kw]])},Symbol.toStringTag,{value:"Module"})),Mw={},xw={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function Sw(n,e){return A.openBlock(),A.createElementBlock("svg",xw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),A.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),A.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const Nw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Mw,[["render",Sw]])},Symbol.toStringTag,{value:"Module"})),Fw={},Rw={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function Lw(n,e){return A.openBlock(),A.createElementBlock("svg",Rw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Fw,[["render",Lw]])},Symbol.toStringTag,{value:"Module"})),Pw={},Hw={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function Kw(n,e){return A.openBlock(),A.createElementBlock("svg",Hw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Pw,[["render",Kw]])},Symbol.toStringTag,{value:"Module"})),Uw={},Yw={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function Ow(n,e){return A.openBlock(),A.createElementBlock("svg",Yw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const $w=Object.freeze(Object.defineProperty({__proto__:null,default:oe(Uw,[["render",Ow]])},Symbol.toStringTag,{value:"Module"})),zw={},Jw={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function Zw(n,e){return A.openBlock(),A.createElementBlock("svg",Jw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:oe(zw,[["render",Zw]])},Symbol.toStringTag,{value:"Module"})),jw={},qw={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function Xw(n,e){return A.openBlock(),A.createElementBlock("svg",qw,e[0]||(e[0]=[A.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),A.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const Vw=Object.freeze(Object.defineProperty({__proto__:null,default:oe(jw,[["render",Xw]])},Symbol.toStringTag,{value:"Module"})),A0={},e0={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function t0(n,e){return A.openBlock(),A.createElementBlock("svg",e0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),A.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),A.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const n0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A0,[["render",t0]])},Symbol.toStringTag,{value:"Module"})),i0={},o0={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function r0(n,e){return A.openBlock(),A.createElementBlock("svg",o0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),A.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),A.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),A.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const a0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(i0,[["render",r0]])},Symbol.toStringTag,{value:"Module"})),s0={},l0={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function c0(n,e){return A.openBlock(),A.createElementBlock("svg",l0,e[0]||(e[0]=[A.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const g0=Object.freeze(Object.defineProperty({__proto__:null,default:oe(s0,[["render",c0]])},Symbol.toStringTag,{value:"Module"})),Ie=A.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const t=Object.entries(Object.assign({"./icons/add.vue":OE,"./icons/alert.vue":ZE,"./icons/barChart.vue":XE,"./icons/button.vue":tQ,"./icons/card.vue":rQ,"./icons/cascader.vue":cQ,"./icons/checkbox.vue":hQ,"./icons/clear.vue":mQ,"./icons/collapse.vue":fQ,"./icons/colorPicker.vue":DQ,"./icons/copy.vue":MQ,"./icons/custom.vue":FQ,"./icons/datePicker.vue":PQ,"./icons/delete.vue":UQ,"./icons/design.vue":zQ,"./icons/divider.vue":jQ,"./icons/document.vue":AI,"./icons/dropdown.vue":iI,"./icons/esign.vue":sI,"./icons/eye.vue":dI,"./icons/formList.vue":CI,"./icons/github.vue":QI,"./icons/grid.vue":bI,"./icons/help.vue":kI,"./icons/hidden.vue":SI,"./icons/icon.vue":LI,"./icons/inline.vue":KI,"./icons/input.vue":OI,"./icons/inputNumber.vue":ZI,"./icons/itemGroup.vue":XI,"./icons/jsonEdit.vue":tf,"./icons/library.vue":af,"./icons/markdown.vue":gf,"./icons/move.vue":pf,"./icons/password.vue":Ef,"./icons/pieChart.vue":wf,"./icons/radio.vue":vf,"./icons/rate.vue":xf,"./icons/reduce.vue":Rf,"./icons/rich.vue":Hf,"./icons/save.vue":Yf,"./icons/script.vue":Jf,"./icons/search.vue":qf,"./icons/searchSelect.vue":ew,"./icons/select.vue":ow,"./icons/slider.vue":lw,"./icons/switch.vue":uw,"./icons/tableEmpty.vue":Bw,"./icons/tabs.vue":Iw,"./icons/tag.vue":yw,"./icons/text.vue":_w,"./icons/textarea.vue":Nw,"./icons/title.vue":Gw,"./icons/transfer.vue":Tw,"./icons/trash.vue":$w,"./icons/tree.vue":Ww,"./icons/upload.vue":Vw,"./icons/uploadImage.vue":n0,"./icons/verifyCode.vue":a0,"./icons/vue.vue":g0})).reduce((i,[d,I])=>{const o=d.split("/").pop(),b=o==null?void 0:o.split(".")[0];return i[b]=I.default,i},{});return(i,d)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(A.unref(t)[i.name]),A.mergeProps({class:A.unref(je)("icon-render")},i.$attrs),null,16,["class"]))}}),d0={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},u0=oe(A.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(e,t)=>e.disabled?(A.openBlock(),A.createElementBlock("div",A.mergeProps({key:0},e.$attrs,{class:"disabled-wrapper"}),[t[0]||(t[0]=A.createElementVNode("div",{class:"mask"},null,-1)),A.renderSlot(e.$slots,"default",{},void 0,!0)],16)):A.renderSlot(e.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-353650ae"]]);let Xi=class extends Error{constructor(e){super(e),this.name="ShikiError"}},ic=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function h0(){return 2147483648}function p0(){return typeof performance<"u"?performance.now():Date.now()}const C0=(n,e)=>n+(e-n%e)%e;async function B0(n){let e,t;const i={};function d(U){t=U,i.HEAPU8=new Uint8Array(U),i.HEAPU32=new Uint32Array(U)}function I(U,P,G){i.HEAPU8.copyWithin(U,P,P+G)}function o(U){try{return e.grow(U-t.byteLength+65535>>>16),d(e.buffer),1}catch{}}function b(U){const P=i.HEAPU8.length;U=U>>>0;const G=h0();if(U>G)return!1;for(let k=1;k<=4;k*=2){let m=P*(1+.2/k);m=Math.min(m,U+100663296);const F=Math.min(G,C0(Math.max(U,m),65536));if(o(F))return!0}return!1}const y=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(U,P,G=1024){const k=P+G;let m=P;for(;U[m]&&!(m>=k);)++m;if(m-P>16&&U.buffer&&y)return y.decode(U.subarray(P,m));let F="";for(;P<m;){let _=U[P++];if(!(_&128)){F+=String.fromCharCode(_);continue}const v=U[P++]&63;if((_&224)===192){F+=String.fromCharCode((_&31)<<6|v);continue}const B=U[P++]&63;if((_&240)===224?_=(_&15)<<12|v<<6|B:_=(_&7)<<18|v<<12|B<<6|U[P++]&63,_<65536)F+=String.fromCharCode(_);else{const p=_-65536;F+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return F}function x(U,P){return U?f(i.HEAPU8,U,P):""}const N={emscripten_get_now:p0,emscripten_memcpy_big:I,emscripten_resize_heap:b,fd_write:()=>0};async function K(){const P=await n({env:N,wasi_snapshot_preview1:N});e=P.memory,d(e.buffer),Object.assign(i,P),i.UTF8ToString=x}return await K(),i}let Gt=null;function m0(n){throw new ic(n.UTF8ToString(n.getLastOnigError()))}class Ra{constructor(e){Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16Value");Bt(this,"utf8Value");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");const t=e.length,i=Ra._utf8ByteLength(e),d=i!==t,I=d?new Uint32Array(t+1):null;d&&(I[t]=i);const o=d?new Uint32Array(i+1):null;d&&(o[i]=t);const b=new Uint8Array(i);let y=0;for(let f=0;f<t;f++){const x=e.charCodeAt(f);let N=x,K=!1;if(x>=55296&&x<=56319&&f+1<t){const U=e.charCodeAt(f+1);U>=56320&&U<=57343&&(N=(x-55296<<10)+65536|U-56320,K=!0)}d&&(I[f]=y,K&&(I[f+1]=y),N<=127?o[y+0]=f:N<=2047?(o[y+0]=f,o[y+1]=f):N<=65535?(o[y+0]=f,o[y+1]=f,o[y+2]=f):(o[y+0]=f,o[y+1]=f,o[y+2]=f,o[y+3]=f)),N<=127?b[y++]=N:N<=2047?(b[y++]=192|(N&1984)>>>6,b[y++]=128|(N&63)>>>0):N<=65535?(b[y++]=224|(N&61440)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0):(b[y++]=240|(N&1835008)>>>18,b[y++]=128|(N&258048)>>>12,b[y++]=128|(N&4032)>>>6,b[y++]=128|(N&63)>>>0),K&&f++}this.utf16Length=t,this.utf8Length=i,this.utf16Value=e,this.utf8Value=b,this.utf16OffsetToUtf8=I,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let i=0,d=e.length;i<d;i++){const I=e.charCodeAt(i);let o=I,b=!1;if(I>=55296&&I<=56319&&i+1<d){const y=e.charCodeAt(i+1);y>=56320&&y<=57343&&(o=(I-55296<<10)+65536|y-56320,b=!0)}o<=127?t+=1:o<=2047?t+=2:o<=65535?t+=3:t+=4,b&&i++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const gn=class gn{constructor(e){Bt(this,"id",++gn.LAST_ID);Bt(this,"_onigBinding");Bt(this,"content");Bt(this,"utf16Length");Bt(this,"utf8Length");Bt(this,"utf16OffsetToUtf8");Bt(this,"utf8OffsetToUtf16");Bt(this,"ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");this._onigBinding=Gt,this.content=e;const t=new Ra(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!gn._sharedPtrInUse?(gn._sharedPtr||(gn._sharedPtr=Gt.omalloc(1e4)),gn._sharedPtrInUse=!0,Gt.HEAPU8.set(t.utf8Value,gn._sharedPtr),this.ptr=gn._sharedPtr):this.ptr=t.createString(Gt)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===gn._sharedPtr?gn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Bt(gn,"LAST_ID",0),Bt(gn,"_sharedPtr",0),Bt(gn,"_sharedPtrInUse",!1);let La=gn;class E0{constructor(e){Bt(this,"_onigBinding");Bt(this,"_ptr");if(!Gt)throw new ic("Must invoke loadWasm first.");const t=[],i=[];for(let b=0,y=e.length;b<y;b++){const f=new Ra(e[b]);t[b]=f.createString(Gt),i[b]=f.utf8Length}const d=Gt.omalloc(4*e.length);Gt.HEAPU32.set(t,d/4);const I=Gt.omalloc(4*e.length);Gt.HEAPU32.set(i,I/4);const o=Gt.createOnigScanner(d,I,e.length);for(let b=0,y=e.length;b<y;b++)Gt.ofree(t[b]);Gt.ofree(I),Gt.ofree(d),o===0&&m0(Gt),this._onigBinding=Gt,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,i){let d=0;if(typeof i=="number"&&(d=i),typeof e=="string"){e=new La(e);const I=this._findNextMatchSync(e,t,!1,d);return e.dispose(),I}return this._findNextMatchSync(e,t,!1,d)}_findNextMatchSync(e,t,i,d){const I=this._onigBinding,o=I.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),d);if(o===0)return null;const b=I.HEAPU32;let y=o/4;const f=b[y++],x=b[y++],N=[];for(let K=0;K<x;K++){const U=e.convertUtf8OffsetToUtf16(b[y++]),P=e.convertUtf8OffsetToUtf16(b[y++]);N[K]={start:U,end:P,length:P-U}}return{index:f,captureIndices:N}}}function Q0(n){return typeof n.instantiator=="function"}function I0(n){return typeof n.default=="function"}function f0(n){return typeof n.data<"u"}function w0(n){return typeof Response<"u"&&n instanceof Response}function b0(n){var e;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let Ga;function y0(n){if(Ga)return Ga;async function e(){Gt=await B0(async t=>{let i=n;return i=await i,typeof i=="function"&&(i=await i(t)),typeof i=="function"&&(i=await i(t)),Q0(i)?i=await i.instantiator(t):I0(i)?i=await i.default(t):(f0(i)&&(i=i.data),w0(i)?typeof WebAssembly.instantiateStreaming=="function"?i=await D0(i)(t):i=await v0(i)(t):b0(i)?i=await oc(i)(t):i instanceof WebAssembly.Module?i=await oc(i)(t):"default"in i&&i.default instanceof WebAssembly.Module&&(i=await oc(i.default)(t))),"instance"in i&&(i=i.instance),"exports"in i&&(i=i.exports),i})}return Ga=e(),Ga}function oc(n){return e=>WebAssembly.instantiate(n,e)}function D0(n){return e=>WebAssembly.instantiateStreaming(n,e)}function v0(n){return async e=>{const t=await n.arrayBuffer();return WebAssembly.instantiate(t,e)}}let k0;function _0(){return k0}async function M0(n){return n&&await y0(n),{createScanner(e){return new E0(e)},createString(e){return new La(e)}}}function x0(n){return rc(n)}function rc(n){return Array.isArray(n)?S0(n):typeof n=="object"?N0(n):n}function S0(n){let e=[];for(let t=0,i=n.length;t<i;t++)e[t]=rc(n[t]);return e}function N0(n){let e={};for(let t in n)e[t]=rc(n[t]);return e}function Hu(n,...e){return e.forEach(t=>{for(let i in t)n[i]=t[i]}),n}function Ku(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Ku(n.substring(0,n.length-1)):n.substr(~e+1)}var ac=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Pa=class{static hasCaptures(n){return n===null?!1:(ac.lastIndex=0,ac.test(n))}static replaceCaptures(n,e,t){return n.replace(ac,(i,d,I,o)=>{let b=t[parseInt(d||I,10)];if(b){let y=e.substring(b.start,b.end);for(;y[0]===".";)y=y.substring(1);switch(o){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}else return i})}};function Tu(n,e){return n<e?-1:n>e?1:0}function Uu(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,i=e.length;if(t===i){for(let d=0;d<t;d++){let I=Tu(n[d],e[d]);if(I!==0)return I}return 0}return t-i}function Yu(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Ou(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var $u=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const e=this.fn(n);return this.cache.set(n,e),e}},Ha=class{constructor(n,e,t){this._colorMap=n,this._defaults=e,this._root=t,this._cachedMatchRoot=new $u(i=>this._root.match(i))}static createFromRawTheme(n,e){return this.createFromParsedTheme(L0(n),e)}static createFromParsedTheme(n,e){return P0(n,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,i=this._cachedMatchRoot.get(e).find(d=>F0(n.parent,d.parentScopes));return i?new zu(i.fontStyle,i.foreground,i.background):null}},sc=class kl{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const i of t)e=new kl(e,i);return e}static from(...e){let t=null;for(let i=0;i<e.length;i++)t=new kl(t,e[i]);return t}push(e){return new kl(this,e)}getSegments(){let e=this;const t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const t=[];let i=this;for(;i&&i!==e;)t.push(i.scopeName),i=i.parent;return i===e?t.reverse():void 0}};function F0(n,e){if(e.length===0)return!0;for(let t=0;t<e.length;t++){let i=e[t],d=!1;if(i===">"){if(t===e.length-1)return!1;i=e[++t],d=!0}for(;n&&!R0(n.scopeName,i);){if(d)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function R0(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var zu=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function L0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],i=0;for(let d=0,I=e.length;d<I;d++){let o=e[d];if(!o.settings)continue;let b;if(typeof o.scope=="string"){let N=o.scope;N=N.replace(/^[,]+/,""),N=N.replace(/[,]+$/,""),b=N.split(",")}else Array.isArray(o.scope)?b=o.scope:b=[""];let y=-1;if(typeof o.settings.fontStyle=="string"){y=0;let N=o.settings.fontStyle.split(" ");for(let K=0,U=N.length;K<U;K++)switch(N[K]){case"italic":y=y|1;break;case"bold":y=y|2;break;case"underline":y=y|4;break;case"strikethrough":y=y|8;break}}let f=null;typeof o.settings.foreground=="string"&&Yu(o.settings.foreground)&&(f=o.settings.foreground);let x=null;typeof o.settings.background=="string"&&Yu(o.settings.background)&&(x=o.settings.background);for(let N=0,K=b.length;N<K;N++){let P=b[N].trim().split(" "),G=P[P.length-1],k=null;P.length>1&&(k=P.slice(0,P.length-1),k.reverse()),t[i++]=new G0(G,k,d,y,f,x)}}return t}var G0=class{constructor(n,e,t,i,d,I){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=i,this.foreground=d,this.background=I}},hi=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(hi||{});function P0(n,e){n.sort((y,f)=>{let x=Tu(y.scope,f.scope);return x!==0||(x=Uu(y.parentScopes,f.parentScopes),x!==0)?x:y.index-f.index});let t=0,i="#000000",d="#ffffff";for(;n.length>=1&&n[0].scope==="";){let y=n.shift();y.fontStyle!==-1&&(t=y.fontStyle),y.foreground!==null&&(i=y.foreground),y.background!==null&&(d=y.background)}let I=new H0(e),o=new zu(t,I.getId(i),I.getId(d)),b=new T0(new lc(0,null,-1,0,0),[]);for(let y=0,f=n.length;y<f;y++){let x=n[y];b.insert(0,x.scope,x.parentScopes,x.fontStyle,I.getId(x.foreground),I.getId(x.background))}return new Ha(I,o,b)}var H0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let e=0,t=n.length;e<t;e++)this._color2id[n[e]]=e,this._id2color[e]=n[e]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let e=this._color2id[n];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return e=++this._lastColorId,this._color2id[n]=e,this._id2color[e]=n,e}getColorMap(){return this._id2color.slice(0)}},K0=Object.freeze([]),lc=class Cm{constructor(e,t,i,d,I){this.scopeDepth=e,this.parentScopes=t||K0,this.fontStyle=i,this.foreground=d,this.background=I}clone(){return new Cm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let i=0,d=e.length;i<d;i++)t[i]=e[i].clone();return t}acceptOverwrite(e,t,i,d){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),i!==0&&(this.foreground=i),d!==0&&(this.background=d)}},T0=class Qd{constructor(e,t=[],i={}){this._mainRule=e,this._children=i,this._rulesWithParentScopes=t}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let i=0,d=0;for(;e.parentScopes[i]===">"&&i++,t.parentScopes[d]===">"&&d++,!(i>=e.parentScopes.length||d>=t.parentScopes.length);){const I=t.parentScopes[d].length-e.parentScopes[i].length;if(I!==0)return I;i++,d++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let i=e.indexOf("."),d,I;if(i===-1?(d=e,I=""):(d=e.substring(0,i),I=e.substring(i+1)),this._children.hasOwnProperty(d))return this._children[d].match(I)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(Qd._cmpBySpecificity),t}insert(e,t,i,d,I,o){if(t===""){this._doInsertHere(e,i,d,I,o);return}let b=t.indexOf("."),y,f;b===-1?(y=t,f=""):(y=t.substring(0,b),f=t.substring(b+1));let x;this._children.hasOwnProperty(y)?x=this._children[y]:(x=new Qd(this._mainRule.clone(),lc.cloneArr(this._rulesWithParentScopes)),this._children[y]=x),x.insert(e+1,f,i,d,I,o)}_doInsertHere(e,t,i,d,I){if(t===null){this._mainRule.acceptOverwrite(e,i,d,I);return}for(let o=0,b=this._rulesWithParentScopes.length;o<b;o++){let y=this._rulesWithParentScopes[o];if(Uu(y.parentScopes,t)===0){y.acceptOverwrite(e,i,d,I);return}}i===-1&&(i=this._mainRule.fontStyle),d===0&&(d=this._mainRule.foreground),I===0&&(I=this._mainRule.background),this._rulesWithParentScopes.push(new lc(e,t,i,d,I))}},No=class Yn{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const t=Yn.getLanguageId(e),i=Yn.getTokenType(e),d=Yn.getFontStyle(e),I=Yn.getForeground(e),o=Yn.getBackground(e);console.log({languageId:t,tokenType:i,fontStyle:d,foreground:I,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,i,d,I,o,b){let y=Yn.getLanguageId(e),f=Yn.getTokenType(e),x=Yn.containsBalancedBrackets(e)?1:0,N=Yn.getFontStyle(e),K=Yn.getForeground(e),U=Yn.getBackground(e);return t!==0&&(y=t),i!==8&&(f=i),d!==null&&(x=d?1:0),I!==-1&&(N=I),o!==0&&(K=o),b!==0&&(U=b),(y<<0|f<<8|x<<10|N<<11|K<<15|U<<24)>>>0}};function AP(n){return n}function eP(n){return n}function Ka(n,e){const t=[],i=U0(n);let d=i.next();for(;d!==null;){let y=0;if(d.length===2&&d.charAt(1)===":"){switch(d.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${d} in scope selector`)}d=i.next()}let f=o();if(t.push({matcher:f,priority:y}),d!==",")break;d=i.next()}return t;function I(){if(d==="-"){d=i.next();const y=I();return f=>!!y&&!y(f)}if(d==="("){d=i.next();const y=b();return d===")"&&(d=i.next()),y}if(Ju(d)){const y=[];do y.push(d),d=i.next();while(Ju(d));return f=>e(y,f)}return null}function o(){const y=[];let f=I();for(;f;)y.push(f),f=I();return x=>y.every(N=>N(x))}function b(){const y=[];let f=o();for(;f&&(y.push(f),d==="|"||d===",");){do d=i.next();while(d==="|"||d===",");f=o()}return x=>y.some(N=>N(x))}}function Ju(n){return!!n&&!!n.match(/[\w\.:]+/)}function U0(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const i=t[0];return t=e.exec(n),i}}}function Zu(n){typeof n.dispose=="function"&&n.dispose()}var mr=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},Y0=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},O0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},$0=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mr(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const e=new O0;for(const t of n)z0(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mr){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function z0(n,e,t,i){const d=t.lookup(n.scopeName);if(!d){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const I=t.lookup(e);n instanceof mr?Ta({baseGrammar:I,selfGrammar:d},i):cc(n.ruleName,{baseGrammar:I,selfGrammar:d,repository:d.repository},i);const o=t.injections(n.scopeName);if(o)for(const b of o)i.add(new mr(b))}function cc(n,e,t){if(e.repository&&e.repository[n]){const i=e.repository[n];Ua([i],e,t)}}function Ta(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&Ua(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&Ua(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function Ua(n,e,t){for(const i of n){if(t.visitedRule.has(i))continue;t.visitedRule.add(i);const d=i.repository?Hu({},e.repository,i.repository):e.repository;Array.isArray(i.patterns)&&Ua(i.patterns,{...e,repository:d},t);const I=i.include;if(!I)continue;const o=Wu(I);switch(o.kind){case 0:Ta({...e,selfGrammar:e.baseGrammar},t);break;case 1:Ta(e,t);break;case 2:cc(o.ruleName,{...e,repository:d},t);break;case 3:case 4:const b=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(b){const y={baseGrammar:e.baseGrammar,selfGrammar:b,repository:d};o.kind===4?cc(o.ruleName,y,t):Ta(y,t)}else o.kind===4?t.add(new Y0(o.scopeName,o.ruleName)):t.add(new mr(o.scopeName));break}}}var J0=class{constructor(){this.kind=0}},Z0=class{constructor(){this.kind=1}},W0=class{constructor(n){this.ruleName=n,this.kind=2}},j0=class{constructor(n){this.scopeName=n,this.kind=3}},q0=class{constructor(n,e){this.scopeName=n,this.ruleName=e,this.kind=4}};function Wu(n){if(n==="$base")return new J0;if(n==="$self")return new Z0;const e=n.indexOf("#");if(e===-1)return new j0(n);if(e===0)return new W0(n.substring(1));{const t=n.substring(0,e),i=n.substring(e+1);return new q0(t,i)}}var X0=/\\(\d+)/,ju=/\\(\d+)/g,V0=-1,qu=-2;function tP(n){return n}function nP(n){return n}var Er=class{constructor(n,e,t,i){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=Pa.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Pa.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Ku(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:Pa.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Pa.replaceCaptures(this._contentName,n,e)}},Ab=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.retokenizeCapturedWithRuleId=d}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,i){throw new Error("Not supported!")}},eb=class extends Er{constructor(n,e,t,i,d){super(n,e,t,null),this._match=new Qr(i,this.id),this.captures=d,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ir,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Xu=class extends Er{constructor(n,e,t,i,d){super(n,e,t,i),this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ir,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},gc=class extends Er{constructor(n,e,t,i,d,I,o,b,y,f){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=I,this._end=new Qr(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=y||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,i)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ir;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},Ya=class extends Er{constructor(n,e,t,i,d,I,o,b,y){super(n,e,t,i),this._begin=new Qr(d,this.id),this.beginCaptures=I,this.whileCaptures=b,this._while=new Qr(o,qu),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=y.patterns,this.hasMissingPatterns=y.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,i){return this._getCachedCompiledPatterns(n).compileAG(n,t,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ir;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,i){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,i)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ir,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},Vu=class Jt{static createCaptureRule(e,t,i,d,I){return e.registerRule(o=>new Ab(t,o,i,d,I))}static getCompiledRuleId(e,t,i){return e.id||t.registerRule(d=>{if(e.id=d,e.match)return new eb(e.$vscodeTextmateLocation,e.id,e.name,e.match,Jt._compileCaptures(e.captures,t,i));if(typeof e.begin>"u"){e.repository&&(i=Hu({},i,e.repository));let I=e.patterns;return typeof I>"u"&&e.include&&(I=[{include:e.include}]),new Xu(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Jt._compilePatterns(I,t,i))}return e.while?new Ya(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.while,Jt._compileCaptures(e.whileCaptures||e.captures,t,i),Jt._compilePatterns(e.patterns,t,i)):new gc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Jt._compileCaptures(e.beginCaptures||e.captures,t,i),e.end,Jt._compileCaptures(e.endCaptures||e.captures,t,i),e.applyEndPatternLast,Jt._compilePatterns(e.patterns,t,i))}),e.id}static _compileCaptures(e,t,i){let d=[];if(e){let I=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);b>I&&(I=b)}for(let o=0;o<=I;o++)d[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const b=parseInt(o,10);let y=0;e[o].patterns&&(y=Jt.getCompiledRuleId(e[o],t,i)),d[b]=Jt.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,y)}}return d}static _compilePatterns(e,t,i){let d=[];if(e)for(let I=0,o=e.length;I<o;I++){const b=e[I];let y=-1;if(b.include){const f=Wu(b.include);switch(f.kind){case 0:case 1:y=Jt.getCompiledRuleId(i[b.include],t,i);break;case 2:let x=i[f.ruleName];x&&(y=Jt.getCompiledRuleId(x,t,i));break;case 3:case 4:const N=f.scopeName,K=f.kind===4?f.ruleName:null,U=t.getExternalGrammar(N,i);if(U)if(K){let P=U.repository[K];P&&(y=Jt.getCompiledRuleId(P,t,U.repository))}else y=Jt.getCompiledRuleId(U.repository.$self,t,U.repository);break}}else y=Jt.getCompiledRuleId(b,t,i);if(y!==-1){const f=t.getRule(y);let x=!1;if((f instanceof Xu||f instanceof gc||f instanceof Ya)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;d.push(y)}}return{patterns:d,hasMissingPatterns:(e?e.length:0)!==d.length}}},Qr=class Bm{constructor(e,t){if(e){const i=e.length;let d=0,I=[],o=!1;for(let b=0;b<i;b++)if(e.charAt(b)==="\\"&&b+1<i){const f=e.charAt(b+1);f==="z"?(I.push(e.substring(d,b)),I.push("$(?!\\n)(?<!\\n)"),d=b+2):(f==="A"||f==="G")&&(o=!0),b++}this.hasAnchor=o,d===0?this.source=e:(I.push(e.substring(d,i)),this.source=I.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,this.hasBackReferences=X0.test(this.source)}clone(){return new Bm(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){let i=t.map(d=>e.substring(d.start,d.end));return ju.lastIndex=0,this.source.replace(ju,(d,I)=>Ou(i[parseInt(I,10)]||""))}_buildAnchorCache(){let e=[],t=[],i=[],d=[],I,o,b,y;for(I=0,o=this.source.length;I<o;I++)b=this.source.charAt(I),e[I]=b,t[I]=b,i[I]=b,d[I]=b,b==="\\"&&I+1<o&&(y=this.source.charAt(I+1),y==="A"?(e[I+1]="￿",t[I+1]="￿",i[I+1]="A",d[I+1]="A"):y==="G"?(e[I+1]="￿",t[I+1]="G",i[I+1]="￿",d[I+1]="G"):(e[I+1]=y,t[I+1]=y,i[I+1]=y,d[I+1]=y),I++);return{A0_G0:e.join(""),A0_G1:t.join(""),A1_G0:i.join(""),A1_G1:d.join("")}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Ir=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,e){this._items[n].source!==e&&(this._disposeCaches(),this._items[n].setSource(e))}compile(n){if(!this._cached){let e=this._items.map(t=>t.source);this._cached=new Ah(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let i=this._items.map(d=>d.resolveAnchors(e,t));return new Ah(n,i,this._items.map(d=>d.ruleId))}},Ah=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e<t;e++)n.push(" - "+this.rules[e]+": "+this.regExps[e]);return n.join(`
81
81
  `)}findNextMatchSync(n,e,t){const i=this.scanner.findNextMatchSync(n,e,t);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}},dc=class{constructor(n,e){this.languageId=n,this.tokenType=e}},uc=class Id{constructor(e,t){this._getBasicScopeAttributes=new $u(i=>{const d=this._scopeToLanguage(i),I=this._toStandardTokenType(i);return new dc(d,I)}),this._defaultAttributes=new dc(e,8),this._embeddedLanguagesMatcher=new nb(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?Id._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(Id.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};uc._NULL_SCOPE_METADATA=new dc(0,0),uc.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var tb=uc,nb=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,i])=>Ou(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var eh=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function th(n,e,t,i,d,I,o,b){const y=e.content.length;let f=!1,x=-1;if(o){const U=ib(n,e,t,i,d,I);d=U.stack,i=U.linePos,t=U.isFirstLine,x=U.anchorPosition}const N=Date.now();for(;!f;){if(b!==0&&Date.now()-N>b)return new eh(d,!0);K()}return new eh(d,!1);function K(){const U=ob(n,e,t,i,d,x);if(!U){I.produce(d,y),f=!0;return}const P=U.captureIndices,G=U.matchedRuleId,k=P&&P.length>0?P[0].end>i:!1;if(G===V0){const m=d.getRule(n);I.produce(d,P[0].start),d=d.withContentNameScopesList(d.nameScopesList),fr(n,e,t,d,I,m.endCaptures,P),I.produce(d,P[0].end);const F=d;if(d=d.parent,x=F.getAnchorPos(),!k&&F.getEnterPos()===i){d=F,I.produce(d,y),f=!0;return}}else{const m=n.getRule(G);I.produce(d,P[0].start);const F=d,_=m.getName(e.content,P),v=d.contentNameScopesList.pushAttributed(_,n);if(d=d.push(G,i,x,P[0].end===y,null,v,v),m instanceof gc){const B=m;fr(n,e,t,d,I,B.beginCaptures,P),I.produce(d,P[0].end),x=P[0].end;const p=B.getContentName(e.content,P),u=v.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.endHasBackReferences&&(d=d.withEndRule(B.getEndWithResolvedBackReferences(e.content,P))),!k&&F.hasSameRuleAs(d)){d=d.pop(),I.produce(d,y),f=!0;return}}else if(m instanceof Ya){const B=m;fr(n,e,t,d,I,B.beginCaptures,P),I.produce(d,P[0].end),x=P[0].end;const p=B.getContentName(e.content,P),u=v.pushAttributed(p,n);if(d=d.withContentNameScopesList(u),B.whileHasBackReferences&&(d=d.withEndRule(B.getWhileWithResolvedBackReferences(e.content,P))),!k&&F.hasSameRuleAs(d)){d=d.pop(),I.produce(d,y),f=!0;return}}else if(fr(n,e,t,d,I,m.captures,P),I.produce(d,P[0].end),d=d.pop(),!k){d=d.safePop(),I.produce(d,y),f=!0;return}}P[0].end>i&&(i=P[0].end,t=!1)}}function ib(n,e,t,i,d,I){let o=d.beginRuleCapturedEOL?0:-1;const b=[];for(let y=d;y;y=y.pop()){const f=y.getRule(n);f instanceof Ya&&b.push({rule:f,stack:y})}for(let y=b.pop();y;y=b.pop()){const{ruleScanner:f,findOptions:x}=sb(y.rule,n,y.stack.endRule,t,i===o),N=f.findNextMatchSync(e,i,x);if(N){if(N.ruleId!==qu){d=y.stack.pop();break}N.captureIndices&&N.captureIndices.length&&(I.produce(y.stack,N.captureIndices[0].start),fr(n,e,t,y.stack,I,y.rule.whileCaptures,N.captureIndices),I.produce(y.stack,N.captureIndices[0].end),o=N.captureIndices[0].end,N.captureIndices[0].end>i&&(i=N.captureIndices[0].end,t=!1))}else{d=y.stack.pop();break}}return{stack:d,linePos:i,anchorPosition:o,isFirstLine:t}}function ob(n,e,t,i,d,I){const o=rb(n,e,t,i,d,I),b=n.getInjections();if(b.length===0)return o;const y=ab(b,n,e,t,i,d,I);if(!y)return o;if(!o)return y;const f=o.captureIndices[0].start,x=y.captureIndices[0].start;return x<f||y.priorityMatch&&x===f?y:o}function rb(n,e,t,i,d,I){const o=d.getRule(n),{ruleScanner:b,findOptions:y}=nh(o,n,d.endRule,t,i===I),f=b.findNextMatchSync(e,i,y);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function ab(n,e,t,i,d,I,o){let b=Number.MAX_VALUE,y=null,f,x=0;const N=I.contentNameScopesList.getScopeNames();for(let K=0,U=n.length;K<U;K++){const P=n[K];if(!P.matcher(N))continue;const G=e.getRule(P.ruleId),{ruleScanner:k,findOptions:m}=nh(G,e,null,i,d===o),F=k.findNextMatchSync(t,d,m);if(!F)continue;const _=F.captureIndices[0].start;if(!(_>=b)&&(b=_,y=F.captureIndices,f=F.ruleId,x=P.priority,b===d))break}return y?{priorityMatch:x===-1,captureIndices:y,matchedRuleId:f}:null}function nh(n,e,t,i,d){return{ruleScanner:n.compileAG(e,t,i,d),findOptions:0}}function sb(n,e,t,i,d){return{ruleScanner:n.compileWhileAG(e,t,i,d),findOptions:0}}function fr(n,e,t,i,d,I,o){if(I.length===0)return;const b=e.content,y=Math.min(I.length,o.length),f=[],x=o[0].end;for(let N=0;N<y;N++){const K=I[N];if(K===null)continue;const U=o[N];if(U.length===0)continue;if(U.start>x)break;for(;f.length>0&&f[f.length-1].endPos<=U.start;)d.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?d.produceFromScopes(f[f.length-1].scopes,U.start):d.produce(i,U.start),K.retokenizeCapturedWithRuleId){const G=K.getName(b,o),k=i.contentNameScopesList.pushAttributed(G,n),m=K.getContentName(b,o),F=k.pushAttributed(m,n),_=i.push(K.retokenizeCapturedWithRuleId,U.start,-1,!1,null,k,F),v=n.createOnigString(b.substring(0,U.end));th(n,v,t&&U.start===0,U.start,_,d,!1,0),Zu(v);continue}const P=K.getName(b,o);if(P!==null){const k=(f.length>0?f[f.length-1].scopes:i.contentNameScopesList).pushAttributed(P,n);f.push(new lb(k,U.end))}}for(;f.length>0;)d.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var lb=class{constructor(n,e){this.scopes=n,this.endPos=e}};function cb(n,e,t,i,d,I,o,b){return new db(n,e,t,i,d,I,o,b)}function ih(n,e,t,i,d){const I=Ka(e,Oa),o=Vu.getCompiledRuleId(t,i,d.repository);for(const b of I)n.push({debugSelector:e,matcher:b.matcher,ruleId:o,grammar:d,priority:b.priority})}function Oa(n,e){if(e.length<n.length)return!1;let t=0;return n.every(i=>{for(let d=t;d<e.length;d++)if(gb(e[d],i))return t=d+1,!0;return!1})}function gb(n,e){if(!n)return!1;if(n===e)return!0;const t=e.length;return n.length>t&&n.substr(0,t)===e&&n[t]==="."}var db=class{constructor(n,e,t,i,d,I,o,b){if(this._rootScopeName=n,this.balancedBracketSelectors=I,this._onigLib=b,this._basicScopeAttributesProvider=new tb(t,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=oh(e,null),this._injections=null,this._tokenTypeMatchers=[],d)for(const y of Object.keys(d)){const f=Ka(y,Oa);for(const x of f)this._tokenTypeMatchers.push({matcher:x.matcher,type:d[y]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:d=>d===this._rootScopeName?this._grammar:this.getExternalGrammar(d),injections:d=>this._grammarRepository.injections(d)},e=[],t=this._rootScopeName,i=n.lookup(t);if(i){const d=i.injections;if(d)for(let o in d)ih(e,o,d[o],this,i);const I=this._grammarRepository.injections(t);I&&I.forEach(o=>{const b=this.getExternalGrammar(o);if(b){const y=b.injectionSelector;y&&ih(e,y,b,this,b)}})}return e.sort((d,I)=>d.priority-I.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=oh(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const i=this._tokenize(n,e,!1,t);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(n,e,t=0){const i=this._tokenize(n,e,!0,t);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(n,e,t,i){this._rootId===-1&&(this._rootId=Vu.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let d;if(!e||e===pc.NULL){d=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),x=this.themeProvider.getDefaults(),N=No.set(0,f.languageId,f.tokenType,null,x.fontStyle,x.foregroundId,x.backgroundId),K=this.getRule(this._rootId).getName(null,null);let U;K?U=wr.createRootAndLookUpScopeName(K,N,this):U=wr.createRoot("unknown",N),e=new pc(null,this._rootId,-1,-1,!1,null,U,U)}else d=!1,e.reset();n=n+`
82
82
  `;const I=this.createOnigString(n),o=I.content.length,b=new hb(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),y=th(this,I,d,0,e,b,!0,i);return Zu(I),{lineLength:o,lineTokens:b,ruleStack:y.stack,stoppedEarly:y.stoppedEarly}}};function oh(n,e){return n=x0(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var wr=class ui{constructor(e,t,i){this.parent=e,this.scopePath=t,this.tokenAttributes=i}static fromExtension(e,t){let i=e,d=(e==null?void 0:e.scopePath)??null;for(const I of t)d=sc.push(d,I.scopeNames),i=new ui(i,d,I.encodedTokenAttributes);return i}static createRoot(e,t){return new ui(null,new sc(null,e),t)}static createRootAndLookUpScopeName(e,t,i){const d=i.getMetadataForScope(e),I=new sc(null,e),o=i.themeProvider.themeMatch(I),b=ui.mergeAttributes(t,d,o);return new ui(null,I,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return ui.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,i){let d=-1,I=0,o=0;return i!==null&&(d=i.fontStyle,I=i.foregroundId,o=i.backgroundId),No.set(e,t.languageId,t.tokenType,null,d,I,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return ui._pushAttributed(this,e,t);const i=e.split(/ /g);let d=this;for(const I of i)d=ui._pushAttributed(d,I,t);return d}static _pushAttributed(e,t,i){const d=i.getMetadataForScope(t),I=e.scopePath.push(t),o=i.themeProvider.themeMatch(I),b=ui.mergeAttributes(e.tokenAttributes,d,o);return new ui(e,I,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var d;const t=[];let i=this;for(;i&&i!==e;)t.push({encodedTokenAttributes:i.tokenAttributes,scopeNames:i.scopePath.getExtensionIfDefined(((d=i.parent)==null?void 0:d.scopePath)??null)}),i=i.parent;return i===e?t.reverse():void 0}},hc=class dr{constructor(e,t,i,d,I,o,b,y){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=I,this.endRule=o,this.nameScopesList=b,this.contentNameScopesList=y,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=i,this._anchorPos=d}equals(e){return e===null?!1:dr._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?wr.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){dr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,i,d,I,o,b){return new dr(this,e,t,i,d,I,o,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var i,d;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(i=this.nameScopesList)==null?void 0:i.toString()}, ${(d=this.contentNameScopesList)==null?void 0:d.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new dr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,i;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((i=this.contentNameScopesList)==null?void 0:i.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const i=wr.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new dr(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,i,wr.fromExtension(i,t.contentNameScopesList))}};hc.NULL=new hc(null,0,0,0,!1,null,null,null);var pc=hc,ub=class{constructor(n,e){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):Ka(t,Oa).map(i=>i.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>Ka(t,Oa).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},hb=class{constructor(n,e,t,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){var i;if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let d=(n==null?void 0:n.tokenAttributes)??0,I=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(o)&&(d=No.set(d,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(o))}if(I&&(d=No.set(d,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===d){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(d),this._lastTokenEndIndex=e;return}const t=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let i=0,d=this._binaryTokens.length;i<d;i++)t[i]=this._binaryTokens[i];return t}},pb=class{constructor(n,e){this._onigLib=e,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,e){this._rawGrammars.set(n.scopeName,n),e&&this._injectionGrammars.set(n.scopeName,e)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,e,t,i,d){if(!this._grammars.has(n)){let I=this._rawGrammars.get(n);if(!I)return null;this._grammars.set(n,cb(n,I,e,t,i,d,this,this._onigLib))}return this._grammars.get(n)}},Cb=class{constructor(e){this._options=e,this._syncRegistry=new pb(Ha.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Ha.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,i){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:i})}loadGrammarWithConfiguration(e,t,i){return this._loadGrammar(e,t,i.embeddedLanguages,i.tokenTypes,new ub(i.balancedBracketSelectors||[],i.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,i,d,I){const o=new $0(this._syncRegistry,e);for(;o.Q.length>0;)o.Q.map(b=>this._loadSingleGrammar(b.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,i,d,I)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const i=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,i)}}addGrammar(e,t=[],i=0,d=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,i,d)}_grammarForScopeName(e,t=0,i=null,d=null,I=null){return this._syncRegistry.grammarForScopeName(e,t,i,d,I)}},Cc=pc.NULL;const Bb=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class br{constructor(e,t,i){this.property=e,this.normal=t,i&&(this.space=i)}}br.prototype.property={},br.prototype.normal={},br.prototype.space=null;function rh(n,e){const t={},i={};let d=-1;for(;++d<n.length;)Object.assign(t,n[d].property),Object.assign(i,n[d].normal);return new br(t,i,e)}function Bc(n){return n.toLowerCase()}class xn{constructor(e,t){this.property=e,this.attribute=t}}xn.prototype.space=null,xn.prototype.boolean=!1,xn.prototype.booleanish=!1,xn.prototype.overloadedBoolean=!1,xn.prototype.number=!1,xn.prototype.commaSeparated=!1,xn.prototype.spaceSeparated=!1,xn.prototype.commaOrSpaceSeparated=!1,xn.prototype.mustUseProperty=!1,xn.prototype.defined=!1;let mb=0;const Ue=Vi(),_t=Vi(),ah=Vi(),pe=Vi(),ht=Vi(),Fo=Vi(),mn=Vi();function Vi(){return 2**++mb}const mc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ue,booleanish:_t,commaOrSpaceSeparated:mn,commaSeparated:Fo,number:pe,overloadedBoolean:ah,spaceSeparated:ht},Symbol.toStringTag,{value:"Module"})),Ec=Object.keys(mc);class Qc extends xn{constructor(e,t,i,d){let I=-1;if(super(e,t),sh(this,"space",d),typeof i=="number")for(;++I<Ec.length;){const o=Ec[I];sh(this,Ec[I],(i&mc[o])===mc[o])}}}Qc.prototype.defined=!0;function sh(n,e,t){t&&(n[e]=t)}const Eb={}.hasOwnProperty;function Ro(n){const e={},t={};let i;for(i in n.properties)if(Eb.call(n.properties,i)){const d=n.properties[i],I=new Qc(i,n.transform(n.attributes||{},i),d,n.space);n.mustUseProperty&&n.mustUseProperty.includes(i)&&(I.mustUseProperty=!0),e[i]=I,t[Bc(i)]=i,t[Bc(I.attribute)]=i}return new br(e,t,n.space)}const lh=Ro({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ch=Ro({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gh(n,e){return e in n?n[e]:e}function dh(n,e){return gh(n,e.toLowerCase())}const uh=Ro({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dh,properties:{xmlns:null,xmlnsXLink:null}}),hh=Ro({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_t,ariaAutoComplete:null,ariaBusy:_t,ariaChecked:_t,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:ht,ariaCurrent:null,ariaDescribedBy:ht,ariaDetails:null,ariaDisabled:_t,ariaDropEffect:ht,ariaErrorMessage:null,ariaExpanded:_t,ariaFlowTo:ht,ariaGrabbed:_t,ariaHasPopup:null,ariaHidden:_t,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ht,ariaLevel:pe,ariaLive:null,ariaModal:_t,ariaMultiLine:_t,ariaMultiSelectable:_t,ariaOrientation:null,ariaOwns:ht,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:_t,ariaReadOnly:_t,ariaRelevant:null,ariaRequired:_t,ariaRoleDescription:ht,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:_t,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}}),Qb=Ro({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fo,acceptCharset:ht,accessKey:ht,action:null,allow:null,allowFullScreen:Ue,allowPaymentRequest:Ue,allowUserMedia:Ue,alt:null,as:null,async:Ue,autoCapitalize:null,autoComplete:ht,autoFocus:Ue,autoPlay:Ue,blocking:ht,capture:null,charSet:null,checked:Ue,cite:null,className:ht,cols:pe,colSpan:null,content:null,contentEditable:_t,controls:Ue,controlsList:ht,coords:pe|Fo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ue,defer:Ue,dir:null,dirName:null,disabled:Ue,download:ah,draggable:_t,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ue,formTarget:null,headers:ht,height:pe,hidden:Ue,high:pe,href:null,hrefLang:null,htmlFor:ht,httpEquiv:ht,id:null,imageSizes:null,imageSrcSet:null,inert:Ue,inputMode:null,integrity:null,is:null,isMap:Ue,itemId:null,itemProp:ht,itemRef:ht,itemScope:Ue,itemType:ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ue,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Ue,muted:Ue,name:null,nonce:null,noModule:Ue,noValidate:Ue,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ue,optimum:pe,pattern:null,ping:ht,placeholder:null,playsInline:Ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ue,referrerPolicy:null,rel:ht,required:Ue,reversed:Ue,rows:pe,rowSpan:pe,sandbox:ht,scope:null,scoped:Ue,seamless:Ue,selected:Ue,shadowRootClonable:Ue,shadowRootDelegatesFocus:Ue,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:_t,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Ue,useMap:null,value:_t,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ht,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ue,declare:Ue,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Ue,noHref:Ue,noShade:Ue,noWrap:Ue,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:_t,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ue,disableRemotePlayback:Ue,prefix:null,property:null,results:pe,security:null,unselectable:null}}),Ib=Ro({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:gh,properties:{about:mn,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Fo,g2:Fo,glyphName:Fo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:mn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mn,rev:mn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mn,requiredFeatures:mn,requiredFonts:mn,requiredFormats:mn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:mn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mn,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),fb=/^data[-\w.:]+$/i,ph=/-[a-z]/g,wb=/[A-Z]/g;function bb(n,e){const t=Bc(e);let i=e,d=xn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&fb.test(e)){if(e.charAt(4)==="-"){const I=e.slice(5).replace(ph,Db);i="data"+I.charAt(0).toUpperCase()+I.slice(1)}else{const I=e.slice(4);if(!ph.test(I)){let o=I.replace(wb,yb);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}d=Qc}return new d(i,e)}function yb(n){return"-"+n.toLowerCase()}function Db(n){return n.charAt(1).toUpperCase()}const vb=rh([ch,lh,uh,hh,Qb],"html"),Ch=rh([ch,lh,uh,hh,Ib],"svg"),Bh={}.hasOwnProperty;function kb(n,e){const t=e||{};function i(d,...I){let o=i.invalid;const b=i.handlers;if(d&&Bh.call(d,n)){const y=String(d[n]);o=Bh.call(b,y)?b[y]:i.unknown}if(o)return o.call(this,d,...I)}return i.handlers=t.handlers||{},i.invalid=t.invalid,i.unknown=t.unknown,i}const _b=/["&'<>`]/g,Mb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xb=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Sb=/[|\\{}()[\]^$+*?.]/g,mh=new WeakMap;function Nb(n,e){if(n=n.replace(e.subset?Fb(e.subset):_b,i),e.subset||e.escapeOnly)return n;return n.replace(Mb,t).replace(xb,i);function t(d,I,o){return e.format((d.charCodeAt(0)-55296)*1024+d.charCodeAt(1)-56320+65536,o.charCodeAt(I+2),e)}function i(d,I,o){return e.format(d.charCodeAt(0),o.charCodeAt(I+1),e)}}function Fb(n){let e=mh.get(n);return e||(e=Rb(n),mh.set(n,e)),e}function Rb(n){const e=[];let t=-1;for(;++t<n.length;)e.push(n[t].replace(Sb,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}const Lb=/[\dA-Fa-f]/;function Gb(n,e,t){const i="&#x"+n.toString(16).toUpperCase();return t&&e&&!Lb.test(String.fromCharCode(e))?i:i+";"}const Pb=/\d/;function Hb(n,e,t){const i="&#"+String(n);return t&&e&&!Pb.test(String.fromCharCode(e))?i:i+";"}const Kb=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ic={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Tb=["cent","copy","divide","gt","lt","not","para","times"],Eh={}.hasOwnProperty,fc={};let $a;for($a in Ic)Eh.call(Ic,$a)&&(fc[Ic[$a]]=$a);const Ub=/[^\dA-Za-z]/;function Yb(n,e,t,i){const d=String.fromCharCode(n);if(Eh.call(fc,d)){const I=fc[d],o="&"+I;return t&&Kb.includes(I)&&!Tb.includes(I)&&(!i||e&&e!==61&&Ub.test(String.fromCharCode(e)))?o:o+";"}return""}function Ob(n,e,t){let i=Gb(n,e,t.omitOptionalSemicolons),d;if((t.useNamedReferences||t.useShortestReferences)&&(d=Yb(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!d)&&t.useShortestReferences){const I=Hb(n,e,t.omitOptionalSemicolons);I.length<i.length&&(i=I)}return d&&(!t.useShortestReferences||d.length<i.length)?d:i}function Lo(n,e){return Nb(n,Object.assign({format:Ob},e))}const $b=/^>|^->|<!--|-->|--!>|<!-$/g,zb=[">"],Jb=["<",">"];function Zb(n,e,t,i){return i.settings.bogusComments?"<?"+Lo(n.value,Object.assign({},i.settings.characterReferences,{subset:zb}))+">":"<!--"+n.value.replace($b,d)+"-->";function d(I){return Lo(I,Object.assign({},i.settings.characterReferences,{subset:Jb}))}}function Wb(n,e,t,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}function Qh(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let i=0,d=t.indexOf(e);for(;d!==-1;)i++,d=t.indexOf(e,d+e.length);return i}function jb(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function qb(n){return n.join(" ").trim()}const Xb=/[ \t\n\f\r]/g;function wc(n){return typeof n=="object"?n.type==="text"?Ih(n.value):!1:Ih(n)}function Ih(n){return n.replace(Xb,"")===""}const St=wh(1),fh=wh(-1),Vb=[];function wh(n){return e;function e(t,i,d){const I=t?t.children:Vb;let o=(i||0)+n,b=I[o];if(!d)for(;b&&wc(b);)o+=n,b=I[o];return b}}const Ay={}.hasOwnProperty;function bh(n){return e;function e(t,i,d){return Ay.call(n,t.tagName)&&n[t.tagName](t,i,d)}}const bc=bh({body:ty,caption:yc,colgroup:yc,dd:ry,dt:oy,head:yc,html:ey,li:iy,optgroup:ay,option:sy,p:ny,rp:yh,rt:yh,tbody:cy,td:Dh,tfoot:gy,th:Dh,thead:ly,tr:dy});function yc(n,e,t){const i=St(t,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&wc(i.value.charAt(0)))}function ey(n,e,t){const i=St(t,e);return!i||i.type!=="comment"}function ty(n,e,t){const i=St(t,e);return!i||i.type!=="comment"}function ny(n,e,t){const i=St(t,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function iy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="li"}function oy(n,e,t){const i=St(t,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function ry(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function yh(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function ay(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function sy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function ly(n,e,t){const i=St(t,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function cy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function gy(n,e,t){return!St(t,e)}function dy(n,e,t){const i=St(t,e);return!i||i.type==="element"&&i.tagName==="tr"}function Dh(n,e,t){const i=St(t,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}const uy=bh({body:Cy,colgroup:By,head:py,html:hy,tbody:my});function hy(n){const e=St(n,-1);return!e||e.type!=="comment"}function py(n){const e=new Set;for(const i of n.children)if(i.type==="element"&&(i.tagName==="base"||i.tagName==="title")){if(e.has(i.tagName))return!1;e.add(i.tagName)}const t=n.children[0];return!t||t.type==="element"}function Cy(n){const e=St(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&wc(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function By(n,e,t){const i=fh(t,e),d=St(n,-1,!0);return t&&i&&i.type==="element"&&i.tagName==="colgroup"&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="col")}function my(n,e,t){const i=fh(t,e),d=St(n,-1);return t&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&bc(i,t.children.indexOf(i),t)?!1:!!(d&&d.type==="element"&&d.tagName==="tr")}const za={name:[[`
83
83
  \f\r &/=>`.split(""),`
@@ -93,21 +93,21 @@ You passed in: '`+this.raw_options[i]+"'");return o},n.prototype._is_valid_selec
93
93
  * @author RubaXa <trash@rubaxa.org>
94
94
  * @author owenm <owen23355@gmail.com>
95
95
  * @license MIT
96
- */function Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function Ai(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){HD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function HD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function KD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,I;for(I=0;I<i.length;I++)d=i[I],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function TD(n,e){if(n==null)return{};var t=KD(n,e),i,d;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(d=0;d<I.length;d++)i=I[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var UD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),YD=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function OD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ei(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=OD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,I=i.length;if(t)for(;d<I;d++)t(i[d],d);return i}return[]}function ti(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,y,f,x,N;if(n!==window&&n.parentNode&&n!==ti()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,y=I.bottom,f=I.right,x=I.height,N=I.width):(o=0,b=0,y=window.innerHeight,f=window.innerWidth,x=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var K=d.getBoundingClientRect();o-=K.top+parseInt(Le(d,"border-top-width")),b-=K.left+parseInt(Le(d,"border-left-width")),y=o+I.height,f=b+I.width;break}while(d=d.parentNode);if(i&&n!==window){var U=Po(d||n),P=U&&U.a,G=U&&U.d;U&&(o/=G,b/=P,N/=P,x/=G,y=o+x,f=b+N)}return{top:o,left:b,bottom:y,right:f,width:N,height:x}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var I=Nt(i)[t],o=void 0;if(o=d>=I,!o)return i;if(i===ti())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Ge.ghost&&(i||o[I]!==Ge.dragged)&&ei(o[I],t.draggable,n,!1)){if(d===e)return o[I];d++}I++}return null}function xc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function Sn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ti();if(n)do{var d=Po(n),I=d.a,o=d.d;e+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function $D(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ti();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ti();if(i||e)return t;i=!0}}while(t=t.parentNode);return ti()}function zD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Sc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var xr;function ep(n,e){return function(){if(!xr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),xr=setTimeout(function(){xr=void 0},e)}}}function JD(){clearTimeout(xr),xr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function ZD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var I=Ai({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(I.top-=o.f,I.left-=o.e)}d.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice($D(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var y=0,f=b.target,x=f.fromRect,N=Nt(f),K=f.prevFromRect,U=f.prevToRect,P=b.rect,G=Po(f,!0);G&&(N.top-=G.f,N.left-=G.e),f.toRect=N,f.thisAnimationDuration&&Sc(K,N)&&!Sc(x,N)&&(P.top-N.top)/(P.left-N.left)===(x.top-N.top)/(x.left-N.left)&&(y=jD(P,K,U,d.options)),Sc(N,x)||(f.prevFromRect=x,f.prevToRect=N,y||(y=d.options.animation),d.animate(f,P,N,y)),y&&(I=!0,o=Math.max(o,y),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},y),f.thisAnimationDuration=y)}),clearTimeout(e),I?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,I,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),y=b&&b.a,f=b&&b.d,x=(d.left-I.left)/(y||1),N=(d.top-I.top)/(f||1);i.animatingX=!!x,i.animatingY=!!N,Le(i,"transform","translate3d("+x+"px,"+N+"px,0)"),this.forRepaintDummy=WD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function WD(n){return n.offsetWidth}function jD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},Sr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var I=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](Ai({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](Ai({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var y=b.pluginName;if(!(!e.options[y]&&!b.initializeByDefault)){var f=new b(e,t,e.options);f.sortable=e,f.options=e.options,e[y]=f,pi(i,f.defaults)}});for(var I in e.options)if(e.options.hasOwnProperty(I)){var o=this.modifyOption(e,I,e.options[I]);typeof o<"u"&&(e.options[I]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(I){e[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(d=I.optionListeners[t].call(e[I.pluginName],i))}),d}};function qD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,y=n.oldIndex,f=n.newIndex,x=n.oldDraggableIndex,N=n.newDraggableIndex,K=n.originalEvent,U=n.putSortable,P=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var G,k=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?G=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(G=document.createEvent("Event"),G.initEvent(i,!0,!0)),G.to=o||t,G.from=b||t,G.item=d||t,G.clone=I,G.oldIndex=y,G.newIndex=f,G.oldDraggableIndex=x,G.newDraggableIndex=N,G.originalEvent=K,G.pullMode=U?U.lastPutMode:void 0;var F=Ai(Ai({},P),Sr.getEventProperties(i,e));for(var _ in F)G[_]=F[_];t&&t.dispatchEvent(G),k[m]&&k[m].call(e,G)}}var XD=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,I=TD(i,XD);Sr.pluginEvent.bind(Ge)(e,t,Ai({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Et,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:In,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},I))};function Wt(n){qD(Ai({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Et,oldIndex:To,oldDraggableIndex:Nr,newIndex:In,newDraggableIndex:Gi},n))}var me,wt,Ye,Et,no,ns,bt,Li,To,In,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,On,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",VD=cs&&!YD&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Ho(e,0,t),o=Ho(e,1,t),b=I&&Le(I),y=o&&Le(o),f=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(I).width,x=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+Nt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(y.clear==="both"||y.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||f>=d&&i[rp]==="none"||o&&i[rp]==="none"&&f+x>d)?"vertical":"horizontal"},Av=function(e,t,i){var d=i?e.left:e.top,I=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,y=i?t.right:t.bottom,f=i?t.width:t.height;return d===b||I===y||d+o/2===b+f/2},ev=function(e,t){var i;return rs.some(function(d){var I=d[Qn].options.emptyInsertThreshold;if(!(!I||xc(d))){var o=Nt(d),b=e>=o.left-I&&e<=o.right+I,y=t>=o.top-I&&t<=o.bottom+I;if(b&&y)return i=d}}),i},lp=function(e){function t(I,o){return function(b,y,f,x){var N=b.options.group.name&&y.options.group.name&&b.options.group.name===y.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,y,f,x),o)(b,y,f,x);var K=(o?b:y).options.group.name;return I===!0||typeof I=="string"&&I===K||I.join&&I.indexOf(K)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=ev(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},tv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};Sr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:VD,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,ZD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,I=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,y=(b||e).target,f=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||y,x=d.filter;if(cv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Mr&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=ei(y,d.draggable,i,!1),!(y&&y.animated)&&ns!==y)){if(To=Sn(y),Nr=Sn(y,d.draggable),typeof x=="function"){if(x.call(this,e,y,this)){Wt({sortable:t,rootEl:f,name:"filter",targetEl:y,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),I&&e.cancelable&&e.preventDefault();return}}else if(x&&(x=x.split(",").some(function(N){if(N=ei(f,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:y,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),x)){I&&e.cancelable&&e.preventDefault();return}d.handle&&!ei(f,d.handle,i,!1)||this._prepareDragStart(e,b,y)}}},_prepareDragStart:function(e,t,i){var d=this,I=d.el,o=d.options,b=I.ownerDocument,y;if(i&&!me&&i.parentNode===I){var f=Nt(i);if(Et=I,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-f.left,op=io.clientY-f.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",y=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(x){Xh(me,x.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(y,o.delay)}else y()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Pc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Et,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Et&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",tv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(On){this._lastX=On.clientX,this._lastY=On.clientY,cp();for(var e=document.elementFromPoint(On.clientX,On.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(On.clientX,On.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:On.clientX,clientY:On.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,I=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,y=Ye&&o&&o.d,f=gs&&Ot&&Ap(Ot),x=(I.clientX-io.clientX+d.x)/(b||1)+(f?f[0]-Lc[0]:0)/(b||1),N=(I.clientY-io.clientY+d.y)/(y||1)+(f?f[1]-Lc[1]:0)/(y||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=x-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:x,f:N};var K="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",K),Le(Ye,"mozTransform",K),Le(Ye,"msTransform",K),Le(Ye,"transform",K),Fc=x,Rc=N,On=I}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Et,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ti()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ti(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,I=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Et.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,I.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",I.setData&&I.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,I,o,b=this.options,y=b.group,f=Ge.active,x=is===y,N=b.sort,K=Kt||f,U,P=this,G=!1;if(Gc)return;function k(S,T){cn(S,P,Ai({evt:e,isOwner:x,axis:U?"vertical":"horizontal",revert:o,dragRect:d,targetRect:I,canSort:N,fromSortable:K,target:i,completed:F,onMove:function(AA,eA){return ds(Et,t,me,d,AA,Nt(AA),e,eA)},changed:_},T))}function m(){k("dragOverAnimationCapture"),P.captureAnimationState(),P!==K&&K.captureAnimationState()}function F(S){return k("dragOverCompleted",{insertion:S}),S&&(x?f._hideClone():f._showClone(P),P!==K&&(En(me,Kt?Kt.options.ghostClass:f.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==P&&P!==Ge.active?Kt=P:P===Ge.active&&Kt&&(Kt=null),K===P&&(P._ignoreWhileAnimating=i),P.animateAll(function(){k("dragOverAnimationComplete"),P._ignoreWhileAnimating=null}),P!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!S&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),G=!0}function _(){In=Sn(me),Gi=Sn(me,b.draggable),Wt({sortable:P,name:"change",toEl:t,newIndex:In,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ei(i,b.draggable,t,!0),k("dragOver"),Ge.eventCanceled)return G;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||P._ignoreWhileAnimating===i)return F(!1);if(os=!1,f&&!b.disabled&&(x?N||(o=wt!==Et):Kt===this||(this.lastPutMode=is.checkPull(this,f,me,e))&&y.checkPut(this,f,me,e))){if(U=this._getDirection(e,i)==="vertical",d=Nt(me),k("dragOverValid"),Ge.eventCanceled)return G;if(o)return wt=Et,m(),this._hideClone(),k("revert"),Ge.eventCanceled||(no?Et.insertBefore(me,no):Et.appendChild(me)),F(!0);var v=xc(t,b.draggable);if(!v||rv(e,U,this)&&!v.animated){if(v===me)return F(!1);if(v&&t===e.target&&(i=v),i&&(I=Nt(i)),ds(Et,t,me,d,i,I,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,_(),F(!0)}else if(v&&ov(e,U,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,I=Nt(i),ds(Et,t,me,d,i,I,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,_(),F(!0)}else if(i.parentNode===t){I=Nt(i);var p=0,u,s=me.parentNode!==t,g=!Av(me.animated&&me.toRect||d,i.animated&&i.toRect||I,U),l=U?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=I[l],Lr=!1,as=!g&&b.invertSwap||s),p=av(e,i,I,U,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=Sn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Et,t,me,d,i,I,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(iv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[l])),_(),F(!0)}if(t.contains(me))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(In=Sn(me),Gi=Sn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,In=Sn(me),Gi=Sn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Et===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Et!==wt?(In>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Et,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Et,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):In!==To&&In>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((In==null||In===-1)&&(In=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Et=me=wt=Ye=no=bt=ns=Li=io=On=Fr=In=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),nv(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,I=i.length,o=this.options;d<I;d++)t=i[d],ei(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||lv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(I,o){var b=d.children[o];ei(b,this.options.draggable,d,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),e.forEach(function(I){i[I]&&(d.removeChild(i[I]),d.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ei(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=Sr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Et&&!this.options.group.revertClone?Et.insertBefore(bt,me):no?Et.insertBefore(bt,no):Et.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function nv(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,I,o,b){var y,f=n[Qn],x=f.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?y=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent("move",!0,!0)),y.to=e,y.from=n,y.dragged=t,y.draggedRect=i,y.related=d||e,y.relatedRect=I||Nt(e),y.willInsertAfter=b,y.originalEvent=o,n.dispatchEvent(y),x&&(N=x.call(f,y,o)),N}function Pc(n){n.draggable=!1}function iv(){Gc=!1}function ov(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function rv(n,e,t){var i=Nt(xc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+d}function av(n,e,t,i,d,I,o,b){var y=i?n.clientY:n.clientX,f=i?t.height:t.width,x=i?t.top:t.left,N=i?t.bottom:t.right,K=!1;if(!o){if(b&&ss<f*d){if(!Lr&&(Rr===1?y>x+f*I/2:y<N-f*I/2)&&(Lr=!0),Lr)K=!0;else if(Rr===1?y<x+ss:y>N-ss)return-Rr}else if(y>x+f*(1-d)/2&&y<N-f*(1-d)/2)return sv(e)}return K=K||o,K&&(y<x+f*I/2||y>N-f*I/2)?y>x+f/2?1:-1:0}function sv(n){return Sn(me)<Sn(n)?1:-1}function lv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function cv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ei(e,t,e,!1)},extend:zD,throttle:ep,closest:ei,toggleClass:En,clone:np,index:Sn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=Ai(Ai({},Ge.utils),i.utils)),Sr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=UD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function gv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),ps(),JD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var y=Ri(b,!0);Tc&&(!Pr||I!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var f=Ri(document.elementFromPoint(I,o),!0);f!==y&&(y=f,ps()),Oc(t,d.options,f,i)},10),Uc=I,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ti()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,y=ti(),f=!1,x;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,x=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,K=Gr;do{var U=K,P=Nt(U),G=P.top,k=P.bottom,m=P.left,F=P.right,_=P.width,v=P.height,B=void 0,p=void 0,u=U.scrollWidth,s=U.scrollHeight,g=Le(U),l=U.scrollLeft,h=U.scrollTop;U===y?(B=_<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=v<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=_<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=v<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&l+_<u)-(Math.abs(m-d)<=o&&!!l),a=p&&(Math.abs(k-I)<=o&&h+v<s)-(Math.abs(G-I)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==U)&&(Mt[N].el=U,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(f=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof x=="function"&&x.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&K!==y&&(K=Ri(K,!1)));Tc=f}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,I=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,y=e.unhideGhostForTarget;if(t){var f=i||I;b();var x=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(x.clientX,x.clientY);y(),f&&!f.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new gv),Ge.mount(zc,$c);var dv=Object.defineProperty,uv=Object.defineProperties,hv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,pv=Object.prototype.hasOwnProperty,Cv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?dv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))pv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))Cv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>uv(n,hv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Bv(){return typeof window<"u"?window.console:global.console}const mv=Bv();function Ev(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Qv=/-(\w)/g,Iv=Ev(n=>n.replace(Qv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],fv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function wv(n){return fv.indexOf(n)!==-1}const bv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function yv(n){return bv.includes(n)}function Dv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Ip(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function vv({$attrs:n,componentData:e={}}){const t=Ip(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function kv({$attrs:n,callBackBuilder:e}){const t=Ip(fp(n));Object.entries(e).forEach(([d,I])=>{Zc[d].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function fp(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[Iv(e),t]).filter(([e,t])=>!wv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},_v=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class Mv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:I}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:I}=this;return e(i,t,I?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{_v(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,I=t.children,o=I.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const y=wp(i[0]),f=[...I].findIndex(x=>x===y);return e<f?0:d}}function xv(n,e){const t=n[e];return t?t():[]}function Sv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,I]=["header","footer"].map(y=>xv(n,y)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((y,f)=>o({element:y,index:f}).map(x=>(x.key=t(y),x.props=Cs(Pi({},x.props||{}),{"data-draggable":!0}),x)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:I,default:b}}function Nv(n){const e=Dv(n),t=!yv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Fv({$slots:n,tag:e,realList:t,getKey:i}){const d=Sv({$slots:n,realList:t,getKey:i}),I=Nv(e);return new Mv({nodes:d,root:I,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Rv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Lv={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Gv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Lv,emits:Gv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:I}=this,o=Fv({$slots:n,tag:t,realList:d,getKey:I});this.componentStructure=o;const b=vv({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&mv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=kv({$attrs:n,callBackBuilder:{manageAndEmit:I=>Rv.call(this,I),emit:I=>yp.bind(this,I),manage:I=>Dp.call(this,I)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&fp(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const I=t.getUnderlyingVm(e)||{};return Pi(Pi({},I),d)}return d},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Wc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:I}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Pv=["xlink:href"],ve=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!(!e.color&&!e.customStyle))return{color:e.color,...e.customStyle}});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Pv)],6))}}),[["__scopeId","data-v-9ee5151a"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,I=async()=>{var f,x;const y=(x=(f=d.reference)==null?void 0:f.props)==null?void 0:x.onClick;if(y&&e)try{await e[y](t,d)}catch(N){console.error(N+`
96
+ */function Jh(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(d){return Object.getOwnPropertyDescriptor(n,d).enumerable})),t.push.apply(t,i)}return t}function Ai(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Jh(Object(t),!0).forEach(function(i){HD(n,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Jh(Object(t)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(t,i))})}return n}function es(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?es=function(e){return typeof e}:es=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(n)}function HD(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function pi(){return pi=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},pi.apply(this,arguments)}function KD(n,e){if(n==null)return{};var t={},i=Object.keys(n),d,I;for(I=0;I<i.length;I++)d=i[I],!(e.indexOf(d)>=0)&&(t[d]=n[d]);return t}function TD(n,e){if(n==null)return{};var t=KD(n,e),i,d;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(n);for(d=0;d<I.length;d++)i=I[d],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(n,i)&&(t[i]=n[i])}return t}var UD="1.14.0";function Ci(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Bi=Ci(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),_r=Ci(/Edge/i),Zh=Ci(/firefox/i),Mr=Ci(/safari/i)&&!Ci(/chrome/i)&&!Ci(/android/i),Wh=Ci(/iP(ad|od|hone)/i),YD=Ci(/chrome/i)&&Ci(/android/i),jh={capture:!1,passive:!1};function it(n,e,t){n.addEventListener(e,t,!Bi&&jh)}function et(n,e,t){n.removeEventListener(e,t,!Bi&&jh)}function ts(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function OD(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function ei(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&ts(n,e):ts(n,e))||i&&n===t)return n;if(n===t)break}while(n=OD(n))}return null}var qh=/\s+/g;function En(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(qh," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(qh," ")}}function Le(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function Po(n,e){var t="";if(typeof n=="string")t=n;else do{var i=Le(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var d=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return d&&new d(t)}function Xh(n,e,t){if(n){var i=n.getElementsByTagName(e),d=0,I=i.length;if(t)for(;d<I;d++)t(i[d],d);return i}return[]}function ti(){var n=document.scrollingElement;return n||document.documentElement}function Nt(n,e,t,i,d){if(!(!n.getBoundingClientRect&&n!==window)){var I,o,b,y,f,x,N;if(n!==window&&n.parentNode&&n!==ti()?(I=n.getBoundingClientRect(),o=I.top,b=I.left,y=I.bottom,f=I.right,x=I.height,N=I.width):(o=0,b=0,y=window.innerHeight,f=window.innerWidth,x=window.innerHeight,N=window.innerWidth),(e||t)&&n!==window&&(d=d||n.parentNode,!Bi))do if(d&&d.getBoundingClientRect&&(Le(d,"transform")!=="none"||t&&Le(d,"position")!=="static")){var K=d.getBoundingClientRect();o-=K.top+parseInt(Le(d,"border-top-width")),b-=K.left+parseInt(Le(d,"border-left-width")),y=o+I.height,f=b+I.width;break}while(d=d.parentNode);if(i&&n!==window){var U=Po(d||n),P=U&&U.a,G=U&&U.d;U&&(o/=G,b/=P,N/=P,x/=G,y=o+x,f=b+N)}return{top:o,left:b,bottom:y,right:f,width:N,height:x}}}function Vh(n,e,t){for(var i=Ri(n,!0),d=Nt(n)[e];i;){var I=Nt(i)[t],o=void 0;if(o=d>=I,!o)return i;if(i===ti())break;i=Ri(i,!1)}return!1}function Ho(n,e,t,i){for(var d=0,I=0,o=n.children;I<o.length;){if(o[I].style.display!=="none"&&o[I]!==Ge.ghost&&(i||o[I]!==Ge.dragged)&&ei(o[I],t.draggable,n,!1)){if(d===e)return o[I];d++}I++}return null}function xc(n,e){for(var t=n.lastElementChild;t&&(t===Ge.ghost||Le(t,"display")==="none"||e&&!ts(t,e));)t=t.previousElementSibling;return t||null}function Sn(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ge.clone&&(!e||ts(n,e))&&t++;return t}function Ap(n){var e=0,t=0,i=ti();if(n)do{var d=Po(n),I=d.a,o=d.d;e+=n.scrollLeft*I,t+=n.scrollTop*o}while(n!==i&&(n=n.parentNode));return[e,t]}function $D(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function Ri(n,e){if(!n||!n.getBoundingClientRect)return ti();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var d=Le(t);if(t.clientWidth<t.scrollWidth&&(d.overflowX=="auto"||d.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(d.overflowY=="auto"||d.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return ti();if(i||e)return t;i=!0}}while(t=t.parentNode);return ti()}function zD(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function Sc(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var xr;function ep(n,e){return function(){if(!xr){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),xr=setTimeout(function(){xr=void 0},e)}}}function JD(){clearTimeout(xr),xr=void 0}function tp(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function np(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}var Qn="Sortable"+new Date().getTime();function ZD(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(d){if(!(Le(d,"display")==="none"||d===Ge.ghost)){n.push({target:d,rect:Nt(d)});var I=Ai({},n[n.length-1].rect);if(d.thisAnimationDuration){var o=Po(d,!0);o&&(I.top-=o.f,I.left-=o.e)}d.fromRect=I}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice($D(n,{target:i}),1)},animateAll:function(i){var d=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var I=!1,o=0;n.forEach(function(b){var y=0,f=b.target,x=f.fromRect,N=Nt(f),K=f.prevFromRect,U=f.prevToRect,P=b.rect,G=Po(f,!0);G&&(N.top-=G.f,N.left-=G.e),f.toRect=N,f.thisAnimationDuration&&Sc(K,N)&&!Sc(x,N)&&(P.top-N.top)/(P.left-N.left)===(x.top-N.top)/(x.left-N.left)&&(y=jD(P,K,U,d.options)),Sc(N,x)||(f.prevFromRect=x,f.prevToRect=N,y||(y=d.options.animation),d.animate(f,P,N,y)),y&&(I=!0,o=Math.max(o,y),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},y),f.thisAnimationDuration=y)}),clearTimeout(e),I?e=setTimeout(function(){typeof i=="function"&&i()},o):typeof i=="function"&&i(),n=[]},animate:function(i,d,I,o){if(o){Le(i,"transition",""),Le(i,"transform","");var b=Po(this.el),y=b&&b.a,f=b&&b.d,x=(d.left-I.left)/(y||1),N=(d.top-I.top)/(f||1);i.animatingX=!!x,i.animatingY=!!N,Le(i,"transform","translate3d("+x+"px,"+N+"px,0)"),this.forRepaintDummy=WD(i),Le(i,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Le(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){Le(i,"transition",""),Le(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},o)}}}}function WD(n){return n.offsetWidth}function jD(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var Ko=[],Nc={initializeByDefault:!0},Sr={mount:function(e){for(var t in Nc)Nc.hasOwnProperty(t)&&!(t in e)&&(e[t]=Nc[t]);Ko.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Ko.push(e)},pluginEvent:function(e,t,i){var d=this;this.eventCanceled=!1,i.cancel=function(){d.eventCanceled=!0};var I=e+"Global";Ko.forEach(function(o){t[o.pluginName]&&(t[o.pluginName][I]&&t[o.pluginName][I](Ai({sortable:t},i)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](Ai({sortable:t},i)))})},initializePlugins:function(e,t,i,d){Ko.forEach(function(b){var y=b.pluginName;if(!(!e.options[y]&&!b.initializeByDefault)){var f=new b(e,t,e.options);f.sortable=e,f.options=e.options,e[y]=f,pi(i,f.defaults)}});for(var I in e.options)if(e.options.hasOwnProperty(I)){var o=this.modifyOption(e,I,e.options[I]);typeof o<"u"&&(e.options[I]=o)}},getEventProperties:function(e,t){var i={};return Ko.forEach(function(d){typeof d.eventProperties=="function"&&pi(i,d.eventProperties.call(t[d.pluginName],e))}),i},modifyOption:function(e,t,i){var d;return Ko.forEach(function(I){e[I.pluginName]&&I.optionListeners&&typeof I.optionListeners[t]=="function"&&(d=I.optionListeners[t].call(e[I.pluginName],i))}),d}};function qD(n){var e=n.sortable,t=n.rootEl,i=n.name,d=n.targetEl,I=n.cloneEl,o=n.toEl,b=n.fromEl,y=n.oldIndex,f=n.newIndex,x=n.oldDraggableIndex,N=n.newDraggableIndex,K=n.originalEvent,U=n.putSortable,P=n.extraEventProperties;if(e=e||t&&t[Qn],!!e){var G,k=e.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!Bi&&!_r?G=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(G=document.createEvent("Event"),G.initEvent(i,!0,!0)),G.to=o||t,G.from=b||t,G.item=d||t,G.clone=I,G.oldIndex=y,G.newIndex=f,G.oldDraggableIndex=x,G.newDraggableIndex=N,G.originalEvent=K,G.pullMode=U?U.lastPutMode:void 0;var F=Ai(Ai({},P),Sr.getEventProperties(i,e));for(var _ in F)G[_]=F[_];t&&t.dispatchEvent(G),k[m]&&k[m].call(e,G)}}var XD=["evt"],cn=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=i.evt,I=TD(i,XD);Sr.pluginEvent.bind(Ge)(e,t,Ai({dragEl:me,parentEl:wt,ghostEl:Ye,rootEl:Et,nextEl:no,lastDownEl:ns,cloneEl:bt,cloneHidden:Li,dragStarted:Fr,putSortable:Kt,activeSortable:Ge.active,originalEvent:d,oldIndex:To,oldDraggableIndex:Nr,newIndex:In,newDraggableIndex:Gi,hideGhostForTarget:cp,unhideGhostForTarget:gp,cloneNowHidden:function(){Li=!0},cloneNowShown:function(){Li=!1},dispatchSortableEvent:function(b){Wt({sortable:t,name:b,originalEvent:d})}},I))};function Wt(n){qD(Ai({putSortable:Kt,cloneEl:bt,targetEl:me,rootEl:Et,oldIndex:To,oldDraggableIndex:Nr,newIndex:In,newDraggableIndex:Gi},n))}var me,wt,Ye,Et,no,ns,bt,Li,To,In,Nr,Gi,is,Kt,Uo=!1,os=!1,rs=[],io,On,Fc,Rc,ip,op,Fr,Yo,Rr,Lr=!1,as=!1,ss,Ot,Lc=[],Gc=!1,ls=[],cs=typeof document<"u",gs=Wh,rp=_r||Bi?"cssFloat":"float",VD=cs&&!YD&&!Wh&&"draggable"in document.createElement("div"),ap=function(){if(cs){if(Bi)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sp=function(e,t){var i=Le(e),d=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),I=Ho(e,0,t),o=Ho(e,1,t),b=I&&Le(I),y=o&&Le(o),f=b&&parseInt(b.marginLeft)+parseInt(b.marginRight)+Nt(I).width,x=y&&parseInt(y.marginLeft)+parseInt(y.marginRight)+Nt(o).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(I&&b.float&&b.float!=="none"){var N=b.float==="left"?"left":"right";return o&&(y.clear==="both"||y.clear===N)?"vertical":"horizontal"}return I&&(b.display==="block"||b.display==="flex"||b.display==="table"||b.display==="grid"||f>=d&&i[rp]==="none"||o&&i[rp]==="none"&&f+x>d)?"vertical":"horizontal"},Av=function(e,t,i){var d=i?e.left:e.top,I=i?e.right:e.bottom,o=i?e.width:e.height,b=i?t.left:t.top,y=i?t.right:t.bottom,f=i?t.width:t.height;return d===b||I===y||d+o/2===b+f/2},ev=function(e,t){var i;return rs.some(function(d){var I=d[Qn].options.emptyInsertThreshold;if(!(!I||xc(d))){var o=Nt(d),b=e>=o.left-I&&e<=o.right+I,y=t>=o.top-I&&t<=o.bottom+I;if(b&&y)return i=d}}),i},lp=function(e){function t(I,o){return function(b,y,f,x){var N=b.options.group.name&&y.options.group.name&&b.options.group.name===y.options.group.name;if(I==null&&(o||N))return!0;if(I==null||I===!1)return!1;if(o&&I==="clone")return I;if(typeof I=="function")return t(I(b,y,f,x),o)(b,y,f,x);var K=(o?b:y).options.group.name;return I===!0||typeof I=="string"&&I===K||I.join&&I.indexOf(K)>-1}}var i={},d=e.group;(!d||es(d)!="object")&&(d={name:d}),i.name=d.name,i.checkPull=t(d.pull,!0),i.checkPut=t(d.put),i.revertClone=d.revertClone,e.group=i},cp=function(){!ap&&Ye&&Le(Ye,"display","none")},gp=function(){!ap&&Ye&&Le(Ye,"display","")};cs&&document.addEventListener("click",function(n){if(os)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),os=!1,!1},!0);var oo=function(e){if(me){e=e.touches?e.touches[0]:e;var t=ev(e.clientX,e.clientY);if(t){var i={};for(var d in e)e.hasOwnProperty(d)&&(i[d]=e[d]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[Qn]._onDragOver(i)}}},tv=function(e){me&&me.parentNode[Qn]._isOutsideThisEl(e.target)};function Ge(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=pi({},e),n[Qn]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,b){o.setData("Text",b.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ge.supportPointer!==!1&&"PointerEvent"in window&&!Mr,emptyInsertThreshold:5};Sr.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lp(e);for(var d in this)d.charAt(0)==="_"&&typeof this[d]=="function"&&(this[d]=this[d].bind(this));this.nativeDraggable=e.forceFallback?!1:VD,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?it(n,"pointerdown",this._onTapStart):(it(n,"mousedown",this._onTapStart),it(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(it(n,"dragover",this),it(n,"dragenter",this)),rs.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),pi(this,ZD())}Ge.prototype={constructor:Ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Yo=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,me):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,d=this.options,I=d.preventOnFilter,o=e.type,b=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,y=(b||e).target,f=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||y,x=d.filter;if(cv(i),!me&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||d.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Mr&&y&&y.tagName.toUpperCase()==="SELECT")&&(y=ei(y,d.draggable,i,!1),!(y&&y.animated)&&ns!==y)){if(To=Sn(y),Nr=Sn(y,d.draggable),typeof x=="function"){if(x.call(this,e,y,this)){Wt({sortable:t,rootEl:f,name:"filter",targetEl:y,toEl:i,fromEl:i}),cn("filter",t,{evt:e}),I&&e.cancelable&&e.preventDefault();return}}else if(x&&(x=x.split(",").some(function(N){if(N=ei(f,N.trim(),i,!1),N)return Wt({sortable:t,rootEl:N,name:"filter",targetEl:y,fromEl:i,toEl:i}),cn("filter",t,{evt:e}),!0}),x)){I&&e.cancelable&&e.preventDefault();return}d.handle&&!ei(f,d.handle,i,!1)||this._prepareDragStart(e,b,y)}}},_prepareDragStart:function(e,t,i){var d=this,I=d.el,o=d.options,b=I.ownerDocument,y;if(i&&!me&&i.parentNode===I){var f=Nt(i);if(Et=I,me=i,wt=me.parentNode,no=me.nextSibling,ns=i,is=o.group,Ge.dragged=me,io={target:me,clientX:(t||e).clientX,clientY:(t||e).clientY},ip=io.clientX-f.left,op=io.clientY-f.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,me.style["will-change"]="all",y=function(){if(cn("delayEnded",d,{evt:e}),Ge.eventCanceled){d._onDrop();return}d._disableDelayedDragEvents(),!Zh&&d.nativeDraggable&&(me.draggable=!0),d._triggerDragStart(e,t),Wt({sortable:d,name:"choose",originalEvent:e}),En(me,o.chosenClass,!0)},o.ignore.split(",").forEach(function(x){Xh(me,x.trim(),Pc)}),it(b,"dragover",oo),it(b,"mousemove",oo),it(b,"touchmove",oo),it(b,"mouseup",d._onDrop),it(b,"touchend",d._onDrop),it(b,"touchcancel",d._onDrop),Zh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),cn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(_r||Bi))){if(Ge.eventCanceled){this._onDrop();return}it(b,"mouseup",d._disableDelayedDrag),it(b,"touchend",d._disableDelayedDrag),it(b,"touchcancel",d._disableDelayedDrag),it(b,"mousemove",d._delayedDragTouchMoveHandler),it(b,"touchmove",d._delayedDragTouchMoveHandler),o.supportPointer&&it(b,"pointermove",d._delayedDragTouchMoveHandler),d._dragStartTimer=setTimeout(y,o.delay)}else y()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){me&&Pc(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._disableDelayedDrag),et(e,"touchend",this._disableDelayedDrag),et(e,"touchcancel",this._disableDelayedDrag),et(e,"mousemove",this._delayedDragTouchMoveHandler),et(e,"touchmove",this._delayedDragTouchMoveHandler),et(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?it(document,"pointermove",this._onTouchMove):t?it(document,"touchmove",this._onTouchMove):it(document,"mousemove",this._onTouchMove):(it(me,"dragend",this),it(Et,"dragstart",this._onDragStart));try{document.selection?us(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(Uo=!1,Et&&me){cn("dragStarted",this,{evt:t}),this.nativeDraggable&&it(document,"dragover",tv);var i=this.options;!e&&En(me,i.dragClass,!1),En(me,i.ghostClass,!0),Ge.active=this,e&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(On){this._lastX=On.clientX,this._lastY=On.clientY,cp();for(var e=document.elementFromPoint(On.clientX,On.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(On.clientX,On.clientY),e!==t);)t=e;if(me.parentNode[Qn]._isOutsideThisEl(e),t)do{if(t[Qn]){var i=void 0;if(i=t[Qn]._onDragOver({clientX:On.clientX,clientY:On.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);gp()}},_onTouchMove:function(e){if(io){var t=this.options,i=t.fallbackTolerance,d=t.fallbackOffset,I=e.touches?e.touches[0]:e,o=Ye&&Po(Ye,!0),b=Ye&&o&&o.a,y=Ye&&o&&o.d,f=gs&&Ot&&Ap(Ot),x=(I.clientX-io.clientX+d.x)/(b||1)+(f?f[0]-Lc[0]:0)/(b||1),N=(I.clientY-io.clientY+d.y)/(y||1)+(f?f[1]-Lc[1]:0)/(y||1);if(!Ge.active&&!Uo){if(i&&Math.max(Math.abs(I.clientX-this._lastX),Math.abs(I.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(Ye){o?(o.e+=x-(Fc||0),o.f+=N-(Rc||0)):o={a:1,b:0,c:0,d:1,e:x,f:N};var K="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Le(Ye,"webkitTransform",K),Le(Ye,"mozTransform",K),Le(Ye,"msTransform",K),Le(Ye,"transform",K),Fc=x,Rc=N,On=I}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ye){var e=this.options.fallbackOnBody?document.body:Et,t=Nt(me,!0,gs,!0,e),i=this.options;if(gs){for(Ot=e;Le(Ot,"position")==="static"&&Le(Ot,"transform")==="none"&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=ti()),t.top+=Ot.scrollTop,t.left+=Ot.scrollLeft):Ot=ti(),Lc=Ap(Ot)}Ye=me.cloneNode(!0),En(Ye,i.ghostClass,!1),En(Ye,i.fallbackClass,!0),En(Ye,i.dragClass,!0),Le(Ye,"transition",""),Le(Ye,"transform",""),Le(Ye,"box-sizing","border-box"),Le(Ye,"margin",0),Le(Ye,"top",t.top),Le(Ye,"left",t.left),Le(Ye,"width",t.width),Le(Ye,"height",t.height),Le(Ye,"opacity","0.8"),Le(Ye,"position",gs?"absolute":"fixed"),Le(Ye,"zIndex","100000"),Le(Ye,"pointerEvents","none"),Ge.ghost=Ye,e.appendChild(Ye),Le(Ye,"transform-origin",ip/parseInt(Ye.style.width)*100+"% "+op/parseInt(Ye.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,d=e.dataTransfer,I=i.options;if(cn("dragStart",this,{evt:e}),Ge.eventCanceled){this._onDrop();return}cn("setupClone",this),Ge.eventCanceled||(bt=np(me),bt.draggable=!1,bt.style["will-change"]="",this._hideClone(),En(bt,this.options.chosenClass,!1),Ge.clone=bt),i.cloneId=us(function(){cn("clone",i),!Ge.eventCanceled&&(i.options.removeCloneOnHide||Et.insertBefore(bt,me),i._hideClone(),Wt({sortable:i,name:"clone"}))}),!t&&En(me,I.dragClass,!0),t?(os=!0,i._loopId=setInterval(i._emulateDragOver,50)):(et(document,"mouseup",i._onDrop),et(document,"touchend",i._onDrop),et(document,"touchcancel",i._onDrop),d&&(d.effectAllowed="move",I.setData&&I.setData.call(i,d,me)),it(document,"drop",i),Le(me,"transform","translateZ(0)")),Uo=!0,i._dragStartId=us(i._dragStarted.bind(i,t,e)),it(document,"selectstart",i),Fr=!0,Mr&&Le(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,d,I,o,b=this.options,y=b.group,f=Ge.active,x=is===y,N=b.sort,K=Kt||f,U,P=this,G=!1;if(Gc)return;function k(S,T){cn(S,P,Ai({evt:e,isOwner:x,axis:U?"vertical":"horizontal",revert:o,dragRect:d,targetRect:I,canSort:N,fromSortable:K,target:i,completed:F,onMove:function(AA,eA){return ds(Et,t,me,d,AA,Nt(AA),e,eA)},changed:_},T))}function m(){k("dragOverAnimationCapture"),P.captureAnimationState(),P!==K&&K.captureAnimationState()}function F(S){return k("dragOverCompleted",{insertion:S}),S&&(x?f._hideClone():f._showClone(P),P!==K&&(En(me,Kt?Kt.options.ghostClass:f.options.ghostClass,!1),En(me,b.ghostClass,!0)),Kt!==P&&P!==Ge.active?Kt=P:P===Ge.active&&Kt&&(Kt=null),K===P&&(P._ignoreWhileAnimating=i),P.animateAll(function(){k("dragOverAnimationComplete"),P._ignoreWhileAnimating=null}),P!==K&&(K.animateAll(),K._ignoreWhileAnimating=null)),(i===me&&!me.animated||i===t&&!i.animated)&&(Yo=null),!b.dragoverBubble&&!e.rootEl&&i!==document&&(me.parentNode[Qn]._isOutsideThisEl(e.target),!S&&oo(e)),!b.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),G=!0}function _(){In=Sn(me),Gi=Sn(me,b.draggable),Wt({sortable:P,name:"change",toEl:t,newIndex:In,newDraggableIndex:Gi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=ei(i,b.draggable,t,!0),k("dragOver"),Ge.eventCanceled)return G;if(me.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||P._ignoreWhileAnimating===i)return F(!1);if(os=!1,f&&!b.disabled&&(x?N||(o=wt!==Et):Kt===this||(this.lastPutMode=is.checkPull(this,f,me,e))&&y.checkPut(this,f,me,e))){if(U=this._getDirection(e,i)==="vertical",d=Nt(me),k("dragOverValid"),Ge.eventCanceled)return G;if(o)return wt=Et,m(),this._hideClone(),k("revert"),Ge.eventCanceled||(no?Et.insertBefore(me,no):Et.appendChild(me)),F(!0);var v=xc(t,b.draggable);if(!v||rv(e,U,this)&&!v.animated){if(v===me)return F(!1);if(v&&t===e.target&&(i=v),i&&(I=Nt(i)),ds(Et,t,me,d,i,I,e,!!i)!==!1)return m(),t.appendChild(me),wt=t,_(),F(!0)}else if(v&&ov(e,U,this)){var B=Ho(t,0,b,!0);if(B===me)return F(!1);if(i=B,I=Nt(i),ds(Et,t,me,d,i,I,e,!1)!==!1)return m(),t.insertBefore(me,B),wt=t,_(),F(!0)}else if(i.parentNode===t){I=Nt(i);var p=0,u,s=me.parentNode!==t,g=!Av(me.animated&&me.toRect||d,i.animated&&i.toRect||I,U),l=U?"top":"left",h=Vh(i,"top","top")||Vh(me,"top","top"),C=h?h.scrollTop:void 0;Yo!==i&&(u=I[l],Lr=!1,as=!g&&b.invertSwap||s),p=av(e,i,I,U,g?1:b.swapThreshold,b.invertedSwapThreshold==null?b.swapThreshold:b.invertedSwapThreshold,as,Yo===i);var a;if(p!==0){var r=Sn(me);do r-=p,a=wt.children[r];while(a&&(Le(a,"display")==="none"||a===Ye))}if(p===0||a===i)return F(!1);Yo=i,Rr=p;var E=i.nextElementSibling,Q=!1;Q=p===1;var M=ds(Et,t,me,d,i,I,e,Q);if(M!==!1)return(M===1||M===-1)&&(Q=M===1),Gc=!0,setTimeout(iv,30),m(),Q&&!E?t.appendChild(me):i.parentNode.insertBefore(me,Q?E:i),h&&tp(h,0,C-h.scrollTop),wt=me.parentNode,u!==void 0&&!as&&(ss=Math.abs(u-Nt(i)[l])),_(),F(!0)}if(t.contains(me))return F(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){et(document,"mousemove",this._onTouchMove),et(document,"touchmove",this._onTouchMove),et(document,"pointermove",this._onTouchMove),et(document,"dragover",oo),et(document,"mousemove",oo),et(document,"touchmove",oo)},_offUpEvents:function(){var e=this.el.ownerDocument;et(e,"mouseup",this._onDrop),et(e,"touchend",this._onDrop),et(e,"pointerup",this._onDrop),et(e,"touchcancel",this._onDrop),et(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(In=Sn(me),Gi=Sn(me,i.draggable),cn("drop",this,{evt:e}),wt=me&&me.parentNode,In=Sn(me),Gi=Sn(me,i.draggable),Ge.eventCanceled){this._nulling();return}Uo=!1,as=!1,Lr=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Hc(this.cloneId),Hc(this._dragStartId),this.nativeDraggable&&(et(document,"drop",this),et(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Mr&&Le(document.body,"user-select",""),Le(me,"transform",""),e&&(Fr&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),Ye&&Ye.parentNode&&Ye.parentNode.removeChild(Ye),(Et===wt||Kt&&Kt.lastPutMode!=="clone")&&bt&&bt.parentNode&&bt.parentNode.removeChild(bt),me&&(this.nativeDraggable&&et(me,"dragend",this),Pc(me),me.style["will-change"]="",Fr&&!Uo&&En(me,Kt?Kt.options.ghostClass:this.options.ghostClass,!1),En(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:e}),Et!==wt?(In>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:Et,originalEvent:e}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:e}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:Et,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Kt&&Kt.save()):In!==To&&In>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:e}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:e})),Ge.active&&((In==null||In===-1)&&(In=To,Gi=Nr),Wt({sortable:this,name:"end",toEl:wt,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){cn("nulling",this),Et=me=wt=Ye=no=bt=ns=Li=io=On=Fr=In=Gi=To=Nr=Yo=Rr=Kt=is=Ge.dragged=Ge.ghost=Ge.clone=Ge.active=null,ls.forEach(function(e){e.checked=!0}),ls.length=Fc=Rc=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":me&&(this._onDragOver(e),nv(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,d=0,I=i.length,o=this.options;d<I;d++)t=i[d],ei(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||lv(t));return e},sort:function(e,t){var i={},d=this.el;this.toArray().forEach(function(I,o){var b=d.children[o];ei(b,this.options.draggable,d,!1)&&(i[I]=b)},this),t&&this.captureAnimationState(),e.forEach(function(I){i[I]&&(d.removeChild(i[I]),d.appendChild(i[I]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return ei(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var d=Sr.modifyOption(this,e,t);typeof d<"u"?i[e]=d:i[e]=t,e==="group"&&lp(i)},destroy:function(){cn("destroy",this);var e=this.el;e[Qn]=null,et(e,"mousedown",this._onTapStart),et(e,"touchstart",this._onTapStart),et(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(et(e,"dragover",this),et(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),rs.splice(rs.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Li){if(cn("hideClone",this),Ge.eventCanceled)return;Le(bt,"display","none"),this.options.removeCloneOnHide&&bt.parentNode&&bt.parentNode.removeChild(bt),Li=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Li){if(cn("showClone",this),Ge.eventCanceled)return;me.parentNode==Et&&!this.options.group.revertClone?Et.insertBefore(bt,me):no?Et.insertBefore(bt,no):Et.appendChild(bt),this.options.group.revertClone&&this.animate(me,bt),Le(bt,"display",""),Li=!1}}};function nv(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function ds(n,e,t,i,d,I,o,b){var y,f=n[Qn],x=f.options.onMove,N;return window.CustomEvent&&!Bi&&!_r?y=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent("move",!0,!0)),y.to=e,y.from=n,y.dragged=t,y.draggedRect=i,y.related=d||e,y.relatedRect=I||Nt(e),y.willInsertAfter=b,y.originalEvent=o,n.dispatchEvent(y),x&&(N=x.call(f,y,o)),N}function Pc(n){n.draggable=!1}function iv(){Gc=!1}function ov(n,e,t){var i=Nt(Ho(t.el,0,t.options,!0)),d=10;return e?n.clientX<i.left-d||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-d||n.clientY<i.bottom&&n.clientX<i.left}function rv(n,e,t){var i=Nt(xc(t.el,t.options.draggable)),d=10;return e?n.clientX>i.right+d||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+d}function av(n,e,t,i,d,I,o,b){var y=i?n.clientY:n.clientX,f=i?t.height:t.width,x=i?t.top:t.left,N=i?t.bottom:t.right,K=!1;if(!o){if(b&&ss<f*d){if(!Lr&&(Rr===1?y>x+f*I/2:y<N-f*I/2)&&(Lr=!0),Lr)K=!0;else if(Rr===1?y<x+ss:y>N-ss)return-Rr}else if(y>x+f*(1-d)/2&&y<N-f*(1-d)/2)return sv(e)}return K=K||o,K&&(y<x+f*I/2||y>N-f*I/2)?y>x+f/2?1:-1:0}function sv(n){return Sn(me)<Sn(n)?1:-1}function lv(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function cv(n){ls.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&ls.push(i)}}function us(n){return setTimeout(n,0)}function Hc(n){return clearTimeout(n)}cs&&it(document,"touchmove",function(n){(Ge.active||Uo)&&n.cancelable&&n.preventDefault()}),Ge.utils={on:it,off:et,css:Le,find:Xh,is:function(e,t){return!!ei(e,t,e,!1)},extend:zD,throttle:ep,closest:ei,toggleClass:En,clone:np,index:Sn,nextTick:us,cancelNextTick:Hc,detectDirection:sp,getChild:Ho},Ge.get=function(n){return n[Qn]},Ge.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ge.utils=Ai(Ai({},Ge.utils),i.utils)),Sr.mount(i)})},Ge.create=function(n,e){return new Ge(n,e)},Ge.version=UD;var Mt=[],Gr,Kc,Tc=!1,Uc,Yc,hs,Pr;function gv(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?it(document,"dragover",this._handleAutoScroll):this.options.supportPointer?it(document,"pointermove",this._handleFallbackAutoScroll):i.touches?it(document,"touchmove",this._handleFallbackAutoScroll):it(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?et(document,"dragover",this._handleAutoScroll):(et(document,"pointermove",this._handleFallbackAutoScroll),et(document,"touchmove",this._handleFallbackAutoScroll),et(document,"mousemove",this._handleFallbackAutoScroll)),dp(),ps(),JD()},nulling:function(){hs=Kc=Gr=Tc=Pr=Uc=Yc=null,Mt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var d=this,I=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,b=document.elementFromPoint(I,o);if(hs=t,i||this.options.forceAutoScrollFallback||_r||Bi||Mr){Oc(t,this.options,b,i);var y=Ri(b,!0);Tc&&(!Pr||I!==Uc||o!==Yc)&&(Pr&&dp(),Pr=setInterval(function(){var f=Ri(document.elementFromPoint(I,o),!0);f!==y&&(y=f,ps()),Oc(t,d.options,f,i)},10),Uc=I,Yc=o)}else{if(!this.options.bubbleScroll||Ri(b,!0)===ti()){ps();return}Oc(t,this.options,Ri(b,!1),!1)}}},pi(n,{pluginName:"scroll",initializeByDefault:!0})}function ps(){Mt.forEach(function(n){clearInterval(n.pid)}),Mt=[]}function dp(){clearInterval(Pr)}var Oc=ep(function(n,e,t,i){if(e.scroll){var d=(n.touches?n.touches[0]:n).clientX,I=(n.touches?n.touches[0]:n).clientY,o=e.scrollSensitivity,b=e.scrollSpeed,y=ti(),f=!1,x;Kc!==t&&(Kc=t,ps(),Gr=e.scroll,x=e.scrollFn,Gr===!0&&(Gr=Ri(t,!0)));var N=0,K=Gr;do{var U=K,P=Nt(U),G=P.top,k=P.bottom,m=P.left,F=P.right,_=P.width,v=P.height,B=void 0,p=void 0,u=U.scrollWidth,s=U.scrollHeight,g=Le(U),l=U.scrollLeft,h=U.scrollTop;U===y?(B=_<u&&(g.overflowX==="auto"||g.overflowX==="scroll"||g.overflowX==="visible"),p=v<s&&(g.overflowY==="auto"||g.overflowY==="scroll"||g.overflowY==="visible")):(B=_<u&&(g.overflowX==="auto"||g.overflowX==="scroll"),p=v<s&&(g.overflowY==="auto"||g.overflowY==="scroll"));var C=B&&(Math.abs(F-d)<=o&&l+_<u)-(Math.abs(m-d)<=o&&!!l),a=p&&(Math.abs(k-I)<=o&&h+v<s)-(Math.abs(G-I)<=o&&!!h);if(!Mt[N])for(var r=0;r<=N;r++)Mt[r]||(Mt[r]={});(Mt[N].vx!=C||Mt[N].vy!=a||Mt[N].el!==U)&&(Mt[N].el=U,Mt[N].vx=C,Mt[N].vy=a,clearInterval(Mt[N].pid),(C!=0||a!=0)&&(f=!0,Mt[N].pid=setInterval((function(){i&&this.layer===0&&Ge.active._onTouchMove(hs);var E=Mt[this.layer].vy?Mt[this.layer].vy*b:0,Q=Mt[this.layer].vx?Mt[this.layer].vx*b:0;typeof x=="function"&&x.call(Ge.dragged.parentNode[Qn],Q,E,n,hs,Mt[this.layer].el)!=="continue"||tp(Mt[this.layer].el,Q,E)}).bind({layer:N}),24))),N++}while(e.bubbleScroll&&K!==y&&(K=Ri(K,!1)));Tc=f}},30),up=function(e){var t=e.originalEvent,i=e.putSortable,d=e.dragEl,I=e.activeSortable,o=e.dispatchSortableEvent,b=e.hideGhostForTarget,y=e.unhideGhostForTarget;if(t){var f=i||I;b();var x=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,N=document.elementFromPoint(x.clientX,x.clientY);y(),f&&!f.el.contains(N)&&(o("spill"),this.onSpill({dragEl:d,putSortable:i}))}};function $c(){}$c.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var d=Ho(this.sortable.el,this.startIndex,this.options);d?this.sortable.el.insertBefore(t,d):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:up},pi($c,{pluginName:"revertOnSpill"});function zc(){}zc.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,d=i||this.sortable;d.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),d.animateAll()},drop:up},pi(zc,{pluginName:"removeOnSpill"}),Ge.mount(new gv),Ge.mount(zc,$c);var dv=Object.defineProperty,uv=Object.defineProperties,hv=Object.getOwnPropertyDescriptors,hp=Object.getOwnPropertySymbols,pv=Object.prototype.hasOwnProperty,Cv=Object.prototype.propertyIsEnumerable,pp=(n,e,t)=>e in n?dv(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Pi=(n,e)=>{for(var t in e||(e={}))pv.call(e,t)&&pp(n,t,e[t]);if(hp)for(var t of hp(e))Cv.call(e,t)&&pp(n,t,e[t]);return n},Cs=(n,e)=>uv(n,hv(e));function Jc(n){n.parentElement!==null&&n.parentElement.removeChild(n)}function Cp(n,e,t){const i=t===0?n.children[0]:n.children[t-1].nextSibling;n.insertBefore(e,i)}function Bv(){return typeof window<"u"?window.console:global.console}const mv=Bv();function Ev(n){const e=Object.create(null);return function(i){return e[i]||(e[i]=n(i))}}const Qv=/-(\w)/g,Iv=Ev(n=>n.replace(Qv,(e,t)=>t.toUpperCase())),Bp=["Start","Add","Remove","Update","End"],mp=["Choose","Unchoose","Sort","Filter","Clone"],Ep=["Move"],fv=[Ep,Bp,mp].flatMap(n=>n).map(n=>`on${n}`),Zc={manage:Ep,manageAndEmit:Bp,emit:mp};function wv(n){return fv.indexOf(n)!==-1}const bv=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function yv(n){return bv.includes(n)}function Dv(n){return["transition-group","TransitionGroup"].includes(n)}function Qp(n){return["id","class","role","style"].includes(n)||n.startsWith("data-")||n.startsWith("aria-")||n.startsWith("on")}function Ip(n){return n.reduce((e,[t,i])=>(e[t]=i,e),{})}function vv({$attrs:n,componentData:e={}}){const t=Ip(Object.entries(n).filter(([i,d])=>Qp(i)));return Pi(Pi({},t),e)}function kv({$attrs:n,callBackBuilder:e}){const t=Ip(fp(n));Object.entries(e).forEach(([d,I])=>{Zc[d].forEach(o=>{t[`on${o}`]=I(o)})});const i=`[data-draggable]${t.draggable||""}`;return Cs(Pi({},t),{draggable:i})}function fp(n){return Object.entries(n).filter(([e,t])=>!Qp(e)).map(([e,t])=>[Iv(e),t]).filter(([e,t])=>!wv(e))}const wp=n=>{const e=n.el||Array.isArray(n.children)&&n.children[0].el.parentNode;return e||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),e||{}},_v=(n,e)=>n.__draggable_context=e,bp=n=>n.__draggable_context;class Mv{constructor({nodes:{header:e,default:t,footer:i},root:d,realList:I}){this.defaultNodes=t,this.children=[...e,...t,...i],this.externalComponent=d.externalComponent,this.rootTransition=d.transition,this.tag=d.tag,this.realList=I}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,t){const{tag:i,children:d,_isRootComponent:I}=this;return e(i,t,I?{default:()=>d}:d)}updated(){const{defaultNodes:e,realList:t}=this;e.forEach((i,d)=>{_v(wp(i),{element:t[d],index:d})})}getUnderlyingVm(e){return bp(e)}getVmIndexFromDomIndex(e,t){const{defaultNodes:i}=this,{length:d}=i,I=t.children,o=I.item(e);if(o===null)return d;const b=bp(o);if(b)return b.index;if(d===0)return 0;const y=wp(i[0]),f=[...I].findIndex(x=>x===y);return e<f?0:d}}function xv(n,e){const t=n[e];return t?t():[]}function Sv({$slots:n,realList:e,getKey:t}){const i=e||[],[d,I]=["header","footer"].map(y=>xv(n,y)),{item:o}=n;if(!o)throw new Error("draggable element must have an item slot");const b=i.flatMap((y,f)=>o({element:y,index:f}).map(x=>(x.key=t(y),x.props=Cs(Pi({},x.props||{}),{"data-draggable":!0}),x)));if(b.length!==i.length)throw new Error("Item slot must have only one child");return{header:d,footer:I,default:b}}function Nv(n){const e=Dv(n),t=!yv(n)&&!e;return{transition:e,externalComponent:t,tag:t?A.resolveComponent(n):e?A.TransitionGroup:n}}function Fv({$slots:n,tag:e,realList:t,getKey:i}){const d=Sv({$slots:n,realList:t,getKey:i}),I=Nv(e);return new Mv({nodes:d,root:I,realList:t})}function yp(n,e){A.nextTick(()=>this.$emit(n.toLowerCase(),e))}function Dp(n){return(e,t)=>{if(this.realList!==null)return this[`onDrag${n}`](e,t)}}function Rv(n){const e=Dp.call(this,n);return(t,i)=>{e.call(this,t,i),yp.call(this,n,t)}}let Wc=null;const Lv={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:n=>n},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Gv=["update:modelValue","change",...[...Zc.manageAndEmit,...Zc.emit].map(n=>n.toLowerCase())],vp=A.defineComponent({name:"draggable",inheritAttrs:!1,props:Lv,emits:Gv,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:n,$attrs:e,tag:t,componentData:i,realList:d,getKey:I}=this,o=Fv({$slots:n,tag:t,realList:d,getKey:I});this.componentStructure=o;const b=vv({$attrs:e,componentData:i});return o.render(A.h,b)}catch(n){return this.error=!0,A.h("pre",{style:{color:"red"}},n.stack)}},created(){this.list!==null&&this.modelValue!==null&&mv.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:n,$el:e,componentStructure:t}=this;t.updated();const i=kv({$attrs:n,callBackBuilder:{manageAndEmit:I=>Rv.call(this,I),emit:I=>yp.bind(this,I),manage:I=>Dp.call(this,I)}}),d=e.nodeType===1?e:e.parentElement;this._sortable=new Ge(d,i),this.targetDomElement=d,d.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:n}=this;return n||this.modelValue},getKey(){const{itemKey:n}=this;return typeof n=="function"?n:e=>e[n]}},watch:{$attrs:{handler(n){const{_sortable:e}=this;e&&fp(n).forEach(([t,i])=>{e.option(t,i)})},deep:!0}},methods:{getUnderlyingVm(n){return this.componentStructure.getUnderlyingVm(n)||null},getUnderlyingPotencialDraggableComponent(n){return n.__draggable_component__},emitChanges(n){A.nextTick(()=>this.$emit("change",n))},alterList(n){if(this.list){n(this.list);return}const e=[...this.modelValue];n(e),this.$emit("update:modelValue",e)},spliceList(){const n=e=>e.splice(...arguments);this.alterList(n)},updatePosition(n,e){const t=i=>i.splice(e,0,i.splice(n,1)[0]);this.alterList(t)},getRelatedContextFromMoveEvent({to:n,related:e}){const t=this.getUnderlyingPotencialDraggableComponent(n);if(!t)return{component:t};const i=t.realList,d={list:i,component:t};if(n!==e&&i){const I=t.getUnderlyingVm(e)||{};return Pi(Pi({},I),d)}return d},getVmIndexFromDomIndex(n){return this.componentStructure.getVmIndexFromDomIndex(n,this.targetDomElement)},onDragStart(n){this.context=this.getUnderlyingVm(n.item),n.item._underlying_vm_=this.clone(this.context.element),Wc=n.item},onDragAdd(n){const e=n.item._underlying_vm_;if(e===void 0)return;Jc(n.item);const t=this.getVmIndexFromDomIndex(n.newIndex);this.spliceList(t,0,e);const i={element:e,newIndex:t};this.emitChanges({added:i})},onDragRemove(n){if(Cp(this.$el,n.item,n.oldIndex),n.pullMode==="clone"){Jc(n.clone);return}const{index:e,element:t}=this.context;this.spliceList(e,1);const i={element:t,oldIndex:e};this.emitChanges({removed:i})},onDragUpdate(n){Jc(n.item),Cp(n.from,n.item,n.oldIndex);const e=this.context.index,t=this.getVmIndexFromDomIndex(n.newIndex);this.updatePosition(e,t);const i={element:this.context.element,oldIndex:e,newIndex:t};this.emitChanges({moved:i})},computeFutureIndex(n,e){if(!n.element)return 0;const t=[...e.to.children].filter(o=>o.style.display!=="none"),i=t.indexOf(e.related),d=n.component.getVmIndexFromDomIndex(i);return t.indexOf(Wc)!==-1||!e.willInsertAfter?d:d+1},onDragMove(n,e){const{move:t,realList:i}=this;if(!t||!i)return!0;const d=this.getRelatedContextFromMoveEvent(n),I=this.computeFutureIndex(d,n),o=Cs(Pi({},this.context),{futureIndex:I}),b=Cs(Pi({},n),{relatedContext:d,draggedContext:o});return t(b,e)},onDragEnd(){Wc=null}}}),Pv=["xlink:href"],ve=oe(A.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"},customStyle:{type:[Boolean,null,String,Object,Array],default:()=>({})}},setup(n){const e=n,t=A.computed(()=>{if(!e.color&&!e.customStyle)return;const i={color:e.color,...e.customStyle};return typeof e.size=="number"&&(i.width=e.size+"px",i.height=e.size+"px"),i});return(i,d)=>(A.openBlock(),A.createElementBlock("svg",{class:A.normalizeClass(["icon",{large:i.size==="large",small:i.size==="small",normal:i.size==="normal","x-small":i.size==="x-small","ultra-large":i.size==="ultra-large",mini:i.size==="mini"}]),style:A.normalizeStyle(t.value)},[A.createElementVNode("use",{"xlink:href":`#${i.name}`},null,8,Pv)],6))}}),[["__scopeId","data-v-1304c83f"]]),kp=oe(A.defineComponent({__name:"Popover",props:{title:{},offset:{},placement:{},reference:{},trigger:{},hoverStyle:{},ostyle:{},children:{},width:{},size:{},hoverColor:{},noPadding:{type:Boolean},beforeEnter:{},params:{},onShow:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(!1),d=n,I=async()=>{var f,x;const y=(x=(f=d.reference)==null?void 0:f.props)==null?void 0:x.onClick;if(y&&e)try{await e[y](t,d)}catch(N){console.error(N+`
97
97
  onClick: ${y}`)}},o=async()=>{const y=d.onShow;if(y&&e)try{await e[y](t,d)}catch(f){console.error(f+`
98
98
  onShow: ${y}`)}},b=async()=>{if(d.beforeEnter&&e)try{await e[d.beforeEnter](t)}catch(y){console.error(y+`
99
- onClick: ${d.beforeEnter}`)}};return(y,f)=>{const x=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:y.offset,"popper-class":d.noPadding?"no-padding":"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},onShow:o},{reference:A.withCtx(()=>{var K,U,P,G,k;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:f[0]||(f[0]=m=>i.value=!0),onMouseleave:f[1]||(f[1]=m=>i.value=!1)},[((K=d.reference)==null?void 0:K.component)==="Icon"?(A.openBlock(),A.createBlock(x,{key:0,content:(P=(U=d.reference)==null?void 0:U.props)==null?void 0:P.tooltip,disabled:!((k=(G=d.reference)==null?void 0:G.props)!=null&&k.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,_,v;return[A.createVNode(ve,{name:(F=(m=d.reference)==null?void 0:m.props)==null?void 0:F.name,color:i.value&&d.hoverColor?d.hoverColor:(v=(_=d.reference)==null?void 0:_.props)==null?void 0:v.color,class:"btn-icon cursor-pointer",size:d.size||"normal",onClick:I},null,8,["name","color","size"])]}),_:1},8,["content","disabled"])):d.reference?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:[d.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[y.children?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:y.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","offset","popper-class","title","placement"])}}}),[["__scopeId","data-v-a3ebd35e"]]),ro=A.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=mt(),i=zo(),d=A.reactive({visible:!1,title:""}),I=()=>{d.visible=!0,d.title=e.label},o=A.computed({get(){return Ea(t.formValues,e.name)},set(U){const P=ko(t.formValues,e.name,U);t.updateFormValues(P)}}),b=A.computed(()=>{const{rules:U,required:P,component:G}=e,k=[];if(P&&k.push({required:!0,trigger:"blur",message:"Required"}),U){const m=U.map(F=>{const{type:_,message:v,trigger:B,customReg:p,templateExp:u}=F,s={message:v,trigger:B};return["email","url"].includes(_)?{...s,type:_}:_==="custom"&&p?{...s,pattern:fm(p)}:Im(_)?{...s,pattern:_}:_==="template"?{...s,validator:()=>u}:{}});return[...k,...m]}if(G==="VerifyCode"){const m={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...k,m]}return k}),y=A.computed(()=>{const U=i[e.component]||{};return U.modelName||(U.modelName="modelValue"),U}),f=A.computed(()=>{const U={name:e.name,...e.props};return e.children&&(U.children=e.children),U}),x=()=>{if(e.component!=="DragList")return[];const U=f.value.gridlayout||[],P=f.value.children||[],G=f.value.rowHeight||30;return U.map((k,m)=>{var F;return{...k,i:(F=P[m])==null?void 0:F.name,rowHeight:G}})},N=A.ref(x()),K=U=>U==null?void 0:U.replace(/&nbsp;/g," ");return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const U=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(U),o.value=e.initialValue}}),A.watch(o,(U,P)=>{const G=e.change,k=ut.isEqual(U,P);if(!G||k)return;let m=ut.cloneDeep(t.formValues);G.forEach(({target:F,value:_,condition:v})=>{if(v!==!1){if(F.includes(".*.")){const B=F.split(".*."),p=B.pop(),u=B.join("."),s=Ea(t.formValues,u);ut.isArray(s)&&(m=ko(m,u,s.map(g=>({...g,[p]:_}))));return}m=ko(m,F,_)}}),t.updateFormValues(m)},{immediate:!0}),(U,P)=>{var _;const G=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),m=A.resolveComponent("el-button"),F=A.resolveComponent("el-form-item");return A.unref(t).design||!U.hidden?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[y.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:0},f.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":P[0]||(P[0]=v=>N.value=v)}),null,16,["gridlayout"])):y.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1},f.value,{style:{minWidth:0}}),null,16)):y.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.normalizeProps(A.mergeProps({key:2},f.value)),null,16)):(A.openBlock(),A.createBlock(F,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${U.component}-${U.name}`,{readMode:((_=e.props)==null?void 0:_.read)||A.unref(t).schema.read,hideLabel:U.hideLabel}]),style:A.normalizeStyle(U.style),key:U.name,prop:U.name,"label-width":U.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),U.label&&`${U.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(K(U.label)),5),U.help?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(G,{effect:"dark",content:U.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),U.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[U.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(U.labelSuffix.props,A.unref(t).context))),null,16)):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!U.hideLabel]])]),default:A.withCtx(()=>[U.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":P[2]||(P[2]=v=>d.visible=v),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({size:A.unref(t).schema.size},f.value,{disabled:A.unref(t).schema.disabled,[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:P[1]||(P[1]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(m,{type:"primary",plain:"",onClick:I},{default:A.withCtx(()=>P[4]||(P[4]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(f.value,A.unref(t).context),{[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:P[3]||(P[3]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),Hv={key:0,class:"actions-lt"},Kv={class:"canvas-move",size:"small",type:"primary"},Tv={key:1,class:"hidden-ico"},Uv={key:2,class:"actions-rb"},Yv=["onClick"],Ov={key:3,class:"layout-title"},$v=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Nn(),d=zo()[e.data.component],I=A.computed(()=>{var K;return{[je("canvas-item")]:!0,active:e.data.designKey===((K=t.current)==null?void 0:K.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:f.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},y=K=>{t.updateCurrent(K),t.rightTab="attr"},f=A.ref(!1),x=()=>{f.value=!f.value},N=[{icon:"copy",handle:K=>{const U=Gu(t.list,K.designKey);t.updateList(U)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const U=wd(t.list,P=>P.designKey!==K.designKey);t.updateList(U)}}];return(K,U)=>{var P,G;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(I.value),onClick:U[0]||(U[0]=A.withModifiers(k=>y(K.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[K.data.designKey===((P=A.unref(t).current)==null?void 0:P.designKey)?(A.openBlock(),A.createElementBlock("div",Hv,[A.createElementVNode("div",Kv,[A.createVNode(A.unref(Ie),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[A.createVNode(A.unref(Ie),{name:"select"})])])):A.createCommentVNode("",!0),K.data.hidden?(A.openBlock(),A.createElementBlock("div",Tv,[A.createVNode(A.unref(Ie),{name:"hidden"})])):A.createCommentVNode("",!0),K.data.designKey===((G=A.unref(t).current)==null?void 0:G.designKey)?(A.openBlock(),A.createElementBlock("ul",Uv,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:k,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(_=>m(K.data),["stop"]),key:k,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(Ie),{name:k},null,8,["name"])],12,Yv)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",Ov,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Nn(),i=d=>{const I=d.item._underlying_vm_;t.updateCurrent(tc(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(d,I)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(Ie),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock($v,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),zv=typeof window<"u";var _p;zv&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function fn(n){return n==null}function Mp(){}const Jv=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Jv)));function Zv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(e<=0)return Sp(t);let i=0,d;return function(...I){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...I)):d=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,e-b))}}function Wv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return Sp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function jv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(jv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function qv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=Xv(n[t]);return e}function Xv(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),I=Array(n.length);for(let o=0,b=d.length;o<b;o++){let y=d[o];y.static||(y=Vv(i,y,e,t),i.push(y)),I[n.findIndex(f=>f.i===y.i)]=y,y.moved=!1}return I}function Vv(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const I=i[e.i].y;for(;e.y>I&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function A1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const I=n[i];if(I.x+I.w>e.cols&&(I.x=e.cols-I.w),I.x<0&&(I.x=0,I.w=e.cols),!I.static)t.push(I);else for(;Kr(t,I);)I.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,I=!1){if(e.static)return n;const o=e.x,b=e.y,y=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let f=Tp(n);y&&(f=f.reverse());const x=Pp(f,e);if(I&&x.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,K=x.length;N<K;N++){const U=x[N];U.moved||e.y>U.y&&e.y-U.y>U.h/4||(U.static?n=Kp(n,U,e,d):n=Kp(n,e,U,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function e1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function t1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function n1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function o1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,I=n.length;d<I;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function r1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return a1(n)}function a1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:d,y:I}}function Yp(n,e,t,i){return s1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function s1(n){return typeof n=="number"&&!Number.isNaN(n)}function l1(n,e){const t=$p(n);let i=t[0];for(let d=1,I=t.length;d<I;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function c1(n,e,t,i,d,I,o){if(e[i])return qc(e[i]);let b=n;const y=$p(t),f=y.slice(y.indexOf(i));for(let x=0,N=f.length;x<N;x++){const K=f[x];if(e[K]){b=e[K];break}}return b=qc(b||[]),Oo(A1(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let g1="auto";function d1(){return typeof document<"u"}function zp(){return d1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):g1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(L,R){var W=Object.keys(L);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(L);R&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(L,lA).enumerable})),W.push.apply(W,nA)}return W}function i(L){for(var R=1;R<arguments.length;R++){var W=arguments[R]!=null?arguments[R]:{};R%2?t(Object(W),!0).forEach(function(nA){y(L,nA,W[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(W)):t(Object(W)).forEach(function(nA){Object.defineProperty(L,nA,Object.getOwnPropertyDescriptor(W,nA))})}return L}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(L)}function I(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")}function o(L,R){for(var W=0;W<R.length;W++){var nA=R[W];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(L,G(nA.key),nA)}}function b(L,R,W){return R&&o(L.prototype,R),Object.defineProperty(L,"prototype",{writable:!1}),L}function y(L,R,W){return(R=G(R))in L?Object.defineProperty(L,R,{value:W,enumerable:!0,configurable:!0,writable:!0}):L[R]=W,L}function f(L,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(R&&R.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),Object.defineProperty(L,"prototype",{writable:!1}),R&&N(L,R)}function x(L){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},x(L)}function N(L,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(W,nA){return W.__proto__=nA,W},N(L,R)}function K(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function U(L){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var W,nA=x(L);if(R){var lA=x(this).constructor;W=Reflect.construct(nA,arguments,lA)}else W=nA.apply(this,arguments);return function(uA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return K(uA)}(this,W)}}function P(){return P=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(L,R,W){var nA=function(uA,BA){for(;!Object.prototype.hasOwnProperty.call(uA,BA)&&(uA=x(uA))!==null;);return uA}(L,R);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,R);return lA.get?lA.get.call(arguments.length<3?L:W):lA.value}},P.apply(this,arguments)}function G(L){var R=function(W,nA){if(typeof W!="object"||W===null)return W;var lA=W[Symbol.toPrimitive];if(lA!==void 0){var uA=lA.call(W,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(L,"string");return typeof R=="symbol"?R:R+""}var k=function(L){return!(!L||!L.Window)&&L instanceof L.Window},m=void 0,F=void 0;function _(L){m=L;var R=L.document.createTextNode("");R.ownerDocument!==L.document&&typeof L.wrap=="function"&&L.wrap(R)===R&&(L=L.wrap(L)),F=L}function v(L){return k(L)?L:(L.ownerDocument||L).defaultView||F.window}typeof window<"u"&&window&&_(window);var B=function(L){return!!L&&d(L)==="object"},p=function(L){return typeof L=="function"},u={window:function(L){return L===F||k(L)},docFrag:function(L){return B(L)&&L.nodeType===11},object:B,func:p,number:function(L){return typeof L=="number"},bool:function(L){return typeof L=="boolean"},string:function(L){return typeof L=="string"},element:function(L){if(!L||d(L)!=="object")return!1;var R=v(L)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?L instanceof Element||L instanceof R.Element:L.nodeType===1&&typeof L.nodeName=="string"},plainObject:function(L){return B(L)&&!!L.constructor&&/function Object\b/.test(L.constructor.toString())},array:function(L){return B(L)&&L.length!==void 0&&p(L.splice)}};function s(L){var R=L.interaction;if(R.prepared.name==="drag"){var W=R.prepared.axis;W==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):W==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="drag"){var nA=W.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";R.page[lA]=W.coords.start.page[lA],R.client[lA]=W.coords.start.client[lA],R.delta[lA]=0}}}var l={id:"actions/drag",install:function(L){var R=L.actions,W=L.Interactable,nA=L.defaults;W.prototype.draggable=l.draggable,R.map.drag=l,R.methodDict.drag="draggable",nA.actions.drag=l.defaults},listeners:{"interactions:before-action-move":s,"interactions:action-resume":s,"interactions:action-move":g,"auto-start:check":function(L){var R=L.interaction,W=L.interactable,nA=L.buttons,lA=W.options.drag;if(lA&&lA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&W.options.drag.mouseButtons))return L.action={name:"drag",axis:lA.lockAxis==="start"?lA.startAxis:lA.lockAxis},!1}},draggable:function(L){return u.object(L)?(this.options.drag.enabled=L.enabled!==!1,this.setPerAction("drag",L),this.setOnEvents("drag",L),/^(xy|x|y|start)$/.test(L.lockAxis)&&(this.options.drag.lockAxis=L.lockAxis),/^(xy|x|y)$/.test(L.startAxis)&&(this.options.drag.startAxis=L.startAxis),this):u.bool(L)?(this.options.drag.enabled=L,this):this.options.drag},beforeMove:s,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(L){return L.search("drag")===0}},h=l,C={init:function(L){var R=L;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,E={init:function(L){var R=r.Element,W=L.navigator||{};E.supportsTouch="ontouchstart"in L||u.func(L.DocumentTouch)&&r.document instanceof L.DocumentTouch,E.supportsPointerEvent=W.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(W.platform),E.isIOS7=/iP(hone|od|ad)/.test(W.platform)&&/OS 7[^\d]/.test(W.appVersion),E.isIe9=/MSIE 9/.test(W.userAgent),E.isOperaMobile=W.appName==="Opera"&&E.supportsTouch&&/Presto/.test(W.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===L.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,E.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Q=E;function M(L,R){if(L.contains)return L.contains(R);for(;R;){if(R===L)return!0;R=R.parentNode}return!1}function S(L,R){for(;u.element(L);){if(z(L,R))return L;L=T(L)}return null}function T(L){var R=L.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(L,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),L[Q.prefixedMatchesSelector](R)}var AA=function(L){return L.parentNode||L.host};function eA(L,R){for(var W,nA=[],lA=L;(W=AA(lA))&&lA!==R&&W!==lA.ownerDocument;)nA.unshift(lA),lA=W;return nA}function J(L,R,W){for(;u.element(L);){if(z(L,R))return!0;if((L=T(L))===W)return z(L,R)}return!1}function $(L){return L.correspondingUseElement||L}function Z(L){var R=L instanceof r.SVGElement?L.getBoundingClientRect():L.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function D(L){var R,W=Z(L);if(!Q.isIOS7&&W){var nA={x:(R=(R=v(L))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};W.left+=nA.x,W.right+=nA.x,W.top+=nA.y,W.bottom+=nA.y}return W}function q(L){for(var R=[];L;)R.push(L),L=T(L);return R}function H(L){return!!u.string(L)&&(r.document.querySelector(L),!0)}function X(L,R){for(var W in R)L[W]=R[W];return L}function rA(L,R,W){return L==="parent"?T(W):L==="self"?R.getRect(W):S(W,L)}function iA(L,R,W,nA){var lA=L;return u.string(lA)?lA=rA(lA,R,W):u.func(lA)&&(lA=lA.apply(void 0,nA)),u.element(lA)&&(lA=D(lA)),lA}function dA(L){return L&&{x:"x"in L?L.x:L.left,y:"y"in L?L.y:L.top}}function mA(L){return!L||"x"in L&&"y"in L||((L=X({},L)).x=L.left||0,L.y=L.top||0,L.width=L.width||(L.right||0)-L.x,L.height=L.height||(L.bottom||0)-L.y),L}function gA(L,R,W){L.left&&(R.left+=W.x),L.right&&(R.right+=W.x),L.top&&(R.top+=W.y),L.bottom&&(R.bottom+=W.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(L,R,W){var nA=W&&L.options[W];return dA(iA(nA&&nA.origin||L.options.origin,L,R,[L&&R]))||{x:0,y:0}}function V(L,R){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(L)&&L.search(" ")!==-1&&(L=sA(L)),u.array(L))return L.forEach(function(yA){return V(yA,R,W,nA)}),nA;if(u.object(L)&&(R=L,L=""),u.func(R)&&W(L))nA[L]=nA[L]||[],nA[L].push(R);else if(u.array(R))for(var lA=0,uA=R;lA<uA.length;lA++){var BA=uA[lA];V(L,BA,W,nA)}else if(u.object(R))for(var QA in R)V(sA(QA).map(function(yA){return"".concat(L).concat(yA)}),R[QA],W,nA);return nA}function sA(L){return L.trim().split(/ +/)}var cA=function(L,R){return Math.sqrt(L*L+R*R)},hA=["webkit","moz"];function Y(L,R){L.__set||(L.__set={});var W=function(lA){if(hA.some(function(uA){return lA.indexOf(uA)===0}))return 1;typeof L[lA]!="function"&&lA!=="__set"&&Object.defineProperty(L,lA,{get:function(){return lA in L.__set?L.__set[lA]:L.__set[lA]=R[lA]},set:function(uA){L.__set[lA]=uA},configurable:!0})};for(var nA in R)W(nA);return L}function j(L,R){L.page=L.page||{},L.page.x=R.page.x,L.page.y=R.page.y,L.client=L.client||{},L.client.x=R.client.x,L.client.y=R.client.y,L.timeStamp=R.timeStamp}function tA(L){L.page.x=0,L.page.y=0,L.client.x=0,L.client.y=0}function aA(L){return L instanceof r.Event||L instanceof r.Touch}function CA(L,R,W){return L=L||"page",(W=W||{}).x=R[L+"X"],W.y=R[L+"Y"],W}function xA(L,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(L)?(CA("screen",L,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",L,R),R}function zA(L){return u.number(L.pointerId)?L.pointerId:L.identifier}function jA(L,R,W){var nA=R.length>1?vA(R):R[0];xA(nA,L.page),function(lA,uA){uA=uA||{},Q.isOperaMobile&&aA(lA)?CA("screen",lA,uA):CA("client",lA,uA)}(nA,L.client),L.timeStamp=W}function Ae(L){var R=[];return u.array(L)?(R[0]=L[0],R[1]=L[1]):L.type==="touchend"?L.touches.length===1?(R[0]=L.touches[0],R[1]=L.changedTouches[0]):L.touches.length===0&&(R[0]=L.changedTouches[0],R[1]=L.changedTouches[1]):(R[0]=L.touches[0],R[1]=L.touches[1]),R}function vA(L){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},W=0;W<L.length;W++){var nA=L[W];for(var lA in R)R[lA]+=nA[lA]}for(var uA in R)R[uA]/=L.length;return R}function $A(L){if(!L.length)return null;var R=Ae(L),W=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),lA=Math.max(R[0].pageX,R[1].pageX),uA=Math.max(R[0].pageY,R[1].pageY);return{x:W,y:nA,left:W,top:nA,right:lA,bottom:uA,width:lA-W,height:uA-nA}}function XA(L,R){var W=R+"X",nA=R+"Y",lA=Ae(L),uA=lA[0][W]-lA[1][W],BA=lA[0][nA]-lA[1][nA];return cA(uA,BA)}function SA(L,R){var W=R+"X",nA=R+"Y",lA=Ae(L),uA=lA[1][W]-lA[0][W],BA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(BA,uA)/Math.PI}function MA(L){return u.string(L.pointerType)?L.pointerType:u.number(L.pointerType)?[void 0,void 0,"touch","pen","mouse"][L.pointerType]:/touch/.test(L.type||"")||L instanceof r.Touch?"touch":"mouse"}function qA(L){var R=u.func(L.composedPath)?L.composedPath():L.path;return[$(R?R[0]:L.target),$(L.currentTarget)]}var Ce=function(){function L(R){I(this,L),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(L,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),L}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(L,R){for(var W=0;W<R.length;W++){var nA=R[W];L.push(nA)}return L},xe=function(L){return ye([],L)},NA=function(L,R){for(var W=0;W<L.length;W++)if(R(L[W],W,L))return W;return-1},UA=function(L,R){return L[NA(L,R)]},JA=function(L){f(W,L);var R=U(W);function W(nA,lA,uA){var BA;I(this,W),(BA=R.call(this,lA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=uA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=uA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=lA,BA.relatedTarget=lA.target,BA.draggable=lA.interactable,BA.timeStamp=lA.timeStamp,BA}return b(W,[{key:"reject",value:function(){var nA=this,lA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&lA.cur.dropzone===this.dropzone&&lA.cur.element===this.target)if(lA.prev.dropzone=this.dropzone,lA.prev.element=this.target,lA.rejected=!0,lA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=lA.activeDrops,BA=NA(uA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});lA.activeDrops.splice(BA,1);var QA=new W(lA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new W(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),W}(Ce);function de(L,R){for(var W=0,nA=L.slice();W<nA.length;W++){var lA=nA[W],uA=lA.dropzone,BA=lA.element;R.dropzone=uA,R.target=BA,uA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(L,R){for(var W=function(uA,BA){for(var QA=[],yA=0,RA=uA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(L,R),nA=0;nA<W.length;nA++){var lA=W[nA];lA.rect=lA.dropzone.getRect(lA.element)}return W}function Ee(L,R,W){for(var nA=L.dropState,lA=L.interactable,uA=L.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,W,lA,uA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var De,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[De];if(ee&&KA!==De)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Zn=0;on[Zn]&&on[Zn]===OA[Zn];)Zn++;var Ut=[on[Zn-1],on[Zn],OA[Zn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){De=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(v(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(v(kA).getComputedStyle(kA).zIndex,10)||0)&&(De=KA);else De=KA}else De=KA}return De}(BA);return nA.activeDrops[le]||null}function ke(L,R,W){var nA=L.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return W.type==="dragstart"&&(lA.activate=new JA(nA,W,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),W.type==="dragend"&&(lA.deactivate=new JA(nA,W,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new JA(nA,W,"dragleave"),W.dragLeave=lA.leave.target=nA.prev.element,W.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new JA(nA,W,"dragenter"),W.dragEnter=nA.cur.element,W.dropzone=nA.cur.dropzone)),W.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new JA(nA,W,"drop"),W.dropzone=nA.cur.dropzone,W.relatedTarget=nA.cur.element),W.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new JA(nA,W,"dropmove"),W.dropzone=nA.cur.dropzone)),lA}function fA(L,R){var W=L.dropState,nA=W.activeDrops,lA=W.cur,uA=W.prev;R.leave&&uA.dropzone.fire(R.leave),R.enter&&lA.dropzone.fire(R.enter),R.move&&lA.dropzone.fire(R.move),R.drop&&lA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),W.prev.dropzone=lA.dropzone,W.prev.element=lA.element}function LA(L,R){var W=L.interaction,nA=L.iEvent,lA=L.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=W.dropState;R.dynamicDrop&&(uA.activeDrops=ae(R,W.element));var BA=nA,QA=Ee(W,BA,lA);uA.rejected=uA.rejected&&!!QA&&QA.dropzone===uA.cur.dropzone&&QA.element===uA.cur.element,uA.cur.dropzone=QA&&QA.dropzone,uA.cur.element=QA&&QA.element,uA.events=ke(W,0,BA)}}var TA={id:"actions/drop",install:function(L){var R=L.actions,W=L.interactStatic,nA=L.Interactable,lA=L.defaults;L.usePlugin(h),nA.prototype.dropzone=function(uA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=V(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,De,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(De)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,De,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=xA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,De,le,he)),kA}(this,uA,BA,QA,yA,RA,DA)},W.dynamicDrop=function(uA){return u.bool(uA)?(L.dynamicDrop=uA,W):L.dynamicDrop},X(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",L.dynamicDrop=!1,lA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(L){var R=L.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(L,R){var W=L.interaction,nA=(L.event,L.iEvent);if(W.prepared.name==="drag"){var lA=W.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=ae(R,W.element),lA.events=ke(W,0,nA),lA.events.activate&&(de(lA.activeDrops,lA.events.activate),R.fire("actions/drop:start",{interaction:W,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(L,R){var W=L.interaction,nA=L.iEvent;if(W.prepared.name==="drag"){var lA=W.dropState;fA(W,lA.events),R.fire("actions/drop:move",{interaction:W,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(L,R){if(L.interaction.prepared.name==="drag"){var W=L.interaction,nA=L.iEvent;LA(L,R),fA(W,W.dropState.events),R.fire("actions/drop:end",{interaction:W,dragEvent:nA})}},"interactions:stop":function(L){var R=L.interaction;if(R.prepared.name==="drag"){var W=R.dropState;W&&(W.activeDrops=null,W.events=null,W.cur.dropzone=null,W.cur.element=null,W.prev.dropzone=null,W.prev.element=null,W.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:fA,filterEventType:function(L){return L.search("drag")===0||L.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(L){var R=L.interaction,W=L.iEvent,nA=L.phase;if(R.prepared.name==="gesture"){var lA=R.pointers.map(function(RA){return RA.pointer}),uA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(W.touches=[lA[0],lA[1]],uA)W.distance=XA(lA,QA),W.box=$A(lA),W.scale=1,W.ds=0,W.angle=SA(lA,QA),W.da=0,R.gesture.startDistance=W.distance,R.gesture.startAngle=W.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;W.distance=yA.distance,W.box=yA.box,W.scale=yA.scale,W.ds=0,W.angle=yA.angle,W.da=0}else W.distance=XA(lA,QA),W.box=$A(lA),W.scale=W.distance/R.gesture.startDistance,W.angle=SA(lA,QA),W.ds=W.scale-R.gesture.scale,W.da=W.angle-R.gesture.angle;R.gesture.distance=W.distance,R.gesture.angle=W.angle,u.number(W.scale)&&W.scale!==1/0&&!isNaN(W.scale)&&(R.gesture.scale=W.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(L){var R=L.actions,W=L.Interactable,nA=L.defaults;W.prototype.gesturable=function(lA){return u.object(lA)?(this.options.gesture.enabled=lA.enabled!==!1,this.setPerAction("gesture",lA),this.setOnEvents("gesture",lA),this):u.bool(lA)?(this.options.gesture.enabled=lA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(L){L.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(L){if(!(L.interaction.pointers.length<2)){var R=L.interactable.options.gesture;if(R&&R.enabled)return L.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(L){return L.search("gesture")===0}},ue=se;function Se(L,R,W,nA,lA,uA,BA){if(!R)return!1;if(R===!0){var QA=u.number(uA.width)?uA.width:uA.right-uA.left,yA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(BA=Math.min(BA,Math.abs((L==="left"||L==="right"?QA:yA)/2)),QA<0&&(L==="left"?L="right":L==="right"&&(L="left")),yA<0&&(L==="top"?L="bottom":L==="bottom"&&(L="top")),L==="left"){var RA=QA>=0?uA.left:uA.right;return W.x<RA+BA}if(L==="top"){var DA=yA>=0?uA.top:uA.bottom;return W.y<DA+BA}if(L==="right")return W.x>(QA>=0?uA.right:uA.left)-BA;if(L==="bottom")return W.y>(yA>=0?uA.bottom:uA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:J(nA,R,lA))}function tt(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="resize"&&W.resizeAxes){var nA=R;W.interactable.options.resize.square?(W.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=W.resizeAxes,W.resizeAxes==="x"?nA.delta.y=0:W.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(L){var R=L.actions,W=L.browser,nA=L.Interactable,lA=L.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(W),bA.defaultMargin=W.supportsTouch||W.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,uA,L)},R.map.resize=bA,R.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(L){L.interaction.resizeAxes="xy"},"interactions:action-start":function(L){(function(R){var W=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=W,uA=nA.rect;nA._rects={start:X({},uA),corrected:X({},uA),previous:X({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},lA.edges=nA.prepared.edges,lA.rect=nA._rects.corrected,lA.deltaRect=nA._rects.delta}})(L),tt(L)},"interactions:action-move":function(L){(function(R){var W=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=W,uA=nA.interactable.options.resize.invert,BA=uA==="reposition"||uA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(X(VA,DA),BA){if(X(DA,QA),uA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];lA.edges=nA.prepared.edges,lA.rect=DA,lA.deltaRect=HA}})(L),tt(L)},"interactions:action-end":function(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="resize"&&W.prepared.edges){var nA=R;nA.edges=W.prepared.edges,nA.rect=W._rects.corrected,nA.deltaRect=W._rects.delta}},"auto-start:check":function(L){var R=L.interaction,W=L.interactable,nA=L.element,lA=L.rect,uA=L.buttons;if(lA){var BA=X({},R.coords.cur.page),QA=W.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||uA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=Se(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,lA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(L.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>lA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>lA.bottom-bA.defaultMargin;(DA||HA)&&(L.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!L.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(L){var R=L.edges,W=L.axis,nA=L.name,lA=bA.cursors,uA=null;if(W)uA=lA[nA+W];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}uA=lA[BA]}return uA},filterEventType:function(L){return L.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(L){L.usePlugin(ue),L.usePlugin(PA),L.usePlugin(h),L.usePlugin(re)}},ZA=0,fe={request:function(L){return ct(L)},cancel:function(L){return FA(L)},init:function(L){if(ct=L.requestAnimationFrame,FA=L.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],W=0;W<R.length;W++){var nA=R[W];ct=L["".concat(nA,"RequestAnimationFrame")],FA=L["".concat(nA,"CancelAnimationFrame")]||L["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(L),FA=FA&&FA.bind(L),ct||(ct=function(lA){var uA=Date.now(),BA=Math.max(0,16-(uA-ZA)),QA=L.setTimeout(function(){lA(uA+BA)},BA);return ZA=uA+BA,QA},FA=function(lA){return clearTimeout(lA)})}},ie={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(L){ie.isScrolling=!0,fe.cancel(ie.i),L.autoScroll=ie,ie.interaction=L,ie.prevTime=ie.now(),ie.i=fe.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),fe.cancel(ie.i)},scroll:function(){var L=ie.interaction,R=L.interactable,W=L.element,nA=L.prepared.name,lA=R.options[nA].autoScroll,uA=Me(lA.container,R,W),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=lA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(uA);u.window(uA)?uA.scrollBy(RA.x,RA.y):uA&&(uA.scrollLeft+=RA.x,uA.scrollTop+=RA.y);var HA=qe(uA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:W,interactable:R,delta:VA,interaction:L,container:uA})}ie.prevTime=BA}ie.isScrolling&&(fe.cancel(ie.i),ie.i=fe.request(ie.scroll))},check:function(L,R){var W;return(W=L.options[R].autoScroll)==null?void 0:W.enabled},onInteractionMove:function(L){var R=L.interaction,W=L.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,lA,uA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=W.clientX<ie.margin,nA=W.clientY<ie.margin,lA=W.clientX>HA.innerWidth-ie.margin,uA=W.clientY>HA.innerHeight-ie.margin;else{var VA=Z(HA);BA=W.clientX<VA.left+ie.margin,nA=W.clientY<VA.top+ie.margin,lA=W.clientX>VA.right-ie.margin,uA=W.clientY>VA.bottom-ie.margin}ie.x=lA?1:BA?-1:0,ie.y=uA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(L,R,W){return(u.string(L)?rA(L,R,W):L)||v(W)}function qe(L){return u.window(L)&&(L=window.document.body),{x:L.scrollLeft,y:L.scrollTop}}var Ct={id:"auto-scroll",install:function(L){var R=L.defaults,W=L.actions;L.autoScroll=ie,ie.now=function(){return L.now()},W.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(L){L.interaction.autoScroll=null},"interactions:destroy":function(L){L.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(L){return ie.onInteractionMove(L)}}},ze=Ct;function At(L,R){var W=!1;return function(){return W||(F.console.warn(R),W=!0),L.apply(this,arguments)}}function dt(L,R){return L.name=R.name,L.axis=R.axis,L.edges=R.edges,L}function Pe(L){return u.bool(L)?(this.options.styleCursor=L,this):L===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(L){return u.func(L)?(this.options.actionChecker=L,this):L===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Qt={id:"auto-start/interactableMethods",install:function(L){var R=L.Interactable;R.prototype.getAction=function(W,nA,lA,uA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,lA,uA,L);return this.options.actionChecker?this.options.actionChecker(W,nA,BA,this,uA,lA):BA},R.prototype.ignoreFrom=At(function(W){return this._backCompatOption("ignoreFrom",W)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(W){return this._backCompatOption("allowFrom",W)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(L,R,W,nA,lA){return R.testIgnoreAllow(R.options[L.name],W,nA)&&R.options[L.name].enabled&&dn(R,W,L,lA)?L:null}function Fn(L,R,W,nA,lA,uA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=lA[QA],HA=RA.getAction(R,W,L,DA);if(HA){var VA=nt(HA,RA,DA,uA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(L,R,W,nA,lA){var uA=[],BA=[],QA=nA;function yA(DA){uA.push(DA),BA.push(QA)}for(;u.element(QA);){uA=[],BA=[],lA.interactables.forEachMatch(QA,yA);var RA=Fn(L,R,W,uA,BA,nA,lA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=T(QA)}return{action:null,interactable:null,element:null}}function Vt(L,R,W){var nA=R.action,lA=R.interactable,uA=R.element;nA=nA||{name:null},L.interactable=lA,L.element=uA,dt(L.prepared,nA),L.rect=lA&&nA.name?lA.getRect(uA):null,An(L,W),W.fire("autoStart:prepared",{interaction:L})}function dn(L,R,W,nA){var lA=L.options,uA=lA[W.name].max,BA=lA[W.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(uA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===L&&((RA+=le===W.name?1:0)>=uA||ge.element===R&&(DA++,le===W.name&&DA>=BA))))return!1}return QA>0}function bn(L,R){return u.number(L)?(R.autoStart.maxInteractions=L,this):R.autoStart.maxInteractions}function Ft(L,R,W){var nA=W.autoStart.cursorElement;nA&&nA!==L&&(nA.style.cursor=""),L.ownerDocument.documentElement.style.cursor=R,L.style.cursor=R,W.autoStart.cursorElement=R?L:null}function An(L,R){var W=L.interactable,nA=L.element,lA=L.prepared;if(L.pointerType==="mouse"&&W&&W.options.styleCursor){var uA="";if(lA.name){var BA=W.options[lA.name].cursorChecker;uA=u.func(BA)?BA(lA,W,nA,L._interacting):R.actions.map[lA.name].getCursor(lA)}Ft(L.element,uA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var zn={id:"auto-start/base",before:["actions"],install:function(L){var R=L.interactStatic,W=L.defaults;L.usePlugin(Qt),W.base.actionChecker=null,W.base.styleCursor=!0,X(W.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,L)},L.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget;W.interacting()||Vt(W,Xt(W,nA,lA,uA,R),R)},"interactions:move":function(L,R){(function(W,nA){var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Vt(lA,Xt(lA,uA,BA,QA,nA),nA)})(L,R),function(W,nA){var lA=W.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",W);var uA=lA.interactable,BA=lA.prepared.name;BA&&uA&&(uA.options[BA].manualStart||!dn(uA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,uA,lA.element),An(lA,nA)))}}(L,R)},"interactions:stop":function(L,R){var W=L.interaction,nA=W.interactable;nA&&nA.options.styleCursor&&Ft(W.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=zn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(L,R){var W=L.interaction,nA=L.eventTarget,lA=L.dx,uA=L.dy;if(W.prepared.name==="drag"){var BA=Math.abs(lA),QA=Math.abs(uA),yA=W.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(W.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){W.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==W.interactable){var he=W.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var De=le.getAction(W.downPointer,W.downEvent,W,HA);if(De&&De.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(De,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){W.prepared.name="drag",W.interactable=ge,W.element=HA;break}HA=T(HA)}}}}}};function Ei(L){var R=L.prepared&&L.prepared.name;if(!R)return null;var W=L.interactable.options;return W[R].hold||W[R].delay}var co={id:"auto-start/hold",install:function(L){var R=L.defaults;L.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(L){L.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(L){var R=L.interaction,W=Ei(R);W>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},W))},"interactions:move":function(L){var R=L.interaction,W=L.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!W&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(L){var R=L.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(L){L.usePlugin(en),L.usePlugin(Qi),L.usePlugin(mi)}},Hi=function(L){return/^(always|never|auto)$/.test(L)?(this.options.preventDefault=L,this):u.bool(L)?(this.options.preventDefault=L?"always":"never",this):this.options.preventDefault};function go(L){var R=L.interaction,W=L.event;R.interactable&&R.interactable.checkAndPreventDefault(W)}var ri={id:"core/interactablePreventDefault",install:function(L){var R=L.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(W){return function(nA,lA,uA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var QA=v(uA.target).document,yA=lA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&z(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,L,W)},L.interactions.docEvents.push({type:"dragstart",listener:function(W){for(var nA=0,lA=L.interactions.list;nA<lA.length;nA++){var uA=lA[nA];if(uA.element&&(uA.element===W.target||M(uA.element,W.target)))return void uA.interactable.checkAndPreventDefault(W)}}})},listeners:["down","move","up","cancel"].reduce(function(L,R){return L["interactions:".concat(R)]=go,L},{})};function yn(L,R){if(R.phaselessTypes[L])return!0;for(var W in R.map)if(L.indexOf(W)===0&&L.substr(W.length)in R.phases)return!0;return!1}function Ki(L){var R={};for(var W in L){var nA=L[W];u.plainObject(nA)?R[W]=Ki(nA):u.array(nA)?R[W]=xe(nA):R[W]=nA}return R}var Zo=function(){function L(R){I(this,L),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(L,[{key:"start",value:function(R,W){var nA,lA,uA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=X({},BA.edges),this.edges=X({},this.startEdges),this.startOffset=(nA=BA.rect,lA=W,nA?{left:lA.x-nA.left,top:lA.y-nA.top,right:nA.right-lA.x,bottom:nA.bottom-lA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:uA,pageCoords:W,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var W=this.interaction;return R.interaction=W,R.interactable=W.interactable,R.element=W.element,R.rect||(R.rect=W.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var W=0,nA=this.states;W<nA.length;W++){var lA=nA[W];lA.methods.start&&(R.state=lA,lA.methods.start(R))}}},{key:"setAll",value:function(R){var W=R.phase,nA=R.preEnd,lA=R.skipModifiers,uA=R.rect,BA=R.edges;R.coords=X({},R.pageCoords),R.rect=X({},uA),R.edges=X({},BA);for(var QA=lA?this.states.slice(lA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=X({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,W)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}X(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-uA.left,yA.rectDelta.right=R.rect.right-uA.right,yA.rectDelta.top=R.rect.top-uA.top,yA.rectDelta.bottom=R.rect.bottom-uA.bottom;var he=this.result.coords,De=this.result.rect;if(he&&De){var Qe=yA.rect.left!==De.left||yA.rect.right!==De.right||yA.rect.top!==De.top||yA.rect.bottom!==De.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var W=this.interaction,nA=R.phase,lA=W.coords.cur,uA=W.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&X(this.startDelta,BA.delta);for(var RA=0,DA=[[uA,QA],[lA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||W.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var W=this.interaction,nA=R.phase,lA=R.preEnd,uA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:R.modifiedCoords||W.coords.cur.page}));if(this.result=BA,!BA.changed&&(!uA||uA<this.states.length)&&W.interacting())return!1;if(R.modifiedCoords){var QA=W.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var W=R.interaction,nA=R.event,lA=this.states;if(lA&&lA.length){for(var uA=!1,BA=0;BA<lA.length;BA++){var QA=lA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;uA=uA||!uA&&this.shouldDo(yA,!0,R.phase,!0)}uA&&W.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var W=R.interaction;if(this.states&&this.states.length){var nA=X({states:this.states,interactable:W.interactable,element:W.element,rect:null},R);this.fillArg(nA);for(var lA=0,uA=this.states;lA<uA.length;lA++){var BA=uA[lA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var W=0;W<R.length;W++){var nA=R[W],lA=nA.options,uA=nA.methods,BA=nA.name;this.states.push({options:lA,methods:uA,index:W,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var W=R.interaction,nA=W.coords,lA=W.rect,uA=W.modification;if(uA.result){for(var BA=uA.startDelta,QA=uA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}lA.left-=RA.left,lA.right-=RA.right,lA.top-=RA.top,lA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,W,nA,lA){return!(!R||R.enabled===!1||lA&&!R.endOnly||R.endOnly&&!W||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(W){return Ki(W)}),this.result=uo(X({},R.result.coords),X({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),L}();function uo(L,R){return{rect:R,coords:L,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Rn(L,R){var W=L.defaults,nA={start:L.start,set:L.set,beforeEnd:L.beforeEnd,stop:L.stop},lA=function(uA){var BA=uA||{};for(var QA in BA.enabled=BA.enabled!==!1,W)QA in BA||(BA[QA]=W[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(lA._defaults=W,lA._methods=nA),lA}function ho(L){var R=L.iEvent,W=L.interaction.modification.result;W&&(R.modifiers=W.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(L){L.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(L){var R=L.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(L){var R=L.interaction,W=L.interaction.modification;W.start(L,R.coords.start.page),R.edges=W.edges,W.applyToInteraction(L)},"interactions:before-action-move":function(L){var R=L.interaction,W=R.modification,nA=W.setAndApply(L);return R.edges=W.edges,nA},"interactions:before-action-end":function(L){var R=L.interaction,W=R.modification,nA=W.beforeEnd(L);return R.edges=W.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-move":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:stop":function(L){return L.interaction.modification.stop(L)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(L){f(W,L);var R=U(W);function W(nA,lA,uA,BA,QA,yA,RA){var DA;I(this,W),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,uA),le=BA==="start",he=BA==="end",De=le?K(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=X({},Qe.page),DA.client=X({},Qe.client),DA.rect=X({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=lA.ctrlKey,DA.altKey=lA.altKey,DA.shiftKey=lA.shiftKey,DA.metaKey=lA.metaKey,DA.button=lA.button,DA.buttons=lA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||uA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:De.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-De[VA].x,y:DA[VA].y-De[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=X({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(W,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var lA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;lA<0&&(lA+=360);var uA=112.5<=lA&&lA<247.5,BA=202.5<=lA&&lA<337.5;return{up:BA,down:!BA&&22.5<=lA&&lA<157.5,left:uA,right:!uA&&(292.5<=lA||lA<67.5),angle:lA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),W}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(L){this.page.x=L}},pageY:{get:function(){return this.page.y},set:function(L){this.page.y=L}},clientX:{get:function(){return this.client.x},set:function(L){this.client.x=L}},clientY:{get:function(){return this.client.y},set:function(L){this.client.y=L}},dx:{get:function(){return this.delta.x},set:function(L){this.delta.x=L}},dy:{get:function(){return this.delta.y},set:function(L){this.delta.y=L}},velocityX:{get:function(){return this.velocity.x},set:function(L){this.velocity.x=L}},velocityY:{get:function(){return this.velocity.y},set:function(L){this.velocity.y=L}}});var ys=b(function L(R,W,nA,lA,uA){I(this,L),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=W,this.event=nA,this.downTime=lA,this.downTarget=uA}),Ds=function(L){return L.interactable="",L.element="",L.prepared="",L.pointerIsDown="",L.pointerWasMoved="",L._proxy="",L}({}),vs=function(L){return L.start="",L.move="",L.end="",L.stop="",L.interacting="",L}({}),ks=0,_s=function(){function L(R){var W=this,nA=R.pointerType,lA=R.scopeFire;I(this,L),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=lA,this.pointerType=nA;var uA=this;this._proxy={};var BA=function(DA){Object.defineProperty(W._proxy,DA,{get:function(){return uA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(W._proxy,DA,{value:function(){return uA[DA].apply(uA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(L,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,W,nA){var lA=this.updatePointer(R,W,nA,!0),uA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:R,event:W,eventTarget:nA,pointerIndex:lA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(R,W,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!W.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=W,this.element=nA,this.rect=W.getRect(nA),this.edges=this.prepared.edges?X({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(R,W,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,W,nA,!1);var lA,uA,BA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(lA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(lA,uA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:W,type:"move",eventTarget:nA,dx:lA,dy:uA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&j(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=X({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,W,nA,lA){var uA=this.getPointerIndex(R);uA===-1&&(uA=this.updatePointer(R,W,nA,!1));var BA=/cancel$/i.test(W.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:uA,pointerInfo:this.pointers[uA],event:W,eventTarget:nA,type:BA,curEventTarget:lA,interaction:this}),this.simulation||this.end(W),this.removePointer(R,W)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var W;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(W=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,W===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var W=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===W})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,W,nA,lA){var uA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(W.type)),DA?DA.pointer=R:(DA=new ys(yA,R,W,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),uA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,uA.page.x=QA.page.x-BA.page.x,uA.page.y=QA.page.y-BA.page.y,uA.client.x=QA.client.x-BA.client.x,uA.client.y=QA.client.y-BA.client.y,uA.timeStamp=QA.timeStamp-BA.timeStamp,lA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,Y(this.downPointer,R),this.interacting()||(j(this.coords.start,this.coords.cur),j(this.coords.prev,this.coords.cur),this.downEvent=W,this.pointerWasMoved=!1)),this._updateLatestPointer(R,W,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:W,eventTarget:nA,down:lA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,W){var nA=this.getPointerIndex(R);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:W,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,W,nA){this._latestPointer.pointer=R,this._latestPointer.event=W,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,W,nA,lA){return new ai(this,R,this.prepared.name,W,this.element,nA,lA)}},{key:"_fireEvent",value:function(R){var W;(W=this.interactable)==null||W.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var W=R.event,nA=R.phase,lA=R.preEnd,uA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(W,nA,lA,uA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),L}();function $r(L){zr(L.interaction)}function zr(L){if(!function(W){return!(!W.offset.pending.x&&!W.offset.pending.y)}(L))return!1;var R=L.offset.pending;return Jr(L.coords.cur,R),Jr(L.coords.delta,R),gA(L.edges,L.rect,R),R.x=0,R.y=0,!0}function sg(L){var R=L.x,W=L.y;this.offset.pending.x+=R,this.offset.pending.y+=W,this.offset.total.x+=R,this.offset.total.y+=W}function Jr(L,R){var W=L.page,nA=L.client,lA=R.x,uA=R.y;W.x+=lA,W.y+=uA,nA.x+=lA,nA.y+=uA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(L){L.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(L){L.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(L){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(L.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(L){var R=L.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(L){var R=L.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function L(R){I(this,L),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=R}return b(L,[{key:"start",value:function(R){var W=this.interaction,nA=qo(W);if(!nA||!nA.enabled)return!1;var lA=W.coords.velocity.client,uA=cA(lA.x,lA.y),BA=this.modification||(this.modification=new Zo(W));if(BA.copyFrom(W.modification),this.t0=W._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=W.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-W.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return W.modification.result.rect=null,W.offsetBy(this.targetOffset),W._doPhase({interaction:W,event:R,phase:"inertiastart"}),W.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),W.modification.result.rect=null,this.active=!0,W.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,W=this.interaction.coords.velocity.client,nA=qo(this.interaction),lA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(W.x-uA)/lA,y:(W.y-uA)/lA},this.te=uA,this.lambda_v0=lA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var W=this;this.timeout=fe.request(function(){W.active&&R()})}},{key:"inertiaTick",value:function(){var R,W,nA,lA,uA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,W=0,nA=this.targetOffset.x,lA=this.targetOffset.y,uA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,uA),y:Ms(QA,W,lA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,W=this.interaction,nA=W._now()-this.t0,lA=qo(W).smoothEndDuration;if(nA<lA){var uA={x:Xo(nA,0,this.targetOffset.x,lA),y:Xo(nA,0,this.targetOffset.y,lA)},BA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,W.offsetBy(BA),W.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else W.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var W=R.pointer,nA=R.event,lA=R.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(W,nA,lA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),j(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,fe.cancel(this.timeout)}}]),L}();function qo(L){var R=L.interactable,W=L.prepared;return R&&R.options&&W.name&&R.options[W.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(L){var R=L.defaults;L.usePlugin(Zr),L.usePlugin(Wo),L.actions.phases.inertiastart=!0,L.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(L){var R=L.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(L){var R=L.interaction,W=L.event;return(!R._interacting||R.simulation||!R.inertia.start(W))&&null},"interactions:down":function(L){var R=L.interaction,W=L.eventTarget,nA=R.inertia;if(nA.active)for(var lA=W;u.element(lA);){if(lA===R.element){nA.resume(L);break}lA=T(lA)}},"interactions:stop":function(L){var R=L.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(L){var R=L.interaction.modification;R.stop(L),R.start(L,L.interaction.coords.cur.page),R.applyToInteraction(L)},"interactions:before-action-inertiastart":function(L){return L.interaction.modification.setAndApply(L)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-resume":function(L){return L.interaction.modification.restoreInteractionCoords(L)}}};function Ms(L,R,W,nA){var lA=1-L;return lA*lA*R+2*lA*L*W+L*L*nA}function Xo(L,R,W,nA){return-W*(L/=nA)*(L-2)+R}var dg=gg;function xs(L,R){for(var W=0;W<R.length;W++){var nA=R[W];if(L.immediatePropagationStopped)break;nA(L)}}var Ss=function(){function L(R){I(this,L),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=X({},R||{})}return b(L,[{key:"fire",value:function(R){var W,nA=this.global;(W=this.types[R.type])&&xs(R,W),!R.propagationStopped&&nA&&(W=nA[R.type])&&xs(R,W)}},{key:"on",value:function(R,W){var nA=V(R,W);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,W){var nA=V(R,W);for(R in nA){var lA=this.types[R];if(lA&&lA.length)for(var uA=0,BA=nA[R];uA<BA.length;uA++){var QA=BA[uA],yA=lA.indexOf(QA);yA!==-1&&lA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),L}(),ug=function(){function L(R){I(this,L),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,Y(this,R)}return b(L,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),L}();function po(L){return u.object(L)?{capture:!!L.capture,passive:!!L.passive}:{capture:!!L,passive:!1}}function at(L,R){return L===R||(typeof L=="boolean"?!!R.capture===L&&!R.passive:!!L.capture==!!R.capture&&!!L.passive==!!R.passive)}var gt={id:"events",install:function(L){var R,W=[],nA={},lA=[],uA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,De=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,De)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:lA,targets:W,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(W,function(De){return De.eventTarget===DA});he||(he={eventTarget:DA,events:{}},W.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(De){return De.func===VA&&at(De.options,le)})||(DA.addEventListener(HA,VA,uA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(W,function(He){return He.eventTarget===DA}),he=W[le];if(he&&he.events)if(HA!=="all"){var De=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,uA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],De=!0);break}}}De&&!Object.keys(he.events).length&&W.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],De=he;u.element(De);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(De,OA)&&M(KA,he)&&M(KA,De)){var ee=kA.listeners;ge.currentTarget=De;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}De=T(De)}}function RA(DA){return yA(DA,!0)}return(R=L.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),L.events=uA,uA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(L){for(var R=0,W=Wr.methodOrder;R<W.length;R++){var nA=W[R],lA=Wr[nA](L);if(lA)return lA}return null},simulationResume:function(L){var R=L.pointerType,W=L.eventType,nA=L.eventTarget,lA=L.scope;if(!/down|start/i.test(W))return null;for(var uA=0,BA=lA.interactions.list;uA<BA.length;uA++){var QA=BA[uA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=T(yA)}}return null},mouseOrPen:function(L){var R,W=L.pointerId,nA=L.pointerType,lA=L.eventType,uA=L.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=uA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,W))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=uA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(lA)&&HA.simulation))return HA}return null},hasPointer:function(L){for(var R=L.pointerId,W=0,nA=L.scope.interactions.list;W<nA.length;W++){var lA=nA[W];if(Ns(lA,R))return lA}return null},idle:function(L){for(var R=L.pointerType,W=0,nA=L.scope.interactions.list;W<nA.length;W++){var lA=nA[W];if(lA.pointers.length===1){var uA=lA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&R===lA.pointerType)return lA}return null}};function Ns(L,R){return L.pointers.some(function(W){return W.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(L,R){return function(W){var nA=R.interactions.list,lA=MA(W),uA=qA(W),BA=uA[0],QA=uA[1],yA=[];if(/^touch/.test(W.type)){R.prevTouchTime=R.now();for(var RA=0,DA=W.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:lA,eventType:W.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(W.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||W.timeStamp===0}if(!le){var De={pointer:W,pointerId:zA(W),pointerType:lA,eventType:W.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(De);yA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][L](KA,W,ee,Be)}}}function Rs(L){var R=L.pointerType,W=L.scope,nA={interaction:hg.search(L),searchDetails:L};return W.fire("interactions:find",nA),nA.interaction||W.interactions.new({pointerType:R})}function Vo(L,R){var W=L.doc,nA=L.scope,lA=L.options,uA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),BA.delegatedEvents)QA(W,yA,BA.delegateListener),QA(W,yA,BA.delegateUseCapture,!0);for(var RA=lA&&lA.events,DA=0;DA<uA.length;DA++){var HA=uA[DA];QA(W,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(L){for(var R={},W=0;W<jr.length;W++){var nA=jr[W];R[nA]=Fs(nA,L)}var lA,uA=Q.pEventTypes;function BA(){for(var QA=0,yA=L.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];L.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(lA=r.PointerEvent?[{type:uA.down,listener:BA},{type:uA.down,listener:R.pointerDown},{type:uA.move,listener:R.pointerMove},{type:uA.up,listener:R.pointerUp},{type:uA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=L.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),L.prevTouchTime=0,L.Interaction=function(QA){f(RA,QA);var yA=U(RA);function RA(){return I(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return L.interactions.pointerMoveTolerance},set:function(DA){L.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return L.now()}}]),RA}(_s),L.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return L.fire(RA,DA)};var yA=new L.Interaction(QA);return L.interactions.list.push(yA),yA},listeners:R,docEvents:lA,pointerMoveTolerance:1},L.usePlugin(ri)},listeners:{"scope:add-document":function(L){return Vo(L,"add")},"scope:remove-document":function(L){return Vo(L,"remove")},"interactable:unset":function(L,R){for(var W=L.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var lA=R.interactions.list[nA];lA.interactable===W&&(lA.stop(),R.fire("interactions:destroy",{interaction:lA}),lA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Ln=function(L){return L[L.On=0]="On",L[L.Off=1]="Off",L}(Ln||{}),Ii=function(){function L(R,W,nA,lA){I(this,L),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=W.actions,this.target=R,this._context=W.context||nA,this._win=v(H(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=lA,this.set(W)}return b(L,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,W){return u.func(W.onstart)&&this.on("".concat(R,"start"),W.onstart),u.func(W.onmove)&&this.on("".concat(R,"move"),W.onmove),u.func(W.onend)&&this.on("".concat(R,"end"),W.onend),u.func(W.oninertiastart)&&this.on("".concat(R,"inertiastart"),W.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,W,nA){var lA,uA=this,BA=(lA=this._actions.map[R])==null?void 0:lA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,uA._actions)};(u.array(W)||u.object(W))&&this._onOff(Ln.Off,R,W,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Ln.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,W){var nA=this._defaults;for(var lA in W){var uA=lA,BA=this.options[R],QA=W[uA];uA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[uA]=xe(QA):u.plainObject(QA)?(BA[uA]=X(BA[uA]||{},Ki(QA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(BA[uA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[uA])?BA[uA].enabled=QA:BA[uA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),D(R)}},{key:"rectChecker",value:function(R){var W=this;return u.func(R)?(this.getRect=function(nA){var lA=X({},R.apply(W,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,W){if(H(W)||u.object(W)){for(var nA in this.options[R]=W,this._actions.map)this.options[nA][R]=W;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,W,nA){return!this.testIgnore(R.ignoreFrom,W,nA)&&this.testAllow(R.allowFrom,W,nA)}},{key:"testAllow",value:function(R,W,nA){return!R||!!u.element(nA)&&(u.string(R)?J(nA,R,W):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,W,nA){return!(!R||!u.element(nA))&&(u.string(R)?J(nA,R,W):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,W,nA,lA,uA){u.object(W)&&!u.array(W)&&(lA=nA,nA=null);var BA=V(W,nA,uA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Ln.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Ln.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,lA):this._scopeEvents[R===Ln.On?"add":"remove"](this.target,QA,DA,lA)}}return this}},{key:"on",value:function(R,W,nA){return this._onOff(Ln.On,R,W,nA)}},{key:"off",value:function(R,W,nA){return this._onOff(Ln.Off,R,W,nA)}},{key:"set",value:function(R){var W=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(W.base),this._actions.methodDict){var lA=nA,uA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,X(X({},W.perAction),W.actions[lA])),this[uA](R[lA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var W=this._scopeEvents.delegatedEvents[R],nA=W.length-1;nA>=0;nA--){var lA=W[nA],uA=lA.selector,BA=lA.context,QA=lA.listeners;uA===this.target&&BA===this._context&&W.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),L}(),Ls=function(){function L(R){var W=this;I(this,L),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,uA=lA.target,BA=u.string(uA)?W.selectorMap[uA]:uA[W.scope.id],QA=NA(BA,function(yA){return yA===lA});BA.splice(QA,1)}})}return b(L,[{key:"new",value:function(R,W){W=X(W||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,W,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:W,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,W){var nA=W&&W.context||this.scope.document,lA=u.string(R),uA=lA?this.selectorMap[R]:R[this.scope.id];if(uA)return UA(uA,function(BA){return BA._context===nA&&(lA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,W){for(var nA=0,lA=this.list;nA<lA.length;nA++){var uA=lA[nA],BA=void 0;if((u.string(uA.target)?u.element(R)&&z(R,uA.target):R===uA.target)&&uA.inContext(R)&&(BA=W(uA)),BA!==void 0)return BA}}}]),L}(),qr=function(){function L(){var R=this;I(this,L),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function uA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=uA.globalEvents),yA};return lA.getPointerAverage=vA,lA.getTouchBBox=$A,lA.getTouchDistance=XA,lA.getTouchAngle=SA,lA.getElementRect=D,lA.getElementClientRect=Z,lA.matchesSelector=z,lA.closest=S,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(uA,BA){return this.scope.usePlugin(uA,BA),this},lA.isSet=function(uA,BA){return!!this.scope.interactables.get(uA,BA&&BA.context)},lA.on=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.on(HA,uA[HA],BA);return this}return yn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(BA):this.globalEvents[uA]=[BA]:this.scope.events.add(this.scope.document,uA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.off(HA,uA[HA],BA);return this}var VA;return yn(uA,this.scope.actions)?uA in this.globalEvents&&(VA=this.globalEvents[uA].indexOf(BA))!==-1&&this.globalEvents[uA].splice(VA,1):this.scope.events.remove(this.scope.document,uA,BA,QA),this},"The interact.off() method is being deprecated"),lA.debug=function(){return this.scope},lA.supportsTouch=function(){return Q.supportsTouch},lA.supportsPointerEvent=function(){return Q.supportsPointerEvent},lA.stop=function(){for(var uA=0,BA=this.scope.interactions.list;uA<BA.length;uA++)BA[uA].stop();return this},lA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(uA,BA){this.scope.addDocument(uA,BA)},lA.removeDocument=function(uA){this.scope.removeDocument(uA)},lA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var W=this;this.Interactable=function(nA){f(uA,nA);var lA=U(uA);function uA(){return I(this,uA),lA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return W.defaults}},{key:"set",value:function(BA){return P(x(uA.prototype),"set",this).call(this,BA),W.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){P(x(uA.prototype),"unset",this).call(this);var BA=W.interactables.list.indexOf(this);BA<0||(W.interactables.list.splice(BA,1),W.fire("interactable:unset",{interactable:this}))}}]),uA}(Ii)}return b(L,[{key:"addListeners",value:function(R,W){this.listenerMaps.push({id:W,map:R})}},{key:"fire",value:function(R,W){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var uA=lA[nA].map[R];if(uA&&uA(W,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(W,nA){return W.isInitialized=!0,u.window(nA)&&_(nA),r.init(nA),Q.init(nA),fe.init(nA),W.window=nA,W.document=nA.document,W.usePlugin(Rt),W.usePlugin(gt),W}(this,R)}},{key:"pluginIsInstalled",value:function(R){var W=R.id;return W?!!this._plugins.map[W]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,W){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,W),R.listeners&&R.before){for(var nA=0,lA=this.listenerMaps.length,uA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<lA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(uA[BA]||uA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,W){if(this.getDocIndex(R)!==-1)return!1;var nA=v(R);W=W?X({},W):{},this.documents.push({doc:R,options:W}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:W})}},{key:"removeDocument",value:function(R){var W=this.getDocIndex(R),nA=v(R),lA=this.documents[W].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(W,1),this.events.documents.splice(W,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(R){for(var W=0;W<this.documents.length;W++)if(this.documents[W].doc===R)return W;return-1}},{key:"getDocOptions",value:function(R){var W=this.getDocIndex(R);return W===-1?null:this.documents[W].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),L}();function tn(L){return L&&L.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(L){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],uA=nA[1];return lA in L||uA in L}),W=function(nA,lA){for(var uA=L.range,BA=L.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=L.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:uA,grid:L,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/L[ge]),De=Math.round((lA-RA.y)/L[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*L[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,De*L[le]+RA.y))}return DA};return W.grid=L,W.coordFields=R,W}}),Hs={id:"snappers",install:function(L){var R=L.interactStatic;R.snappers=X(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(L){var R=L.state,W=L.rect,nA=L.edges,lA=L.pageCoords,uA=R.options,BA=uA.ratio,QA=uA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=W.width/W.height),R.startCoords=X({},lA),R.startRect=X({},W),R.ratio=BA,R.equalDelta=RA;var HA=R.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&X(nA,HA),DA!=null&&DA.length){var ge=new Zo(L.interaction);ge.copyFrom(L.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},L))}},set:function(L){var R=L.state,W=L.rect,nA=L.coords,lA=R.linkedEdges,uA=X({},nA),BA=R.equalDelta?Cg:un;if(X(L.edges,lA),BA(R,R.xIsPrimaryAxis,nA,W),!R.subModification)return null;var QA=X({},W);gA(lA,QA,{x:nA.x-uA.x,y:nA.y-uA.y});var yA=R.subModification.setAll(i(i({},L),{},{rect:QA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),X(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(L,R,W){var nA=L.startCoords,lA=L.edgeSign;R?W.y=nA.y+(W.x-nA.x)*lA.y:W.x=nA.x+(W.y-nA.y)*lA.x}function un(L,R,W,nA){var lA=L.startRect,uA=L.startCoords,BA=L.ratio,QA=L.edgeSign;if(R){var yA=nA.width/BA;W.y=uA.y+(yA-lA.height)*QA.y}else{var RA=nA.height*BA;W.x=uA.x+(RA-lA.width)*QA.x}}var Bg=Rn(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Gn(L,R,W){return u.func(L)?iA(L,R.interactable,R.element,[W.x,W.y,R]):iA(L,R.interactable,R.element)}var Ti={start:function(L){var R=L.rect,W=L.startOffset,nA=L.state,lA=L.interaction,uA=L.pageCoords,BA=nA.options,QA=BA.elementRect,yA=X({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Gn(BA.restriction,lA,uA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=W.left-R.width*QA.left,yA.top+=W.top-R.height*QA.top,yA.right+=W.right-R.width*(1-QA.right),yA.bottom+=W.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(L){var R=L.coords,W=L.interaction,nA=L.state,lA=nA.options,uA=nA.offset,BA=Gn(lA.restriction,W,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=X({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-uA.right,R.x),QA.left+uA.left),R.y=Math.max(Math.min(QA.bottom-uA.bottom,R.y),QA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Rn(Ti,"restrict"),Jn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(L,R){for(var W=0,nA=["top","left","bottom","right"];W<nA.length;W++){var lA=nA[W];lA in L||(L[lA]=R[lA])}return L}var fi={noInner:Jn,noOuter:Ar,start:function(L){var R,W=L.interaction,nA=L.startOffset,lA=L.state,uA=lA.options;uA&&(R=dA(Gn(uA.offset,W,W.coords.start.page))),R=R||{x:0,y:0},lA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(L){var R=L.coords,W=L.edges,nA=L.interaction,lA=L.state,uA=lA.offset,BA=lA.options;if(W){var QA=X({},R),yA=Gn(BA.inner,nA,QA)||{},RA=Gn(BA.outer,nA,QA)||{};Ts(yA,Jn),Ts(RA,Ar),W.top?R.y=Math.min(Math.max(RA.top+uA.top,QA.y),yA.top+uA.top):W.bottom&&(R.y=Math.max(Math.min(RA.bottom+uA.bottom,QA.y),yA.bottom+uA.bottom)),W.left?R.x=Math.min(Math.max(RA.left+uA.left,QA.x),yA.left+uA.left):W.right&&(R.x=Math.max(Math.min(RA.right+uA.right,QA.x),yA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Rn(fi,"restrictEdges"),Eg=X({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(L){}},Ti.defaults),Qg=Rn({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Rn({start:function(L){return fi.start(L)},set:function(L){var R=L.interaction,W=L.state,nA=L.rect,lA=L.edges,uA=W.options;if(lA){var BA=mA(Gn(uA.min,R,L.coords))||Us,QA=mA(Gn(uA.max,R,L.coords))||er;W.options={endOnly:uA.endOnly,inner:X({},fi.noInner),outer:X({},fi.noOuter)},lA.top?(W.options.inner.top=nA.bottom-BA.height,W.options.outer.top=nA.bottom-QA.height):lA.bottom&&(W.options.inner.bottom=nA.top+BA.height,W.options.outer.bottom=nA.top+QA.height),lA.left?(W.options.inner.left=nA.right-BA.width,W.options.outer.left=nA.right-QA.width):lA.right&&(W.options.inner.right=nA.left+BA.width,W.options.outer.right=nA.left+QA.width),fi.set(L),W.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(L){var R,W=L.interaction,nA=L.interactable,lA=L.element,uA=L.rect,BA=L.state,QA=L.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=dA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(L):{x:0,y:0};if(yA.offset==="startCoords")R={x:W.coords.start.page.x,y:W.coords.start.page.y};else{var DA=iA(yA.offset,nA,lA,[W]);(R=dA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=uA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-uA.width*VA.x+R.x,y:QA.top-uA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(L){var R=L.interaction,W=L.coords,nA=L.state,lA=nA.options,uA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=X({},W),yA=[];lA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=uA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=lA.targets.length;le<he;le++){var De=lA.targets[le],Qe=void 0;(Qe=u.func(De)?De(VA,ge,R._proxy,HA,le):De)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:lA.range,source:De,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(W.x=kA.target.x,W.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Rn(Aa,"snap"),Co={start:function(L){var R=L.state,W=L.edges,nA=R.options;if(!W)return null;L.state={options:{targets:null,relativePoints:[{x:W.left?0:1,y:W.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(L),R.offsets=L.state.offsets,L.state=R},set:function(L){var R=L.interaction,W=L.state,nA=L.coords,lA=W.options,uA=W.offsets,BA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};W.options=X({},lA),W.options.targets=[];for(var QA=0,yA=lA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=W.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}W.options.targets.push(DA)}}var De=Aa.set(L);return W.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Rn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Rn({start:function(L){var R=L.edges;return R?(L.state.targetFields=L.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(L)):null},set:Co.set,defaults:X(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(L){var R=L.interactStatic;for(var W in L.usePlugin(Wo),L.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[W],lA=nA._defaults,uA=nA._methods;lA._methods=uA,L.defaults.perAction[W]=lA}}},Ig=Os,tr=function(L){f(W,L);var R=U(W);function W(nA,lA,uA,BA,QA,yA){var RA;if(I(this,W),Y(K(RA=R.call(this,QA)),uA),uA!==lA&&Y(K(RA),lA),RA.timeStamp=yA,RA.originalEvent=uA,RA.type=nA,RA.pointerId=zA(lA),RA.pointerType=MA(lA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(lA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=lA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(W,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX-=lA,this.pageY-=uA,this.clientX-=lA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX+=lA,this.pageY+=uA,this.clientX+=lA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),W}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(L){L.pointerEvents=wi,L.defaults.actions.pointerEvents=wi.defaults,X(L.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(L){var R=L.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(L){var R=L.down,W=L.pointerInfo;!R&&W.hold||(W.hold={duration:1/0,timeout:null})},"interactions:move":function(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget;L.duplicate||W.pointerIsDown&&!W.pointerWasMoved||(W.pointerIsDown&&Tt(L),si({interaction:W,pointer:nA,event:lA,eventTarget:uA,type:"move"},R))},"interactions:down":function(L,R){(function(W,nA){for(var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget,yA=W.pointerIndex,RA=lA.pointers[yA].hold,DA=q(QA),HA={interaction:lA,pointer:uA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,De=HA.targets;he<De.length;he++){var Qe=De[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:lA,eventTarget:QA,pointer:uA,event:BA,type:"hold"},nA)},le)}})(L,R),si(L,R)},"interactions:up":function(L,R){Tt(L),si(L,R),function(W,nA){var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget;lA.pointerWasMoved||si({interaction:lA,eventTarget:QA,pointer:uA,event:BA,type:"tap"},nA)}(L,R)},"interactions:cancel":function(L,R){Tt(L),si(L,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function si(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget,BA=L.type,QA=L.targets,yA=QA===void 0?ta(L,R):QA,RA=new tr(BA,nA,lA,uA,W,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:W,pointer:nA,event:lA,eventTarget:uA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:W,pointer:nA,event:lA,eventTarget:uA,type:"doubletap"},R):RA;W.prevTap=he,W.tapTime=he.timeStamp}return RA}function ta(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget,BA=L.type,QA=W.getPointerIndex(nA),yA=W.pointers[QA];if(BA==="tap"&&(W.pointerWasMoved||!yA||yA.downTarget!==uA))return[];for(var RA=q(uA),DA={interaction:W,pointer:nA,event:lA,eventTarget:uA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=W.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(L){var R=L.interaction,W=L.pointerIndex,nA=R.pointers[W].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(L){var R=L.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(L){L.usePlugin(wi);var R=L.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=L.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(L,R){return L["pointerEvents:".concat(R)]=mo,L},{"pointerEvents:new":function(L){var R=L.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(L,R){var W=L.interaction,nA=L.pointerEvent,lA=L.eventTarget,uA=L.targets;if(nA.type==="hold"&&uA.length){var BA=uA[0].eventable.options.holdRepeatInterval;BA<=0||(W.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:W,eventTarget:lA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,fg={id:"pointer-events/interactableTargets",install:function(L){var R=L.Interactable;R.prototype.pointerEvents=function(nA){return X(this.events.options,nA),this};var W=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,lA){var uA=W.call(this,nA,lA);return uA===this&&(this.events.options[nA]=lA),uA}},listeners:{"pointerEvents:collect-targets":function(L,R){var W=L.targets,nA=L.node,lA=L.type,uA=L.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[lA]&&QA.types[lA].length&&BA.testIgnoreAllow(yA,nA,uA)&&W.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(L){var R=L.interactable;R.events.getRect=function(W){return R.getRect(W)}},"interactable:set":function(L,R){var W=L.interactable,nA=L.options;X(W.events.options,R.pointerEvents.defaults),X(W.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(L){L.usePlugin(na),L.usePlugin(zs),L.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(L){var R=L.Interactable;L.actions.phases.reflow=!0,R.prototype.reflow=function(W){return function(nA,lA,uA){for(var BA=nA.getAllElements(),QA=uA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===lA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:uA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Zn){Be._reflowResolve=Zn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(uA,nA,HA,lA,De)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,W,L)}},listeners:{"interactions:stop":function(L,R){var W=L.interaction;W.pointerType==="reflow"&&(W._reflowResolve&&W._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(R.interactions.list,W))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(Ig),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var u1=Bs.exports;const Jp=fd(u1),Vc=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,d=t,I=A.inject(Fp),o=A.inject(Rp);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),y=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let f=!1,x=!1,N=NaN,K=NaN,U=NaN,P=NaN,G=-1,k=-1,m=-1,F=-1,_=i.x,v=i.y,B=i.w,p=i.h;const u=A.ref(),s=A.reactive({i:A.toRef(i,"i"),state:y,wrapper:u,calcXY:iA});function g(aA){V(aA)}function l(){sA()}function h(aA){fn(i.isDraggable)&&(y.draggable=aA)}function C(aA){fn(i.isResizable)&&(y.resizable=aA)}function a(aA){fn(i.isBounded)&&(y.bounded=aA)}function r(aA){y.transformScale=aA}function E(aA){y.rowHeight=aA}function Q(aA){y.maxRows=aA}function M(){y.rtl=zp()==="rtl",sA()}function S(aA){y.cols=Math.floor(aA)}I.increaseItem(s),A.onBeforeMount(()=>{y.rtl=zp()==="rtl"}),A.onMounted(()=>{I.responsive&&I.lastBreakpoint?y.cols=Op(I.lastBreakpoint,I.cols):y.cols=I.colNum,y.rowHeight=I.rowHeight,y.containerWidth=I.width!==null?I.width:100,y.margin=I.margin!==void 0?I.margin.map(Number):[10,10],y.maxRows=I.maxRows,fn(i.isDraggable)?y.draggable=I.isDraggable:y.draggable=i.isDraggable,fn(i.isResizable)?y.resizable=I.isResizable:y.resizable=i.isResizable,fn(i.isBounded)?y.bounded=I.isBounded:y.bounded=i.isBounded,y.transformScale=I.transformScale,y.useCssTransforms=I.useCssTransforms,y.useStyleCursor=I.useStyleCursor,A.watchEffect(()=>{_=i.x,v=i.y,p=i.h,B=i.w,jt(D)}),o.on("updateWidth",g),o.on("compact",l),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",S)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",l),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",S),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(s)}),e({state:y,wrapper:u});const T=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>y.resizable&&!i.static),AA=A.computed(()=>I.isMirrored?!y.rtl:y.rtl),eA=A.computed(()=>(y.draggable||y.resizable)&&!i.static),J=r1("item"),$=A.computed(()=>({[J.b()]:!0,[J.bm("resizable")]:z.value,[J.bm("static")]:i.static,[J.bm("resizing")]:y.isResizing,[J.bm("dragging")]:y.isDragging,[J.bm("transform")]:y.useCssTransforms,[J.bm("rtl")]:AA.value,[J.bm("no-touch")]:T&&eA.value})),Z=A.computed(()=>[J.be("resizer"),AA.value&&J.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{y.draggable=aA}),A.watch(()=>i.static,()=>{jt(Y),jt(tA)}),A.watch(()=>y.draggable,()=>{jt(Y)}),A.watch(()=>i.isResizable,aA=>{y.resizable=aA}),A.watch(()=>i.isBounded,aA=>{y.bounded=aA}),A.watch(()=>y.resizable,()=>{jt(tA)}),A.watch(()=>y.rowHeight,()=>{jt(D),jt(q)}),A.watch([()=>y.cols,()=>y.containerWidth],()=>{jt(tA),jt(D),jt(q)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(D)}),A.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const aA=I.margin;!aA||aA[0]===y.margin[0]&&aA[1]===y.margin[1]||(y.margin=aA.map(Number),jt(D),jt(q))});function D(){i.x+i.w>y.cols?(_=0,B=i.w>y.cols?y.cols:i.w):(_=i.x,B=i.w);const aA=rA(_,v,B,p);y.isDragging&&(aA.top=y.dragging.top,AA.value?aA.right=y.dragging.left:aA.left=y.dragging.left),y.isResizing&&(aA.width=y.resizing.width,aA.height=y.resizing.height);let CA;y.useCssTransforms?AA.value?CA=t1(aA.top,aA.right,aA.width,aA.height):CA=e1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height),y.style=CA}function q(){const aA={};for(const CA of["width","height"]){const xA=y.style[CA].match(/^(\d+)px$/);if(!xA)return;aA[CA]=xA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function H(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&y.isResizing||CA!=="resizestart"&&!y.isResizing)return;const xA=Up(aA);if(fn(xA))return;const{x:zA,y:jA}=xA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),G=B,k=p,vA=rA(_,v,B,p),Ae.width=vA.width,Ae.height=vA.height,y.resizing=Ae,y.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(U=zA),!aA.edges.top&&!aA.edges.bottom&&(P=jA);const $A=Yp(U,P,zA,jA);AA.value?Ae.width=y.resizing.width-$A.deltaX/y.transformScale:Ae.width=y.resizing.width+$A.deltaX/y.transformScale,Ae.height=y.resizing.height+$A.deltaY/y.transformScale,y.resizing=Ae;break}case"resizeend":{vA=rA(_,v,B,p),Ae.width=vA.width,Ae.height=vA.height,y.resizing={width:-1,height:-1},y.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),U=zA,P=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(G!==B||k!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,_,v,vA.h,vA.w)}function X(aA){if(i.static||y.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&y.isDragging||CA!=="dragstart"&&!y.isDragging)return;const xA=Up(aA);if(fn(xA))return;const{x:zA,y:jA}=xA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=_,F=v;const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/y.transformScale,qA=XA.left/y.transformScale,Ce=SA.right/y.transformScale,ye=XA.right/y.transformScale,xe=SA.top/y.transformScale,NA=XA.top/y.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,y.dragging=vA,y.isDragging=!0;break}case"dragmove":{const XA=Yp(N,K,zA,jA);if(AA.value?vA.left=y.dragging.left-XA.deltaX/y.transformScale:vA.left=y.dragging.left+XA.deltaX/y.transformScale,vA.top=y.dragging.top+XA.deltaY/y.transformScale,y.bounded){const SA=Ae.offsetParent.clientHeight-mA(i.h,y.rowHeight,y.margin[1]);vA.top=gA(vA.top,0,SA);const MA=dA(),qA=y.containerWidth-mA(i.w,MA,y.margin[0]);vA.left=gA(vA.left,0,qA)}y.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/y.transformScale,qA=XA.left/y.transformScale,Ce=SA.right/y.transformScale,ye=XA.right/y.transformScale,xe=SA.top/y.transformScale,NA=XA.top/y.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,y.dragging={top:-1,left:-1},y.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,K=jA,(_!==$A.x||v!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==_||F!==v)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,xA,zA){const jA=dA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*y.margin[0]),top:Math.round(y.rowHeight*CA+(CA+1)*y.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*y.margin[0]),height:zA===1/0?zA:Math.round(y.rowHeight*zA+Math.max(0,zA-1)*y.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*y.margin[0]),top:Math.round(y.rowHeight*CA+(CA+1)*y.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*y.margin[0]),height:zA===1/0?zA:Math.round(y.rowHeight*zA+Math.max(0,zA-1)*y.margin[1])},Ae}function iA(aA,CA){const xA=dA();let zA=Math.round((CA-y.margin[0])/(xA+y.margin[0])),jA=Math.round((aA-y.margin[1])/(y.rowHeight+y.margin[1]));return zA=Math.max(Math.min(zA,y.cols-B),0),jA=Math.max(Math.min(jA,y.maxRows-p),0),{x:zA,y:jA}}function dA(){return(y.containerWidth-y.margin[0]*(y.cols+1))/y.cols}function mA(aA,CA,xA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*xA):aA}function gA(aA,CA,xA){return Math.max(Math.min(aA,xA),CA)}function wA(aA,CA,xA=!1){const zA=dA();let jA=Math.round((CA+y.margin[0])/(zA+y.margin[0])),Ae=0;return xA?Ae=Math.ceil((aA+y.margin[1])/(y.rowHeight+y.margin[1])):Ae=Math.round((aA+y.margin[1])/(y.rowHeight+y.margin[1])),jA=Math.max(Math.min(jA,y.cols-_),0),Ae=Math.max(Math.min(Ae,y.maxRows-v),0),{w:jA,h:Ae}}function V(aA,CA){y.containerWidth=aA}function sA(){D()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),y.useStyleCursor||b.value.styleCursor(!1))}const hA=xp(X);function Y(){if(cA(),!!b.value)if(y.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),f||(f=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):X(CA)}))}else b.value.draggable({enabled:!1})}const j=xp(H);function tA(){if(cA(),!!b.value)if(y.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),xA={edges:{left:AA.value?`.${Z.value[0]}`:!1,right:AA.value?!1:`.${Z.value[0]}`,bottom:`.${Z.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*y.transformScale,width:CA.width*y.transformScale},max:{height:aA.height*y.transformScale,width:aA.width*y.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(xA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(xA),x||(x=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?j(zA):H(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(y.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(Z.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Tr(){}const h1=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(h1)));const p1=ao&&("ontouchstart"in window||B1()>0),C1=p1?"pointerdown":"click";function B1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function m1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:I=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,I)),Object.assign(b,o),n.dispatchEvent(b)}const E1="clickoutside",Q1=new Set;ao&&document.addEventListener(C1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();Q1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&m1(i,{type:E1})})},!0);const I1=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Ur;if(ao){for(const n of I1)if(n[1]in document){Ur=n;break}}const f1=!!Ur;A.computed(()=>!1);const w1=new Set,b1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(w1.forEach(t=>{t.value=!1}),document[n]){const t=b1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],y1=function(){return so.some(function(n){return n.activeTargets.length>0})},D1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",v1=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},k1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,I=e.right,o=e.bottom,b=e.left,y=e.width,f=e.height;return{x:t,y:i,top:d,right:I,bottom:o,left:b,width:y,height:f}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,I=d.offsetWidth,o=d.offsetHeight;return!(I||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},_1=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,M1=/^tb|vertical/,x1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ni=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new k1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!x1&&t.boxSizing==="border-box",I=M1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),y=i?0:ni(t.paddingTop),f=i?0:ni(t.paddingRight),x=i?0:ni(t.paddingBottom),N=i?0:ni(t.paddingLeft),K=i?0:ni(t.borderTopWidth),U=i?0:ni(t.borderRightWidth),P=i?0:ni(t.borderBottomWidth),G=i?0:ni(t.borderLeftWidth),k=N+f,m=y+x,F=G+U,_=K+P,v=b?n.offsetHeight-_-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?k+F:0,u=d?m+_:0,s=i?i.width:ni(t.width)-p-B,g=i?i.height:ni(t.height)-u-v,l=s+k+B+F,h=g+m+v+_,C=lo({devicePixelContentBoxSize:$o(Math.round(s*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:$o(l,h,I),contentBoxSize:$o(s,g,I),contentRect:new Xp(N,y,s,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return I}},S1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},N1=function(){var n=1/0,e=[];so.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var y=new S1(b.target),f=oC(b.target);o.push(y),b.lastReportedSize=iC(b.target,b.observedBox),f<n&&(n=f)}),e.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},F1=function(){var n=0;for(rC(n);y1();)n=N1(),rC(n);return D1()&&v1(),n>0},eg,aC=[],R1=function(){return aC.splice(0).forEach(function(n){return n()})},L1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return R1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},G1=function(n){L1(function(){requestAnimationFrame(n)})},Es=0,P1=function(){return!!Es},H1=250,K1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,T1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=H1),!tg){tg=!0;var i=lC(e);G1(function(){var d=!1;try{d=F1()}finally{if(tg=!1,e=i-lC(),!P1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,K1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new T1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},U1=function(n){return!Ag(n)&&!_1(n)&&getComputedStyle(n).display==="inline"},Y1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return U1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),O1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},Is=function(){function n(){}return n.connect=function(e,t){var i=new O1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),I=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(I&&so.push(d),d.observationTargets.push(new Y1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),I=i.observationTargets.length===1;d>=0&&(I&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),$1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Is.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Is.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Is.unobserve(this,e)},n.prototype.disconnect=function(){Is.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const fs=new WeakMap;function z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],I=fs.get(d.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:y,offsetHeight:f}=d.target;I(Object.assign(d,{offsetWidth:y,offsetHeight:f,width:o??y,height:b??f}))}}}const dC=new(ao&&window.ResizeObserver||$1)(z1);function uC(n,e){fs.set(n,e),dC.observe(n)}function hC(n){fs.has(n)&&(dC.unobserve(n),fs.delete(n))}function J1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const Z1=A.ref(!1);A.computed(()=>Z1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[I,o]]of CC.entries())t+=` html.${I} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const W1=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,d=t,I=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),y=A.ref(),{observeResize:f,unobserveResize:x}=J1(),N=Zv();N.on("resizeEvent",K),N.on("dragEvent",U),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{o1(b.value),I.originalLayout=b.value,A.nextTick(()=>{g(),y.value&&f(y.value,Wv(_,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),_()})})}),A.onBeforeUnmount(()=>{N.clearAll(),y.value&&x(y.value)});function K(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function U(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>I.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),_()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(I),increaseItem:P,decreaseItem:G})),A.provide(Rp,N),e({state:I,getItem:k,resizeEvent:u,dragEvent:p,layoutUpdate:m});function P(h){o.set(h.i,h)}function G(h){o.delete(h.i)}function k(h){return o.get(h)}function m(){if(!fn(b.value)&&!fn(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const h=l(b.value,I.originalLayout);if(h.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!C.has(a.i))}I.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),F(),d("layout-updated",b.value)}}function F(){I.mergedStyle={height:v()}}function _(){y.value&&(I.width=y.value.offsetWidth),N.emit("resizeEvent")}function v(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return qv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);fn(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((S,{i:T,x:z,y:AA})=>({...S,[T]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(I.placeholder.i=C,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=Q,I.placeholder.h=E,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):A.nextTick(()=>{I.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);fn(M)&&(M={h:0,w:0,x:0,y:0,i:""});let S;if(i.preventCollision){const T=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(S=T.length>0,S){let z=1/0,AA=1/0;T.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}S||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(I.placeholder.i=C,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):h&&A.nextTick(()=>{I.isDragging=!1}),i.responsive&&s(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function s(){const h=l1(i.breakpoints,I.width);if(h===I.lastBreakpoint)return;const C=Op(h,i.cols);!fn(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=qc(b.value));const a=c1(I.originalLayout,I.layouts,i.breakpoints,h,I.lastBreakpoint,C,i.verticalCompact);I.layouts[h]=a,I.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),I.lastBreakpoint=h,N.emit("setColNum",C)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function l(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:y,class:"vgl-layout",style:A.normalizeStyle(I.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Vn(),d=mt(),I=A.ref({});function o(N,K){N&&(I.value[K]=N)}let b=[];const y=()=>{if(!t.value)return;const N=new Map;for(const K of t.value)N.has(K.x)||N.set(K.x,[]),N.get(K.x).push(K);for(const K of N.values()){K.sort((P,G)=>P.y-G.y);let U=0;for(const P of K)P.y=U,U+=P.h}t.value=[...t.value]},f=e,x=()=>{f("gridItemMoved")};return A.onMounted(()=>{Object.keys(I.value).forEach(N=>{const K=I.value[N];if(!K)return;const U=new ResizeObserver(P=>{for(let G of P){const k=G.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(_=>_.i===N);F&&(F.contentHeight=Math.ceil((k+8)/(m+8)),F.h>0&&(F.h=Math.ceil((k+8)/(m+8))))}}y()});U.observe(K),b.push(U)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,K)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(U,P)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:x,key:U.i,x:U.x,y:U.y,w:U.w,h:U.h,i:U.i,class:A.normalizeClass(U.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:G=>o(G,U.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[P]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,U=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:U.name,ref_for:!0},U),null,16))),128))}}),j1={key:0,class:"btn-render-wrapper"},ii=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
100
- onClick: ${o.onClick}`)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const y=A.resolveComponent("el-button"),f=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",j1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[I(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(x,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,K=>(A.openBlock(),A.createBlock(f,{key:K.key,disabled:!K.tooltip,content:K.tooltip,placement:"top"},{default:A.withCtx(()=>[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:K.key,onClick:U=>d(K),disabled:K.disabled,type:K.type,text:K.isTextBtn,link:K.isLinkBtn,plain:K.isPlainBtn||K.type!=="primary"&&!K.orange,color:K.orange?"#FAA21E":K.color,loading:i.value[K.key],class:A.normalizeClass({orangeBtn:K.orange})},{default:A.withCtx(()=>[K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon.name,color:K.icon.color,class:A.normalizeClass({"btn-icon":K.text||K.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(K.text||K.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:2,onClick:K=>d(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange,"is-icon":N.icon&&!N.text&&!N.label}),id:N.key},{default:A.withCtx(()=>{var K,U;return[A.createVNode(f,{disabled:!((K=N==null?void 0:N.icon)!=null&&K.tooltip),content:(U=N==null?void 0:N.icon)==null?void 0:U.tooltip,placement:"top"},{default:A.withCtx(()=>{var P;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:N.icon.name,color:N.icon.color,size:((P=N==null?void 0:N.icon)==null?void 0:P.size)||"small",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["disabled","content"])]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class","id"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-862d10b5"]]),q1={key:0,class:"dropdown-render-wrapper"},X1=oe(A.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=async(d,I)=>{if(I.onClick&&e)try{await e[I.onClick](t,d)}catch(o){console.error(o+`
101
- onClick: ${I.onClick}`)}};return(d,I)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),y=A.resolveComponent("el-dropdown-menu"),f=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",q1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,x=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:x.key},[x.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(f,{key:0,disabled:x.disabled},{dropdown:A.withCtx(()=>[A.createVNode(y,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(x.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:K=>i(N,x)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:x.color},{default:A.withCtx(()=>{var N,K;return[x.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:(N=x.icon)==null?void 0:N.name,class:"left-icon",color:(K=x.icon)==null?void 0:K.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(x.text),1),A.createVNode(ve,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-b9eeb69a"]]),V1=["title"],Ak={class:"suffix-slots"},ek=oe(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},suffixSlots:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=mt(),t=A.computed(()=>y.read||e.schema.read),i=A.useModel(n,"modelValue"),d=A.useAttrs(),I=A.computed(()=>d.inputColor?`--input-color: ${d.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>d.inputColor?`el-input--${d.styleType} el-input custom-input-color`:`el-input--${d.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},y=n,f=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=k=>{const m=["E","e","+","-"];d.type==="number"&&m.includes(k.key)&&k.preventDefault()},K=k=>{if(y.onInput&&f)try{f[y.onInput](x,k)}catch(m){console.error(m+`
99
+ onClick: ${d.beforeEnter}`)}};return(y,f)=>{const x=A.resolveComponent("el-tooltip"),N=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(N,{trigger:d.trigger||"hover",width:d.width,offset:y.offset,"popper-class":d.noPadding?"no-padding":"",title:d.title,placement:d.placement,onBeforeEnter:b,"popper-style":{overflow:"auto"},onShow:o},{reference:A.withCtx(()=>{var K,U,P,G,k;return[A.createElementVNode("div",{style:A.normalizeStyle(d.ostyle+(i.value?d.hoverStyle:"")),onMouseenter:f[0]||(f[0]=m=>i.value=!0),onMouseleave:f[1]||(f[1]=m=>i.value=!1)},[((K=d.reference)==null?void 0:K.component)==="Icon"?(A.openBlock(),A.createBlock(x,{key:0,content:(P=(U=d.reference)==null?void 0:U.props)==null?void 0:P.tooltip,disabled:!((k=(G=d.reference)==null?void 0:G.props)!=null&&k.tooltip),placement:"top"},{default:A.withCtx(()=>{var m,F,_,v;return[A.createVNode(ve,{name:(F=(m=d.reference)==null?void 0:m.props)==null?void 0:F.name,color:i.value&&d.hoverColor?d.hoverColor:(v=(_=d.reference)==null?void 0:_.props)==null?void 0:v.color,class:"btn-icon cursor-pointer",size:d.size||"normal",onClick:I},null,8,["name","color","size"])]}),_:1},8,["content","disabled"])):d.reference?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:[d.reference]},null,8,["list"])):A.createCommentVNode("",!0)],36)]}),default:A.withCtx(()=>[A.createElementVNode("div",null,[y.children?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:y.children},null,8,["list"])):A.createCommentVNode("",!0)])]),_:1},8,["trigger","width","offset","popper-class","title","placement"])}}}),[["__scopeId","data-v-ed6f75f4"]]),ro=A.defineComponent({__name:"FormItem",props:{label:{},name:{},component:{},required:{type:Boolean},props:{},initialValue:{},help:{},labelSuffix:{},children:{},hidden:{type:[Boolean,String]},hideLabel:{type:Boolean},designKey:{},rules:{},class:{},style:{},change:{},dialog:{type:Boolean},width:{}},setup(n){const e=n,t=mt(),i=zo(),d=A.reactive({visible:!1,title:""}),I=()=>{d.visible=!0,d.title=e.label},o=A.computed({get(){return Ea(t.formValues,e.name)},set(U){const P=ko(t.formValues,e.name,U);t.updateFormValues(P)}}),b=A.computed(()=>{const{rules:U,required:P,component:G}=e,k=[];if(P&&k.push({required:!0,trigger:"blur",message:"Required"}),U){const m=U.map(F=>{const{type:_,message:v,trigger:B,customReg:p,templateExp:u}=F,s={message:v,trigger:B};return["email","url"].includes(_)?{...s,type:_}:_==="custom"&&p?{...s,pattern:fm(p)}:Im(_)?{...s,pattern:_}:_==="template"?{...s,validator:()=>u}:{}});return[...k,...m]}if(G==="VerifyCode"){const m={trigger:"blur",message:"验证码错误!",validator:()=>t.vCodePass};return[...k,m]}return k}),y=A.computed(()=>{const U=i[e.component]||{};return U.modelName||(U.modelName="modelValue"),U}),f=A.computed(()=>{const U={name:e.name,...e.props};return e.children&&(U.children=e.children),U}),x=()=>{if(e.component!=="DragList")return[];const U=f.value.gridlayout||[],P=f.value.children||[],G=f.value.rowHeight||30;return U.map((k,m)=>{var F;return{...k,i:(F=P[m])==null?void 0:F.name,rowHeight:G}})},N=A.ref(x()),K=U=>U==null?void 0:U.replace(/&nbsp;/g," ");return A.onBeforeMount(()=>{if(o.value===void 0&&e.initialValue!==void 0&&!t.design){const U=ko(t.initialValues,e.name,e.initialValue);t.updateInitialValues(U),o.value=e.initialValue}}),A.watch(o,(U,P)=>{const G=e.change,k=ut.isEqual(U,P);if(!G||k)return;let m=ut.cloneDeep(t.formValues);G.forEach(({target:F,value:_,condition:v})=>{if(v!==!1){if(F.includes(".*.")){const B=F.split(".*."),p=B.pop(),u=B.join("."),s=Ea(t.formValues,u);ut.isArray(s)&&(m=ko(m,u,s.map(g=>({...g,[p]:_}))));return}m=ko(m,F,_)}}),t.updateFormValues(m)},{immediate:!0}),(U,P)=>{var _;const G=A.resolveComponent("el-tooltip"),k=A.resolveComponent("el-dialog"),m=A.resolveComponent("el-button"),F=A.resolveComponent("el-form-item");return A.unref(t).design||!U.hidden?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[y.value.component==="DragList"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:0},f.value,{style:{minWidth:0},gridlayout:N.value,"onUpdate:gridlayout":P[0]||(P[0]=v=>N.value=v)}),null,16,["gridlayout"])):y.value.type==="layout"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1},f.value,{style:{minWidth:0}}),null,16)):y.value.type==="assist"?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.normalizeProps(A.mergeProps({key:2},f.value)),null,16)):(A.openBlock(),A.createBlock(F,{class:A.normalizeClass([A.unref(je)("form-item"),e.class,`${U.component}-${U.name}`,{readMode:((_=e.props)==null?void 0:_.read)||A.unref(t).schema.read,hideLabel:U.hideLabel}]),style:A.normalizeStyle(U.style),key:U.name,prop:U.name,"label-width":U.hideLabel?"0":A.unref(t).schema.labelWidth,rules:b.value},{label:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass([A.unref(je)("form-item-label"),U.label&&`${U.name}-label`])},[A.createElementVNode("div",{style:A.normalizeStyle(A.unref(t).schema.labelBold&&"font-weight: bold")},A.toDisplayString(K(U.label)),5),U.help?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("form-item-label-ico"))},[A.createVNode(G,{effect:"dark",content:U.help,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-lujing11",color:"#999999",style:{width:"14px",height:"14px"}})]),_:1},8,["content"])],2)):A.createCommentVNode("",!0),U.labelSuffix?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(A.unref(je)("form-item-label-suffix"))},[U.labelSuffix.component==="Popover"?(A.openBlock(),A.createBlock(kp,A.normalizeProps(A.mergeProps({key:0},A.unref(kt)(U.labelSuffix.props,A.unref(t).context))),null,16)):A.createCommentVNode("",!0)],2)):A.createCommentVNode("",!0)],2),[[A.vShow,!U.hideLabel]])]),default:A.withCtx(()=>[U.dialog?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(k,{modelValue:d.visible,"onUpdate:modelValue":P[2]||(P[2]=v=>d.visible=v),title:d.title,width:"70%",center:"","destroy-on-close":""},{default:A.withCtx(()=>[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({size:A.unref(t).schema.size},f.value,{disabled:A.unref(t).schema.disabled,[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:P[1]||(P[1]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["modelValue","title"]),A.createVNode(m,{type:"primary",plain:"",onClick:I},{default:A.withCtx(()=>P[4]||(P[4]=[A.createTextVNode("配置")])),_:1})],64)):(A.openBlock(),A.createBlock(A.resolveDynamicComponent(y.value.render),A.mergeProps({key:1,size:A.unref(t).schema.size,disabled:A.unref(t).schema.disabled},A.unref(kt)(f.value,A.unref(t).context),{[y.value.modelName]:o.value,["onUpdate:"+y.value.modelName]:P[3]||(P[3]=v=>o.value=v)}),null,16,["size","disabled"]))]),_:1},8,["class","style","prop","label-width","rules"]))],64)):A.createCommentVNode("",!0)}}}),Hv={key:0,class:"actions-lt"},Kv={class:"canvas-move",size:"small",type:"primary"},Tv={key:1,class:"hidden-ico"},Uv={key:2,class:"actions-rb"},Yv=["onClick"],Ov={key:3,class:"layout-title"},$v=A.defineComponent({__name:"CanvasItem",props:{data:{}},setup(n){const e=n,t=Nn(),d=zo()[e.data.component],I=A.computed(()=>{var K;return{[je("canvas-item")]:!0,active:e.data.designKey===((K=t.current)==null?void 0:K.designKey),hover:e.data.designKey===t.hoverKey,mask:e.data.designKey===t.hoverKey&&!e.data.children,collapse:f.value}}),o=()=>{e.data.designKey&&t.updateHoverKey(e.data.designKey)},b=()=>{t.updateHoverKey("")},y=K=>{t.updateCurrent(K),t.rightTab="attr"},f=A.ref(!1),x=()=>{f.value=!f.value},N=[{icon:"copy",handle:K=>{const U=Gu(t.list,K.designKey);t.updateList(U)}},{icon:"delete",bg:"var(--el-color-danger)",handle:K=>{const U=wd(t.list,P=>P.designKey!==K.designKey);t.updateList(U)}}];return(K,U)=>{var P,G;return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(I.value),onClick:U[0]||(U[0]=A.withModifiers(k=>y(K.data),["stop"])),onMousemove:A.withModifiers(o,["stop"]),onMouseleave:A.withModifiers(b,["stop"])},[K.data.designKey===((P=A.unref(t).current)==null?void 0:P.designKey)?(A.openBlock(),A.createElementBlock("div",Hv,[A.createElementVNode("div",Kv,[A.createVNode(A.unref(Ie),{name:"move"})]),A.createElementVNode("div",{class:"canvas-collapse",size:"small",type:"primary",onClick:x},[A.createVNode(A.unref(Ie),{name:"select"})])])):A.createCommentVNode("",!0),K.data.hidden?(A.openBlock(),A.createElementBlock("div",Tv,[A.createVNode(A.unref(Ie),{name:"hidden"})])):A.createCommentVNode("",!0),K.data.designKey===((G=A.unref(t).current)==null?void 0:G.designKey)?(A.openBlock(),A.createElementBlock("ul",Uv,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(N,({icon:k,handle:m,bg:F})=>A.createElementVNode("li",{class:"actions-rb-item",onClick:A.withModifiers(_=>m(K.data),["stop"]),key:k,style:A.normalizeStyle({backgroundColor:F})},[A.createVNode(A.unref(Ie),{name:k},null,8,["name"])],12,Yv)),64))])):A.createCommentVNode("",!0),A.unref(d).lbTitle?(A.openBlock(),A.createElementBlock("div",Ov,A.toDisplayString(A.unref(d).title),1)):A.createCommentVNode("",!0),A.createVNode(ro,A.mergeProps(K.data,{props:K.data.props}),null,16,["props"])],34)}}}),jc=A.defineComponent({__name:"CanvasGroup",props:{list:{},style:{},class:{},emptyText:{default:"请拖入子字段"},emptySize:{default:12}},setup(n){const e=n,t=Nn(),i=d=>{const I=d.item._underlying_vm_;t.updateCurrent(tc(t.list,I.designKey)),t.hoverKey=I.designKey,t.rightTab="attr",t.handleEmit("add",I)};return(d,I)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("canvas-group")),style:A.normalizeStyle({overflow:d.list.length?"auto":"hidden"})},[d.list.length?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(A.unref(je)("canvas-group-empty")),style:A.normalizeStyle({fontSize:d.emptySize+"px"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("canvas-group-empty-ico"))},[A.createVNode(A.unref(Ie),{name:"add"})],2),A.createElementVNode("p",null,A.toDisplayString(d.emptyText),1)],6)),A.createVNode(A.unref(vp),{list:d.list,group:"formDesign",itemKey:"name","ghost-class":A.unref(je)("canvas-group-ghost"),class:A.normalizeClass([A.unref(je)("canvas-group-draggable"),e.class]),style:A.normalizeStyle(d.style),animation:300,handle:".canvas-move","force-fallback":"",onAdd:i},{item:A.withCtx(({element:o})=>[o.designKey?(A.openBlock(),A.createBlock($v,{key:0,data:o},null,8,["data"])):A.createCommentVNode("",!0)]),_:1},8,["list","ghost-class","class","style"])],6))}}),zv=typeof window<"u";var _p;zv&&((_p=window==null?void 0:window.navigator)!=null&&_p.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function fn(n){return n==null}function Mp(){}const Jv=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(Jv)));function Zv(){const n=new Map;return{on(e,t){const i=n.get(e);i!=null&&i.add(t)||n.set(e,new Set([t]))},off(e,t){const i=n.get(e);i&&i.delete(t)},clear(e){const t=n.get(e);t&&t.clear()},clearAll(){n.clear()},emit(e,...t){const i=n.get(e);i&&i.forEach(d=>{d(...t)})}}}function xp(n,e=16){if(typeof n!="function")return Mp;const t=(...I)=>{n(...I)};if(e<=0)return Sp(t);let i=0,d;return function(...I){const o=Date.now(),b=o-i;clearTimeout(d),b>=e?(i=o,t(...I)):d=setTimeout(()=>{i=Date.now(),t(...I)},Math.max(0,e-b))}}function Wv(n,e=100){if(typeof n!="function")return Mp;const t=(...d)=>{n(...d)};if(e<=0)return Sp(t);let i;return function(...d){clearTimeout(i),i=setTimeout(()=>{t(...d)},e)}}function Sp(n){if(typeof n!="function")return n;let e=!1,t,i;return function(...d){return t=d,e||(e=!0,i=Promise.resolve().then(()=>(e=!1,i=void 0,n(...t)))),i}}const Hr=new Set,Np=new WeakMap;function jv(){Hr.forEach(n=>{n(...Np.get(n))}),Hr.clear()}function jt(n,...e){if(typeof n!="function")return n;Np.set(n,e),!Hr.has(n)&&(Hr.add(n),Hr.size===1&&Promise.resolve().then(jv))}const Fp=Symbol("LAYOUT_KEY"),Rp=Symbol("EMITTER_KEY");function qv(n){let e=0,t;for(let i=0,d=n.length;i<d;i++)t=n[i].y+n[i].h,t>e&&(e=t);return e}function qc(n){const e=Array(n.length);for(let t=0,i=n.length;t<i;t++)e[t]=Xv(n[t]);return e}function Xv(n){return{...n}}function Lp(n,e){return!(n===e||n.x+n.w<=e.x||n.x>=e.x+e.w||n.y+n.h<=e.y||n.y>=e.y+e.h)}function Oo(n,e,t){const i=Hp(n),d=Tp(n),I=Array(n.length);for(let o=0,b=d.length;o<b;o++){let y=d[o];y.static||(y=Vv(i,y,e,t),i.push(y)),I[n.findIndex(f=>f.i===y.i)]=y,y.moved=!1}return I}function Vv(n,e,t,i){if(t)for(;e.y>0&&!Kr(n,e);)e.y--;else if(i){const I=i[e.i].y;for(;e.y>I&&!Kr(n,e);)e.y--}let d;for(;d=Kr(n,e);)e.y=d.y+d.h;return e}function A1(n,e){const t=Hp(n);for(let i=0,d=n.length;i<d;i++){const I=n[i];if(I.x+I.w>e.cols&&(I.x=e.cols-I.w),I.x<0&&(I.x=0,I.w=e.cols),!I.static)t.push(I);else for(;Kr(t,I);)I.y++}return n}function Gp(n,e){for(let t=0,i=n.length;t<i;t++)if(n[t].i===e)return n[t]}function Kr(n,e){for(let t=0,i=n.length;t<i;t++)if(Lp(n[t],e))return n[t]}function Pp(n,e){return n.filter(t=>Lp(t,e))}function Hp(n){return n.filter(e=>e.static)}function Xc(n,e,t,i,d=!1,I=!1){if(e.static)return n;const o=e.x,b=e.y,y=i&&e.y>i;typeof t=="number"&&(e.x=t),typeof i=="number"&&(e.y=i),e.moved=!0;let f=Tp(n);y&&(f=f.reverse());const x=Pp(f,e);if(I&&x.length)return e.x=o,e.y=b,e.moved=!1,n;for(let N=0,K=x.length;N<K;N++){const U=x[N];U.moved||e.y>U.y&&e.y-U.y>U.h/4||(U.static?n=Kp(n,U,e,d):n=Kp(n,e,U,d))}return n}function Kp(n,e,t,i){if(i){const d={x:t.x,y:t.y,w:t.w,h:t.h};if(d.y=Math.max(e.y-t.h,0),!Kr(n,d))return Xc(n,t,void 0,d.y,!1)}return Xc(n,t,void 0,t.y+1,!1)}function e1(n,e,t,i){const d="translate3d("+e+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function t1(n,e,t,i){const d="translate3d("+e*-1+"px,"+n+"px, 0)";return{transform:d,WebkitTransform:d,MozTransform:d,msTransform:d,OTransform:d,width:t+"px",height:i+"px",position:"absolute"}}function n1(n,e,t,i){return{top:n+"px",left:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function i1(n,e,t,i){return{top:n+"px",right:e+"px",width:t+"px",height:i+"px",position:"absolute"}}function Tp(n){return Array.from(n).sort(function(e,t){return e.y===t.y&&e.x===t.x?0:e.y>t.y||e.y===t.y&&e.x>t.x?1:-1})}function o1(n,e){e=e||"Layout";const t=["x","y","w","h"],i=[];if(!Array.isArray(n))throw new Error(e+" must be an array!");for(let d=0,I=n.length;d<I;d++){const o=n[d];for(let b=0;b<t.length;b++)if(typeof o[t[b]]!="number")throw new Error("VueGridLayout: "+e+"["+d+"]."+t[b]+" must be a number!");if(o.i===void 0||o.i===null)throw new Error("VueGridLayout: "+e+"["+d+"].i cannot be null!");if(typeof o.i!="number"&&typeof o.i!="string")throw new Error("VueGridLayout: "+e+"["+d+"].i must be a string or number!");if(i.indexOf(o.i)>=0)throw new Error("VueGridLayout: "+e+"["+d+"].i must be unique!");if(i.push(o.i),o.static!==void 0&&typeof o.static!="boolean")throw new Error("VueGridLayout: "+e+"["+d+"].static must be a boolean!")}}function r1(n,e="vgl"){const t=()=>`${e}-${n}`;return{b:t,be:i=>`${t()}__${i}`,bm:i=>`${t()}--${i}`,bem:(i,d)=>`${t()}__${i}--${d}`}}function Up(n){return a1(n)}function a1(n){var e;const t=((e=n.target)==null?void 0:e.offsetParent)||document.body,i=n.offsetParent===document.body?{left:0,top:0}:t.getBoundingClientRect(),d=n.clientX+t.scrollLeft-i.left,I=n.clientY+t.scrollTop-i.top;return{x:d,y:I}}function Yp(n,e,t,i){return s1(n)?{deltaX:t-n,deltaY:i-e,lastX:n,lastY:e,x:t,y:i}:{deltaX:0,deltaY:0,lastX:t,lastY:i,x:t,y:i}}function s1(n){return typeof n=="number"&&!Number.isNaN(n)}function l1(n,e){const t=$p(n);let i=t[0];for(let d=1,I=t.length;d<I;d++){const o=t[d];e>n[o]&&(i=o)}return i}function Op(n,e){if(!e[n])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+n+" is missing!");return e[n]}function c1(n,e,t,i,d,I,o){if(e[i])return qc(e[i]);let b=n;const y=$p(t),f=y.slice(y.indexOf(i));for(let x=0,N=f.length;x<N;x++){const K=f[x];if(e[K]){b=e[K];break}}return b=qc(b||[]),Oo(A1(b,{cols:I}),o)}function $p(n){return Object.keys(n).sort((e,t)=>n[e]-n[t])}let g1="auto";function d1(){return typeof document<"u"}function zp(){return d1()?typeof document.dir<"u"?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):g1}var Bs={exports:{}};Bs.exports,function(n,e){(function(t,i){n.exports=i()})(vo,function(){function t(L,R){var W=Object.keys(L);if(Object.getOwnPropertySymbols){var nA=Object.getOwnPropertySymbols(L);R&&(nA=nA.filter(function(lA){return Object.getOwnPropertyDescriptor(L,lA).enumerable})),W.push.apply(W,nA)}return W}function i(L){for(var R=1;R<arguments.length;R++){var W=arguments[R]!=null?arguments[R]:{};R%2?t(Object(W),!0).forEach(function(nA){y(L,nA,W[nA])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(W)):t(Object(W)).forEach(function(nA){Object.defineProperty(L,nA,Object.getOwnPropertyDescriptor(W,nA))})}return L}function d(L){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},d(L)}function I(L,R){if(!(L instanceof R))throw new TypeError("Cannot call a class as a function")}function o(L,R){for(var W=0;W<R.length;W++){var nA=R[W];nA.enumerable=nA.enumerable||!1,nA.configurable=!0,"value"in nA&&(nA.writable=!0),Object.defineProperty(L,G(nA.key),nA)}}function b(L,R,W){return R&&o(L.prototype,R),Object.defineProperty(L,"prototype",{writable:!1}),L}function y(L,R,W){return(R=G(R))in L?Object.defineProperty(L,R,{value:W,enumerable:!0,configurable:!0,writable:!0}):L[R]=W,L}function f(L,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(R&&R.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),Object.defineProperty(L,"prototype",{writable:!1}),R&&N(L,R)}function x(L){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},x(L)}function N(L,R){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(W,nA){return W.__proto__=nA,W},N(L,R)}function K(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function U(L){var R=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var W,nA=x(L);if(R){var lA=x(this).constructor;W=Reflect.construct(nA,arguments,lA)}else W=nA.apply(this,arguments);return function(uA,BA){if(BA&&(typeof BA=="object"||typeof BA=="function"))return BA;if(BA!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return K(uA)}(this,W)}}function P(){return P=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(L,R,W){var nA=function(uA,BA){for(;!Object.prototype.hasOwnProperty.call(uA,BA)&&(uA=x(uA))!==null;);return uA}(L,R);if(nA){var lA=Object.getOwnPropertyDescriptor(nA,R);return lA.get?lA.get.call(arguments.length<3?L:W):lA.value}},P.apply(this,arguments)}function G(L){var R=function(W,nA){if(typeof W!="object"||W===null)return W;var lA=W[Symbol.toPrimitive];if(lA!==void 0){var uA=lA.call(W,nA);if(typeof uA!="object")return uA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(L,"string");return typeof R=="symbol"?R:R+""}var k=function(L){return!(!L||!L.Window)&&L instanceof L.Window},m=void 0,F=void 0;function _(L){m=L;var R=L.document.createTextNode("");R.ownerDocument!==L.document&&typeof L.wrap=="function"&&L.wrap(R)===R&&(L=L.wrap(L)),F=L}function v(L){return k(L)?L:(L.ownerDocument||L).defaultView||F.window}typeof window<"u"&&window&&_(window);var B=function(L){return!!L&&d(L)==="object"},p=function(L){return typeof L=="function"},u={window:function(L){return L===F||k(L)},docFrag:function(L){return B(L)&&L.nodeType===11},object:B,func:p,number:function(L){return typeof L=="number"},bool:function(L){return typeof L=="boolean"},string:function(L){return typeof L=="string"},element:function(L){if(!L||d(L)!=="object")return!1;var R=v(L)||F;return/object|function/.test(typeof Element>"u"?"undefined":d(Element))?L instanceof Element||L instanceof R.Element:L.nodeType===1&&typeof L.nodeName=="string"},plainObject:function(L){return B(L)&&!!L.constructor&&/function Object\b/.test(L.constructor.toString())},array:function(L){return B(L)&&L.length!==void 0&&p(L.splice)}};function s(L){var R=L.interaction;if(R.prepared.name==="drag"){var W=R.prepared.axis;W==="x"?(R.coords.cur.page.y=R.coords.start.page.y,R.coords.cur.client.y=R.coords.start.client.y,R.coords.velocity.client.y=0,R.coords.velocity.page.y=0):W==="y"&&(R.coords.cur.page.x=R.coords.start.page.x,R.coords.cur.client.x=R.coords.start.client.x,R.coords.velocity.client.x=0,R.coords.velocity.page.x=0)}}function g(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="drag"){var nA=W.prepared.axis;if(nA==="x"||nA==="y"){var lA=nA==="x"?"y":"x";R.page[lA]=W.coords.start.page[lA],R.client[lA]=W.coords.start.client[lA],R.delta[lA]=0}}}var l={id:"actions/drag",install:function(L){var R=L.actions,W=L.Interactable,nA=L.defaults;W.prototype.draggable=l.draggable,R.map.drag=l,R.methodDict.drag="draggable",nA.actions.drag=l.defaults},listeners:{"interactions:before-action-move":s,"interactions:action-resume":s,"interactions:action-move":g,"auto-start:check":function(L){var R=L.interaction,W=L.interactable,nA=L.buttons,lA=W.options.drag;if(lA&&lA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||nA&W.options.drag.mouseButtons))return L.action={name:"drag",axis:lA.lockAxis==="start"?lA.startAxis:lA.lockAxis},!1}},draggable:function(L){return u.object(L)?(this.options.drag.enabled=L.enabled!==!1,this.setPerAction("drag",L),this.setOnEvents("drag",L),/^(xy|x|y|start)$/.test(L.lockAxis)&&(this.options.drag.lockAxis=L.lockAxis),/^(xy|x|y)$/.test(L.startAxis)&&(this.options.drag.startAxis=L.startAxis),this):u.bool(L)?(this.options.drag.enabled=L,this):this.options.drag},beforeMove:s,move:g,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(L){return L.search("drag")===0}},h=l,C={init:function(L){var R=L;C.document=R.document,C.DocumentFragment=R.DocumentFragment||a,C.SVGElement=R.SVGElement||a,C.SVGSVGElement=R.SVGSVGElement||a,C.SVGElementInstance=R.SVGElementInstance||a,C.Element=R.Element||a,C.HTMLElement=R.HTMLElement||C.Element,C.Event=R.Event,C.Touch=R.Touch||a,C.PointerEvent=R.PointerEvent||R.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function a(){}var r=C,E={init:function(L){var R=r.Element,W=L.navigator||{};E.supportsTouch="ontouchstart"in L||u.func(L.DocumentTouch)&&r.document instanceof L.DocumentTouch,E.supportsPointerEvent=W.pointerEnabled!==!1&&!!r.PointerEvent,E.isIOS=/iP(hone|od|ad)/.test(W.platform),E.isIOS7=/iP(hone|od|ad)/.test(W.platform)&&/OS 7[^\d]/.test(W.appVersion),E.isIe9=/MSIE 9/.test(W.userAgent),E.isOperaMobile=W.appName==="Opera"&&E.supportsTouch&&/Presto/.test(W.userAgent),E.prefixedMatchesSelector="matches"in R.prototype?"matches":"webkitMatchesSelector"in R.prototype?"webkitMatchesSelector":"mozMatchesSelector"in R.prototype?"mozMatchesSelector":"oMatchesSelector"in R.prototype?"oMatchesSelector":"msMatchesSelector",E.pEventTypes=E.supportsPointerEvent?r.PointerEvent===L.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,E.wheelEvent=r.document&&"onmousewheel"in r.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Q=E;function M(L,R){if(L.contains)return L.contains(R);for(;R;){if(R===L)return!0;R=R.parentNode}return!1}function S(L,R){for(;u.element(L);){if(z(L,R))return L;L=T(L)}return null}function T(L){var R=L.parentNode;if(u.docFrag(R)){for(;(R=R.host)&&u.docFrag(R););return R}return R}function z(L,R){return F!==m&&(R=R.replace(/\/deep\//g," ")),L[Q.prefixedMatchesSelector](R)}var AA=function(L){return L.parentNode||L.host};function eA(L,R){for(var W,nA=[],lA=L;(W=AA(lA))&&lA!==R&&W!==lA.ownerDocument;)nA.unshift(lA),lA=W;return nA}function J(L,R,W){for(;u.element(L);){if(z(L,R))return!0;if((L=T(L))===W)return z(L,R)}return!1}function $(L){return L.correspondingUseElement||L}function Z(L){var R=L instanceof r.SVGElement?L.getBoundingClientRect():L.getClientRects()[0];return R&&{left:R.left,right:R.right,top:R.top,bottom:R.bottom,width:R.width||R.right-R.left,height:R.height||R.bottom-R.top}}function D(L){var R,W=Z(L);if(!Q.isIOS7&&W){var nA={x:(R=(R=v(L))||F).scrollX||R.document.documentElement.scrollLeft,y:R.scrollY||R.document.documentElement.scrollTop};W.left+=nA.x,W.right+=nA.x,W.top+=nA.y,W.bottom+=nA.y}return W}function q(L){for(var R=[];L;)R.push(L),L=T(L);return R}function H(L){return!!u.string(L)&&(r.document.querySelector(L),!0)}function X(L,R){for(var W in R)L[W]=R[W];return L}function rA(L,R,W){return L==="parent"?T(W):L==="self"?R.getRect(W):S(W,L)}function iA(L,R,W,nA){var lA=L;return u.string(lA)?lA=rA(lA,R,W):u.func(lA)&&(lA=lA.apply(void 0,nA)),u.element(lA)&&(lA=D(lA)),lA}function dA(L){return L&&{x:"x"in L?L.x:L.left,y:"y"in L?L.y:L.top}}function mA(L){return!L||"x"in L&&"y"in L||((L=X({},L)).x=L.left||0,L.y=L.top||0,L.width=L.width||(L.right||0)-L.x,L.height=L.height||(L.bottom||0)-L.y),L}function gA(L,R,W){L.left&&(R.left+=W.x),L.right&&(R.right+=W.x),L.top&&(R.top+=W.y),L.bottom&&(R.bottom+=W.y),R.width=R.right-R.left,R.height=R.bottom-R.top}function wA(L,R,W){var nA=W&&L.options[W];return dA(iA(nA&&nA.origin||L.options.origin,L,R,[L&&R]))||{x:0,y:0}}function V(L,R){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(yA){return!0},nA=arguments.length>3?arguments[3]:void 0;if(nA=nA||{},u.string(L)&&L.search(" ")!==-1&&(L=sA(L)),u.array(L))return L.forEach(function(yA){return V(yA,R,W,nA)}),nA;if(u.object(L)&&(R=L,L=""),u.func(R)&&W(L))nA[L]=nA[L]||[],nA[L].push(R);else if(u.array(R))for(var lA=0,uA=R;lA<uA.length;lA++){var BA=uA[lA];V(L,BA,W,nA)}else if(u.object(R))for(var QA in R)V(sA(QA).map(function(yA){return"".concat(L).concat(yA)}),R[QA],W,nA);return nA}function sA(L){return L.trim().split(/ +/)}var cA=function(L,R){return Math.sqrt(L*L+R*R)},hA=["webkit","moz"];function Y(L,R){L.__set||(L.__set={});var W=function(lA){if(hA.some(function(uA){return lA.indexOf(uA)===0}))return 1;typeof L[lA]!="function"&&lA!=="__set"&&Object.defineProperty(L,lA,{get:function(){return lA in L.__set?L.__set[lA]:L.__set[lA]=R[lA]},set:function(uA){L.__set[lA]=uA},configurable:!0})};for(var nA in R)W(nA);return L}function j(L,R){L.page=L.page||{},L.page.x=R.page.x,L.page.y=R.page.y,L.client=L.client||{},L.client.x=R.client.x,L.client.y=R.client.y,L.timeStamp=R.timeStamp}function tA(L){L.page.x=0,L.page.y=0,L.client.x=0,L.client.y=0}function aA(L){return L instanceof r.Event||L instanceof r.Touch}function CA(L,R,W){return L=L||"page",(W=W||{}).x=R[L+"X"],W.y=R[L+"Y"],W}function xA(L,R){return R=R||{x:0,y:0},Q.isOperaMobile&&aA(L)?(CA("screen",L,R),R.x+=window.scrollX,R.y+=window.scrollY):CA("page",L,R),R}function zA(L){return u.number(L.pointerId)?L.pointerId:L.identifier}function jA(L,R,W){var nA=R.length>1?vA(R):R[0];xA(nA,L.page),function(lA,uA){uA=uA||{},Q.isOperaMobile&&aA(lA)?CA("screen",lA,uA):CA("client",lA,uA)}(nA,L.client),L.timeStamp=W}function Ae(L){var R=[];return u.array(L)?(R[0]=L[0],R[1]=L[1]):L.type==="touchend"?L.touches.length===1?(R[0]=L.touches[0],R[1]=L.changedTouches[0]):L.touches.length===0&&(R[0]=L.changedTouches[0],R[1]=L.changedTouches[1]):(R[0]=L.touches[0],R[1]=L.touches[1]),R}function vA(L){for(var R={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},W=0;W<L.length;W++){var nA=L[W];for(var lA in R)R[lA]+=nA[lA]}for(var uA in R)R[uA]/=L.length;return R}function $A(L){if(!L.length)return null;var R=Ae(L),W=Math.min(R[0].pageX,R[1].pageX),nA=Math.min(R[0].pageY,R[1].pageY),lA=Math.max(R[0].pageX,R[1].pageX),uA=Math.max(R[0].pageY,R[1].pageY);return{x:W,y:nA,left:W,top:nA,right:lA,bottom:uA,width:lA-W,height:uA-nA}}function XA(L,R){var W=R+"X",nA=R+"Y",lA=Ae(L),uA=lA[0][W]-lA[1][W],BA=lA[0][nA]-lA[1][nA];return cA(uA,BA)}function SA(L,R){var W=R+"X",nA=R+"Y",lA=Ae(L),uA=lA[1][W]-lA[0][W],BA=lA[1][nA]-lA[0][nA];return 180*Math.atan2(BA,uA)/Math.PI}function MA(L){return u.string(L.pointerType)?L.pointerType:u.number(L.pointerType)?[void 0,void 0,"touch","pen","mouse"][L.pointerType]:/touch/.test(L.type||"")||L instanceof r.Touch?"touch":"mouse"}function qA(L){var R=u.func(L.composedPath)?L.composedPath():L.path;return[$(R?R[0]:L.target),$(L.currentTarget)]}var Ce=function(){function L(R){I(this,L),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=R}return b(L,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),L}();Object.defineProperty(Ce.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var ye=function(L,R){for(var W=0;W<R.length;W++){var nA=R[W];L.push(nA)}return L},xe=function(L){return ye([],L)},NA=function(L,R){for(var W=0;W<L.length;W++)if(R(L[W],W,L))return W;return-1},UA=function(L,R){return L[NA(L,R)]},JA=function(L){f(W,L);var R=U(W);function W(nA,lA,uA){var BA;I(this,W),(BA=R.call(this,lA._interaction)).dropzone=void 0,BA.dragEvent=void 0,BA.relatedTarget=void 0,BA.draggable=void 0,BA.propagationStopped=!1,BA.immediatePropagationStopped=!1;var QA=uA==="dragleave"?nA.prev:nA.cur,yA=QA.element,RA=QA.dropzone;return BA.type=uA,BA.target=yA,BA.currentTarget=yA,BA.dropzone=RA,BA.dragEvent=lA,BA.relatedTarget=lA.target,BA.draggable=lA.interactable,BA.timeStamp=lA.timeStamp,BA}return b(W,[{key:"reject",value:function(){var nA=this,lA=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&lA.cur.dropzone===this.dropzone&&lA.cur.element===this.target)if(lA.prev.dropzone=this.dropzone,lA.prev.element=this.target,lA.rejected=!0,lA.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var uA=lA.activeDrops,BA=NA(uA,function(yA){var RA=yA.dropzone,DA=yA.element;return RA===nA.dropzone&&DA===nA.target});lA.activeDrops.splice(BA,1);var QA=new W(lA,this.dragEvent,"dropdeactivate");QA.dropzone=this.dropzone,QA.target=this.target,this.dropzone.fire(QA)}else this.dropzone.fire(new W(lA,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),W}(Ce);function de(L,R){for(var W=0,nA=L.slice();W<nA.length;W++){var lA=nA[W],uA=lA.dropzone,BA=lA.element;R.dropzone=uA,R.target=BA,uA.fire(R),R.propagationStopped=R.immediatePropagationStopped=!1}}function ae(L,R){for(var W=function(uA,BA){for(var QA=[],yA=0,RA=uA.interactables.list;yA<RA.length;yA++){var DA=RA[yA];if(DA.options.drop.enabled){var HA=DA.options.drop.accept;if(!(u.element(HA)&&HA!==BA||u.string(HA)&&!z(BA,HA)||u.func(HA)&&!HA({dropzone:DA,draggableElement:BA})))for(var VA=0,ge=DA.getAllElements();VA<ge.length;VA++){var le=ge[VA];le!==BA&&QA.push({dropzone:DA,element:le,rect:DA.getRect(le)})}}}return QA}(L,R),nA=0;nA<W.length;nA++){var lA=W[nA];lA.rect=lA.dropzone.getRect(lA.element)}return W}function Ee(L,R,W){for(var nA=L.dropState,lA=L.interactable,uA=L.element,BA=[],QA=0,yA=nA.activeDrops;QA<yA.length;QA++){var RA=yA[QA],DA=RA.dropzone,HA=RA.element,VA=RA.rect,ge=DA.dropCheck(R,W,lA,uA,HA,VA);BA.push(ge?HA:null)}var le=function(he){for(var De,Qe,kA,OA=[],KA=0;KA<he.length;KA++){var ee=he[KA],Be=he[De];if(ee&&KA!==De)if(Be){var He=AA(ee),Ke=AA(Be);if(He!==ee.ownerDocument)if(Ke!==ee.ownerDocument)if(He!==Ke){OA=OA.length?OA:eA(Be);var Oe=void 0;if(Be instanceof r.HTMLElement&&ee instanceof r.SVGElement&&!(ee instanceof r.SVGSVGElement)){if(ee===Ke)continue;Oe=ee.ownerSVGElement}else Oe=ee;for(var on=eA(Oe,Be.ownerDocument),Zn=0;on[Zn]&&on[Zn]===OA[Zn];)Zn++;var Ut=[on[Zn-1],on[Zn],OA[Zn]];if(Ut[0])for(var li=Ut[0].lastChild;li;){if(li===Ut[1]){De=KA,OA=on;break}if(li===Ut[2])break;li=li.previousSibling}}else kA=Be,(parseInt(v(Qe=ee).getComputedStyle(Qe).zIndex,10)||0)>=(parseInt(v(kA).getComputedStyle(kA).zIndex,10)||0)&&(De=KA);else De=KA}else De=KA}return De}(BA);return nA.activeDrops[le]||null}function ke(L,R,W){var nA=L.dropState,lA={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return W.type==="dragstart"&&(lA.activate=new JA(nA,W,"dropactivate"),lA.activate.target=null,lA.activate.dropzone=null),W.type==="dragend"&&(lA.deactivate=new JA(nA,W,"dropdeactivate"),lA.deactivate.target=null,lA.deactivate.dropzone=null),nA.rejected||(nA.cur.element!==nA.prev.element&&(nA.prev.dropzone&&(lA.leave=new JA(nA,W,"dragleave"),W.dragLeave=lA.leave.target=nA.prev.element,W.prevDropzone=lA.leave.dropzone=nA.prev.dropzone),nA.cur.dropzone&&(lA.enter=new JA(nA,W,"dragenter"),W.dragEnter=nA.cur.element,W.dropzone=nA.cur.dropzone)),W.type==="dragend"&&nA.cur.dropzone&&(lA.drop=new JA(nA,W,"drop"),W.dropzone=nA.cur.dropzone,W.relatedTarget=nA.cur.element),W.type==="dragmove"&&nA.cur.dropzone&&(lA.move=new JA(nA,W,"dropmove"),W.dropzone=nA.cur.dropzone)),lA}function fA(L,R){var W=L.dropState,nA=W.activeDrops,lA=W.cur,uA=W.prev;R.leave&&uA.dropzone.fire(R.leave),R.enter&&lA.dropzone.fire(R.enter),R.move&&lA.dropzone.fire(R.move),R.drop&&lA.dropzone.fire(R.drop),R.deactivate&&de(nA,R.deactivate),W.prev.dropzone=lA.dropzone,W.prev.element=lA.element}function LA(L,R){var W=L.interaction,nA=L.iEvent,lA=L.event;if(nA.type==="dragmove"||nA.type==="dragend"){var uA=W.dropState;R.dynamicDrop&&(uA.activeDrops=ae(R,W.element));var BA=nA,QA=Ee(W,BA,lA);uA.rejected=uA.rejected&&!!QA&&QA.dropzone===uA.cur.dropzone&&QA.element===uA.cur.element,uA.cur.dropzone=QA&&QA.dropzone,uA.cur.element=QA&&QA.element,uA.events=ke(W,0,BA)}}var TA={id:"actions/drop",install:function(L){var R=L.actions,W=L.interactStatic,nA=L.Interactable,lA=L.defaults;L.usePlugin(h),nA.prototype.dropzone=function(uA){return function(BA,QA){if(u.object(QA)){if(BA.options.drop.enabled=QA.enabled!==!1,QA.listeners){var yA=V(QA.listeners),RA=Object.keys(yA).reduce(function(HA,VA){return HA[/^(enter|leave)/.test(VA)?"drag".concat(VA):/^(activate|deactivate|move)/.test(VA)?"drop".concat(VA):VA]=yA[VA],HA},{}),DA=BA.options.drop.listeners;DA&&BA.off(DA),BA.on(RA),BA.options.drop.listeners=RA}return u.func(QA.ondrop)&&BA.on("drop",QA.ondrop),u.func(QA.ondropactivate)&&BA.on("dropactivate",QA.ondropactivate),u.func(QA.ondropdeactivate)&&BA.on("dropdeactivate",QA.ondropdeactivate),u.func(QA.ondragenter)&&BA.on("dragenter",QA.ondragenter),u.func(QA.ondragleave)&&BA.on("dragleave",QA.ondragleave),u.func(QA.ondropmove)&&BA.on("dropmove",QA.ondropmove),/^(pointer|center)$/.test(QA.overlap)?BA.options.drop.overlap=QA.overlap:u.number(QA.overlap)&&(BA.options.drop.overlap=Math.max(Math.min(1,QA.overlap),0)),"accept"in QA&&(BA.options.drop.accept=QA.accept),"checker"in QA&&(BA.options.drop.checker=QA.checker),BA}return u.bool(QA)?(BA.options.drop.enabled=QA,BA):BA.options.drop}(this,uA)},nA.prototype.dropCheck=function(uA,BA,QA,yA,RA,DA){return function(HA,VA,ge,le,he,De,Qe){var kA=!1;if(!(Qe=Qe||HA.getRect(De)))return!!HA.options.drop.checker&&HA.options.drop.checker(VA,ge,kA,HA,De,le,he);var OA=HA.options.drop.overlap;if(OA==="pointer"){var KA=wA(le,he,"drag"),ee=xA(VA);ee.x+=KA.x,ee.y+=KA.y;var Be=ee.x>Qe.left&&ee.x<Qe.right,He=ee.y>Qe.top&&ee.y<Qe.bottom;kA=Be&&He}var Ke=le.getRect(he);if(Ke&&OA==="center"){var Oe=Ke.left+Ke.width/2,on=Ke.top+Ke.height/2;kA=Oe>=Qe.left&&Oe<=Qe.right&&on>=Qe.top&&on<=Qe.bottom}return Ke&&u.number(OA)&&(kA=Math.max(0,Math.min(Qe.right,Ke.right)-Math.max(Qe.left,Ke.left))*Math.max(0,Math.min(Qe.bottom,Ke.bottom)-Math.max(Qe.top,Ke.top))/(Ke.width*Ke.height)>=OA),HA.options.drop.checker&&(kA=HA.options.drop.checker(VA,ge,kA,HA,De,le,he)),kA}(this,uA,BA,QA,yA,RA,DA)},W.dynamicDrop=function(uA){return u.bool(uA)?(L.dynamicDrop=uA,W):L.dynamicDrop},X(R.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),R.methodDict.drop="dropzone",L.dynamicDrop=!1,lA.actions.drop=TA.defaults},listeners:{"interactions:before-action-start":function(L){var R=L.interaction;R.prepared.name==="drag"&&(R.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(L,R){var W=L.interaction,nA=(L.event,L.iEvent);if(W.prepared.name==="drag"){var lA=W.dropState;lA.activeDrops=[],lA.events={},lA.activeDrops=ae(R,W.element),lA.events=ke(W,0,nA),lA.events.activate&&(de(lA.activeDrops,lA.events.activate),R.fire("actions/drop:start",{interaction:W,dragEvent:nA}))}},"interactions:action-move":LA,"interactions:after-action-move":function(L,R){var W=L.interaction,nA=L.iEvent;if(W.prepared.name==="drag"){var lA=W.dropState;fA(W,lA.events),R.fire("actions/drop:move",{interaction:W,dragEvent:nA}),lA.events={}}},"interactions:action-end":function(L,R){if(L.interaction.prepared.name==="drag"){var W=L.interaction,nA=L.iEvent;LA(L,R),fA(W,W.dropState.events),R.fire("actions/drop:end",{interaction:W,dragEvent:nA})}},"interactions:stop":function(L){var R=L.interaction;if(R.prepared.name==="drag"){var W=R.dropState;W&&(W.activeDrops=null,W.events=null,W.cur.dropzone=null,W.cur.element=null,W.prev.dropzone=null,W.prev.element=null,W.rejected=!1)}}},getActiveDrops:ae,getDrop:Ee,getDropEvents:ke,fireDropEvents:fA,filterEventType:function(L){return L.search("drag")===0||L.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},re=TA;function be(L){var R=L.interaction,W=L.iEvent,nA=L.phase;if(R.prepared.name==="gesture"){var lA=R.pointers.map(function(RA){return RA.pointer}),uA=nA==="start",BA=nA==="end",QA=R.interactable.options.deltaSource;if(W.touches=[lA[0],lA[1]],uA)W.distance=XA(lA,QA),W.box=$A(lA),W.scale=1,W.ds=0,W.angle=SA(lA,QA),W.da=0,R.gesture.startDistance=W.distance,R.gesture.startAngle=W.angle;else if(BA||R.pointers.length<2){var yA=R.prevEvent;W.distance=yA.distance,W.box=yA.box,W.scale=yA.scale,W.ds=0,W.angle=yA.angle,W.da=0}else W.distance=XA(lA,QA),W.box=$A(lA),W.scale=W.distance/R.gesture.startDistance,W.angle=SA(lA,QA),W.ds=W.scale-R.gesture.scale,W.da=W.angle-R.gesture.angle;R.gesture.distance=W.distance,R.gesture.angle=W.angle,u.number(W.scale)&&W.scale!==1/0&&!isNaN(W.scale)&&(R.gesture.scale=W.scale)}}var se={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(L){var R=L.actions,W=L.Interactable,nA=L.defaults;W.prototype.gesturable=function(lA){return u.object(lA)?(this.options.gesture.enabled=lA.enabled!==!1,this.setPerAction("gesture",lA),this.setOnEvents("gesture",lA),this):u.bool(lA)?(this.options.gesture.enabled=lA,this):this.options.gesture},R.map.gesture=se,R.methodDict.gesture="gesturable",nA.actions.gesture=se.defaults},listeners:{"interactions:action-start":be,"interactions:action-move":be,"interactions:action-end":be,"interactions:new":function(L){L.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(L){if(!(L.interaction.pointers.length<2)){var R=L.interactable.options.gesture;if(R&&R.enabled)return L.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(L){return L.search("gesture")===0}},ue=se;function Se(L,R,W,nA,lA,uA,BA){if(!R)return!1;if(R===!0){var QA=u.number(uA.width)?uA.width:uA.right-uA.left,yA=u.number(uA.height)?uA.height:uA.bottom-uA.top;if(BA=Math.min(BA,Math.abs((L==="left"||L==="right"?QA:yA)/2)),QA<0&&(L==="left"?L="right":L==="right"&&(L="left")),yA<0&&(L==="top"?L="bottom":L==="bottom"&&(L="top")),L==="left"){var RA=QA>=0?uA.left:uA.right;return W.x<RA+BA}if(L==="top"){var DA=yA>=0?uA.top:uA.bottom;return W.y<DA+BA}if(L==="right")return W.x>(QA>=0?uA.right:uA.left)-BA;if(L==="bottom")return W.y>(yA>=0?uA.bottom:uA.top)-BA}return!!u.element(nA)&&(u.element(R)?R===nA:J(nA,R,lA))}function tt(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="resize"&&W.resizeAxes){var nA=R;W.interactable.options.resize.square?(W.resizeAxes==="y"?nA.delta.x=nA.delta.y:nA.delta.y=nA.delta.x,nA.axes="xy"):(nA.axes=W.resizeAxes,W.resizeAxes==="x"?nA.delta.y=0:W.resizeAxes==="y"&&(nA.delta.x=0))}}var ct,FA,bA={id:"actions/resize",before:["actions/drag"],install:function(L){var R=L.actions,W=L.browser,nA=L.Interactable,lA=L.defaults;bA.cursors=function(uA){return uA.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(W),bA.defaultMargin=W.supportsTouch||W.supportsPointerEvent?20:10,nA.prototype.resizable=function(uA){return function(BA,QA,yA){return u.object(QA)?(BA.options.resize.enabled=QA.enabled!==!1,BA.setPerAction("resize",QA),BA.setOnEvents("resize",QA),u.string(QA.axis)&&/^x$|^y$|^xy$/.test(QA.axis)?BA.options.resize.axis=QA.axis:QA.axis===null&&(BA.options.resize.axis=yA.defaults.actions.resize.axis),u.bool(QA.preserveAspectRatio)?BA.options.resize.preserveAspectRatio=QA.preserveAspectRatio:u.bool(QA.square)&&(BA.options.resize.square=QA.square),BA):u.bool(QA)?(BA.options.resize.enabled=QA,BA):BA.options.resize}(this,uA,L)},R.map.resize=bA,R.methodDict.resize="resizable",lA.actions.resize=bA.defaults},listeners:{"interactions:new":function(L){L.interaction.resizeAxes="xy"},"interactions:action-start":function(L){(function(R){var W=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=W,uA=nA.rect;nA._rects={start:X({},uA),corrected:X({},uA),previous:X({},uA),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},lA.edges=nA.prepared.edges,lA.rect=nA._rects.corrected,lA.deltaRect=nA._rects.delta}})(L),tt(L)},"interactions:action-move":function(L){(function(R){var W=R.iEvent,nA=R.interaction;if(nA.prepared.name==="resize"&&nA.prepared.edges){var lA=W,uA=nA.interactable.options.resize.invert,BA=uA==="reposition"||uA==="negate",QA=nA.rect,yA=nA._rects,RA=yA.start,DA=yA.corrected,HA=yA.delta,VA=yA.previous;if(X(VA,DA),BA){if(X(DA,QA),uA==="reposition"){if(DA.top>DA.bottom){var ge=DA.top;DA.top=DA.bottom,DA.bottom=ge}if(DA.left>DA.right){var le=DA.left;DA.left=DA.right,DA.right=le}}}else DA.top=Math.min(QA.top,RA.bottom),DA.bottom=Math.max(QA.bottom,RA.top),DA.left=Math.min(QA.left,RA.right),DA.right=Math.max(QA.right,RA.left);for(var he in DA.width=DA.right-DA.left,DA.height=DA.bottom-DA.top,DA)HA[he]=DA[he]-VA[he];lA.edges=nA.prepared.edges,lA.rect=DA,lA.deltaRect=HA}})(L),tt(L)},"interactions:action-end":function(L){var R=L.iEvent,W=L.interaction;if(W.prepared.name==="resize"&&W.prepared.edges){var nA=R;nA.edges=W.prepared.edges,nA.rect=W._rects.corrected,nA.deltaRect=W._rects.delta}},"auto-start:check":function(L){var R=L.interaction,W=L.interactable,nA=L.element,lA=L.rect,uA=L.buttons;if(lA){var BA=X({},R.coords.cur.page),QA=W.options.resize;if(QA&&QA.enabled&&(!R.pointerIsDown||!/mouse|pointer/.test(R.pointerType)||uA&QA.mouseButtons)){if(u.object(QA.edges)){var yA={left:!1,right:!1,top:!1,bottom:!1};for(var RA in yA)yA[RA]=Se(RA,QA.edges[RA],BA,R._latestPointer.eventTarget,nA,lA,QA.margin||bA.defaultMargin);yA.left=yA.left&&!yA.right,yA.top=yA.top&&!yA.bottom,(yA.left||yA.right||yA.top||yA.bottom)&&(L.action={name:"resize",edges:yA})}else{var DA=QA.axis!=="y"&&BA.x>lA.right-bA.defaultMargin,HA=QA.axis!=="x"&&BA.y>lA.bottom-bA.defaultMargin;(DA||HA)&&(L.action={name:"resize",axes:(DA?"x":"")+(HA?"y":"")})}return!L.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(L){var R=L.edges,W=L.axis,nA=L.name,lA=bA.cursors,uA=null;if(W)uA=lA[nA+W];else if(R){for(var BA="",QA=0,yA=["top","bottom","left","right"];QA<yA.length;QA++){var RA=yA[QA];R[RA]&&(BA+=RA)}uA=lA[BA]}return uA},filterEventType:function(L){return L.search("resize")===0},defaultMargin:null},PA=bA,WA={id:"actions",install:function(L){L.usePlugin(ue),L.usePlugin(PA),L.usePlugin(h),L.usePlugin(re)}},ZA=0,fe={request:function(L){return ct(L)},cancel:function(L){return FA(L)},init:function(L){if(ct=L.requestAnimationFrame,FA=L.cancelAnimationFrame,!ct)for(var R=["ms","moz","webkit","o"],W=0;W<R.length;W++){var nA=R[W];ct=L["".concat(nA,"RequestAnimationFrame")],FA=L["".concat(nA,"CancelAnimationFrame")]||L["".concat(nA,"CancelRequestAnimationFrame")]}ct=ct&&ct.bind(L),FA=FA&&FA.bind(L),ct||(ct=function(lA){var uA=Date.now(),BA=Math.max(0,16-(uA-ZA)),QA=L.setTimeout(function(){lA(uA+BA)},BA);return ZA=uA+BA,QA},FA=function(lA){return clearTimeout(lA)})}},ie={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(L){ie.isScrolling=!0,fe.cancel(ie.i),L.autoScroll=ie,ie.interaction=L,ie.prevTime=ie.now(),ie.i=fe.request(ie.scroll)},stop:function(){ie.isScrolling=!1,ie.interaction&&(ie.interaction.autoScroll=null),fe.cancel(ie.i)},scroll:function(){var L=ie.interaction,R=L.interactable,W=L.element,nA=L.prepared.name,lA=R.options[nA].autoScroll,uA=Me(lA.container,R,W),BA=ie.now(),QA=(BA-ie.prevTime)/1e3,yA=lA.speed*QA;if(yA>=1){var RA={x:ie.x*yA,y:ie.y*yA};if(RA.x||RA.y){var DA=qe(uA);u.window(uA)?uA.scrollBy(RA.x,RA.y):uA&&(uA.scrollLeft+=RA.x,uA.scrollTop+=RA.y);var HA=qe(uA),VA={x:HA.x-DA.x,y:HA.y-DA.y};(VA.x||VA.y)&&R.fire({type:"autoscroll",target:W,interactable:R,delta:VA,interaction:L,container:uA})}ie.prevTime=BA}ie.isScrolling&&(fe.cancel(ie.i),ie.i=fe.request(ie.scroll))},check:function(L,R){var W;return(W=L.options[R].autoScroll)==null?void 0:W.enabled},onInteractionMove:function(L){var R=L.interaction,W=L.pointer;if(R.interacting()&&ie.check(R.interactable,R.prepared.name))if(R.simulation)ie.x=ie.y=0;else{var nA,lA,uA,BA,QA=R.interactable,yA=R.element,RA=R.prepared.name,DA=QA.options[RA].autoScroll,HA=Me(DA.container,QA,yA);if(u.window(HA))BA=W.clientX<ie.margin,nA=W.clientY<ie.margin,lA=W.clientX>HA.innerWidth-ie.margin,uA=W.clientY>HA.innerHeight-ie.margin;else{var VA=Z(HA);BA=W.clientX<VA.left+ie.margin,nA=W.clientY<VA.top+ie.margin,lA=W.clientX>VA.right-ie.margin,uA=W.clientY>VA.bottom-ie.margin}ie.x=lA?1:BA?-1:0,ie.y=uA?1:nA?-1:0,ie.isScrolling||(ie.margin=DA.margin,ie.speed=DA.speed,ie.start(R))}}};function Me(L,R,W){return(u.string(L)?rA(L,R,W):L)||v(W)}function qe(L){return u.window(L)&&(L=window.document.body),{x:L.scrollLeft,y:L.scrollTop}}var Ct={id:"auto-scroll",install:function(L){var R=L.defaults,W=L.actions;L.autoScroll=ie,ie.now=function(){return L.now()},W.phaselessTypes.autoscroll=!0,R.perAction.autoScroll=ie.defaults},listeners:{"interactions:new":function(L){L.interaction.autoScroll=null},"interactions:destroy":function(L){L.interaction.autoScroll=null,ie.stop(),ie.interaction&&(ie.interaction=null)},"interactions:stop":ie.stop,"interactions:action-move":function(L){return ie.onInteractionMove(L)}}},ze=Ct;function At(L,R){var W=!1;return function(){return W||(F.console.warn(R),W=!0),L.apply(this,arguments)}}function dt(L,R){return L.name=R.name,L.axis=R.axis,L.edges=R.edges,L}function Pe(L){return u.bool(L)?(this.options.styleCursor=L,this):L===null?(delete this.options.styleCursor,this):this.options.styleCursor}function ot(L){return u.func(L)?(this.options.actionChecker=L,this):L===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Qt={id:"auto-start/interactableMethods",install:function(L){var R=L.Interactable;R.prototype.getAction=function(W,nA,lA,uA){var BA=function(QA,yA,RA,DA,HA){var VA=QA.getRect(DA),ge=yA.buttons||{0:1,1:4,3:8,4:16}[yA.button],le={action:null,interactable:QA,interaction:RA,element:DA,rect:VA,buttons:ge};return HA.fire("auto-start:check",le),le.action}(this,nA,lA,uA,L);return this.options.actionChecker?this.options.actionChecker(W,nA,BA,this,uA,lA):BA},R.prototype.ignoreFrom=At(function(W){return this._backCompatOption("ignoreFrom",W)},"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),R.prototype.allowFrom=At(function(W){return this._backCompatOption("allowFrom",W)},"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),R.prototype.actionChecker=ot,R.prototype.styleCursor=Pe}};function nt(L,R,W,nA,lA){return R.testIgnoreAllow(R.options[L.name],W,nA)&&R.options[L.name].enabled&&dn(R,W,L,lA)?L:null}function Fn(L,R,W,nA,lA,uA,BA){for(var QA=0,yA=nA.length;QA<yA;QA++){var RA=nA[QA],DA=lA[QA],HA=RA.getAction(R,W,L,DA);if(HA){var VA=nt(HA,RA,DA,uA,BA);if(VA)return{action:VA,interactable:RA,element:DA}}}return{action:null,interactable:null,element:null}}function Xt(L,R,W,nA,lA){var uA=[],BA=[],QA=nA;function yA(DA){uA.push(DA),BA.push(QA)}for(;u.element(QA);){uA=[],BA=[],lA.interactables.forEachMatch(QA,yA);var RA=Fn(L,R,W,uA,BA,nA,lA);if(RA.action&&!RA.interactable.options[RA.action.name].manualStart)return RA;QA=T(QA)}return{action:null,interactable:null,element:null}}function Vt(L,R,W){var nA=R.action,lA=R.interactable,uA=R.element;nA=nA||{name:null},L.interactable=lA,L.element=uA,dt(L.prepared,nA),L.rect=lA&&nA.name?lA.getRect(uA):null,An(L,W),W.fire("autoStart:prepared",{interaction:L})}function dn(L,R,W,nA){var lA=L.options,uA=lA[W.name].max,BA=lA[W.name].maxPerElement,QA=nA.autoStart.maxInteractions,yA=0,RA=0,DA=0;if(!(uA&&BA&&QA))return!1;for(var HA=0,VA=nA.interactions.list;HA<VA.length;HA++){var ge=VA[HA],le=ge.prepared.name;if(ge.interacting()&&(++yA>=QA||ge.interactable===L&&((RA+=le===W.name?1:0)>=uA||ge.element===R&&(DA++,le===W.name&&DA>=BA))))return!1}return QA>0}function bn(L,R){return u.number(L)?(R.autoStart.maxInteractions=L,this):R.autoStart.maxInteractions}function Ft(L,R,W){var nA=W.autoStart.cursorElement;nA&&nA!==L&&(nA.style.cursor=""),L.ownerDocument.documentElement.style.cursor=R,L.style.cursor=R,W.autoStart.cursorElement=R?L:null}function An(L,R){var W=L.interactable,nA=L.element,lA=L.prepared;if(L.pointerType==="mouse"&&W&&W.options.styleCursor){var uA="";if(lA.name){var BA=W.options[lA.name].cursorChecker;uA=u.func(BA)?BA(lA,W,nA,L._interacting):R.actions.map[lA.name].getCursor(lA)}Ft(L.element,uA||"",R)}else R.autoStart.cursorElement&&Ft(R.autoStart.cursorElement,"",R)}var zn={id:"auto-start/base",before:["actions"],install:function(L){var R=L.interactStatic,W=L.defaults;L.usePlugin(Qt),W.base.actionChecker=null,W.base.styleCursor=!0,X(W.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),R.maxInteractions=function(nA){return bn(nA,L)},L.autoStart={maxInteractions:1/0,withinInteractionLimit:dn,cursorElement:null}},listeners:{"interactions:down":function(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget;W.interacting()||Vt(W,Xt(W,nA,lA,uA,R),R)},"interactions:move":function(L,R){(function(W,nA){var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget;lA.pointerType!=="mouse"||lA.pointerIsDown||lA.interacting()||Vt(lA,Xt(lA,uA,BA,QA,nA),nA)})(L,R),function(W,nA){var lA=W.interaction;if(lA.pointerIsDown&&!lA.interacting()&&lA.pointerWasMoved&&lA.prepared.name){nA.fire("autoStart:before-start",W);var uA=lA.interactable,BA=lA.prepared.name;BA&&uA&&(uA.options[BA].manualStart||!dn(uA,lA.element,lA.prepared,nA)?lA.stop():(lA.start(lA.prepared,uA,lA.element),An(lA,nA)))}}(L,R)},"interactions:stop":function(L,R){var W=L.interaction,nA=W.interactable;nA&&nA.options.styleCursor&&Ft(W.element,"",R)}},maxInteractions:bn,withinInteractionLimit:dn,validateAction:nt},en=zn,mi={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(L,R){var W=L.interaction,nA=L.eventTarget,lA=L.dx,uA=L.dy;if(W.prepared.name==="drag"){var BA=Math.abs(lA),QA=Math.abs(uA),yA=W.interactable.options.drag,RA=yA.startAxis,DA=BA>QA?"x":BA<QA?"y":"xy";if(W.prepared.axis=yA.lockAxis==="start"?DA[0]:yA.lockAxis,DA!=="xy"&&RA!=="xy"&&RA!==DA){W.prepared.name=null;for(var HA=nA,VA=function(le){if(le!==W.interactable){var he=W.interactable.options.drag;if(!he.manualStart&&le.testIgnoreAllow(he,HA,nA)){var De=le.getAction(W.downPointer,W.downEvent,W,HA);if(De&&De.name==="drag"&&function(Qe,kA){if(!kA)return!1;var OA=kA.options.drag.startAxis;return Qe==="xy"||OA==="xy"||OA===Qe}(DA,le)&&en.validateAction(De,le,HA,nA,R))return le}}};u.element(HA);){var ge=R.interactables.forEachMatch(HA,VA);if(ge){W.prepared.name="drag",W.interactable=ge,W.element=HA;break}HA=T(HA)}}}}}};function Ei(L){var R=L.prepared&&L.prepared.name;if(!R)return null;var W=L.interactable.options;return W[R].hold||W[R].delay}var co={id:"auto-start/hold",install:function(L){var R=L.defaults;L.usePlugin(en),R.perAction.hold=0,R.perAction.delay=0},listeners:{"interactions:new":function(L){L.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(L){var R=L.interaction,W=Ei(R);W>0&&(R.autoStartHoldTimer=setTimeout(function(){R.start(R.prepared,R.interactable,R.element)},W))},"interactions:move":function(L){var R=L.interaction,W=L.duplicate;R.autoStartHoldTimer&&R.pointerWasMoved&&!W&&(clearTimeout(R.autoStartHoldTimer),R.autoStartHoldTimer=null)},"autoStart:before-start":function(L){var R=L.interaction;Ei(R)>0&&(R.prepared.name=null)}},getHoldDuration:Ei},Qi=co,oi={id:"auto-start",install:function(L){L.usePlugin(en),L.usePlugin(Qi),L.usePlugin(mi)}},Hi=function(L){return/^(always|never|auto)$/.test(L)?(this.options.preventDefault=L,this):u.bool(L)?(this.options.preventDefault=L?"always":"never",this):this.options.preventDefault};function go(L){var R=L.interaction,W=L.event;R.interactable&&R.interactable.checkAndPreventDefault(W)}var ri={id:"core/interactablePreventDefault",install:function(L){var R=L.Interactable;R.prototype.preventDefault=Hi,R.prototype.checkAndPreventDefault=function(W){return function(nA,lA,uA){var BA=nA.options.preventDefault;if(BA!=="never")if(BA!=="always"){if(lA.events.supportsPassive&&/^touch(start|move)$/.test(uA.type)){var QA=v(uA.target).document,yA=lA.getDocOptions(QA);if(!yA||!yA.events||yA.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(uA.type)||u.element(uA.target)&&z(uA.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||uA.preventDefault()}else uA.preventDefault()}(this,L,W)},L.interactions.docEvents.push({type:"dragstart",listener:function(W){for(var nA=0,lA=L.interactions.list;nA<lA.length;nA++){var uA=lA[nA];if(uA.element&&(uA.element===W.target||M(uA.element,W.target)))return void uA.interactable.checkAndPreventDefault(W)}}})},listeners:["down","move","up","cancel"].reduce(function(L,R){return L["interactions:".concat(R)]=go,L},{})};function yn(L,R){if(R.phaselessTypes[L])return!0;for(var W in R.map)if(L.indexOf(W)===0&&L.substr(W.length)in R.phases)return!0;return!1}function Ki(L){var R={};for(var W in L){var nA=L[W];u.plainObject(nA)?R[W]=Ki(nA):u.array(nA)?R[W]=xe(nA):R[W]=nA}return R}var Zo=function(){function L(R){I(this,L),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=R,this.result=uo(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return b(L,[{key:"start",value:function(R,W){var nA,lA,uA=R.phase,BA=this.interaction,QA=function(RA){var DA=RA.interactable.options[RA.prepared.name],HA=DA.modifiers;return HA&&HA.length?HA:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map(function(VA){var ge=DA[VA];return ge&&ge.enabled&&{options:ge,methods:ge._methods}}).filter(function(VA){return!!VA})}(BA);this.prepareStates(QA),this.startEdges=X({},BA.edges),this.edges=X({},this.startEdges),this.startOffset=(nA=BA.rect,lA=W,nA?{left:lA.x-nA.left,top:lA.y-nA.top,right:nA.right-lA.x,bottom:nA.bottom-lA.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var yA=this.fillArg({phase:uA,pageCoords:W,preEnd:!1});return this.result=uo(),this.startAll(yA),this.result=this.setAll(yA)}},{key:"fillArg",value:function(R){var W=this.interaction;return R.interaction=W,R.interactable=W.interactable,R.element=W.element,R.rect||(R.rect=W.rect),R.edges||(R.edges=this.startEdges),R.startOffset=this.startOffset,R}},{key:"startAll",value:function(R){for(var W=0,nA=this.states;W<nA.length;W++){var lA=nA[W];lA.methods.start&&(R.state=lA,lA.methods.start(R))}}},{key:"setAll",value:function(R){var W=R.phase,nA=R.preEnd,lA=R.skipModifiers,uA=R.rect,BA=R.edges;R.coords=X({},R.pageCoords),R.rect=X({},uA),R.edges=X({},BA);for(var QA=lA?this.states.slice(lA):this.states,yA=uo(R.coords,R.rect),RA=0;RA<QA.length;RA++){var DA,HA=QA[RA],VA=HA.options,ge=X({},R.coords),le=null;(DA=HA.methods)!=null&&DA.set&&this.shouldDo(VA,nA,W)&&(R.state=HA,le=HA.methods.set(R),gA(R.edges,R.rect,{x:R.coords.x-ge.x,y:R.coords.y-ge.y})),yA.eventProps.push(le)}X(this.edges,R.edges),yA.delta.x=R.coords.x-R.pageCoords.x,yA.delta.y=R.coords.y-R.pageCoords.y,yA.rectDelta.left=R.rect.left-uA.left,yA.rectDelta.right=R.rect.right-uA.right,yA.rectDelta.top=R.rect.top-uA.top,yA.rectDelta.bottom=R.rect.bottom-uA.bottom;var he=this.result.coords,De=this.result.rect;if(he&&De){var Qe=yA.rect.left!==De.left||yA.rect.right!==De.right||yA.rect.top!==De.top||yA.rect.bottom!==De.bottom;yA.changed=Qe||he.x!==yA.coords.x||he.y!==yA.coords.y}return yA}},{key:"applyToInteraction",value:function(R){var W=this.interaction,nA=R.phase,lA=W.coords.cur,uA=W.coords.start,BA=this.result,QA=this.startDelta,yA=BA.delta;nA==="start"&&X(this.startDelta,BA.delta);for(var RA=0,DA=[[uA,QA],[lA,yA]];RA<DA.length;RA++){var HA=DA[RA],VA=HA[0],ge=HA[1];VA.page.x+=ge.x,VA.page.y+=ge.y,VA.client.x+=ge.x,VA.client.y+=ge.y}var le=this.result.rectDelta,he=R.rect||W.rect;he.left+=le.left,he.right+=le.right,he.top+=le.top,he.bottom+=le.bottom,he.width=he.right-he.left,he.height=he.bottom-he.top}},{key:"setAndApply",value:function(R){var W=this.interaction,nA=R.phase,lA=R.preEnd,uA=R.skipModifiers,BA=this.setAll(this.fillArg({preEnd:lA,phase:nA,pageCoords:R.modifiedCoords||W.coords.cur.page}));if(this.result=BA,!BA.changed&&(!uA||uA<this.states.length)&&W.interacting())return!1;if(R.modifiedCoords){var QA=W.coords.cur.page,yA={x:R.modifiedCoords.x-QA.x,y:R.modifiedCoords.y-QA.y};BA.coords.x+=yA.x,BA.coords.y+=yA.y,BA.delta.x+=yA.x,BA.delta.y+=yA.y}this.applyToInteraction(R)}},{key:"beforeEnd",value:function(R){var W=R.interaction,nA=R.event,lA=this.states;if(lA&&lA.length){for(var uA=!1,BA=0;BA<lA.length;BA++){var QA=lA[BA];R.state=QA;var yA=QA.options,RA=QA.methods,DA=RA.beforeEnd&&RA.beforeEnd(R);if(DA)return this.endResult=DA,!1;uA=uA||!uA&&this.shouldDo(yA,!0,R.phase,!0)}uA&&W.move({event:nA,preEnd:!0})}}},{key:"stop",value:function(R){var W=R.interaction;if(this.states&&this.states.length){var nA=X({states:this.states,interactable:W.interactable,element:W.element,rect:null},R);this.fillArg(nA);for(var lA=0,uA=this.states;lA<uA.length;lA++){var BA=uA[lA];nA.state=BA,BA.methods.stop&&BA.methods.stop(nA)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(R){this.states=[];for(var W=0;W<R.length;W++){var nA=R[W],lA=nA.options,uA=nA.methods,BA=nA.name;this.states.push({options:lA,methods:uA,index:W,name:BA})}return this.states}},{key:"restoreInteractionCoords",value:function(R){var W=R.interaction,nA=W.coords,lA=W.rect,uA=W.modification;if(uA.result){for(var BA=uA.startDelta,QA=uA.result,yA=QA.delta,RA=QA.rectDelta,DA=0,HA=[[nA.start,BA],[nA.cur,yA]];DA<HA.length;DA++){var VA=HA[DA],ge=VA[0],le=VA[1];ge.page.x-=le.x,ge.page.y-=le.y,ge.client.x-=le.x,ge.client.y-=le.y}lA.left-=RA.left,lA.right-=RA.right,lA.top-=RA.top,lA.bottom-=RA.bottom}}},{key:"shouldDo",value:function(R,W,nA,lA){return!(!R||R.enabled===!1||lA&&!R.endOnly||R.endOnly&&!W||nA==="start"&&!R.setStart)}},{key:"copyFrom",value:function(R){this.startOffset=R.startOffset,this.startDelta=R.startDelta,this.startEdges=R.startEdges,this.edges=R.edges,this.states=R.states.map(function(W){return Ki(W)}),this.result=uo(X({},R.result.coords),X({},R.result.rect))}},{key:"destroy",value:function(){for(var R in this)this[R]=null}}]),L}();function uo(L,R){return{rect:R,coords:L,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function Rn(L,R){var W=L.defaults,nA={start:L.start,set:L.set,beforeEnd:L.beforeEnd,stop:L.stop},lA=function(uA){var BA=uA||{};for(var QA in BA.enabled=BA.enabled!==!1,W)QA in BA||(BA[QA]=W[QA]);var yA={options:BA,methods:nA,name:R,enable:function(){return BA.enabled=!0,yA},disable:function(){return BA.enabled=!1,yA}};return yA};return R&&typeof R=="string"&&(lA._defaults=W,lA._methods=nA),lA}function ho(L){var R=L.iEvent,W=L.interaction.modification.result;W&&(R.modifiers=W.eventProps)}var bs={id:"modifiers/base",before:["actions"],install:function(L){L.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(L){var R=L.interaction;R.modification=new Zo(R)},"interactions:before-action-start":function(L){var R=L.interaction,W=L.interaction.modification;W.start(L,R.coords.start.page),R.edges=W.edges,W.applyToInteraction(L)},"interactions:before-action-move":function(L){var R=L.interaction,W=R.modification,nA=W.setAndApply(L);return R.edges=W.edges,nA},"interactions:before-action-end":function(L){var R=L.interaction,W=R.modification,nA=W.beforeEnd(L);return R.edges=W.startEdges,nA},"interactions:action-start":ho,"interactions:action-move":ho,"interactions:action-end":ho,"interactions:after-action-start":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-move":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:stop":function(L){return L.interaction.modification.stop(L)}}},Wo=bs,jo={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},ai=function(L){f(W,L);var R=U(W);function W(nA,lA,uA,BA,QA,yA,RA){var DA;I(this,W),(DA=R.call(this,nA)).relatedTarget=null,DA.screenX=void 0,DA.screenY=void 0,DA.button=void 0,DA.buttons=void 0,DA.ctrlKey=void 0,DA.shiftKey=void 0,DA.altKey=void 0,DA.metaKey=void 0,DA.page=void 0,DA.client=void 0,DA.delta=void 0,DA.rect=void 0,DA.x0=void 0,DA.y0=void 0,DA.t0=void 0,DA.dt=void 0,DA.duration=void 0,DA.clientX0=void 0,DA.clientY0=void 0,DA.velocity=void 0,DA.speed=void 0,DA.swipe=void 0,DA.axes=void 0,DA.preEnd=void 0,QA=QA||nA.element;var HA=nA.interactable,VA=(HA&&HA.options||jo).deltaSource,ge=wA(HA,QA,uA),le=BA==="start",he=BA==="end",De=le?K(DA):nA.prevEvent,Qe=le?nA.coords.start:he?{page:De.page,client:De.client,timeStamp:nA.coords.cur.timeStamp}:nA.coords.cur;return DA.page=X({},Qe.page),DA.client=X({},Qe.client),DA.rect=X({},nA.rect),DA.timeStamp=Qe.timeStamp,he||(DA.page.x-=ge.x,DA.page.y-=ge.y,DA.client.x-=ge.x,DA.client.y-=ge.y),DA.ctrlKey=lA.ctrlKey,DA.altKey=lA.altKey,DA.shiftKey=lA.shiftKey,DA.metaKey=lA.metaKey,DA.button=lA.button,DA.buttons=lA.buttons,DA.target=QA,DA.currentTarget=QA,DA.preEnd=yA,DA.type=RA||uA+(BA||""),DA.interactable=HA,DA.t0=le?nA.pointers[nA.pointers.length-1].downTime:De.t0,DA.x0=nA.coords.start.page.x-ge.x,DA.y0=nA.coords.start.page.y-ge.y,DA.clientX0=nA.coords.start.client.x-ge.x,DA.clientY0=nA.coords.start.client.y-ge.y,DA.delta=le||he?{x:0,y:0}:{x:DA[VA].x-De[VA].x,y:DA[VA].y-De[VA].y},DA.dt=nA.coords.delta.timeStamp,DA.duration=DA.timeStamp-DA.t0,DA.velocity=X({},nA.coords.velocity[VA]),DA.speed=cA(DA.velocity.x,DA.velocity.y),DA.swipe=he||BA==="inertiastart"?DA.getSwipe():null,DA}return b(W,[{key:"getSwipe",value:function(){var nA=this._interaction;if(nA.prevEvent.speed<600||this.timeStamp-nA.prevEvent.timeStamp>150)return null;var lA=180*Math.atan2(nA.prevEvent.velocityY,nA.prevEvent.velocityX)/Math.PI;lA<0&&(lA+=360);var uA=112.5<=lA&&lA<247.5,BA=202.5<=lA&&lA<337.5;return{up:BA,down:!BA&&22.5<=lA&&lA<157.5,left:uA,right:!uA&&(292.5<=lA||lA<67.5),angle:lA,speed:nA.prevEvent.speed,velocity:{x:nA.prevEvent.velocityX,y:nA.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),W}(Ce);Object.defineProperties(ai.prototype,{pageX:{get:function(){return this.page.x},set:function(L){this.page.x=L}},pageY:{get:function(){return this.page.y},set:function(L){this.page.y=L}},clientX:{get:function(){return this.client.x},set:function(L){this.client.x=L}},clientY:{get:function(){return this.client.y},set:function(L){this.client.y=L}},dx:{get:function(){return this.delta.x},set:function(L){this.delta.x=L}},dy:{get:function(){return this.delta.y},set:function(L){this.delta.y=L}},velocityX:{get:function(){return this.velocity.x},set:function(L){this.velocity.x=L}},velocityY:{get:function(){return this.velocity.y},set:function(L){this.velocity.y=L}}});var ys=b(function L(R,W,nA,lA,uA){I(this,L),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=R,this.pointer=W,this.event=nA,this.downTime=lA,this.downTarget=uA}),Ds=function(L){return L.interactable="",L.element="",L.prepared="",L.pointerIsDown="",L.pointerWasMoved="",L._proxy="",L}({}),vs=function(L){return L.start="",L.move="",L.end="",L.stop="",L.interacting="",L}({}),ks=0,_s=function(){function L(R){var W=this,nA=R.pointerType,lA=R.scopeFire;I(this,L),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=At(function(DA){this.move(DA)},"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=ks++,this._scopeFire=lA,this.pointerType=nA;var uA=this;this._proxy={};var BA=function(DA){Object.defineProperty(W._proxy,DA,{get:function(){return uA[DA]}})};for(var QA in Ds)BA(QA);var yA=function(DA){Object.defineProperty(W._proxy,DA,{value:function(){return uA[DA].apply(uA,arguments)}})};for(var RA in vs)yA(RA);this._scopeFire("interactions:new",{interaction:this})}return b(L,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(R,W,nA){var lA=this.updatePointer(R,W,nA,!0),uA=this.pointers[lA];this._scopeFire("interactions:down",{pointer:R,event:W,eventTarget:nA,pointerIndex:lA,pointerInfo:uA,type:"down",interaction:this})}},{key:"start",value:function(R,W,nA){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(R.name==="gesture"?2:1)||!W.options[R.name].enabled)&&(dt(this.prepared,R),this.interactable=W,this.element=nA,this.rect=W.getRect(nA),this.edges=this.prepared.edges?X({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(R,W,nA){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(R,W,nA,!1);var lA,uA,BA=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(lA=this.coords.cur.client.x-this.coords.start.client.x,uA=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=cA(lA,uA)>this.pointerMoveTolerance);var QA,yA,RA,DA=this.getPointerIndex(R),HA={pointer:R,pointerIndex:DA,pointerInfo:this.pointers[DA],event:W,type:"move",eventTarget:nA,dx:lA,dy:uA,duplicate:BA,interaction:this};BA||(QA=this.coords.velocity,yA=this.coords.delta,RA=Math.max(yA.timeStamp/1e3,.001),QA.page.x=yA.page.x/RA,QA.page.y=yA.page.y/RA,QA.client.x=yA.client.x/RA,QA.client.y=yA.client.y/RA,QA.timeStamp=RA),this._scopeFire("interactions:move",HA),BA||this.simulation||(this.interacting()&&(HA.type=null,this.move(HA)),this.pointerWasMoved&&j(this.coords.prev,this.coords.cur))}},{key:"move",value:function(R){R&&R.event||tA(this.coords.delta),(R=X({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},R||{})).phase="move",this._doPhase(R)}},{key:"pointerUp",value:function(R,W,nA,lA){var uA=this.getPointerIndex(R);uA===-1&&(uA=this.updatePointer(R,W,nA,!1));var BA=/cancel$/i.test(W.type)?"cancel":"up";this._scopeFire("interactions:".concat(BA),{pointer:R,pointerIndex:uA,pointerInfo:this.pointers[uA],event:W,eventTarget:nA,type:BA,curEventTarget:lA,interaction:this}),this.simulation||this.end(W),this.removePointer(R,W)}},{key:"documentBlur",value:function(R){this.end(R),this._scopeFire("interactions:blur",{event:R,type:"blur",interaction:this})}},{key:"end",value:function(R){var W;this._ending=!0,R=R||this._latestPointer.event,this.interacting()&&(W=this._doPhase({event:R,interaction:this,phase:"end"})),this._ending=!1,W===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(R){var W=zA(R);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:NA(this.pointers,function(nA){return nA.id===W})}},{key:"getPointerInfo",value:function(R){return this.pointers[this.getPointerIndex(R)]}},{key:"updatePointer",value:function(R,W,nA,lA){var uA,BA,QA,yA=zA(R),RA=this.getPointerIndex(R),DA=this.pointers[RA];return lA=lA!==!1&&(lA||/(down|start)$/i.test(W.type)),DA?DA.pointer=R:(DA=new ys(yA,R,W,null,null),RA=this.pointers.length,this.pointers.push(DA)),jA(this.coords.cur,this.pointers.map(function(HA){return HA.pointer}),this._now()),uA=this.coords.delta,BA=this.coords.prev,QA=this.coords.cur,uA.page.x=QA.page.x-BA.page.x,uA.page.y=QA.page.y-BA.page.y,uA.client.x=QA.client.x-BA.client.x,uA.client.y=QA.client.y-BA.client.y,uA.timeStamp=QA.timeStamp-BA.timeStamp,lA&&(this.pointerIsDown=!0,DA.downTime=this.coords.cur.timeStamp,DA.downTarget=nA,Y(this.downPointer,R),this.interacting()||(j(this.coords.start,this.coords.cur),j(this.coords.prev,this.coords.cur),this.downEvent=W,this.pointerWasMoved=!1)),this._updateLatestPointer(R,W,nA),this._scopeFire("interactions:update-pointer",{pointer:R,event:W,eventTarget:nA,down:lA,pointerInfo:DA,pointerIndex:RA,interaction:this}),RA}},{key:"removePointer",value:function(R,W){var nA=this.getPointerIndex(R);if(nA!==-1){var lA=this.pointers[nA];this._scopeFire("interactions:remove-pointer",{pointer:R,event:W,eventTarget:null,pointerIndex:nA,pointerInfo:lA,interaction:this}),this.pointers.splice(nA,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(R,W,nA){this._latestPointer.pointer=R,this._latestPointer.event=W,this._latestPointer.eventTarget=nA}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(R,W,nA,lA){return new ai(this,R,this.prepared.name,W,this.element,nA,lA)}},{key:"_fireEvent",value:function(R){var W;(W=this.interactable)==null||W.fire(R),(!this.prevEvent||R.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=R)}},{key:"_doPhase",value:function(R){var W=R.event,nA=R.phase,lA=R.preEnd,uA=R.type,BA=this.rect;if(BA&&nA==="move"&&(gA(this.edges,BA,this.coords.delta[this.interactable.options.deltaSource]),BA.width=BA.right-BA.left,BA.height=BA.bottom-BA.top),this._scopeFire("interactions:before-action-".concat(nA),R)===!1)return!1;var QA=R.iEvent=this._createPreparedEvent(W,nA,lA,uA);return this._scopeFire("interactions:action-".concat(nA),R),nA==="start"&&(this.prevEvent=QA),this._fireEvent(QA),this._scopeFire("interactions:after-action-".concat(nA),R),!0}},{key:"_now",value:function(){return Date.now()}}]),L}();function $r(L){zr(L.interaction)}function zr(L){if(!function(W){return!(!W.offset.pending.x&&!W.offset.pending.y)}(L))return!1;var R=L.offset.pending;return Jr(L.coords.cur,R),Jr(L.coords.delta,R),gA(L.edges,L.rect,R),R.x=0,R.y=0,!0}function sg(L){var R=L.x,W=L.y;this.offset.pending.x+=R,this.offset.pending.y+=W,this.offset.total.x+=R,this.offset.total.y+=W}function Jr(L,R){var W=L.page,nA=L.client,lA=R.x,uA=R.y;W.x+=lA,W.y+=uA,nA.x+=lA,nA.y+=uA}vs.offsetBy="";var lg={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(L){L.Interaction.prototype.offsetBy=sg},listeners:{"interactions:new":function(L){L.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(L){return function(R){R.pointerIsDown&&(Jr(R.coords.cur,R.offset.total),R.offset.pending.x=0,R.offset.pending.y=0)}(L.interaction)},"interactions:before-action-start":$r,"interactions:before-action-move":$r,"interactions:before-action-end":function(L){var R=L.interaction;if(zr(R))return R.move({offset:!0}),R.end(),!1},"interactions:stop":function(L){var R=L.interaction;R.offset.total.x=0,R.offset.total.y=0,R.offset.pending.x=0,R.offset.pending.y=0}}},Zr=lg,cg=function(){function L(R){I(this,L),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=R}return b(L,[{key:"start",value:function(R){var W=this.interaction,nA=qo(W);if(!nA||!nA.enabled)return!1;var lA=W.coords.velocity.client,uA=cA(lA.x,lA.y),BA=this.modification||(this.modification=new Zo(W));if(BA.copyFrom(W.modification),this.t0=W._now(),this.allowResume=nA.allowResume,this.v0=uA,this.currentOffset={x:0,y:0},this.startCoords=W.coords.cur.page,this.modifierArg=BA.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-W.coords.cur.timeStamp<50&&uA>nA.minSpeed&&uA>nA.endSpeed)this.startInertia();else{if(BA.result=BA.setAll(this.modifierArg),!BA.result.changed)return!1;this.startSmoothEnd()}return W.modification.result.rect=null,W.offsetBy(this.targetOffset),W._doPhase({interaction:W,event:R,phase:"inertiastart"}),W.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),W.modification.result.rect=null,this.active=!0,W.simulation=this,!0}},{key:"startInertia",value:function(){var R=this,W=this.interaction.coords.velocity.client,nA=qo(this.interaction),lA=nA.resistance,uA=-Math.log(nA.endSpeed/this.v0)/lA;this.targetOffset={x:(W.x-uA)/lA,y:(W.y-uA)/lA},this.te=uA,this.lambda_v0=lA/this.v0,this.one_ve_v0=1-nA.endSpeed/this.v0;var BA=this.modification,QA=this.modifierArg;QA.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},BA.result=BA.setAll(QA),BA.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+BA.result.delta.x,y:this.targetOffset.y+BA.result.delta.y}),this.onNextFrame(function(){return R.inertiaTick()})}},{key:"startSmoothEnd",value:function(){var R=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame(function(){return R.smoothEndTick()})}},{key:"onNextFrame",value:function(R){var W=this;this.timeout=fe.request(function(){W.active&&R()})}},{key:"inertiaTick",value:function(){var R,W,nA,lA,uA,BA,QA,yA=this,RA=this.interaction,DA=qo(RA).resistance,HA=(RA._now()-this.t0)/1e3;if(HA<this.te){var VA,ge=1-(Math.exp(-DA*HA)-this.lambda_v0)/this.one_ve_v0;this.isModified?(R=0,W=0,nA=this.targetOffset.x,lA=this.targetOffset.y,uA=this.modifiedOffset.x,BA=this.modifiedOffset.y,VA={x:Ms(QA=ge,R,nA,uA),y:Ms(QA,W,lA,BA)}):VA={x:this.targetOffset.x*ge,y:this.targetOffset.y*ge};var le={x:VA.x-this.currentOffset.x,y:VA.y-this.currentOffset.y};this.currentOffset.x+=le.x,this.currentOffset.y+=le.y,RA.offsetBy(le),RA.move(),this.onNextFrame(function(){return yA.inertiaTick()})}else RA.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var R=this,W=this.interaction,nA=W._now()-this.t0,lA=qo(W).smoothEndDuration;if(nA<lA){var uA={x:Xo(nA,0,this.targetOffset.x,lA),y:Xo(nA,0,this.targetOffset.y,lA)},BA={x:uA.x-this.currentOffset.x,y:uA.y-this.currentOffset.y};this.currentOffset.x+=BA.x,this.currentOffset.y+=BA.y,W.offsetBy(BA),W.move({skipModifiers:this.modifierCount}),this.onNextFrame(function(){return R.smoothEndTick()})}else W.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(R){var W=R.pointer,nA=R.event,lA=R.eventTarget,uA=this.interaction;uA.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),uA.updatePointer(W,nA,lA,!0),uA._doPhase({interaction:uA,event:nA,phase:"resume"}),j(uA.coords.prev,uA.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,fe.cancel(this.timeout)}}]),L}();function qo(L){var R=L.interactable,W=L.prepared;return R&&R.options&&W.name&&R.options[W.name].inertia}var gg={id:"inertia",before:["modifiers","actions"],install:function(L){var R=L.defaults;L.usePlugin(Zr),L.usePlugin(Wo),L.actions.phases.inertiastart=!0,L.actions.phases.resume=!0,R.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(L){var R=L.interaction;R.inertia=new cg(R)},"interactions:before-action-end":function(L){var R=L.interaction,W=L.event;return(!R._interacting||R.simulation||!R.inertia.start(W))&&null},"interactions:down":function(L){var R=L.interaction,W=L.eventTarget,nA=R.inertia;if(nA.active)for(var lA=W;u.element(lA);){if(lA===R.element){nA.resume(L);break}lA=T(lA)}},"interactions:stop":function(L){var R=L.interaction.inertia;R.active&&R.stop()},"interactions:before-action-resume":function(L){var R=L.interaction.modification;R.stop(L),R.start(L,L.interaction.coords.cur.page),R.applyToInteraction(L)},"interactions:before-action-inertiastart":function(L){return L.interaction.modification.setAndApply(L)},"interactions:action-resume":ho,"interactions:action-inertiastart":ho,"interactions:after-action-inertiastart":function(L){return L.interaction.modification.restoreInteractionCoords(L)},"interactions:after-action-resume":function(L){return L.interaction.modification.restoreInteractionCoords(L)}}};function Ms(L,R,W,nA){var lA=1-L;return lA*lA*R+2*lA*L*W+L*L*nA}function Xo(L,R,W,nA){return-W*(L/=nA)*(L-2)+R}var dg=gg;function xs(L,R){for(var W=0;W<R.length;W++){var nA=R[W];if(L.immediatePropagationStopped)break;nA(L)}}var Ss=function(){function L(R){I(this,L),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=X({},R||{})}return b(L,[{key:"fire",value:function(R){var W,nA=this.global;(W=this.types[R.type])&&xs(R,W),!R.propagationStopped&&nA&&(W=nA[R.type])&&xs(R,W)}},{key:"on",value:function(R,W){var nA=V(R,W);for(R in nA)this.types[R]=ye(this.types[R]||[],nA[R])}},{key:"off",value:function(R,W){var nA=V(R,W);for(R in nA){var lA=this.types[R];if(lA&&lA.length)for(var uA=0,BA=nA[R];uA<BA.length;uA++){var QA=BA[uA],yA=lA.indexOf(QA);yA!==-1&&lA.splice(yA,1)}}}},{key:"getRect",value:function(R){return null}}]),L}(),ug=function(){function L(R){I(this,L),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=R,Y(this,R)}return b(L,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),L}();function po(L){return u.object(L)?{capture:!!L.capture,passive:!!L.passive}:{capture:!!L,passive:!1}}function at(L,R){return L===R||(typeof L=="boolean"?!!R.capture===L&&!R.passive:!!L.capture==!!R.capture&&!!L.passive==!!R.passive)}var gt={id:"events",install:function(L){var R,W=[],nA={},lA=[],uA={add:BA,remove:QA,addDelegate:function(DA,HA,VA,ge,le){var he=po(le);if(!nA[VA]){nA[VA]=[];for(var De=0;De<lA.length;De++){var Qe=lA[De];BA(Qe,VA,yA),BA(Qe,VA,RA,!0)}}var kA=nA[VA],OA=UA(kA,function(KA){return KA.selector===DA&&KA.context===HA});OA||(OA={selector:DA,context:HA,listeners:[]},kA.push(OA)),OA.listeners.push({func:ge,options:he})},removeDelegate:function(DA,HA,VA,ge,le){var he,De=po(le),Qe=nA[VA],kA=!1;if(Qe)for(he=Qe.length-1;he>=0;he--){var OA=Qe[he];if(OA.selector===DA&&OA.context===HA){for(var KA=OA.listeners,ee=KA.length-1;ee>=0;ee--){var Be=KA[ee];if(Be.func===ge&&at(Be.options,De)){KA.splice(ee,1),KA.length||(Qe.splice(he,1),QA(HA,VA,yA),QA(HA,VA,RA,!0)),kA=!0;break}}if(kA)break}}},delegateListener:yA,delegateUseCapture:RA,delegatedEvents:nA,documents:lA,targets:W,supportsOptions:!1,supportsPassive:!1};function BA(DA,HA,VA,ge){if(DA.addEventListener){var le=po(ge),he=UA(W,function(De){return De.eventTarget===DA});he||(he={eventTarget:DA,events:{}},W.push(he)),he.events[HA]||(he.events[HA]=[]),UA(he.events[HA],function(De){return De.func===VA&&at(De.options,le)})||(DA.addEventListener(HA,VA,uA.supportsOptions?le:le.capture),he.events[HA].push({func:VA,options:le}))}}function QA(DA,HA,VA,ge){if(DA.addEventListener&&DA.removeEventListener){var le=NA(W,function(He){return He.eventTarget===DA}),he=W[le];if(he&&he.events)if(HA!=="all"){var De=!1,Qe=he.events[HA];if(Qe){if(VA==="all"){for(var kA=Qe.length-1;kA>=0;kA--){var OA=Qe[kA];QA(DA,HA,OA.func,OA.options)}return}for(var KA=po(ge),ee=0;ee<Qe.length;ee++){var Be=Qe[ee];if(Be.func===VA&&at(Be.options,KA)){DA.removeEventListener(HA,VA,uA.supportsOptions?KA:KA.capture),Qe.splice(ee,1),Qe.length===0&&(delete he.events[HA],De=!0);break}}}De&&!Object.keys(he.events).length&&W.splice(le,1)}else for(HA in he.events)he.events.hasOwnProperty(HA)&&QA(DA,HA,"all")}}function yA(DA,HA){for(var VA=po(HA),ge=new ug(DA),le=nA[DA.type],he=qA(DA)[0],De=he;u.element(De);){for(var Qe=0;Qe<le.length;Qe++){var kA=le[Qe],OA=kA.selector,KA=kA.context;if(z(De,OA)&&M(KA,he)&&M(KA,De)){var ee=kA.listeners;ge.currentTarget=De;for(var Be=0;Be<ee.length;Be++){var He=ee[Be];at(He.options,VA)&&He.func(ge)}}}De=T(De)}}function RA(DA){return yA(DA,!0)}return(R=L.document)==null||R.createElement("div").addEventListener("test",null,{get capture(){return uA.supportsOptions=!0},get passive(){return uA.supportsPassive=!0}}),L.events=uA,uA}},Wr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(L){for(var R=0,W=Wr.methodOrder;R<W.length;R++){var nA=W[R],lA=Wr[nA](L);if(lA)return lA}return null},simulationResume:function(L){var R=L.pointerType,W=L.eventType,nA=L.eventTarget,lA=L.scope;if(!/down|start/i.test(W))return null;for(var uA=0,BA=lA.interactions.list;uA<BA.length;uA++){var QA=BA[uA],yA=nA;if(QA.simulation&&QA.simulation.allowResume&&QA.pointerType===R)for(;yA;){if(yA===QA.element)return QA;yA=T(yA)}}return null},mouseOrPen:function(L){var R,W=L.pointerId,nA=L.pointerType,lA=L.eventType,uA=L.scope;if(nA!=="mouse"&&nA!=="pen")return null;for(var BA=0,QA=uA.interactions.list;BA<QA.length;BA++){var yA=QA[BA];if(yA.pointerType===nA){if(yA.simulation&&!Ns(yA,W))continue;if(yA.interacting())return yA;R||(R=yA)}}if(R)return R;for(var RA=0,DA=uA.interactions.list;RA<DA.length;RA++){var HA=DA[RA];if(!(HA.pointerType!==nA||/down/i.test(lA)&&HA.simulation))return HA}return null},hasPointer:function(L){for(var R=L.pointerId,W=0,nA=L.scope.interactions.list;W<nA.length;W++){var lA=nA[W];if(Ns(lA,R))return lA}return null},idle:function(L){for(var R=L.pointerType,W=0,nA=L.scope.interactions.list;W<nA.length;W++){var lA=nA[W];if(lA.pointers.length===1){var uA=lA.interactable;if(uA&&(!uA.options.gesture||!uA.options.gesture.enabled))continue}else if(lA.pointers.length>=2)continue;if(!lA.interacting()&&R===lA.pointerType)return lA}return null}};function Ns(L,R){return L.pointers.some(function(W){return W.id===R})}var hg=Wr,jr=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Fs(L,R){return function(W){var nA=R.interactions.list,lA=MA(W),uA=qA(W),BA=uA[0],QA=uA[1],yA=[];if(/^touch/.test(W.type)){R.prevTouchTime=R.now();for(var RA=0,DA=W.changedTouches;RA<DA.length;RA++){var HA=DA[RA],VA={pointer:HA,pointerId:zA(HA),pointerType:lA,eventType:W.type,eventTarget:BA,curEventTarget:QA,scope:R},ge=Rs(VA);yA.push([VA.pointer,VA.eventTarget,VA.curEventTarget,ge])}}else{var le=!1;if(!Q.supportsPointerEvent&&/mouse/.test(W.type)){for(var he=0;he<nA.length&&!le;he++)le=nA[he].pointerType!=="mouse"&&nA[he].pointerIsDown;le=le||R.now()-R.prevTouchTime<500||W.timeStamp===0}if(!le){var De={pointer:W,pointerId:zA(W),pointerType:lA,eventType:W.type,curEventTarget:QA,eventTarget:BA,scope:R},Qe=Rs(De);yA.push([De.pointer,De.eventTarget,De.curEventTarget,Qe])}}for(var kA=0;kA<yA.length;kA++){var OA=yA[kA],KA=OA[0],ee=OA[1],Be=OA[2];OA[3][L](KA,W,ee,Be)}}}function Rs(L){var R=L.pointerType,W=L.scope,nA={interaction:hg.search(L),searchDetails:L};return W.fire("interactions:find",nA),nA.interaction||W.interactions.new({pointerType:R})}function Vo(L,R){var W=L.doc,nA=L.scope,lA=L.options,uA=nA.interactions.docEvents,BA=nA.events,QA=BA[R];for(var yA in nA.browser.isIOS&&!lA.events&&(lA.events={passive:!1}),BA.delegatedEvents)QA(W,yA,BA.delegateListener),QA(W,yA,BA.delegateUseCapture,!0);for(var RA=lA&&lA.events,DA=0;DA<uA.length;DA++){var HA=uA[DA];QA(W,HA.type,HA.listener,RA)}}var pg={id:"core/interactions",install:function(L){for(var R={},W=0;W<jr.length;W++){var nA=jr[W];R[nA]=Fs(nA,L)}var lA,uA=Q.pEventTypes;function BA(){for(var QA=0,yA=L.interactions.list;QA<yA.length;QA++){var RA=yA[QA];if(RA.pointerIsDown&&RA.pointerType==="touch"&&!RA._interacting)for(var DA=function(){var ge=VA[HA];L.documents.some(function(le){return M(le.doc,ge.downTarget)})||RA.removePointer(ge.pointer,ge.event)},HA=0,VA=RA.pointers;HA<VA.length;HA++)DA()}}(lA=r.PointerEvent?[{type:uA.down,listener:BA},{type:uA.down,listener:R.pointerDown},{type:uA.move,listener:R.pointerMove},{type:uA.up,listener:R.pointerUp},{type:uA.cancel,listener:R.pointerUp}]:[{type:"mousedown",listener:R.pointerDown},{type:"mousemove",listener:R.pointerMove},{type:"mouseup",listener:R.pointerUp},{type:"touchstart",listener:BA},{type:"touchstart",listener:R.pointerDown},{type:"touchmove",listener:R.pointerMove},{type:"touchend",listener:R.pointerUp},{type:"touchcancel",listener:R.pointerUp}]).push({type:"blur",listener:function(QA){for(var yA=0,RA=L.interactions.list;yA<RA.length;yA++)RA[yA].documentBlur(QA)}}),L.prevTouchTime=0,L.Interaction=function(QA){f(RA,QA);var yA=U(RA);function RA(){return I(this,RA),yA.apply(this,arguments)}return b(RA,[{key:"pointerMoveTolerance",get:function(){return L.interactions.pointerMoveTolerance},set:function(DA){L.interactions.pointerMoveTolerance=DA}},{key:"_now",value:function(){return L.now()}}]),RA}(_s),L.interactions={list:[],new:function(QA){QA.scopeFire=function(RA,DA){return L.fire(RA,DA)};var yA=new L.Interaction(QA);return L.interactions.list.push(yA),yA},listeners:R,docEvents:lA,pointerMoveTolerance:1},L.usePlugin(ri)},listeners:{"scope:add-document":function(L){return Vo(L,"add")},"scope:remove-document":function(L){return Vo(L,"remove")},"interactable:unset":function(L,R){for(var W=L.interactable,nA=R.interactions.list.length-1;nA>=0;nA--){var lA=R.interactions.list[nA];lA.interactable===W&&(lA.stop(),R.fire("interactions:destroy",{interaction:lA}),lA.destroy(),R.interactions.list.length>2&&R.interactions.list.splice(nA,1))}}},onDocSignal:Vo,doOnInteractions:Fs,methodNames:jr},Rt=pg,Ln=function(L){return L[L.On=0]="On",L[L.Off=1]="Off",L}(Ln||{}),Ii=function(){function L(R,W,nA,lA){I(this,L),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Ss,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=W.actions,this.target=R,this._context=W.context||nA,this._win=v(H(R)?this._context:R),this._doc=this._win.document,this._scopeEvents=lA,this.set(W)}return b(L,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(R,W){return u.func(W.onstart)&&this.on("".concat(R,"start"),W.onstart),u.func(W.onmove)&&this.on("".concat(R,"move"),W.onmove),u.func(W.onend)&&this.on("".concat(R,"end"),W.onend),u.func(W.oninertiastart)&&this.on("".concat(R,"inertiastart"),W.oninertiastart),this}},{key:"updatePerActionListeners",value:function(R,W,nA){var lA,uA=this,BA=(lA=this._actions.map[R])==null?void 0:lA.filterEventType,QA=function(yA){return(BA==null||BA(yA))&&yn(yA,uA._actions)};(u.array(W)||u.object(W))&&this._onOff(Ln.Off,R,W,void 0,QA),(u.array(nA)||u.object(nA))&&this._onOff(Ln.On,R,nA,void 0,QA)}},{key:"setPerAction",value:function(R,W){var nA=this._defaults;for(var lA in W){var uA=lA,BA=this.options[R],QA=W[uA];uA==="listeners"&&this.updatePerActionListeners(R,BA.listeners,QA),u.array(QA)?BA[uA]=xe(QA):u.plainObject(QA)?(BA[uA]=X(BA[uA]||{},Ki(QA)),u.object(nA.perAction[uA])&&"enabled"in nA.perAction[uA]&&(BA[uA].enabled=QA.enabled!==!1)):u.bool(QA)&&u.object(nA.perAction[uA])?BA[uA].enabled=QA:BA[uA]=QA}}},{key:"getRect",value:function(R){return R=R||(u.element(this.target)?this.target:null),u.string(this.target)&&(R=R||this._context.querySelector(this.target)),D(R)}},{key:"rectChecker",value:function(R){var W=this;return u.func(R)?(this.getRect=function(nA){var lA=X({},R.apply(W,nA));return"width"in lA||(lA.width=lA.right-lA.left,lA.height=lA.bottom-lA.top),lA},this):R===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(R,W){if(H(W)||u.object(W)){for(var nA in this.options[R]=W,this._actions.map)this.options[nA][R]=W;return this}return this.options[R]}},{key:"origin",value:function(R){return this._backCompatOption("origin",R)}},{key:"deltaSource",value:function(R){return R==="page"||R==="client"?(this.options.deltaSource=R,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var R=this.target;return u.string(R)?Array.from(this._context.querySelectorAll(R)):u.func(R)&&R.getAllElements?R.getAllElements():u.element(R)?[R]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(R){return this._context===R.ownerDocument||M(this._context,R)}},{key:"testIgnoreAllow",value:function(R,W,nA){return!this.testIgnore(R.ignoreFrom,W,nA)&&this.testAllow(R.allowFrom,W,nA)}},{key:"testAllow",value:function(R,W,nA){return!R||!!u.element(nA)&&(u.string(R)?J(nA,R,W):!!u.element(R)&&M(R,nA))}},{key:"testIgnore",value:function(R,W,nA){return!(!R||!u.element(nA))&&(u.string(R)?J(nA,R,W):!!u.element(R)&&M(R,nA))}},{key:"fire",value:function(R){return this.events.fire(R),this}},{key:"_onOff",value:function(R,W,nA,lA,uA){u.object(W)&&!u.array(W)&&(lA=nA,nA=null);var BA=V(W,nA,uA);for(var QA in BA){QA==="wheel"&&(QA=Q.wheelEvent);for(var yA=0,RA=BA[QA];yA<RA.length;yA++){var DA=RA[yA];yn(QA,this._actions)?this.events[R===Ln.On?"on":"off"](QA,DA):u.string(this.target)?this._scopeEvents[R===Ln.On?"addDelegate":"removeDelegate"](this.target,this._context,QA,DA,lA):this._scopeEvents[R===Ln.On?"add":"remove"](this.target,QA,DA,lA)}}return this}},{key:"on",value:function(R,W,nA){return this._onOff(Ln.On,R,W,nA)}},{key:"off",value:function(R,W,nA){return this._onOff(Ln.Off,R,W,nA)}},{key:"set",value:function(R){var W=this._defaults;for(var nA in u.object(R)||(R={}),this.options=Ki(W.base),this._actions.methodDict){var lA=nA,uA=this._actions.methodDict[lA];this.options[lA]={},this.setPerAction(lA,X(X({},W.perAction),W.actions[lA])),this[uA](R[lA])}for(var BA in R)BA!=="getRect"?u.func(this[BA])&&this[BA](R[BA]):this.rectChecker(R.getRect);return this}},{key:"unset",value:function(){if(u.string(this.target))for(var R in this._scopeEvents.delegatedEvents)for(var W=this._scopeEvents.delegatedEvents[R],nA=W.length-1;nA>=0;nA--){var lA=W[nA],uA=lA.selector,BA=lA.context,QA=lA.listeners;uA===this.target&&BA===this._context&&W.splice(nA,1);for(var yA=QA.length-1;yA>=0;yA--)this._scopeEvents.removeDelegate(this.target,this._context,R,QA[yA][0],QA[yA][1])}else this._scopeEvents.remove(this.target,"all")}}]),L}(),Ls=function(){function L(R){var W=this;I(this,L),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=R,R.addListeners({"interactable:unset":function(nA){var lA=nA.interactable,uA=lA.target,BA=u.string(uA)?W.selectorMap[uA]:uA[W.scope.id],QA=NA(BA,function(yA){return yA===lA});BA.splice(QA,1)}})}return b(L,[{key:"new",value:function(R,W){W=X(W||{},{actions:this.scope.actions});var nA=new this.scope.Interactable(R,W,this.scope.document,this.scope.events);return this.scope.addDocument(nA._doc),this.list.push(nA),u.string(R)?(this.selectorMap[R]||(this.selectorMap[R]=[]),this.selectorMap[R].push(nA)):(nA.target[this.scope.id]||Object.defineProperty(R,this.scope.id,{value:[],configurable:!0}),R[this.scope.id].push(nA)),this.scope.fire("interactable:new",{target:R,options:W,interactable:nA,win:this.scope._win}),nA}},{key:"getExisting",value:function(R,W){var nA=W&&W.context||this.scope.document,lA=u.string(R),uA=lA?this.selectorMap[R]:R[this.scope.id];if(uA)return UA(uA,function(BA){return BA._context===nA&&(lA||BA.inContext(R))})}},{key:"forEachMatch",value:function(R,W){for(var nA=0,lA=this.list;nA<lA.length;nA++){var uA=lA[nA],BA=void 0;if((u.string(uA.target)?u.element(R)&&z(R,uA.target):R===uA.target)&&uA.inContext(R)&&(BA=W(uA)),BA!==void 0)return BA}}}]),L}(),qr=function(){function L(){var R=this;I(this,L),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Q,this.defaults=Ki(jo),this.Eventable=Ss,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=function(nA){var lA=function uA(BA,QA){var yA=nA.interactables.getExisting(BA,QA);return yA||((yA=nA.interactables.new(BA,QA)).events.global=uA.globalEvents),yA};return lA.getPointerAverage=vA,lA.getTouchBBox=$A,lA.getTouchDistance=XA,lA.getTouchAngle=SA,lA.getElementRect=D,lA.getElementClientRect=Z,lA.matchesSelector=z,lA.closest=S,lA.globalEvents={},lA.version="1.10.27",lA.scope=nA,lA.use=function(uA,BA){return this.scope.usePlugin(uA,BA),this},lA.isSet=function(uA,BA){return!!this.scope.interactables.get(uA,BA&&BA.context)},lA.on=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.on(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.on(HA,uA[HA],BA);return this}return yn(uA,this.scope.actions)?this.globalEvents[uA]?this.globalEvents[uA].push(BA):this.globalEvents[uA]=[BA]:this.scope.events.add(this.scope.document,uA,BA,{options:QA}),this},"The interact.on() method is being deprecated"),lA.off=At(function(uA,BA,QA){if(u.string(uA)&&uA.search(" ")!==-1&&(uA=uA.trim().split(/ +/)),u.array(uA)){for(var yA=0,RA=uA;yA<RA.length;yA++){var DA=RA[yA];this.off(DA,BA,QA)}return this}if(u.object(uA)){for(var HA in uA)this.off(HA,uA[HA],BA);return this}var VA;return yn(uA,this.scope.actions)?uA in this.globalEvents&&(VA=this.globalEvents[uA].indexOf(BA))!==-1&&this.globalEvents[uA].splice(VA,1):this.scope.events.remove(this.scope.document,uA,BA,QA),this},"The interact.off() method is being deprecated"),lA.debug=function(){return this.scope},lA.supportsTouch=function(){return Q.supportsTouch},lA.supportsPointerEvent=function(){return Q.supportsPointerEvent},lA.stop=function(){for(var uA=0,BA=this.scope.interactions.list;uA<BA.length;uA++)BA[uA].stop();return this},lA.pointerMoveTolerance=function(uA){return u.number(uA)?(this.scope.interactions.pointerMoveTolerance=uA,this):this.scope.interactions.pointerMoveTolerance},lA.addDocument=function(uA,BA){this.scope.addDocument(uA,BA)},lA.removeDocument=function(uA){this.scope.removeDocument(uA)},lA}(this),this.InteractEvent=ai,this.Interactable=void 0,this.interactables=new Ls(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(nA){return R.removeDocument(nA.target)};var W=this;this.Interactable=function(nA){f(uA,nA);var lA=U(uA);function uA(){return I(this,uA),lA.apply(this,arguments)}return b(uA,[{key:"_defaults",get:function(){return W.defaults}},{key:"set",value:function(BA){return P(x(uA.prototype),"set",this).call(this,BA),W.fire("interactable:set",{options:BA,interactable:this}),this}},{key:"unset",value:function(){P(x(uA.prototype),"unset",this).call(this);var BA=W.interactables.list.indexOf(this);BA<0||(W.interactables.list.splice(BA,1),W.fire("interactable:unset",{interactable:this}))}}]),uA}(Ii)}return b(L,[{key:"addListeners",value:function(R,W){this.listenerMaps.push({id:W,map:R})}},{key:"fire",value:function(R,W){for(var nA=0,lA=this.listenerMaps;nA<lA.length;nA++){var uA=lA[nA].map[R];if(uA&&uA(W,this,R)===!1)return!1}}},{key:"init",value:function(R){return this.isInitialized?this:function(W,nA){return W.isInitialized=!0,u.window(nA)&&_(nA),r.init(nA),Q.init(nA),fe.init(nA),W.window=nA,W.document=nA.document,W.usePlugin(Rt),W.usePlugin(gt),W}(this,R)}},{key:"pluginIsInstalled",value:function(R){var W=R.id;return W?!!this._plugins.map[W]:this._plugins.list.indexOf(R)!==-1}},{key:"usePlugin",value:function(R,W){if(!this.isInitialized)return this;if(this.pluginIsInstalled(R))return this;if(R.id&&(this._plugins.map[R.id]=R),this._plugins.list.push(R),R.install&&R.install(this,W),R.listeners&&R.before){for(var nA=0,lA=this.listenerMaps.length,uA=R.before.reduce(function(QA,yA){return QA[yA]=!0,QA[tn(yA)]=!0,QA},{});nA<lA;nA++){var BA=this.listenerMaps[nA].id;if(BA&&(uA[BA]||uA[tn(BA)]))break}this.listenerMaps.splice(nA,0,{id:R.id,map:R.listeners})}else R.listeners&&this.listenerMaps.push({id:R.id,map:R.listeners});return this}},{key:"addDocument",value:function(R,W){if(this.getDocIndex(R)!==-1)return!1;var nA=v(R);W=W?X({},W):{},this.documents.push({doc:R,options:W}),this.events.documents.push(R),R!==this.document&&this.events.add(nA,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:R,window:nA,scope:this,options:W})}},{key:"removeDocument",value:function(R){var W=this.getDocIndex(R),nA=v(R),lA=this.documents[W].options;this.events.remove(nA,"unload",this.onWindowUnload),this.documents.splice(W,1),this.events.documents.splice(W,1),this.fire("scope:remove-document",{doc:R,window:nA,scope:this,options:lA})}},{key:"getDocIndex",value:function(R){for(var W=0;W<this.documents.length;W++)if(this.documents[W].doc===R)return W;return-1}},{key:"getDocOptions",value:function(R){var W=this.getDocIndex(R);return W===-1?null:this.documents[W].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),L}();function tn(L){return L&&L.replace(/\/.*$/,"")}var Xr=new qr,Pt=Xr.interactStatic,Gs=typeof globalThis<"u"?globalThis:window;Xr.init(Gs);var Ps=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(L){var R=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter(function(nA){var lA=nA[0],uA=nA[1];return lA in L||uA in L}),W=function(nA,lA){for(var uA=L.range,BA=L.limits,QA=BA===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:BA,yA=L.offset,RA=yA===void 0?{x:0,y:0}:yA,DA={range:uA,grid:L,x:null,y:null},HA=0;HA<R.length;HA++){var VA=R[HA],ge=VA[0],le=VA[1],he=Math.round((nA-RA.x)/L[ge]),De=Math.round((lA-RA.y)/L[le]);DA[ge]=Math.max(QA.left,Math.min(QA.right,he*L[ge]+RA.x)),DA[le]=Math.max(QA.top,Math.min(QA.bottom,De*L[le]+RA.y))}return DA};return W.grid=L,W.coordFields=R,W}}),Hs={id:"snappers",install:function(L){var R=L.interactStatic;R.snappers=X(R.snappers||{},Ps),R.createSnapGrid=R.snappers.grid}},Ks=Hs,nn={start:function(L){var R=L.state,W=L.rect,nA=L.edges,lA=L.pageCoords,uA=R.options,BA=uA.ratio,QA=uA.enabled,yA=R.options,RA=yA.equalDelta,DA=yA.modifiers;BA==="preserve"&&(BA=W.width/W.height),R.startCoords=X({},lA),R.startRect=X({},W),R.ratio=BA,R.equalDelta=RA;var HA=R.linkedEdges={top:nA.top||nA.left&&!nA.bottom,left:nA.left||nA.top&&!nA.right,bottom:nA.bottom||nA.right&&!nA.top,right:nA.right||nA.bottom&&!nA.left};if(R.xIsPrimaryAxis=!(!nA.left&&!nA.right),R.equalDelta){var VA=(HA.left?1:-1)*(HA.top?1:-1);R.edgeSign={x:VA,y:VA}}else R.edgeSign={x:HA.left?-1:1,y:HA.top?-1:1};if(QA!==!1&&X(nA,HA),DA!=null&&DA.length){var ge=new Zo(L.interaction);ge.copyFrom(L.interaction.modification),ge.prepareStates(DA),R.subModification=ge,ge.startAll(i({},L))}},set:function(L){var R=L.state,W=L.rect,nA=L.coords,lA=R.linkedEdges,uA=X({},nA),BA=R.equalDelta?Cg:un;if(X(L.edges,lA),BA(R,R.xIsPrimaryAxis,nA,W),!R.subModification)return null;var QA=X({},W);gA(lA,QA,{x:nA.x-uA.x,y:nA.y-uA.y});var yA=R.subModification.setAll(i(i({},L),{},{rect:QA,edges:lA,pageCoords:nA,prevCoords:nA,prevRect:QA})),RA=yA.delta;return yA.changed&&(BA(R,Math.abs(RA.x)>Math.abs(RA.y),yA.coords,yA.rect),X(nA,yA.coords)),yA.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Cg(L,R,W){var nA=L.startCoords,lA=L.edgeSign;R?W.y=nA.y+(W.x-nA.x)*lA.y:W.x=nA.x+(W.y-nA.y)*lA.x}function un(L,R,W,nA){var lA=L.startRect,uA=L.startCoords,BA=L.ratio,QA=L.edgeSign;if(R){var yA=nA.width/BA;W.y=uA.y+(yA-lA.height)*QA.y}else{var RA=nA.height*BA;W.x=uA.x+(RA-lA.width)*QA.x}}var Bg=Rn(nn,"aspectRatio"),Vr=function(){};Vr._defaults={};var Dn=Vr;function Gn(L,R,W){return u.func(L)?iA(L,R.interactable,R.element,[W.x,W.y,R]):iA(L,R.interactable,R.element)}var Ti={start:function(L){var R=L.rect,W=L.startOffset,nA=L.state,lA=L.interaction,uA=L.pageCoords,BA=nA.options,QA=BA.elementRect,yA=X({left:0,top:0,right:0,bottom:0},BA.offset||{});if(R&&QA){var RA=Gn(BA.restriction,lA,uA);if(RA){var DA=RA.right-RA.left-R.width,HA=RA.bottom-RA.top-R.height;DA<0&&(yA.left+=DA,yA.right+=DA),HA<0&&(yA.top+=HA,yA.bottom+=HA)}yA.left+=W.left-R.width*QA.left,yA.top+=W.top-R.height*QA.top,yA.right+=W.right-R.width*(1-QA.right),yA.bottom+=W.bottom-R.height*(1-QA.bottom)}nA.offset=yA},set:function(L){var R=L.coords,W=L.interaction,nA=L.state,lA=nA.options,uA=nA.offset,BA=Gn(lA.restriction,W,R);if(BA){var QA=function(yA){return!yA||"left"in yA&&"top"in yA||((yA=X({},yA)).left=yA.x||0,yA.top=yA.y||0,yA.right=yA.right||yA.left+yA.width,yA.bottom=yA.bottom||yA.top+yA.height),yA}(BA);R.x=Math.max(Math.min(QA.right-uA.right,R.x),QA.left+uA.left),R.y=Math.max(Math.min(QA.bottom-uA.bottom,R.y),QA.top+uA.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},pt=Rn(Ti,"restrict"),Jn={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Ar={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ts(L,R){for(var W=0,nA=["top","left","bottom","right"];W<nA.length;W++){var lA=nA[W];lA in L||(L[lA]=R[lA])}return L}var fi={noInner:Jn,noOuter:Ar,start:function(L){var R,W=L.interaction,nA=L.startOffset,lA=L.state,uA=lA.options;uA&&(R=dA(Gn(uA.offset,W,W.coords.start.page))),R=R||{x:0,y:0},lA.offset={top:R.y+nA.top,left:R.x+nA.left,bottom:R.y-nA.bottom,right:R.x-nA.right}},set:function(L){var R=L.coords,W=L.edges,nA=L.interaction,lA=L.state,uA=lA.offset,BA=lA.options;if(W){var QA=X({},R),yA=Gn(BA.inner,nA,QA)||{},RA=Gn(BA.outer,nA,QA)||{};Ts(yA,Jn),Ts(RA,Ar),W.top?R.y=Math.min(Math.max(RA.top+uA.top,QA.y),yA.top+uA.top):W.bottom&&(R.y=Math.max(Math.min(RA.bottom+uA.bottom,QA.y),yA.bottom+uA.bottom)),W.left?R.x=Math.min(Math.max(RA.left+uA.left,QA.x),yA.left+uA.left):W.right&&(R.x=Math.max(Math.min(RA.right+uA.right,QA.x),yA.right+uA.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},mg=Rn(fi,"restrictEdges"),Eg=X({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(L){}},Ti.defaults),Qg=Rn({start:Ti.start,set:Ti.set,defaults:Eg},"restrictRect"),Us={width:-1/0,height:-1/0},er={width:1/0,height:1/0},Ui=Rn({start:function(L){return fi.start(L)},set:function(L){var R=L.interaction,W=L.state,nA=L.rect,lA=L.edges,uA=W.options;if(lA){var BA=mA(Gn(uA.min,R,L.coords))||Us,QA=mA(Gn(uA.max,R,L.coords))||er;W.options={endOnly:uA.endOnly,inner:X({},fi.noInner),outer:X({},fi.noOuter)},lA.top?(W.options.inner.top=nA.bottom-BA.height,W.options.outer.top=nA.bottom-QA.height):lA.bottom&&(W.options.inner.bottom=nA.top+BA.height,W.options.outer.bottom=nA.top+QA.height),lA.left?(W.options.inner.left=nA.right-BA.width,W.options.outer.left=nA.right-QA.width):lA.right&&(W.options.inner.right=nA.left+BA.width,W.options.outer.right=nA.left+QA.width),fi.set(L),W.options=uA}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Aa={start:function(L){var R,W=L.interaction,nA=L.interactable,lA=L.element,uA=L.rect,BA=L.state,QA=L.startOffset,yA=BA.options,RA=yA.offsetWithOrigin?function(VA){var ge=VA.interaction.element,le=dA(iA(VA.state.options.origin,null,null,[ge])),he=le||wA(VA.interactable,ge,VA.interaction.prepared.name);return he}(L):{x:0,y:0};if(yA.offset==="startCoords")R={x:W.coords.start.page.x,y:W.coords.start.page.y};else{var DA=iA(yA.offset,nA,lA,[W]);(R=dA(DA)||{x:0,y:0}).x+=RA.x,R.y+=RA.y}var HA=yA.relativePoints;BA.offsets=uA&&HA&&HA.length?HA.map(function(VA,ge){return{index:ge,relativePoint:VA,x:QA.left-uA.width*VA.x+R.x,y:QA.top-uA.height*VA.y+R.y}}):[{index:0,relativePoint:null,x:R.x,y:R.y}]},set:function(L){var R=L.interaction,W=L.coords,nA=L.state,lA=nA.options,uA=nA.offsets,BA=wA(R.interactable,R.element,R.prepared.name),QA=X({},W),yA=[];lA.offsetWithOrigin||(QA.x-=BA.x,QA.y-=BA.y);for(var RA=0,DA=uA;RA<DA.length;RA++)for(var HA=DA[RA],VA=QA.x-HA.x,ge=QA.y-HA.y,le=0,he=lA.targets.length;le<he;le++){var De=lA.targets[le],Qe=void 0;(Qe=u.func(De)?De(VA,ge,R._proxy,HA,le):De)&&yA.push({x:(u.number(Qe.x)?Qe.x:VA)+HA.x,y:(u.number(Qe.y)?Qe.y:ge)+HA.y,range:u.number(Qe.range)?Qe.range:lA.range,source:De,index:le,offset:HA})}for(var kA={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},OA=0;OA<yA.length;OA++){var KA=yA[OA],ee=KA.range,Be=KA.x-QA.x,He=KA.y-QA.y,Ke=cA(Be,He),Oe=Ke<=ee;ee===1/0&&kA.inRange&&kA.range!==1/0&&(Oe=!1),kA.target&&!(Oe?kA.inRange&&ee!==1/0?Ke/ee<kA.distance/kA.range:ee===1/0&&kA.range!==1/0||Ke<kA.distance:!kA.inRange&&Ke<kA.distance)||(kA.target=KA,kA.distance=Ke,kA.range=ee,kA.inRange=Oe,kA.delta.x=Be,kA.delta.y=He)}return kA.inRange&&(W.x=kA.target.x,W.y=kA.target.y),nA.closest=kA,kA},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Ys=Rn(Aa,"snap"),Co={start:function(L){var R=L.state,W=L.edges,nA=R.options;if(!W)return null;L.state={options:{targets:null,relativePoints:[{x:W.left?0:1,y:W.top?0:1}],offset:nA.offset||"self",origin:{x:0,y:0},range:nA.range}},R.targetFields=R.targetFields||[["width","height"],["x","y"]],Aa.start(L),R.offsets=L.state.offsets,L.state=R},set:function(L){var R=L.interaction,W=L.state,nA=L.coords,lA=W.options,uA=W.offsets,BA={x:nA.x-uA[0].x,y:nA.y-uA[0].y};W.options=X({},lA),W.options.targets=[];for(var QA=0,yA=lA.targets||[];QA<yA.length;QA++){var RA=yA[QA],DA=void 0;if(DA=u.func(RA)?RA(BA.x,BA.y,R):RA){for(var HA=0,VA=W.targetFields;HA<VA.length;HA++){var ge=VA[HA],le=ge[0],he=ge[1];if(le in DA||he in DA){DA.x=DA[le],DA.y=DA[he];break}}W.options.targets.push(DA)}}var De=Aa.set(L);return W.options=lA,De},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},ea=Rn(Co,"snapSize"),Bo={aspectRatio:Bg,restrictEdges:mg,restrict:pt,restrictRect:Qg,restrictSize:Ui,snapEdges:Rn({start:function(L){var R=L.edges;return R?(L.state.targetFields=L.state.targetFields||[[R.left?"left":"right",R.top?"top":"bottom"]],Co.start(L)):null},set:Co.set,defaults:X(Ki(Co.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Ys,snapSize:ea,spring:Dn,avoid:Dn,transform:Dn,rubberband:Dn},Os={id:"modifiers",install:function(L){var R=L.interactStatic;for(var W in L.usePlugin(Wo),L.usePlugin(Ks),R.modifiers=Bo,Bo){var nA=Bo[W],lA=nA._defaults,uA=nA._methods;lA._methods=uA,L.defaults.perAction[W]=lA}}},Ig=Os,tr=function(L){f(W,L);var R=U(W);function W(nA,lA,uA,BA,QA,yA){var RA;if(I(this,W),Y(K(RA=R.call(this,QA)),uA),uA!==lA&&Y(K(RA),lA),RA.timeStamp=yA,RA.originalEvent=uA,RA.type=nA,RA.pointerId=zA(lA),RA.pointerType=MA(lA),RA.target=BA,RA.currentTarget=null,nA==="tap"){var DA=QA.getPointerIndex(lA);RA.dt=RA.timeStamp-QA.pointers[DA].downTime;var HA=RA.timeStamp-QA.tapTime;RA.double=!!QA.prevTap&&QA.prevTap.type!=="doubletap"&&QA.prevTap.target===RA.target&&HA<500}else nA==="doubletap"&&(RA.dt=lA.timeStamp-QA.tapTime,RA.double=!0);return RA}return b(W,[{key:"_subtractOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX-=lA,this.pageY-=uA,this.clientX-=lA,this.clientY-=uA,this}},{key:"_addOrigin",value:function(nA){var lA=nA.x,uA=nA.y;return this.pageX+=lA,this.pageY+=uA,this.clientX+=lA,this.clientY+=uA,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),W}(Ce),wi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(L){L.pointerEvents=wi,L.defaults.actions.pointerEvents=wi.defaults,X(L.actions.phaselessTypes,wi.types)},listeners:{"interactions:new":function(L){var R=L.interaction;R.prevTap=null,R.tapTime=0},"interactions:update-pointer":function(L){var R=L.down,W=L.pointerInfo;!R&&W.hold||(W.hold={duration:1/0,timeout:null})},"interactions:move":function(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget;L.duplicate||W.pointerIsDown&&!W.pointerWasMoved||(W.pointerIsDown&&Tt(L),si({interaction:W,pointer:nA,event:lA,eventTarget:uA,type:"move"},R))},"interactions:down":function(L,R){(function(W,nA){for(var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget,yA=W.pointerIndex,RA=lA.pointers[yA].hold,DA=q(QA),HA={interaction:lA,pointer:uA,event:BA,eventTarget:QA,type:"hold",targets:[],path:DA,node:null},VA=0;VA<DA.length;VA++){var ge=DA[VA];HA.node=ge,nA.fire("pointerEvents:collect-targets",HA)}if(HA.targets.length){for(var le=1/0,he=0,De=HA.targets;he<De.length;he++){var Qe=De[he].eventable.options.holdDuration;Qe<le&&(le=Qe)}RA.duration=le,RA.timeout=setTimeout(function(){si({interaction:lA,eventTarget:QA,pointer:uA,event:BA,type:"hold"},nA)},le)}})(L,R),si(L,R)},"interactions:up":function(L,R){Tt(L),si(L,R),function(W,nA){var lA=W.interaction,uA=W.pointer,BA=W.event,QA=W.eventTarget;lA.pointerWasMoved||si({interaction:lA,eventTarget:QA,pointer:uA,event:BA,type:"tap"},nA)}(L,R)},"interactions:cancel":function(L,R){Tt(L),si(L,R)}},PointerEvent:tr,fire:si,collectEventTargets:ta,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function si(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget,BA=L.type,QA=L.targets,yA=QA===void 0?ta(L,R):QA,RA=new tr(BA,nA,lA,uA,W,R.now());R.fire("pointerEvents:new",{pointerEvent:RA});for(var DA={interaction:W,pointer:nA,event:lA,eventTarget:uA,targets:yA,type:BA,pointerEvent:RA},HA=0;HA<yA.length;HA++){var VA=yA[HA];for(var ge in VA.props||{})RA[ge]=VA.props[ge];var le=wA(VA.eventable,VA.node);if(RA._subtractOrigin(le),RA.eventable=VA.eventable,RA.currentTarget=VA.node,VA.eventable.fire(RA),RA._addOrigin(le),RA.immediatePropagationStopped||RA.propagationStopped&&HA+1<yA.length&&yA[HA+1].node!==RA.currentTarget)break}if(R.fire("pointerEvents:fired",DA),BA==="tap"){var he=RA.double?si({interaction:W,pointer:nA,event:lA,eventTarget:uA,type:"doubletap"},R):RA;W.prevTap=he,W.tapTime=he.timeStamp}return RA}function ta(L,R){var W=L.interaction,nA=L.pointer,lA=L.event,uA=L.eventTarget,BA=L.type,QA=W.getPointerIndex(nA),yA=W.pointers[QA];if(BA==="tap"&&(W.pointerWasMoved||!yA||yA.downTarget!==uA))return[];for(var RA=q(uA),DA={interaction:W,pointer:nA,event:lA,eventTarget:uA,type:BA,path:RA,targets:[],node:null},HA=0;HA<RA.length;HA++){var VA=RA[HA];DA.node=VA,R.fire("pointerEvents:collect-targets",DA)}return BA==="hold"&&(DA.targets=DA.targets.filter(function(ge){var le,he;return ge.eventable.options.holdDuration===((le=W.pointers[QA])==null||(he=le.hold)==null?void 0:he.duration)})),DA.targets}function Tt(L){var R=L.interaction,W=L.pointerIndex,nA=R.pointers[W].hold;nA&&nA.timeout&&(clearTimeout(nA.timeout),nA.timeout=null)}var na=Object.freeze({__proto__:null,default:wi});function mo(L){var R=L.interaction;R.holdIntervalHandle&&(clearInterval(R.holdIntervalHandle),R.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function(L){L.usePlugin(wi);var R=L.pointerEvents;R.defaults.holdRepeatInterval=0,R.types.holdrepeat=L.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce(function(L,R){return L["pointerEvents:".concat(R)]=mo,L},{"pointerEvents:new":function(L){var R=L.pointerEvent;R.type==="hold"&&(R.count=(R.count||0)+1)},"pointerEvents:fired":function(L,R){var W=L.interaction,nA=L.pointerEvent,lA=L.eventTarget,uA=L.targets;if(nA.type==="hold"&&uA.length){var BA=uA[0].eventable.options.holdRepeatInterval;BA<=0||(W.holdIntervalHandle=setTimeout(function(){R.pointerEvents.fire({interaction:W,eventTarget:lA,type:"hold",pointer:nA,event:nA},R)},BA))}}})},zs=$s,fg={id:"pointer-events/interactableTargets",install:function(L){var R=L.Interactable;R.prototype.pointerEvents=function(nA){return X(this.events.options,nA),this};var W=R.prototype._backCompatOption;R.prototype._backCompatOption=function(nA,lA){var uA=W.call(this,nA,lA);return uA===this&&(this.events.options[nA]=lA),uA}},listeners:{"pointerEvents:collect-targets":function(L,R){var W=L.targets,nA=L.node,lA=L.type,uA=L.eventTarget;R.interactables.forEachMatch(nA,function(BA){var QA=BA.events,yA=QA.options;QA.types[lA]&&QA.types[lA].length&&BA.testIgnoreAllow(yA,nA,uA)&&W.push({node:nA,eventable:QA,props:{interactable:BA}})})},"interactable:new":function(L){var R=L.interactable;R.events.getRect=function(W){return R.getRect(W)}},"interactable:set":function(L,R){var W=L.interactable,nA=L.options;X(W.events.options,R.pointerEvents.defaults),X(W.events.options,nA.pointerEvents||{})}}},wg=fg,bg={id:"pointer-events",install:function(L){L.usePlugin(na),L.usePlugin(zs),L.usePlugin(wg)}},yg=bg,Dg={id:"reflow",install:function(L){var R=L.Interactable;L.actions.phases.reflow=!0,R.prototype.reflow=function(W){return function(nA,lA,uA){for(var BA=nA.getAllElements(),QA=uA.window.Promise,yA=QA?[]:null,RA=function(){var HA=BA[DA],VA=nA.getRect(HA);if(!VA)return 1;var ge,le=UA(uA.interactions.list,function(Qe){return Qe.interacting()&&Qe.interactable===nA&&Qe.element===HA&&Qe.prepared.name===lA.name});if(le)le.move(),yA&&(ge=le._reflowPromise||new QA(function(Qe){le._reflowResolve=Qe}));else{var he=mA(VA),De=function(Qe){return{coords:Qe,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}}({page:{x:he.x,y:he.y},client:{x:he.x,y:he.y},timeStamp:uA.now()});ge=function(Qe,kA,OA,KA,ee){var Be=Qe.interactions.new({pointerType:"reflow"}),He={interaction:Be,event:ee,pointer:ee,eventTarget:OA,phase:"reflow"};Be.interactable=kA,Be.element=OA,Be.prevEvent=ee,Be.updatePointer(ee,ee,OA,!0),tA(Be.coords.delta),dt(Be.prepared,KA),Be._doPhase(He);var Ke=Qe.window,Oe=Ke.Promise,on=Oe?new Oe(function(Zn){Be._reflowResolve=Zn}):void 0;return Be._reflowPromise=on,Be.start(KA,kA,OA),Be._interacting?(Be.move(He),Be.end(ee)):(Be.stop(),Be._reflowResolve()),Be.removePointer(ee,ee),on}(uA,nA,HA,lA,De)}yA&&yA.push(ge)},DA=0;DA<BA.length&&!RA();DA++);return yA&&QA.all(yA).then(function(){return nA})}(this,W,L)}},listeners:{"interactions:stop":function(L,R){var W=L.interaction;W.pointerType==="reflow"&&(W._reflowResolve&&W._reflowResolve(),function(nA,lA){nA.splice(nA.indexOf(lA),1)}(R.interactions.list,W))}}},Yi=Dg;if(Pt.use(ri),Pt.use(Zr),Pt.use(yg),Pt.use(dg),Pt.use(Ig),Pt.use(oi),Pt.use(WA),Pt.use(ze),Pt.use(Yi),Pt.default=Pt,d(n)==="object"&&n)try{n.exports=Pt}catch{}return Pt.default=Pt,Pt})}(Bs,Bs.exports);var u1=Bs.exports;const Jp=fd(u1),Vc=A.defineComponent({__name:"grid-item",props:{isDraggable:{type:Boolean,default:void 0},isResizable:{type:Boolean,default:void 0},isBounded:{type:Boolean,default:void 0},static:{type:Boolean,default:!1},minH:{default:1},minW:{default:1},maxH:{default:1/0},maxW:{default:1/0},x:{},y:{},w:{},h:{},i:{},dragIgnoreFrom:{default:"a, button"},dragAllowFrom:{default:void 0},resizeIgnoreFrom:{default:"a, button"},preserveAspectRatio:{type:Boolean,default:!1},dragOption:{default:()=>({})},resizeOption:{default:()=>({})}},emits:["container-resized","resize","resized","move","moved"],setup(n,{expose:e,emit:t}){const i=n,d=t,I=A.inject(Fp),o=A.inject(Rp);if(!I)throw new Error("[grid-layout-plus]: missing layout store, GridItem must under a GridLayout.");const b=A.ref(null),y=A.reactive({cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:void 0,resizable:void 0,bounded:void 0,transformScale:1,useCssTransforms:!0,useStyleCursor:!0,isDragging:!1,dragging:{top:-1,left:-1},isResizing:!1,resizing:{width:-1,height:-1},style:{},rtl:!1});let f=!1,x=!1,N=NaN,K=NaN,U=NaN,P=NaN,G=-1,k=-1,m=-1,F=-1,_=i.x,v=i.y,B=i.w,p=i.h;const u=A.ref(),s=A.reactive({i:A.toRef(i,"i"),state:y,wrapper:u,calcXY:iA});function g(aA){V(aA)}function l(){sA()}function h(aA){fn(i.isDraggable)&&(y.draggable=aA)}function C(aA){fn(i.isResizable)&&(y.resizable=aA)}function a(aA){fn(i.isBounded)&&(y.bounded=aA)}function r(aA){y.transformScale=aA}function E(aA){y.rowHeight=aA}function Q(aA){y.maxRows=aA}function M(){y.rtl=zp()==="rtl",sA()}function S(aA){y.cols=Math.floor(aA)}I.increaseItem(s),A.onBeforeMount(()=>{y.rtl=zp()==="rtl"}),A.onMounted(()=>{I.responsive&&I.lastBreakpoint?y.cols=Op(I.lastBreakpoint,I.cols):y.cols=I.colNum,y.rowHeight=I.rowHeight,y.containerWidth=I.width!==null?I.width:100,y.margin=I.margin!==void 0?I.margin.map(Number):[10,10],y.maxRows=I.maxRows,fn(i.isDraggable)?y.draggable=I.isDraggable:y.draggable=i.isDraggable,fn(i.isResizable)?y.resizable=I.isResizable:y.resizable=i.isResizable,fn(i.isBounded)?y.bounded=I.isBounded:y.bounded=i.isBounded,y.transformScale=I.transformScale,y.useCssTransforms=I.useCssTransforms,y.useStyleCursor=I.useStyleCursor,A.watchEffect(()=>{_=i.x,v=i.y,p=i.h,B=i.w,jt(D)}),o.on("updateWidth",g),o.on("compact",l),o.on("setDraggable",h),o.on("setResizable",C),o.on("setBounded",a),o.on("setTransformScale",r),o.on("setRowHeight",E),o.on("setMaxRows",Q),o.on("directionchange",M),o.on("setColNum",S)}),A.onBeforeUnmount(()=>{o.off("updateWidth",g),o.off("compact",l),o.off("setDraggable",h),o.off("setResizable",C),o.off("setBounded",a),o.off("setTransformScale",r),o.off("setRowHeight",E),o.off("setMaxRows",Q),o.off("directionchange",M),o.off("setColNum",S),b.value&&(b.value.unset(),b.value=null),I.decreaseItem(s)}),e({state:y,wrapper:u});const T=typeof navigator<"u"?navigator.userAgent.toLowerCase().includes("android"):!1,z=A.computed(()=>y.resizable&&!i.static),AA=A.computed(()=>I.isMirrored?!y.rtl:y.rtl),eA=A.computed(()=>(y.draggable||y.resizable)&&!i.static),J=r1("item"),$=A.computed(()=>({[J.b()]:!0,[J.bm("resizable")]:z.value,[J.bm("static")]:i.static,[J.bm("resizing")]:y.isResizing,[J.bm("dragging")]:y.isDragging,[J.bm("transform")]:y.useCssTransforms,[J.bm("rtl")]:AA.value,[J.bm("no-touch")]:T&&eA.value})),Z=A.computed(()=>[J.be("resizer"),AA.value&&J.bem("resizer","rtl")].filter(Boolean));A.watch(()=>i.isDraggable,aA=>{y.draggable=aA}),A.watch(()=>i.static,()=>{jt(Y),jt(tA)}),A.watch(()=>y.draggable,()=>{jt(Y)}),A.watch(()=>i.isResizable,aA=>{y.resizable=aA}),A.watch(()=>i.isBounded,aA=>{y.bounded=aA}),A.watch(()=>y.resizable,()=>{jt(tA)}),A.watch(()=>y.rowHeight,()=>{jt(D),jt(q)}),A.watch([()=>y.cols,()=>y.containerWidth],()=>{jt(tA),jt(D),jt(q)}),A.watch([()=>i.minH,()=>i.maxH,()=>i.minW,()=>i.maxW],()=>{jt(tA)}),A.watch(AA,()=>{jt(tA),jt(D)}),A.watch([()=>I.margin,()=>I.margin[0],()=>I.margin[1]],()=>{const aA=I.margin;!aA||aA[0]===y.margin[0]&&aA[1]===y.margin[1]||(y.margin=aA.map(Number),jt(D),jt(q))});function D(){i.x+i.w>y.cols?(_=0,B=i.w>y.cols?y.cols:i.w):(_=i.x,B=i.w);const aA=rA(_,v,B,p);y.isDragging&&(aA.top=y.dragging.top,AA.value?aA.right=y.dragging.left:aA.left=y.dragging.left),y.isResizing&&(aA.width=y.resizing.width,aA.height=y.resizing.height);let CA;y.useCssTransforms?AA.value?CA=t1(aA.top,aA.right,aA.width,aA.height):CA=e1(aA.top,aA.left,aA.width,aA.height):AA.value?CA=i1(aA.top,aA.right,aA.width,aA.height):CA=n1(aA.top,aA.left,aA.width,aA.height),y.style=CA}function q(){const aA={};for(const CA of["width","height"]){const xA=y.style[CA].match(/^(\d+)px$/);if(!xA)return;aA[CA]=xA[1]}d("container-resized",i.i,i.h,i.w,aA.height,aA.width)}function H(aA){if(i.static)return;const CA=aA.type;if(CA==="resizestart"&&y.isResizing||CA!=="resizestart"&&!y.isResizing)return;const xA=Up(aA);if(fn(xA))return;const{x:zA,y:jA}=xA,Ae={width:0,height:0};let vA;switch(CA){case"resizestart":{tA(),G=B,k=p,vA=rA(_,v,B,p),Ae.width=vA.width,Ae.height=vA.height,y.resizing=Ae,y.isResizing=!0;break}case"resizemove":{!aA.edges.right&&!aA.edges.left&&(U=zA),!aA.edges.top&&!aA.edges.bottom&&(P=jA);const $A=Yp(U,P,zA,jA);AA.value?Ae.width=y.resizing.width-$A.deltaX/y.transformScale:Ae.width=y.resizing.width+$A.deltaX/y.transformScale,Ae.height=y.resizing.height+$A.deltaY/y.transformScale,y.resizing=Ae;break}case"resizeend":{vA=rA(_,v,B,p),Ae.width=vA.width,Ae.height=vA.height,y.resizing={width:-1,height:-1},y.isResizing=!1;break}}vA=wA(Ae.height,Ae.width),vA.w<i.minW&&(vA.w=i.minW),vA.w>i.maxW&&(vA.w=i.maxW),vA.h<i.minH&&(vA.h=i.minH),vA.h>i.maxH&&(vA.h=i.maxH),vA.h<1&&(vA.h=1),vA.w<1&&(vA.w=1),U=zA,P=jA,(B!==vA.w||p!==vA.h)&&d("resize",i.i,vA.h,vA.w,Ae.height,Ae.width),aA.type==="resizeend"&&(G!==B||k!==p)&&d("resized",i.i,vA.h,vA.w,Ae.height,Ae.width),o.emit("resizeEvent",aA.type,i.i,_,v,vA.h,vA.w)}function X(aA){if(i.static||y.isResizing)return;const CA=aA.type;if(CA==="dragstart"&&y.isDragging||CA!=="dragstart"&&!y.isDragging)return;const xA=Up(aA);if(fn(xA))return;const{x:zA,y:jA}=xA,Ae=aA.target;if(!Ae.offsetParent)return;const vA={top:0,left:0};switch(CA){case"dragstart":{m=_,F=v;const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/y.transformScale,qA=XA.left/y.transformScale,Ce=SA.right/y.transformScale,ye=XA.right/y.transformScale,xe=SA.top/y.transformScale,NA=XA.top/y.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,y.dragging=vA,y.isDragging=!0;break}case"dragmove":{const XA=Yp(N,K,zA,jA);if(AA.value?vA.left=y.dragging.left-XA.deltaX/y.transformScale:vA.left=y.dragging.left+XA.deltaX/y.transformScale,vA.top=y.dragging.top+XA.deltaY/y.transformScale,y.bounded){const SA=Ae.offsetParent.clientHeight-mA(i.h,y.rowHeight,y.margin[1]);vA.top=gA(vA.top,0,SA);const MA=dA(),qA=y.containerWidth-mA(i.w,MA,y.margin[0]);vA.left=gA(vA.left,0,qA)}y.dragging=vA;break}case"dragend":{const XA=Ae.offsetParent.getBoundingClientRect(),SA=Ae.getBoundingClientRect(),MA=SA.left/y.transformScale,qA=XA.left/y.transformScale,Ce=SA.right/y.transformScale,ye=XA.right/y.transformScale,xe=SA.top/y.transformScale,NA=XA.top/y.transformScale;AA.value?vA.left=(Ce-ye)*-1:vA.left=MA-qA,vA.top=xe-NA,y.dragging={top:-1,left:-1},y.isDragging=!1;break}}let $A;AA.value,$A=iA(vA.top,vA.left),N=zA,K=jA,(_!==$A.x||v!==$A.y)&&d("move",i.i,$A.x,$A.y),aA.type==="dragend"&&(m!==_||F!==v)&&d("moved",i.i,$A.x,$A.y),o.emit("dragEvent",aA.type,i.i,$A.x,$A.y,p,B)}function rA(aA,CA,xA,zA){const jA=dA();let Ae;return AA.value?Ae={right:Math.round(jA*aA+(aA+1)*y.margin[0]),top:Math.round(y.rowHeight*CA+(CA+1)*y.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*y.margin[0]),height:zA===1/0?zA:Math.round(y.rowHeight*zA+Math.max(0,zA-1)*y.margin[1])}:Ae={left:Math.round(jA*aA+(aA+1)*y.margin[0]),top:Math.round(y.rowHeight*CA+(CA+1)*y.margin[1]),width:xA===1/0?xA:Math.round(jA*xA+Math.max(0,xA-1)*y.margin[0]),height:zA===1/0?zA:Math.round(y.rowHeight*zA+Math.max(0,zA-1)*y.margin[1])},Ae}function iA(aA,CA){const xA=dA();let zA=Math.round((CA-y.margin[0])/(xA+y.margin[0])),jA=Math.round((aA-y.margin[1])/(y.rowHeight+y.margin[1]));return zA=Math.max(Math.min(zA,y.cols-B),0),jA=Math.max(Math.min(jA,y.maxRows-p),0),{x:zA,y:jA}}function dA(){return(y.containerWidth-y.margin[0]*(y.cols+1))/y.cols}function mA(aA,CA,xA){return Number.isFinite(aA)?Math.round(CA*aA+Math.max(0,aA-1)*xA):aA}function gA(aA,CA,xA){return Math.max(Math.min(aA,xA),CA)}function wA(aA,CA,xA=!1){const zA=dA();let jA=Math.round((CA+y.margin[0])/(zA+y.margin[0])),Ae=0;return xA?Ae=Math.ceil((aA+y.margin[1])/(y.rowHeight+y.margin[1])):Ae=Math.round((aA+y.margin[1])/(y.rowHeight+y.margin[1])),jA=Math.max(Math.min(jA,y.cols-_),0),Ae=Math.max(Math.min(Ae,y.maxRows-v),0),{w:jA,h:Ae}}function V(aA,CA){y.containerWidth=aA}function sA(){D()}function cA(){!b.value&&u.value&&(b.value=Jp(u.value),y.useStyleCursor||b.value.styleCursor(!1))}const hA=xp(X);function Y(){if(cA(),!!b.value)if(y.draggable&&!i.static){const aA={ignoreFrom:i.dragIgnoreFrom,allowFrom:i.dragAllowFrom,...i.dragOption};b.value.draggable(aA),f||(f=!0,b.value.on("dragstart dragmove dragend",CA=>{CA.type==="dragmove"?hA(CA):X(CA)}))}else b.value.draggable({enabled:!1})}const j=xp(H);function tA(){if(cA(),!!b.value)if(y.resizable&&!i.static){const aA=rA(0,0,i.maxW,i.maxH),CA=rA(0,0,i.minW,i.minH),xA={edges:{left:AA.value?`.${Z.value[0]}`:!1,right:AA.value?!1:`.${Z.value[0]}`,bottom:`.${Z.value[0]}`,top:!1},ignoreFrom:i.resizeIgnoreFrom,restrictSize:{min:{height:CA.height*y.transformScale,width:CA.width*y.transformScale},max:{height:aA.height*y.transformScale,width:aA.width*y.transformScale}},...i.resizeOption};i.preserveAspectRatio&&(xA.modifiers=[Jp.modifiers.aspectRatio({ratio:"preserve"})]),b.value.resizable(xA),x||(x=!0,b.value.on("resizestart resizemove resizeend",zA=>{zA.type==="resizemove"?j(zA):H(zA)}))}else b.value.resizable({enabled:!1})}return(aA,CA)=>(A.openBlock(),A.createElementBlock("section",{ref_key:"wrapper",ref:u,class:A.normalizeClass($.value),style:A.normalizeStyle(y.style)},[A.renderSlot(aA.$slots,"default"),z.value?(A.openBlock(),A.createElementBlock("span",{key:0,class:A.normalizeClass(Z.value)},null,2)):A.createCommentVNode("",!0)],6))}}),ao=typeof window<"u";var Zp;ao&&(Zp=window==null?void 0:window.navigator)!=null&&Zp.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Wp(n){return n!=null}function Tr(){}const h1=Object.freeze({aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"});Object.freeze(new Set(Object.keys(h1)));const p1=ao&&("ontouchstart"in window||B1()>0),C1=p1?"pointerdown":"click";function B1(){return typeof navigator<"u"&&(navigator.maxTouchPoints||navigator.msMaxTouchPoints)||0}function m1(n,e,t=window.Event){const{type:i,bubbles:d=!1,cancelable:I=!1,...o}=e;if(!Wp(i)||i==="")return!1;let b;return Wp(t)?b=new t(i,{bubbles:d,cancelable:I}):(b=document.createEvent("HTMLEvents"),b.initEvent(i,d,I)),Object.assign(b,o),n.dispatchEvent(b)}const E1="clickoutside",Q1=new Set;ao&&document.addEventListener(C1,n=>{const e=n.target,t=n.composedPath&&n.composedPath();Q1.forEach(i=>{i!==e&&(t?!t.includes(i):!i.contains(e))&&(!i.__transferElement||i.__transferElement!==e&&!i.__transferElement.contains(e))&&m1(i,{type:E1})})},!0);const I1=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let Ur;if(ao){for(const n of I1)if(n[1]in document){Ur=n;break}}const f1=!!Ur;A.computed(()=>!1);const w1=new Set,b1=new WeakMap;if(ao&&Ur){const n=Ur[2],e=Ur[4];document.addEventListener(e,()=>{if(w1.forEach(t=>{t.value=!1}),document[n]){const t=b1.get(document[n]);t&&(t.value=!0)}},!1)}const jp=new Map;jp.set("x",0),jp.set("y",0);var so=[],y1=function(){return so.some(function(n){return n.activeTargets.length>0})},D1=function(){return so.some(function(n){return n.skippedTargets.length>0})},qp="ResizeObserver loop completed with undelivered notifications.",v1=function(){var n;typeof ErrorEvent=="function"?n=new ErrorEvent("error",{message:qp}):(n=document.createEvent("Event"),n.initEvent("error",!1,!1),n.message=qp),window.dispatchEvent(n)},Yr;(function(n){n.BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Yr||(Yr={}));var lo=function(n){return Object.freeze(n)},k1=function(){function n(e,t){this.inlineSize=e,this.blockSize=t,lo(this)}return n}(),Xp=function(){function n(e,t,i,d){return this.x=e,this.y=t,this.width=i,this.height=d,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,lo(this)}return n.prototype.toJSON=function(){var e=this,t=e.x,i=e.y,d=e.top,I=e.right,o=e.bottom,b=e.left,y=e.width,f=e.height;return{x:t,y:i,top:d,right:I,bottom:o,left:b,width:y,height:f}},n.fromRect=function(e){return new n(e.x,e.y,e.width,e.height)},n}(),Ag=function(n){return n instanceof SVGElement&&"getBBox"in n},Vp=function(n){if(Ag(n)){var e=n.getBBox(),t=e.width,i=e.height;return!t&&!i}var d=n,I=d.offsetWidth,o=d.offsetHeight;return!(I||o||n.getClientRects().length)},AC=function(n){var e;if(n instanceof Element)return!0;var t=(e=n==null?void 0:n.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(t&&n instanceof t.Element)},_1=function(n){switch(n.tagName){case"INPUT":if(n.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Or=typeof window<"u"?window:{},ms=new WeakMap,eC=/auto|scroll/,M1=/^tb|vertical/,x1=/msie|trident/i.test(Or.navigator&&Or.navigator.userAgent),ni=function(n){return parseFloat(n||"0")},$o=function(n,e,t){return n===void 0&&(n=0),e===void 0&&(e=0),t===void 0&&(t=!1),new k1((t?e:n)||0,(t?n:e)||0)},tC=lo({devicePixelContentBoxSize:$o(),borderBoxSize:$o(),contentBoxSize:$o(),contentRect:new Xp(0,0,0,0)}),nC=function(n,e){if(e===void 0&&(e=!1),ms.has(n)&&!e)return ms.get(n);if(Vp(n))return ms.set(n,tC),tC;var t=getComputedStyle(n),i=Ag(n)&&n.ownerSVGElement&&n.getBBox(),d=!x1&&t.boxSizing==="border-box",I=M1.test(t.writingMode||""),o=!i&&eC.test(t.overflowY||""),b=!i&&eC.test(t.overflowX||""),y=i?0:ni(t.paddingTop),f=i?0:ni(t.paddingRight),x=i?0:ni(t.paddingBottom),N=i?0:ni(t.paddingLeft),K=i?0:ni(t.borderTopWidth),U=i?0:ni(t.borderRightWidth),P=i?0:ni(t.borderBottomWidth),G=i?0:ni(t.borderLeftWidth),k=N+f,m=y+x,F=G+U,_=K+P,v=b?n.offsetHeight-_-n.clientHeight:0,B=o?n.offsetWidth-F-n.clientWidth:0,p=d?k+F:0,u=d?m+_:0,s=i?i.width:ni(t.width)-p-B,g=i?i.height:ni(t.height)-u-v,l=s+k+B+F,h=g+m+v+_,C=lo({devicePixelContentBoxSize:$o(Math.round(s*devicePixelRatio),Math.round(g*devicePixelRatio),I),borderBoxSize:$o(l,h,I),contentBoxSize:$o(s,g,I),contentRect:new Xp(N,y,s,g)});return ms.set(n,C),C},iC=function(n,e,t){var i=nC(n,t),d=i.borderBoxSize,I=i.contentBoxSize,o=i.devicePixelContentBoxSize;switch(e){case Yr.DEVICE_PIXEL_CONTENT_BOX:return o;case Yr.BORDER_BOX:return d;default:return I}},S1=function(){function n(e){var t=nC(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=lo([t.borderBoxSize]),this.contentBoxSize=lo([t.contentBoxSize]),this.devicePixelContentBoxSize=lo([t.devicePixelContentBoxSize])}return n}(),oC=function(n){if(Vp(n))return 1/0;for(var e=0,t=n.parentNode;t;)e+=1,t=t.parentNode;return e},N1=function(){var n=1/0,e=[];so.forEach(function(I){if(I.activeTargets.length!==0){var o=[];I.activeTargets.forEach(function(b){var y=new S1(b.target),f=oC(b.target);o.push(y),b.lastReportedSize=iC(b.target,b.observedBox),f<n&&(n=f)}),e.push(function(){I.callback.call(I.observer,o,I.observer)}),I.activeTargets.splice(0,I.activeTargets.length)}});for(var t=0,i=e;t<i.length;t++){var d=i[t];d()}return n},rC=function(n){so.forEach(function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach(function(t){t.isActive()&&(oC(t.target)>n?e.activeTargets.push(t):e.skippedTargets.push(t))})})},F1=function(){var n=0;for(rC(n);y1();)n=N1(),rC(n);return D1()&&v1(),n>0},eg,aC=[],R1=function(){return aC.splice(0).forEach(function(n){return n()})},L1=function(n){if(!eg){var e=0,t=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return R1()}).observe(t,i),eg=function(){t.textContent="".concat(e?e--:e++)}}aC.push(n),eg()},G1=function(n){L1(function(){requestAnimationFrame(n)})},Es=0,P1=function(){return!!Es},H1=250,K1={attributes:!0,characterData:!0,childList:!0,subtree:!0},sC=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lC=function(n){return n===void 0&&(n=0),Date.now()+n},tg=!1,T1=function(){function n(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return n.prototype.run=function(e){var t=this;if(e===void 0&&(e=H1),!tg){tg=!0;var i=lC(e);G1(function(){var d=!1;try{d=F1()}finally{if(tg=!1,e=i-lC(),!P1())return;d?t.run(1e3):e>0?t.run(e):t.start()}})}},n.prototype.schedule=function(){this.stop(),this.run()},n.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,K1)};document.body?t():Or.addEventListener("DOMContentLoaded",t)},n.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sC.forEach(function(t){return Or.addEventListener(t,e.listener,!0)}))},n.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),sC.forEach(function(t){return Or.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},n}(),ng=new T1,cC=function(n){!Es&&n>0&&ng.start(),Es+=n,!Es&&ng.stop()},U1=function(n){return!Ag(n)&&!_1(n)&&getComputedStyle(n).display==="inline"},Y1=function(){function n(e,t){this.target=e,this.observedBox=t||Yr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return n.prototype.isActive=function(){var e=iC(this.target,this.observedBox,!0);return U1(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},n}(),O1=function(){function n(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}return n}(),Qs=new WeakMap,gC=function(n,e){for(var t=0;t<n.length;t+=1)if(n[t].target===e)return t;return-1},Is=function(){function n(){}return n.connect=function(e,t){var i=new O1(e,t);Qs.set(e,i)},n.observe=function(e,t,i){var d=Qs.get(e),I=d.observationTargets.length===0;gC(d.observationTargets,t)<0&&(I&&so.push(d),d.observationTargets.push(new Y1(t,i&&i.box)),cC(1),ng.schedule())},n.unobserve=function(e,t){var i=Qs.get(e),d=gC(i.observationTargets,t),I=i.observationTargets.length===1;d>=0&&(I&&so.splice(so.indexOf(i),1),i.observationTargets.splice(d,1),cC(-1))},n.disconnect=function(e){var t=this,i=Qs.get(e);i.observationTargets.slice().forEach(function(d){return t.unobserve(e,d.target)}),i.activeTargets.splice(0,i.activeTargets.length)},n}(),$1=function(){function n(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Is.connect(this,e)}return n.prototype.observe=function(e,t){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Is.observe(this,e,t)},n.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!AC(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Is.unobserve(this,e)},n.prototype.disconnect=function(){Is.disconnect(this)},n.toString=function(){return"function ResizeObserver () { [polyfill code] }"},n}();const fs=new WeakMap;function z1(n){var e;for(let t=0,i=n.length;t<i;++t){const d=n[t],I=fs.get(d.target);if(typeof I=="function"){const{inlineSize:o,blockSize:b}=(e=d.borderBoxSize)==null?void 0:e[0],{offsetWidth:y,offsetHeight:f}=d.target;I(Object.assign(d,{offsetWidth:y,offsetHeight:f,width:o??y,height:b??f}))}}}const dC=new(ao&&window.ResizeObserver||$1)(z1);function uC(n,e){fs.set(n,e),dC.observe(n)}function hC(n){fs.has(n)&&(dC.unobserve(n),fs.delete(n))}function J1(n={}){let e=Tr;const t=A.watch(()=>A.unref(n.target),d=>{e(),!(!d||typeof n.onResize!="function")&&(uC(d,n.onResize),e=()=>{hC(d),e=Tr})},{immediate:!0}),i=()=>{t(),e()};return A.getCurrentScope()&&A.onScopeDispose(i),{observeResize:uC,unobserveResize:hC,unobserve:i}}const Z1=A.ref(!1);A.computed(()=>Z1.value);const pC="__theme_style__",ig="__theme_observer__",CC=A.reactive(new Map),BC=new Map;A.watch(CC,()=>{if(!ao)return;BC.clear();const n=document.head.querySelector(`#${pC}`);n&&document.head.removeChild(n);const e=document.createElement("style");let t=`.${ig} { width: 1px }`,i=1;for(const[d,[I,o]]of CC.entries())t+=` html.${I} .${ig}, .${o} .${ig} { width: ${++i}px }`,BC.set(i,d);e.textContent=t,e.id=pC,document.head.appendChild(e)});const W1=A.defineComponent({__name:"grid-layout",props:{autoSize:{type:Boolean,default:!0},colNum:{default:12},rowHeight:{default:150},maxRows:{default:1/0},margin:{default:()=>[10,10]},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},isBounded:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},restoreOnDrag:{type:Boolean,default:!1},layout:{},responsive:{type:Boolean,default:!1},responsiveLayouts:{default:()=>({})},transformScale:{default:1},breakpoints:{default:()=>({lg:1200,md:996,sm:768,xs:480,xxs:0})},cols:{default:()=>({lg:12,md:10,sm:6,xs:4,xxs:2})},preventCollision:{type:Boolean,default:!1},useStyleCursor:{type:Boolean,default:!0}},emits:["layout-before-mount","layout-mounted","layout-updated","breakpoint-changed","update:layout","layout-ready"],setup(n,{expose:e,emit:t}){const i=n,d=t,I=A.reactive({width:-1,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:""},layouts:{},lastBreakpoint:null,originalLayout:null}),o=new Map,b=A.ref(i.layout),y=A.ref(),{observeResize:f,unobserveResize:x}=J1(),N=Zv();N.on("resizeEvent",K),N.on("dragEvent",U),A.onBeforeMount(()=>{d("layout-before-mount",b.value)}),A.onMounted(()=>{d("layout-mounted",b.value),A.nextTick(()=>{o1(b.value),I.originalLayout=b.value,A.nextTick(()=>{g(),y.value&&f(y.value,Wv(_,16)),Oo(b.value,i.verticalCompact),d("layout-updated",b.value),F(),_()})})}),A.onBeforeUnmount(()=>{N.clearAll(),y.value&&x(y.value)});function K(h,C,a,r,E,Q){u(h,C,a,r,E,Q)}function U(h,C,a,r,E,Q){p(h,C,a,r,E,Q)}A.watch(()=>I.width,(h,C)=>{A.nextTick(()=>{N.emit("updateWidth",h),C===-1&&A.nextTick(()=>{d("layout-ready",b.value)}),F()})}),A.watch(()=>[i.layout,i.layout.length],()=>{b.value=i.layout,m()}),A.watch(()=>i.colNum,h=>{N.emit("setColNum",h)}),A.watch(()=>i.rowHeight,h=>{N.emit("setRowHeight",h)}),A.watch(()=>i.isDraggable,h=>{N.emit("setDraggable",h)}),A.watch(()=>i.isResizable,h=>{N.emit("setResizable",h)}),A.watch(()=>i.isBounded,h=>{N.emit("setBounded",h)}),A.watch(()=>i.transformScale,h=>{N.emit("setTransformScale",h)}),A.watch(()=>i.responsive,h=>{h||(d("update:layout",I.originalLayout),N.emit("setColNum",i.colNum)),_()}),A.watch(()=>i.maxRows,h=>{N.emit("setMaxRows",h)}),A.watch([()=>i.margin,()=>i.margin[1]],F),A.provide(Fp,A.reactive({...A.toRefs(i),...A.toRefs(I),increaseItem:P,decreaseItem:G})),A.provide(Rp,N),e({state:I,getItem:k,resizeEvent:u,dragEvent:p,layoutUpdate:m});function P(h){o.set(h.i,h)}function G(h){o.delete(h.i)}function k(h){return o.get(h)}function m(){if(!fn(b.value)&&!fn(I.originalLayout)){if(b.value.length!==I.originalLayout.length){const h=l(b.value,I.originalLayout);if(h.length>0)if(b.value.length>I.originalLayout.length)I.originalLayout=I.originalLayout.concat(h);else{const C=new Set(h.map(a=>a.i));I.originalLayout=I.originalLayout.filter(a=>!C.has(a.i))}I.lastLayoutLength=b.value.length,g()}Oo(b.value,i.verticalCompact),N.emit("updateWidth",I.width),F(),d("layout-updated",b.value)}}function F(){I.mergedStyle={height:v()}}function _(){y.value&&(I.width=y.value.offsetWidth),N.emit("resizeEvent")}function v(){if(!i.autoSize)return;const h=parseFloat(i.margin[1]);return qv(b.value)*(i.rowHeight+h)+h+"px"}let B;function p(h,C,a,r,E,Q){let M=Gp(b.value,C);fn(M)&&(M={h:0,w:0,x:0,y:0,i:""}),h==="dragstart"&&!i.verticalCompact&&(B=b.value.reduce((S,{i:T,x:z,y:AA})=>({...S,[T]:{x:z,y:AA}}),{})),h==="dragmove"||h==="dragstart"?(I.placeholder.i=C,I.placeholder.x=M.x,I.placeholder.y=M.y,I.placeholder.w=Q,I.placeholder.h=E,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):A.nextTick(()=>{I.isDragging=!1}),b.value=Xc(b.value,M,a,r,!0,i.preventCollision),i.restoreOnDrag?(M.static=!0,Oo(b.value,i.verticalCompact,B),M.static=!1):Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="dragend"&&(B=void 0,d("layout-updated",b.value))}function u(h,C,a,r,E,Q){let M=Gp(b.value,C);fn(M)&&(M={h:0,w:0,x:0,y:0,i:""});let S;if(i.preventCollision){const T=Pp(b.value,{...M,w:Q,h:E}).filter(z=>z.i!==M.i);if(S=T.length>0,S){let z=1/0,AA=1/0;T.forEach(eA=>{eA.x>M.x&&(z=Math.min(z,eA.x)),eA.y>M.y&&(AA=Math.min(AA,eA.y))}),Number.isFinite(z)&&(M.w=z-M.x),Number.isFinite(AA)&&(M.h=AA-M.y)}}S||(M.w=Q,M.h=E),h==="resizestart"||h==="resizemove"?(I.placeholder.i=C,I.placeholder.x=a,I.placeholder.y=r,I.placeholder.w=M.w,I.placeholder.h=M.h,A.nextTick(()=>{I.isDragging=!0}),N.emit("updateWidth",I.width)):h&&A.nextTick(()=>{I.isDragging=!1}),i.responsive&&s(),Oo(b.value,i.verticalCompact),N.emit("compact"),F(),h==="resizeend"&&d("layout-updated",b.value)}function s(){const h=l1(i.breakpoints,I.width);if(h===I.lastBreakpoint)return;const C=Op(h,i.cols);!fn(I.lastBreakpoint)&&!I.layouts[I.lastBreakpoint]&&(I.layouts[I.lastBreakpoint]=qc(b.value));const a=c1(I.originalLayout,I.layouts,i.breakpoints,h,I.lastBreakpoint,C,i.verticalCompact);I.layouts[h]=a,I.lastBreakpoint!==h&&d("breakpoint-changed",h,a),b.value=a,d("update:layout",a),I.lastBreakpoint=h,N.emit("setColNum",C)}function g(){I.layouts=Object.assign({},i.responsiveLayouts)}function l(h,C){const a=new Set(C.map(M=>M.i)),r=new Set(h.map(M=>M.i)),E=h.filter(M=>!a.has(M.i)),Q=C.filter(M=>!r.has(M.i));return E.concat(Q)}return(h,C)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"wrapper",ref:y,class:"vgl-layout",style:A.normalizeStyle(I.mergedStyle)},[h.$slots.default?A.renderSlot(h.$slots,"default",{key:0}):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(b.value,a=>(A.openBlock(),A.createBlock(Vc,A.mergeProps({key:a.i,ref_for:!0},a),{default:A.withCtx(()=>[A.renderSlot(h.$slots,"item",{item:a})]),_:2},1040))),128)),A.withDirectives(A.createVNode(Vc,{class:"vgl-item--placeholder",x:I.placeholder.x,y:I.placeholder.y,w:I.placeholder.w,h:I.placeholder.h,i:I.placeholder.i},null,8,["x","y","w","h","i"]),[[A.vShow,I.isDragging]])],4))}});(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const rt=A.defineComponent({__name:"FormItemGroup",props:A.mergeModels({list:{}},{gridData:{},gridDataModifiers:{}}),emits:A.mergeModels(["gridItemMoved"],["update:gridData"]),setup(n,{emit:e}){const t=A.useModel(n,"gridData"),i=Vn(),d=mt(),I=A.ref({});function o(N,K){N&&(I.value[K]=N)}let b=[];const y=()=>{if(!t.value)return;const N=new Map;for(const K of t.value)N.has(K.x)||N.set(K.x,[]),N.get(K.x).push(K);for(const K of N.values()){K.sort((P,G)=>P.y-G.y);let U=0;for(const P of K)P.y=U,U+=P.h}t.value=[...t.value]},f=e,x=()=>{f("gridItemMoved")};return A.onMounted(()=>{Object.keys(I.value).forEach(N=>{const K=I.value[N];if(!K)return;const U=new ResizeObserver(P=>{for(let G of P){const k=G.contentRect.height+28;if(t.value){const m=t.value[0].rowHeight||30,F=t.value.find(_=>_.i===N);F&&(F.contentHeight=Math.ceil((k+8)/(m+8)),F.h>0&&(F.h=Math.ceil((k+8)/(m+8))))}}y()});U.observe(K),b.push(U)})}),A.onBeforeUnmount(()=>{b.forEach(N=>N.disconnect()),b=[]}),(N,K)=>A.unref(d).design?(A.openBlock(),A.createBlock(jc,{key:0,list:N.list,"empty-text":A.unref(i).canvas.emptyTip,"empty-size":18},null,8,["list","empty-text"])):t.value?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(U,P)=>(A.openBlock(),A.createBlock(A.unref(Vc),{onMoved:x,key:U.i,x:U.x,y:U.y,w:U.w,h:U.h,i:U.i,class:A.normalizeClass(U.h===0?"noPadding":"defaultPadding")},{default:A.withCtx(()=>[A.createElementVNode("div",{ref_for:!0,ref:G=>o(G,U.i)},[A.createVNode(ro,A.mergeProps({ref_for:!0},N.list[P]),null,16)],512)]),_:2},1032,["x","y","w","h","i","class"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:2},A.renderList(N.list,U=>(A.openBlock(),A.createBlock(ro,A.mergeProps({key:U.name,ref_for:!0},U),null,16))),128))}}),j1={key:0,class:"btn-render-wrapper"},ii=oe(A.defineComponent({__name:"ButtonRender",props:{btns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref({}),d=async o=>{if(o.onClick&&e){try{(o.text||o.label)&&(i.value[o.key]=!0),await e[o.onClick](t,o)}catch(b){console.error(b+`
100
+ onClick: ${o.onClick}`)}i.value[o.key]=!1}},I=o=>({...o,name:o.key,component:"Popover"});return(o,b)=>{const y=A.resolveComponent("el-button"),f=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button-group");return o.btns&&o.btns.length>0?(A.openBlock(),A.createElementBlock("div",j1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.btns,N=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N.key},[N.component==="Popover"?(A.openBlock(),A.createBlock(rt,{key:0,list:[I(N)]},null,8,["list"])):N.component==="BtnGroup"?(A.openBlock(),A.createBlock(x,{key:1},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,K=>(A.openBlock(),A.createBlock(f,{key:K.key,disabled:!K.tooltip,content:K.tooltip,placement:"top"},{default:A.withCtx(()=>[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:K.key,onClick:U=>d(K),disabled:K.disabled,type:K.type,text:K.isTextBtn,link:K.isLinkBtn,plain:K.isPlainBtn||K.type!=="primary"&&!K.orange,color:K.orange?"#FAA21E":K.color,loading:i.value[K.key],class:A.normalizeClass({orangeBtn:K.orange})},{default:A.withCtx(()=>[K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon.name,color:K.icon.color,class:A.normalizeClass({"btn-icon":K.text||K.label})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(K.text||K.label),1)]),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","class"]))]),_:2},1032,["disabled","content"]))),128))]),_:2},1024)):N.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,{key:2,onClick:K=>d(N),disabled:N.disabled,type:N.type,text:N.isTextBtn,link:N.isLinkBtn,plain:N.isPlainBtn||N.type!=="primary"&&!N.orange,color:N.orange?"#FAA21E":N.color,loading:i.value[N.key],size:N.size,style:A.normalizeStyle(N.style),class:A.normalizeClass({orangeBtn:N.orange,"is-icon":N.icon&&!N.text&&!N.label}),id:N.key},{default:A.withCtx(()=>{var K,U;return[A.createVNode(f,{disabled:!((K=N==null?void 0:N.icon)!=null&&K.tooltip),content:(U=N==null?void 0:N.icon)==null?void 0:U.tooltip,placement:"top"},{default:A.withCtx(()=>{var P;return[A.createElementVNode("div",{class:A.normalizeClass(["flex items-center gap-2 direction",{"flex-row-reverse":N.isReverse}])},[N.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:N.icon.name,color:N.icon.color,size:((P=N==null?void 0:N.icon)==null?void 0:P.size)||"small",class:A.normalizeClass({"btn-icon":N.text||N.label})},null,8,["name","color","size","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(N.text||N.label),1)],2)]}),_:2},1032,["disabled","content"])]}),_:2},1032,["onClick","disabled","type","text","link","plain","color","loading","size","style","class","id"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-0fff7a48"]]),q1={key:0,class:"dropdown-render-wrapper"},X1=oe(A.defineComponent({__name:"dropdownRender",props:{dropdowns:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=async(d,I)=>{if(I.onClick&&e)try{await e[I.onClick](t,d)}catch(o){console.error(o+`
101
+ onClick: ${I.onClick}`)}};return(d,I)=>{const o=A.resolveComponent("el-button"),b=A.resolveComponent("el-dropdown-item"),y=A.resolveComponent("el-dropdown-menu"),f=A.resolveComponent("el-dropdown");return d.dropdowns&&d.dropdowns.length>0?(A.openBlock(),A.createElementBlock("div",q1,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.dropdowns,x=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:x.key},[x.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(f,{key:0,disabled:x.disabled},{dropdown:A.withCtx(()=>[A.createVNode(y,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(x.options,N=>(A.openBlock(),A.createBlock(b,{key:N.value,command:N.value,onClick:K=>i(N,x)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N.label),1)]),_:2},1032,["command","onClick"]))),128))]),_:2},1024)]),default:A.withCtx(()=>[A.createVNode(o,{plain:"",color:x.color},{default:A.withCtx(()=>{var N,K;return[x.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:(N=x.icon)==null?void 0:N.name,class:"left-icon",color:(K=x.icon)==null?void 0:K.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(x.text),1),A.createVNode(ve,{name:"icon-gongnengjixiajiantou",class:"right-icon"})]}),_:2},1032,["color"])]),_:2},1032,["disabled"]))],64))),128))])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-a7966a5b"]]),V1=["title"],Ak={class:"suffix-slots"},ek=oe(A.defineComponent({__name:"Input",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},suffixSlots:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=mt(),t=A.computed(()=>y.read||e.schema.read),i=A.useModel(n,"modelValue"),d=A.useAttrs(),I=A.computed(()=>d.inputColor?`--input-color: ${d.inputColor}`:"--input-color: var(--el-input-text-color)"),o=A.computed(()=>d.inputColor?`el-input--${d.styleType} el-input custom-input-color`:`el-input--${d.styleType} el-input`),b=()=>{i.value&&(i.value=i.value.trim())},y=n,f=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=k=>{const m=["E","e","+","-"];d.type==="number"&&m.includes(k.key)&&k.preventDefault()},K=k=>{if(y.onInput&&f)try{f[y.onInput](x,k)}catch(m){console.error(m+`
102
102
  onInput: ${y.onInput}`)}},U=k=>{if(y.onEnter&&f)try{k.stopPropagation(),f[y.onEnter](x,k)}catch(m){console.error(m+`
103
103
  onEnter: ${y.onEnter}`)}},P=k=>{if(y.onChange&&f)try{f[y.onChange](x,k)}catch(m){console.error(m+`
104
104
  onChange: ${y.onChange}`)}},G=()=>{if(y.onClick&&f)try{f[y.onClick](x,i.value)}catch(k){console.error(k+`
105
- onClick: ${y.onClick}`)}};return(k,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:k.readTextColor,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(k.onClick?"cursor-pointer":""),onClick:G},A.toDisplayString(i.value||"--"),15,V1)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},k.$attrs,{class:o.value,style:I.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=_=>i.value=_),onInput:K,onChange:P,onKeydown:N,onKeyup:A.withKeys(U,["enter"]),onBlur:b,onClick:G}),A.createSlots({_:2},[k.suffixSlots&&k.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",Ak,[A.createVNode(A.unref(rt),{list:k.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-90f886ad"]]),tk={title:"单行文本",component:"Input",icon:A.h(Ie,{name:"input"}),type:"basic",order:1,attrSchema:d0,render:ek},nk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},ik={title:"多行文本",component:"TextArea",icon:A.h(Ie,{name:"textarea"}),type:"basic",order:2,attrSchema:nk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dM))},ok={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},rk=["onClick"],ak={key:1,class:"bold-style"},sk=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=$n(),d=(b,y,f)=>{console.log(b,y,f);try{t[b](i,y,f)}catch(x){console.error(x)}},I=A.computed(()=>{const b=/\{(\d+)\}/g,y=[];let f=0,x;for(;(x=b.exec(e.description))!==null;)x.index>f&&y.push({type:"text",value:e.description.slice(f,x.index)}),y.push({type:"value",index:Number(x[1])}),f=b.lastIndex;return f<e.description.length&&y.push({type:"text",value:e.description.slice(f)}),y}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,y)=>{const f=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(f,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(ve,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(x.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof x.index=="number"&&e.values&&e.values[x.index]&&typeof e.values[x.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:K=>d(e.values[x.index].onClick,e.values[x.index].text,e.values[x.index])},A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),9,rk)):(A.openBlock(),A.createElementBlock("span",ak,A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-5ca945a3"]]),lk={title:"提示框",component:"Alert",icon:A.h(Ie,{name:"alert"}),type:"assist",order:2,attrSchema:ok,render:sk},ck={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>CM)),icon:A.h(Ie,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},gk={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},dk={title:"级联选择器",icon:A.h(Ie,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:gk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>BM))},uk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},hk={title:"JSON编辑",component:"JsonEdit",icon:A.h(Ie,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:uk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>bM))},pk={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},Ck={title:"多选框组",icon:A.h(Ie,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),order:4,attrSchema:pk},Bk={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},mk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(Ie,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Bk},Ek={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Qk={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),icon:A.h(Ie,{name:"colorPicker"}),type:"high",order:2,attrSchema:Ek},Ik={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},fk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>MM)),icon:A.h(Ie,{name:"custom"}),type:"high",order:99,attrSchema:Ik},wk={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},bk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>SM)),icon:A.h(Ie,{name:"datePicker"}),type:"basic",order:9,attrSchema:wk},yk={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},Dk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:A.h(Ie,{name:"divider"}),type:"assist",order:6,attrSchema:yk},vk={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},kk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>TM)),icon:A.h(Ie,{name:"esign"}),type:"basic",order:11,attrSchema:vk},_k={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},Mk={title:"单选框组",icon:A.h(Ie,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>YM)),order:3.5,attrSchema:_k},xk={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Sk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),icon:A.h(Ie,{name:"formList"}),type:"high",order:20,attrSchema:xk},Nk={title:"栅格布局",type:"layout",icon:A.h(Ie,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>jM)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Fk={title:"行内布局",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>qM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},Rk={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Lk={title:"计数器",icon:A.h(Ie,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>VM)),attrSchema:Rk},Gk={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},Pk={key:0},Hk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=mt();return(i,d)=>{var o;const I=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Pk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(Ie,{name:"password"}),type:"basic",order:3,attrSchema:Gk},Kk={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Fa]},Tk={title:"下拉选择框",type:"basic",icon:A.h(Ie,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ex)),order:3,attrSchema:Kk},Uk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},Yk={title:"评分",component:"Rate",render:"ElRate",icon:A.h(Ie,{name:"rate"}),type:"basic",order:12,attrSchema:Uk},Ok={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},$k={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nx)),icon:A.h(Ie,{name:"input"}),type:"high",order:1,attrSchema:Ok},zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(Ie,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Jk={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Zk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ix)),component:"Switch",icon:A.h(Ie,{name:"switch"}),type:"basic",order:8,attrSchema:Jk},Wk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ox)),icon:A.h(Ie,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},jk={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},qk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ax)),icon:A.h(Ie,{name:"text"}),type:"assist",order:1,attrSchema:jk},Xk={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(Ie,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},Vk={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},A_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hx)),icon:A.h(Ie,{name:"upload"}),type:"basic",order:10,attrSchema:Vk},e_={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},t_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>mx)),icon:A.h(Ie,{name:"verifyCode"}),type:"high",order:18,attrSchema:e_},n_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ex)),icon:A.h(Ie,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},i_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>vx)),icon:A.h(Ie,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},o_={title:"对象容器",icon:A.h(Ie,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Mx)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},r_={},a_={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function s_(n,e){return A.openBlock(),A.createElementBlock("svg",a_,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const l_=oe(r_,[["render",s_]]),c_={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},g_={key:0},d_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=mt(),i=A.useModel(n,"modelValue"),d=I=>{const o=I.map(b=>e.data.find(y=>y.key===b));t.updateSelectData(e.name,o)};return(I,o)=>{var y;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",g_,A.toDisplayString((y=i.value)==null?void 0:y.map(f=>{var x;return(x=I.data.find(N=>N.key===f))==null?void 0:x.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{data:I.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=f=>i.value=f)}),null,16,["data","modelValue"]))}}}),icon:l_,type:"basic",order:12,attrSchema:c_},u_={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},h_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=mt(),o=A.computed(()=>t.read||I.schema.read);A.watch(e,x=>{x&&I.clearValidate(t.name)});const b=x=>{if(t.onInput&&i)try{i[t.onInput](d,x)}catch(N){console.error(N+`
105
+ onClick: ${y.onClick}`)}};return(k,m)=>{const F=A.resolveComponent("el-input");return t.value?(A.openBlock(),A.createElementBlock("span",{key:0,title:i.value||"--",style:A.normalizeStyle({color:k.readTextColor,overflow:"hidden",textOverflow:"ellipsis"}),class:A.normalizeClass(k.onClick?"cursor-pointer":""),onClick:G},A.toDisplayString(i.value||"--"),15,V1)):(A.openBlock(),A.createBlock(F,A.mergeProps({key:1},k.$attrs,{class:o.value,style:I.value,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=_=>i.value=_),onInput:K,onChange:P,onKeydown:N,onKeyup:A.withKeys(U,["enter"]),onBlur:b,onClick:G}),A.createSlots({_:2},[k.suffixSlots&&k.suffixSlots.length>0?{name:"suffix",fn:A.withCtx(()=>[A.createElementVNode("div",Ak,[A.createVNode(A.unref(rt),{list:k.suffixSlots},null,8,["list"])])]),key:"0"}:void 0]),1040,["class","style","modelValue"]))}}}),[["__scopeId","data-v-a0819f2e"]]),tk={title:"单行文本",component:"Input",icon:A.h(Ie,{name:"input"}),type:"basic",order:1,attrSchema:d0,render:ek},nk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},ik={title:"多行文本",component:"TextArea",icon:A.h(Ie,{name:"textarea"}),type:"basic",order:2,attrSchema:nk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>dM))},ok={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},rk=["onClick"],ak={key:1,class:"bold-style"},sk=oe(A.defineComponent({__name:"Alert",props:{description:{},values:{},type:{},icon:{},closable:{type:Boolean,default:!1}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=$n(),d=(b,y,f)=>{console.log(b,y,f);try{t[b](i,y,f)}catch(x){console.error(x)}},I=A.computed(()=>{const b=/\{(\d+)\}/g,y=[];let f=0,x;for(;(x=b.exec(e.description))!==null;)x.index>f&&y.push({type:"text",value:e.description.slice(f,x.index)}),y.push({type:"value",index:Number(x[1])}),f=b.lastIndex;return f<e.description.length&&y.push({type:"text",value:e.description.slice(f)}),y}),o=A.computed(()=>e.icon?e.icon:e.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"#999999"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[e.type]:{name:"icon-tishitubiao",color:"#999999"});return(b,y)=>{const f=A.resolveComponent("el-alert");return b.description?(A.openBlock(),A.createBlock(f,A.mergeProps({key:0},b.$attrs,{type:b.type,class:"alert-container",closable:b.closable}),{icon:A.withCtx(()=>[A.createVNode(ve,{name:o.value.name,color:o.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.value,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(x.value),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[typeof x.index=="number"&&e.values&&e.values[x.index]&&typeof e.values[x.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:K=>d(e.values[x.index].onClick,e.values[x.index].text,e.values[x.index])},A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),9,rk)):(A.openBlock(),A.createElementBlock("span",ak,A.toDisplayString(typeof x.index=="number"&&e.values&&e.values[x.index]?e.values[x.index].text:""),1))],64))],64))),128))])]),_:1},16,["type","closable"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-0d095275"]]),lk={title:"提示框",component:"Alert",icon:A.h(Ie,{name:"alert"}),type:"assist",order:2,attrSchema:ok,render:sk},ck={title:"卡片",component:"Card",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>CM)),icon:A.h(Ie,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},gk={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},dk={title:"级联选择器",icon:A.h(Ie,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:gk,order:7,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>BM))},uk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},hk={title:"JSON编辑",component:"JsonEdit",icon:A.h(Ie,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:uk,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>bM))},pk={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},Ck={title:"多选框组",icon:A.h(Ie,{name:"checkbox"}),type:"basic",component:"Checkbox",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DM)),order:4,attrSchema:pk},Bk={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},mk={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:A.h(Ie,{name:"colorPicker"}),type:"basic",order:9,attrSchema:Bk},Ek={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},Qk={title:"颜色输入框",component:"ColorInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kM)),icon:A.h(Ie,{name:"colorPicker"}),type:"high",order:2,attrSchema:Ek},Ik={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},fk={title:"自定义组件",component:"Custom",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>MM)),icon:A.h(Ie,{name:"custom"}),type:"high",order:99,attrSchema:Ik},wk={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},bk={title:"日期选择器",component:"DatePicker",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>SM)),icon:A.h(Ie,{name:"datePicker"}),type:"basic",order:9,attrSchema:wk},yk={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},Dk={title:"分割线",component:"Divider",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>NM)),icon:A.h(Ie,{name:"divider"}),type:"assist",order:6,attrSchema:yk},vk={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},kk={title:"电子签名",component:"Esign",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>TM)),icon:A.h(Ie,{name:"esign"}),type:"basic",order:11,attrSchema:vk},_k={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Fa]},Mk={title:"单选框组",icon:A.h(Ie,{name:"radio"}),type:"basic",component:"Radio",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>YM)),order:3.5,attrSchema:_k},xk={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},Sk={title:"自增容器",component:"FormList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>WM)),icon:A.h(Ie,{name:"formList"}),type:"high",order:20,attrSchema:xk},Nk={title:"栅格布局",type:"layout",icon:A.h(Ie,{name:"grid"}),component:"Grid",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>jM)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},Fk={title:"行内布局",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"Inline",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>qM)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},Rk={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Lk={title:"计数器",icon:A.h(Ie,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>VM)),attrSchema:Rk},Gk={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},Pk={key:0},Hk={title:"密码输入框",component:"Password",render:A.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=mt();return(i,d)=>{var o;const I=A.resolveComponent("el-input");return A.unref(t).schema.read?(A.openBlock(),A.createElementBlock("span",Pk,A.toDisplayString((o=e.value)==null?void 0:o.replace(/./g,"*")),1)):(A.openBlock(),A.createBlock(I,A.mergeProps({key:1},i.$attrs,{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=b=>e.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:A.h(Ie,{name:"password"}),type:"basic",order:3,attrSchema:Gk},Kk={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Fa]},Tk={title:"下拉选择框",type:"basic",icon:A.h(Ie,{name:"select"}),component:"Select",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ex)),order:3,attrSchema:Kk},Uk={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},Yk={title:"评分",component:"Rate",render:"ElRate",icon:A.h(Ie,{name:"rate"}),type:"basic",order:12,attrSchema:Uk},Ok={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},$k={title:"选择+输入",component:"SelectInput",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nx)),icon:A.h(Ie,{name:"input"}),type:"high",order:1,attrSchema:Ok},zk={title:"滑块",render:"ElSlider",component:"Slider",icon:A.h(Ie,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Jk={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Zk={title:"开关",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ix)),component:"Switch",icon:A.h(Ie,{name:"switch"}),type:"basic",order:8,attrSchema:Jk},Wk={title:"标签",component:"Tag",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ox)),icon:A.h(Ie,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},jk={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},qk={title:"文本",component:"Text",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ax)),icon:A.h(Ie,{name:"text"}),type:"assist",order:1,attrSchema:jk},Xk={title:"标题",component:"Title",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>sx)),icon:A.h(Ie,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},Vk={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},A_={title:"上传",component:"Upload",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hx)),icon:A.h(Ie,{name:"upload"}),type:"basic",order:10,attrSchema:Vk},e_={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},t_={title:"图形验证码",component:"VerifyCode",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>mx)),icon:A.h(Ie,{name:"verifyCode"}),type:"high",order:18,attrSchema:e_},n_={title:"折叠面板",component:"Collapse",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Ex)),icon:A.h(Ie,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},i_={title:"选项卡",component:"Tabs",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>vx)),icon:A.h(Ie,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},o_={title:"对象容器",icon:A.h(Ie,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Mx)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},r_={},a_={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function s_(n,e){return A.openBlock(),A.createElementBlock("svg",a_,e[0]||(e[0]=[A.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const l_=oe(r_,[["render",s_]]),c_={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},g_={key:0},d_={title:"穿梭框",component:"Transfer",render:A.defineComponent({__name:"Transfer",props:A.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=mt(),i=A.useModel(n,"modelValue"),d=I=>{const o=I.map(b=>e.data.find(y=>y.key===b));t.updateSelectData(e.name,o)};return(I,o)=>{var y;const b=A.resolveComponent("el-transfer");return A.unref(t).read?(A.openBlock(),A.createElementBlock("div",g_,A.toDisplayString((y=i.value)==null?void 0:y.map(f=>{var x;return(x=I.data.find(N=>N.key===f))==null?void 0:x.label}).join("、")),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{data:I.data,onChange:d,modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=f=>i.value=f)}),null,16,["data","modelValue"]))}}}),icon:l_,type:"basic",order:12,attrSchema:c_},u_={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},h_=oe(A.defineComponent({__name:"SearchInput",props:A.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},readonly:{type:Boolean},read:{type:Boolean},readTextColor:{},clearable:{type:Boolean},round:{type:Boolean},name:{},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=mt(),o=A.computed(()=>t.read||I.schema.read);A.watch(e,x=>{x&&I.clearValidate(t.name)});const b=x=>{if(t.onInput&&i)try{i[t.onInput](d,x)}catch(N){console.error(N+`
106
106
  onInput: ${t.onInput}`)}},y=()=>{if(t.onSearch&&i)try{i[t.onSearch](d,t.name)}catch(x){console.error(x+`
107
107
  onSearch: ${t.onSearch}`)}},f=()=>{if(t.onClear&&i&&i[t.onClear])try{i[t.onClear](d,t.name)}catch(x){console.error(x+`
108
- onClear: ${t.onClear}`)}else t.clearable&&I.setFieldValue(t.name,"","")};return(x,N)=>{const K=A.resolveComponent("el-button"),U=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:x.readTextColor})},A.toDisplayString(e.value||"--"),5)):(A.openBlock(),A.createBlock(U,A.mergeProps({key:1},x.$attrs,{modelValue:e.value,"onUpdate:modelValue":N[0]||(N[0]=P=>e.value=P),onInput:b,disabled:x.disabled,clearable:!1,readonly:x.readonly,class:{readonlyBg:x.readonly,round:x.round},style:{width:x.width},onKeyup:A.withKeys(y,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(x.onClear||x.clearable)&&e.value&&!x.disabled?(A.openBlock(),A.createBlock(A.unref(Ie),{key:0,name:"clear",onClick:f,class:"clear-icon"})):A.createCommentVNode("",!0),x.round?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-lujing2",color:"#666666",class:"cursor-pointer ml-[8px]",onClick:y})):A.createCommentVNode("",!0)]),_:2},[x.round?void 0:{name:"append",fn:A.withCtx(()=>[A.createVNode(K,{onClick:y,disabled:x.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]),key:"0"}]),1040,["modelValue","disabled","readonly","class","style"]))}}}),[["__scopeId","data-v-b6975bac"]]),p_={title:"搜索输入",component:"SearchInput",icon:A.h(Ie,{name:"search"}),type:"high",order:5,attrSchema:u_,render:h_},C_={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Fa]},B_={title:"选择+搜索",type:"high",icon:A.h(Ie,{name:"searchSelect"}),component:"SearchSelect",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Rx)),order:3,attrSchema:C_},m_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},E_=oe(A.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},purple:{type:Boolean},noLoading:{type:Boolean},disabled:{type:Boolean},tooltip:{},icon:{},suffixIcon:{},style:{},isPlainBtn:{type:Boolean},name:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref(!1),I=async()=>{if(e.onClick&&t){try{!e.noLoading&&e.buttonText&&(d.value=!0),await t[e.onClick](i)}catch(o){console.error(o+`
109
- onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const y=A.resolveComponent("el-button"),f=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(f,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,A.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(ve,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading","style","disabled","id"]))]),_:1},8,["disabled","content"])}}}),[["__scopeId","data-v-8e27f967"]]),Q_={title:"按钮",component:"Button",icon:A.h(Ie,{name:"button"}),type:"assist",order:1,attrSchema:m_,render:E_},I_={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},f_={title:"树",component:"Tree",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:A.h(Ie,{name:"tree"}),type:"assist",order:7,attrSchema:I_},w_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},b_={title:"表格",component:"Table",icon:A.h(Ie,{name:"library"}),type:"assist",order:8,attrSchema:w_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Jx))},y_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>eS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},D_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},v_={class:"card-list-item"},k_={class:"card-list-item-header"},__={class:"card-list-item-header-title"},M_={style:{display:"ruby"}},x_=["title"],S_=["title"],N_={key:0,class:"card-list-item-header-title__sub"},F_={class:"sub-title-right"},R_={class:"card-list-item-header-btns"},L_=["onClick"],G_={class:"card-list-item-content"},P_=["title"],H_=["onClick","title"],K_={key:0,class:"card-list-item-content--more"},T_=["title"],U_=["title"],Y_={key:1,class:"card-list-item-footer"},O_={class:"card-list-item-footer-text"},mC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(y){console.error(y)}},I=A.ref(!1),o=b=>{b.isMore&&(I.value=!I.value)};return(b,y)=>{const f=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",v_,[A.createElementVNode("div",k_,[A.createElementVNode("div",__,[A.createElementVNode("div",M_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,x=>(A.openBlock(),A.createElementBlock("div",{key:x.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:x.color}),title:x.value},A.toDisplayString(x.value),13,x_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:y[0]||(y[0]=x=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,S_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",N_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",F_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:x.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(x.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",R_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.condition===void 0||x.condition===null||A.unref(kt)(x.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:K=>d(x.onClick)},[x.label?(A.openBlock(),A.createBlock(f,{key:0,class:"box-item",effect:"dark",content:x.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(ve,{name:x.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,name:x.icon},null,8,["name"]))],8,L_)):A.createCommentVNode("",!0)],64))),128))])]),A.createElementVNode("div",G_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,P_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":x.isMore}]),onClick:N=>o(x),title:x.value,style:A.normalizeStyle({color:x.color})},[A.createTextVNode(A.toDisplayString(x.value||"- -")+" ",1),x.isMore?(A.openBlock(),A.createBlock(ve,{key:0,class:A.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,H_)]))),128))]),I.value?(A.openBlock(),A.createElementBlock("div",K_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,T_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:x.value},A.toDisplayString(x.value||"- -"),9,U_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",Y_,[A.createVNode(ve,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",O_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-1660dba4"]]),$_={key:0,class:"empty-content"},og=oe(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),I=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(k,m,F)=>{try{I.value[k](d,m,F)}catch(_){console.error(_)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(k=>({condition:k.condition,icon:k.icon&&k.icon.name?k.icon.name:"icon-tishi",label:k.label,onClick:k.onClick})):[]),y=e.columns.find(k=>k.position==="title"),f=e.columns.find(k=>k.position==="subTitle"),x=e.columns.find(k=>k.position==="footer"),N={key:"__childList"},K=A.computed(()=>{const k=e.columns.filter(m=>m.type==="link");return e.data?e.data.map(m=>{var _;const F={subTitleRight:[],content:[],tag:[],originalData:m};if(y&&k&&k.find(v=>v.key===y.key)&&(F.titleType="link",F.onClick=(_=k.find(v=>v.key===y.key))==null?void 0:_.onClick),y&&(F.title=e.getColText(y,m),F.titleColor=m[y.key+"Color"]),f&&(F.subTitle=e.getColText(f,m),F.subTitleColor=m[f.key+"Color"]),x){const v=e.getColText(x,m);F.footer={icon:x.footerIcon||"icon-tishi",text:`${x.label}: ${v||"- -"}`}}return e.columns.forEach(v=>{v.position==="content"?F.content.push({label:v.label,value:e.getColText(v,m),color:v.color}):v.position==="moreContent"?(F.content.push({label:v.label,value:e.getColText(v,m),isMore:m[N.key]&&m[N.key].length>0}),F.childList=m[N.key]):v.position==="tag"?F.tag.push({label:v.label,value:e.getColText(v,m)}):v.position==="subTitleRight"&&F.subTitleRight.push({label:v.label,value:e.getColText(v,m),color:v.color})}),F}):[]});let U=null;const P=A.ref(),G=A.ref(3);return A.onMounted(()=>{U=new ResizeObserver(k=>{for(const m of k){const F=m.contentRect.width;G.value=Math.floor(F/330)||1}}),U.observe(P.value)}),A.onUnmounted(()=>{U&&P.value&&U.unobserve(P.value)}),(k,m)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:P,class:"card-list",style:A.normalizeStyle({"--columns":G.value,"--gap":k.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(K.value,(F,_)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:_},[A.createVNode(mC,{data:F,btns:b.value,index:_,onClickBtn:v=>o(v,F.originalData,_)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!k.data||k.data.length===0?(A.openBlock(),A.createElementBlock("div",$_,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-6d1252c0"]]),z_={title:"卡片列表",component:"CardList",render:og,icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},J_={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hS)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Z_={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ES)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},W_={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DS)),icon:A.h(Ie,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},j_={title:"可拖拽网格容器",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Y8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},q_={title:"气泡框",component:"Popover",render:kp,icon:A.h(Ie,{name:"password"}),type:"layout",order:9},X_=["innerHTML"],V_=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,X_))}}),A2={title:"HTML",component:"HtmlRender",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:V_},e2={title:"分页",component:"Pagination",icon:A.h(Ie,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>O8))},t2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,I=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{I.value=!1,A.nextTick(()=>{I.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,y)=>{var N;const f=A.resolveComponent("el-menu-item"),x=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&I.value?(A.openBlock(),A.createBlock(x,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,K=>(A.openBlock(),A.createBlock(f,{onClick:U=>o(K),key:K.id,index:K.id},{default:A.withCtx(()=>[K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(K.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-388fb909"]]),n2={title:"Menu",component:"Menu",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:t2},i2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>z8)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10},o2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},r2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(Ie,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},a2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-2257060b"]]),icon:A.h(Ie,{name:"card"}),type:"assist",order:10},s2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),I=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
110
- onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const y=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(y,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(ve,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:I,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-981331fe"]]),l2={title:"字体图标",component:"IconInForm",icon:A.h(Ie,{name:"icon"}),type:"assist",order:9,render:s2},c2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tM)),icon:A.h(Ie,{name:"card"}),type:"layout",order:12},g2=Object.freeze(Object.defineProperty({__proto__:null,Alert:lk,Button:Q_,Card:ck,CardList:z_,Cascader:dk,Checkbox:Ck,Collapse:n_,ColorInput:Qk,ColorPicker:mk,CurdCard:y_,Custom:fk,DatePicker:bk,Divider:Dk,DragList:j_,Esign:kk,FilterSearch:i2,FloatCurd:c2,FormList:Sk,Grid:Nk,HtmlRender:A2,IconInForm:l2,InfiniteScroll:o2,Inline:Fk,Input:tk,InputNumber:Lk,JsonEdit:hk,LogList:W_,Menu:n2,NormalProgress:a2,ObjGroup:o_,OfferDetails:J_,OrderProgress:Z_,Pagination:e2,Password:Hk,Popover:q_,Radio:Mk,Rate:Yk,SearchInput:p_,SearchSelect:B_,Select:Tk,SelectInput:$k,Slider:zk,Switch:Zk,Table:b_,Tabs:i_,Tag:Wk,Text:qk,TextArea:ik,Title:Xk,Tooltip:r2,Transfer:d_,Tree:f_,Upload:A_,VerifyCode:t_,Wrapper:D_},Symbol.toStringTag,{value:"Module"})),zo=()=>{const n=A.inject(Xn),e={...g2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Nn=()=>A.inject(Nu),$n=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},d2=A.defineComponent({__name:"Footer",setup(n){const e=mt(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const I=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(I,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(I,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),EC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch","FloatCurd","Tree"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(EC(i.children)));return e},QC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(EC(i.schema.items)));return e},IC=Symbol("RefManager"),u2=()=>{const n=new Map,e=new Map;function t(i){const d=i.sort().join(","),I=e.get(d);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,d)=>{n.set(i,d);for(const[I]of e)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const d=i.sort().join(",");if(e.has(d))return e.get(d).promise;let I=null;const o=new Promise(b=>{I=b});return e.set(d,{promise:o,resolve:I}),t(i),o}}},h2=()=>{const n=u2();return A.provide(IC,n),n},fC=()=>{const n=A.inject(IC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},Jo=(n,e)=>{const t=fC();return t.register(n,e),()=>{t.unregister(n)}},p2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,y=A.ref(),f=A.useModel(n,"modelValue"),x=A.useModel(n,"realValues"),N=(Z,D,q)=>{q===void 0?f.value[Z]=D:(x.value[Z]=D,f.value[Z]=q)},K=Z=>x.value[Z]!==void 0?x.value[Z]:f.value[Z],U=(Z,D)=>{let q=S(G.value.items,Z);q&&q.props&&(q.props.disabled=!D)},P=(Z,D)=>{let q=S(G.value.items,Z);q&&(q.hidden=!D)},G=A.useModel(n,"schema");if(G.value.onValuesChange){const Z=A.ref(JSON.stringify(f.value));A.watch(()=>f.value,D=>{Z.value=JSON.stringify(D)},{deep:!0}),A.watch(()=>Z.value,(D,q)=>{const H=JSON.parse(D),X=JSON.parse(q),rA=Object.keys(H).filter(iA=>JSON.stringify(H[iA])!==JSON.stringify(X[iA]));if(!(!o.value||!G.value.onValuesChange))try{d[o.value][G.value.onValuesChange](I,rA,X,H)}catch(iA){console.error(iA)}})}const k=A.reactive({}),m=A.ref({}),F=A.ref(!1),_=Vn(),v=A.computed(()=>({...i.schemaContext,$values:f.value,$selectData:k,$locale:_.value})),B=fC();A.onMounted(async()=>{var q,H;if((q=i.schema)!=null&&q.initialValues){const X=(H=i.schema)==null?void 0:H.initialValues;E(X),f.value=ut.mergeWith(X,f.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const Z=QC({content:[{type:"form",schema:G.value}]});if(await B.waitForKeys(Z),!G.value||!G.value.onMounted||!o.value)return;const D=G.value.onMounted;try{d[o.value][D](I)}catch(X){console.error(X)}}),A.onActivated(()=>{if(!G.value||!G.value.onActivated||!o.value)return;const Z=G.value.onActivated;try{d[o.value][Z](I)}catch(D){console.error(D)}});const p=()=>{var Z;return(Z=y.value)==null?void 0:Z.validate()},u=Z=>{var D;return(D=y.value)==null?void 0:D.validateField(Z)},s=Z=>{const D=S(G.value.items,Z);if(!D||!D.children)return Promise.resolve();const q=X=>{const rA=[];for(const iA of X)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...q(iA.children));return rA},H=q(D.children);return H.length===0?Promise.resolve():u(H)},g=Z=>{const D=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],q=H=>{H.forEach(X=>{D.includes(X.component)?X.props&&(X.props.disabled=Z):X.children&&q(X.children)})};q(G.value.items)},l=()=>{var Z;(Z=p())==null||Z.then(()=>{b("finish",f.value)}).catch(D=>{b("failed",D)})},h=Z=>{if(b("reset"),Z){let D=ut.cloneDeep(f.value);Z.forEach(q=>{D=ko(D,q,Ea(m.value,q))}),f.value=D}else f.value=ut.cloneDeep(A.toRaw(m.value))},C=(Z,D=!0)=>{D?Object.assign(f.value,Z):f.value=Z},a=(Z,D=!0)=>{D?Object.assign(x.value,Z):x.value=Z},r=(Z,D)=>{k[Z]=D},E=Z=>{m.value={...Z}},Q=()=>m.value,M=Z=>{F.value=Z},S=(Z,D)=>{for(const q of Z){if(q.name===D)return q;if(q.children&&q.children.length>0){const H=S(q.children,D);if(H)return H}}return null},T=Z=>{const D=S(G.value.items,Z);!D||D.component!=="Select"||(D.props&&D.props.mode==="static"&&(Array.isArray(D.props.options)&&D.props.options.findIndex(H=>{var X;return H[((X=D.props)==null?void 0:X.valueKey)||"value"]===f.value[Z]})!==-1||(f.value[Z]=D.props.options[0][D.props.valueKey||"value"])),D.props&&(D.props.refreshFlag=!0))},z=Z=>{var H;const D=Z.target;if(Array.from(((H=D.parentElement)==null?void 0:H.classList)||[]).includes("is-focus")&&G.value.onEnter&&o.value)try{d[o.value][G.value.onEnter](I)}catch(X){console.error(X)}},AA=Z=>{var D;(D=y.value)==null||D.clearValidate(Z)},eA=Z=>{G.value.hidden=Z},J=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:f,formRealValues:x,selectData:k,initialValues:m,context:v,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:s,resetFields:h,submit:l,setDisabled:g,findItemByName:S,setFieldEditSts:U,setFieldVisibleSts:P,setFieldValue:N,getFieldValue:K,refreshDynamicListBox:T,setHidden:eA,clearValidate:AA,rootRef:J,type:"form"});return A.provide(Su,$),e($),(Z,D)=>{const q=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:J,id:G.value.key,style:A.normalizeStyle(G.value.style)},[G.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(q,A.mergeProps({key:0,model:f.value,"label-position":G.value.labelPosition,size:G.value.size,"hide-required-asterisk":G.value.hideRequiredAsterisk,"scroll-to-error":G.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:y},Z.$attrs,{onSubmit:D[0]||(D[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(Z.$slots,"default"),A.createVNode(A.unref(rt),{list:G.value.items},null,8,["list"]),A.createVNode(d2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,p2)}}}),C2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,y)=>b.order-y.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},B2=A.defineComponent({__name:"index",setup(n){var x;const e=A.ref(!1),t=Nn(),i=zo(),d=Vn(),I=nc(),o=(x=t.templates)!=null&&x.length?t.templates:PE,b=A.computed(()=>C2({elements:i,omits:t.omitMenus||[],lang:I.value})),y=N=>{t.updateSchema(N)},f=N=>{const K={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(K.children=[]),K};return(N,K)=>{const U=A.resolveComponent("el-button"),P=A.resolveComponent("el-space"),G=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(U,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:K[0]||(K[0]=k=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(G,{modelValue:e.value,"onUpdate:modelValue":K[1]||(K[1]=k=>e.value=k),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(P,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:k,schema:m})=>(A.openBlock(),A.createBlock(U,{key:k,onClick:F=>y(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(k),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:k,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:k,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(k),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(I)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),m2=n=>`<template>
108
+ onClear: ${t.onClear}`)}else t.clearable&&I.setFieldValue(t.name,"","")};return(x,N)=>{const K=A.resolveComponent("el-button"),U=A.resolveComponent("el-input");return o.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:x.readTextColor})},A.toDisplayString(e.value||"--"),5)):(A.openBlock(),A.createBlock(U,A.mergeProps({key:1},x.$attrs,{modelValue:e.value,"onUpdate:modelValue":N[0]||(N[0]=P=>e.value=P),onInput:b,disabled:x.disabled,clearable:!1,readonly:x.readonly,class:{readonlyBg:x.readonly,round:x.round},style:{width:x.width},onKeyup:A.withKeys(y,["enter"])}),A.createSlots({suffix:A.withCtx(()=>[(x.onClear||x.clearable)&&e.value&&!x.disabled?(A.openBlock(),A.createBlock(A.unref(Ie),{key:0,name:"clear",onClick:f,class:"clear-icon"})):A.createCommentVNode("",!0),x.round?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-lujing2",color:"#666666",class:"cursor-pointer ml-[8px]",onClick:y})):A.createCommentVNode("",!0)]),_:2},[x.round?void 0:{name:"append",fn:A.withCtx(()=>[A.createVNode(K,{onClick:y,disabled:x.disabled},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]),key:"0"}]),1040,["modelValue","disabled","readonly","class","style"]))}}}),[["__scopeId","data-v-5c1c5b79"]]),p_={title:"搜索输入",component:"SearchInput",icon:A.h(Ie,{name:"search"}),type:"high",order:5,attrSchema:u_,render:h_},C_={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Fa]},B_={title:"选择+搜索",type:"high",icon:A.h(Ie,{name:"searchSelect"}),component:"SearchSelect",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Rx)),order:3,attrSchema:C_},m_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},E_=oe(A.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},purple:{type:Boolean},noLoading:{type:Boolean},disabled:{type:Boolean},tooltip:{},icon:{},suffixIcon:{},style:{},isPlainBtn:{type:Boolean},name:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref(!1),I=async()=>{if(e.onClick&&t){try{!e.noLoading&&e.buttonText&&(d.value=!0),await t[e.onClick](i)}catch(o){console.error(o+`
109
+ onClick: ${e.onClick}`)}d.value=!1}};return(o,b)=>{const y=A.resolveComponent("el-button"),f=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(f,{disabled:!o.tooltip,content:o.tooltip,placement:"top"},{default:A.withCtx(()=>[o.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(y,A.mergeProps({key:0},o.$attrs,{onClick:I,color:o.orange?"#FAA21E":"",class:["crm-button",{orangeBtn:o.orange,purpleBtn:o.purple,"is-icon":o.icon&&!o.buttonText}],plain:o.isPlainBtn||!o.orange&&o.$attrs.type!=="primary",loading:d.value,style:o.style,disabled:o.disabled,id:o.name}),{default:A.withCtx(()=>[o.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:o.icon.name,color:o.icon.color,class:A.normalizeClass({btnicon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0),A.createTextVNode(" "+A.toDisplayString(o.buttonText)+" ",1),o.suffixIcon?(A.openBlock(),A.createBlock(ve,{key:1,name:o.suffixIcon.name,color:o.suffixIcon.color,class:A.normalizeClass({suffixIcon:o.buttonText})},null,8,["name","color","class"])):A.createCommentVNode("",!0)]),_:1},16,["color","class","plain","loading","style","disabled","id"]))]),_:1},8,["disabled","content"])}}}),[["__scopeId","data-v-82073728"]]),Q_={title:"按钮",component:"Button",icon:A.h(Ie,{name:"button"}),type:"assist",order:1,attrSchema:m_,render:E_},I_={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},f_={title:"树",component:"Tree",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>rM)),icon:A.h(Ie,{name:"tree"}),type:"assist",order:7,attrSchema:I_},w_={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},b_={title:"表格",component:"Table",icon:A.h(Ie,{name:"library"}),type:"assist",order:8,attrSchema:w_,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Jx))},y_={title:"curd模版卡片",component:"CurdCard",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>eS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.title",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"},{label:"支持切换内部表格类型",component:"Switch",name:"props.typeSwitch"},{label:"样式类型",component:"Select",name:"props.type",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"内联",value:"inline"},{label:"混合",value:"mix"}]}}]}},D_={title:"普通div容器",component:"Wrapper",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>nS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},v_={class:"card-list-item"},k_={class:"card-list-item-header"},__={class:"card-list-item-header-title"},M_={style:{display:"ruby"}},x_=["title"],S_=["title"],N_={key:0,class:"card-list-item-header-title__sub"},F_={class:"sub-title-right"},R_={class:"card-list-item-header-btns"},L_=["onClick"],G_={class:"card-list-item-content"},P_=["title"],H_=["onClick","title"],K_={key:0,class:"card-list-item-content--more"},T_=["title"],U_=["title"],Y_={key:1,class:"card-list-item-footer"},O_={class:"card-list-item-footer-text"},mC=oe(A.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},emits:["clickBtn"],setup(n,{emit:e}){const t=e,i=A.inject("getGlobalParams",()=>{}),d=b=>{if(b)try{t("clickBtn",b)}catch(y){console.error(y)}},I=A.ref(!1),o=b=>{b.isMore&&(I.value=!I.value)};return(b,y)=>{const f=A.resolveComponent("el-tooltip");return A.openBlock(),A.createElementBlock("div",v_,[A.createElementVNode("div",k_,[A.createElementVNode("div",__,[A.createElementVNode("div",M_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.tag,x=>(A.openBlock(),A.createElementBlock("div",{key:x.label,class:"card-list-item-header-title__tag",style:A.normalizeStyle({color:x.color}),title:x.value},A.toDisplayString(x.value),13,x_))),128))]),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-header-title__text",{"link-style":b.data.titleType==="link","click-style":b.data.onClick}]),style:A.normalizeStyle({color:b.data.titleColor}),title:b.data.title,onClick:y[0]||(y[0]=x=>d(b.data.onClick))},A.toDisplayString(b.data.title),15,S_),b.data.subTitle?(A.openBlock(),A.createElementBlock("div",N_,[A.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:A.normalizeStyle({backgroundColor:b.data.subTitleColor||"#3EBF17"})},null,4),A.createElementVNode("span",null,A.toDisplayString(b.data.subTitle),1),A.createElementVNode("div",F_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.subTitleRight,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.value?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle({color:x.color||"var(--hight)"}),class:"sub-title-right__item"},A.toDisplayString(x.value),5)):A.createCommentVNode("",!0)],64))),128))])])):A.createCommentVNode("",!0)]),A.createElementVNode("div",R_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.btns,(x,N)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:N},[x.condition===void 0||x.condition===null||A.unref(kt)(x.condition,{$row:b.data.originalData,$globalParams:A.unref(i)()})?(A.openBlock(),A.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:K=>d(x.onClick)},[x.label?(A.openBlock(),A.createBlock(f,{key:0,class:"box-item",effect:"dark",content:x.label,placement:"top"},{default:A.withCtx(()=>[A.createVNode(ve,{name:x.icon},null,8,["name"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,name:x.icon},null,8,["name"]))],8,L_)):A.createCommentVNode("",!0)],64))),128))])]),A.createElementVNode("div",G_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.content,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,P_),A.createElementVNode("div",{class:A.normalizeClass(["card-list-item-content-item-value",{"is-more":x.isMore}]),onClick:N=>o(x),title:x.value,style:A.normalizeStyle({color:x.color})},[A.createTextVNode(A.toDisplayString(x.value||"- -")+" ",1),x.isMore?(A.openBlock(),A.createBlock(ve,{key:0,class:A.normalizeClass({"rotate-[180deg]":I.value}),name:"icon-a-rongqi11",size:"small"},null,8,["class"])):A.createCommentVNode("",!0)],14,H_)]))),128))]),I.value?(A.openBlock(),A.createElementBlock("div",K_,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data.childList,x=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item-content-item",key:x.label},[A.createElementVNode("div",{class:"card-list-item-content-item-label",title:x.label},A.toDisplayString(x.label)+":",9,T_),A.createElementVNode("div",{class:"card-list-item-content-item-value",title:x.value},A.toDisplayString(x.value||"- -"),9,U_)]))),128))])):A.createCommentVNode("",!0),b.data.footer?(A.openBlock(),A.createElementBlock("div",Y_,[A.createVNode(ve,{name:b.data.footer.icon},null,8,["name"]),A.createElementVNode("span",O_,A.toDisplayString(b.data.footer.text||"- -"),1)])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-73d51df4"]]),$_={key:0,class:"empty-content"},og=oe(A.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("ruleMap",void 0),d=A.inject("pageMethodMap",{}),I=A.computed(()=>e.rulePath&&i[e.rulePath]?i[e.rulePath]:t),o=(k,m,F)=>{try{I.value[k](d,m,F)}catch(_){console.error(_)}},b=A.computed(()=>e.rowBtns?e.rowBtns.map(k=>({condition:k.condition,icon:k.icon&&k.icon.name?k.icon.name:"icon-tishi",label:k.label,onClick:k.onClick})):[]),y=e.columns.find(k=>k.position==="title"),f=e.columns.find(k=>k.position==="subTitle"),x=e.columns.find(k=>k.position==="footer"),N={key:"__childList"},K=A.computed(()=>{const k=e.columns.filter(m=>m.type==="link");return e.data?e.data.map(m=>{var _;const F={subTitleRight:[],content:[],tag:[],originalData:m};if(y&&k&&k.find(v=>v.key===y.key)&&(F.titleType="link",F.onClick=(_=k.find(v=>v.key===y.key))==null?void 0:_.onClick),y&&(F.title=e.getColText(y,m),F.titleColor=m[y.key+"Color"]),f&&(F.subTitle=e.getColText(f,m),F.subTitleColor=m[f.key+"Color"]),x){const v=e.getColText(x,m);F.footer={icon:x.footerIcon||"icon-tishi",text:`${x.label}: ${v||"- -"}`}}return e.columns.forEach(v=>{v.position==="content"?F.content.push({label:v.label,value:e.getColText(v,m),color:v.color}):v.position==="moreContent"?(F.content.push({label:v.label,value:e.getColText(v,m),isMore:m[N.key]&&m[N.key].length>0}),F.childList=m[N.key]):v.position==="tag"?F.tag.push({label:v.label,value:e.getColText(v,m)}):v.position==="subTitleRight"&&F.subTitleRight.push({label:v.label,value:e.getColText(v,m),color:v.color})}),F}):[]});let U=null;const P=A.ref(),G=A.ref(3);return A.onMounted(()=>{U=new ResizeObserver(k=>{for(const m of k){const F=m.contentRect.width;G.value=Math.floor(F/330)||1}}),U.observe(P.value)}),A.onUnmounted(()=>{U&&P.value&&U.unobserve(P.value)}),(k,m)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"cardListRef",ref:P,class:"card-list",style:A.normalizeStyle({"--columns":G.value,"--gap":k.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(K.value,(F,_)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:_},[A.createVNode(mC,{data:F,btns:b.value,index:_,onClickBtn:v=>o(v,F.originalData,_)},null,8,["data","btns","index","onClickBtn"])]))),128))],4),!k.data||k.data.length===0?(A.openBlock(),A.createElementBlock("div",$_,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),m[0]||(m[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-888dec8c"]]),z_={title:"卡片列表",component:"CardList",render:og,icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},J_={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>hS)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Z_={title:"定制化组件(Progress)",component:"Progress",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>ES)),icon:A.h(Ie,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},W_={title:"日志列表",component:"LogList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>DS)),icon:A.h(Ie,{name:"card"}),type:"assist",order:12,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},j_={title:"可拖拽网格容器",icon:A.h(Ie,{name:"inline"}),type:"layout",component:"DragList",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>Y8)),order:9,lbTitle:!0,attrSchema:{items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.colNum",initialValue:12},{label:"行高",component:"InputNumber",name:"props.rowHeight",initialValue:30},{label:"布局",name:"props.layout",component:"FormList",children:[{label:"起点横坐标",name:"x",component:"Input",props:{type:"number"},designKey:"form-LnGh",initialValue:"{{$index}}"},{label:"起点纵坐标",name:"y",component:"Input",props:{type:"number"},designKey:"form-HYtW",initialValue:"{{ $index + 1}}"},{label:"宽度",name:"w",component:"Input",props:{type:"number"},designKey:"form-HYtW2"},{label:"高度",name:"h",component:"Input",props:{type:"number"},designKey:"form-HYtW3"},{label:"是否固定",name:"static",component:"Switch",designKey:"form-HYtW4"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}}]}},q_={title:"气泡框",component:"Popover",render:kp,icon:A.h(Ie,{name:"password"}),type:"layout",order:9},X_=["innerHTML"],V_=A.defineComponent({__name:"HtmlRender",props:{data:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",{innerHTML:e.data,class:"html-render"},null,8,X_))}}),A2={title:"HTML",component:"HtmlRender",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:V_},e2={title:"分页",component:"Pagination",icon:A.h(Ie,{name:"library"}),type:"assist",order:10,render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>O8))},t2=oe(A.defineComponent({__name:"Menu",props:{mode:{default:"horizontal"},data:{default:()=>[]},onClickMenu:{},defaultActive:{default:""},refresh:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(null),d=n,I=A.ref(!0),o=b=>{e&&e[d.onClickMenu||"onClickMenu"](t,b)};return A.watch(()=>d.data,()=>{I.value=!1,A.nextTick(()=>{I.value=!0})}),A.watch(()=>d.defaultActive,()=>{i.value.updateActiveIndex(d.defaultActive)}),(b,y)=>{var N;const f=A.resolveComponent("el-menu-item"),x=A.resolveComponent("el-menu");return((N=b.data)==null?void 0:N.length)>0&&I.value?(A.openBlock(),A.createBlock(x,{key:0,ref_key:"menuRef",ref:i,"popper-class":"sui-menu-popper",mode:b.mode,class:"sui-menu","default-active":b.defaultActive},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.data,K=>(A.openBlock(),A.createBlock(f,{onClick:U=>o(K),key:K.id,index:K.id},{default:A.withCtx(()=>[K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon.name,size:"x-small",class:"sui-menu-icon"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(K.name),1)]),_:2},1032,["onClick","index"]))),128))]),_:1},8,["mode","default-active"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-8c123147"]]),n2={title:"Menu",component:"Menu",icon:A.h(Ie,{name:"button"}),type:"assist",order:19,render:t2},i2={title:"筛选搜索",component:"FilterSearch",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>z8)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10},o2={title:"无限滚动",component:"InfiniteScroll",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>kS)),icon:A.h(Ie,{name:"card"}),type:"layout",order:10,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},r2={title:"文字提示",component:"Tooltip",render:A.defineComponent({__name:"Component",props:{children:{},content:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(i,A.mergeProps(e.$attrs,{content:e.content}),{default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:e.children},null,8,["list"])])]),_:1},16,["content"])}}}),icon:A.h(Ie,{name:"card"}),type:"layout",order:9,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"}]}},a2={title:"进度条",component:"NormalProgress",render:oe(A.defineComponent({__name:"NormalProgress",props:{percentage:{},width:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-progress");return A.openBlock(),A.createElementBlock("div",{class:"normal-progress",style:A.normalizeStyle({width:e.width})},[A.createVNode(i,A.mergeProps(e.$attrs,{percentage:e.percentage}),null,16,["percentage"])],4)}}}),[["__scopeId","data-v-197c3f99"]]),icon:A.h(Ie,{name:"card"}),type:"assist",order:10},s2=oe(A.defineComponent({__name:"IconInForm",props:{name:{},iconName:{},color:{},size:{},onClick:{},params:{},title:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.inject("ruleModule",void 0),i=A.inject("pageMethodMap",{}),d=A.ref({}),I=async()=>{if(e.onClick&&t){try{d.value[e.name]=!0,await t[e.onClick](i,e)}catch(o){console.error(o+`
110
+ onClick: ${e.onClick}`)}d.value[e.name]=!1}};return(o,b)=>{const y=A.resolveComponent("el-tooltip");return A.openBlock(),A.createBlock(y,{class:"box-item",effect:"dark",content:e.title,placement:"top",disabled:!e.title},{default:A.withCtx(()=>[A.createVNode(ve,{name:e.iconName,color:o.color,size:o.size,class:A.normalizeClass({"icon-in-form":!0,"cursor-pointer":e.onClick}),onClick:I,customStyle:o.style},null,8,["name","color","size","class","customStyle"])]),_:1},8,["content","disabled"])}}}),[["__scopeId","data-v-da487aa2"]]),l2={title:"字体图标",component:"IconInForm",icon:A.h(Ie,{name:"icon"}),type:"assist",order:9,render:s2},c2={title:"浮动查询模版",component:"FloatCurd",render:A.defineAsyncComponent(()=>Promise.resolve().then(()=>tM)),icon:A.h(Ie,{name:"card"}),type:"layout",order:12},g2=Object.freeze(Object.defineProperty({__proto__:null,Alert:lk,Button:Q_,Card:ck,CardList:z_,Cascader:dk,Checkbox:Ck,Collapse:n_,ColorInput:Qk,ColorPicker:mk,CurdCard:y_,Custom:fk,DatePicker:bk,Divider:Dk,DragList:j_,Esign:kk,FilterSearch:i2,FloatCurd:c2,FormList:Sk,Grid:Nk,HtmlRender:A2,IconInForm:l2,InfiniteScroll:o2,Inline:Fk,Input:tk,InputNumber:Lk,JsonEdit:hk,LogList:W_,Menu:n2,NormalProgress:a2,ObjGroup:o_,OfferDetails:J_,OrderProgress:Z_,Pagination:e2,Password:Hk,Popover:q_,Radio:Mk,Rate:Yk,SearchInput:p_,SearchSelect:B_,Select:Tk,SelectInput:$k,Slider:zk,Switch:Zk,Table:b_,Tabs:i_,Tag:Wk,Text:qk,TextArea:ik,Title:Xk,Tooltip:r2,Transfer:d_,Tree:f_,Upload:A_,VerifyCode:t_,Wrapper:D_},Symbol.toStringTag,{value:"Module"})),zo=()=>{const n=A.inject(Xn),e={...g2};return n!=null&&n.extendElements&&Object.assign(e,n.extendElements),e},Nn=()=>A.inject(Nu),$n=()=>{const n=A.inject("ruleModule",void 0),e=A.inject("pageMethodMap",{});return{ruleModule:n,pageMethodMap:e}},d2=A.defineComponent({__name:"Footer",setup(n){const e=mt(),t=A.computed(()=>({marginLeft:e.schema.labelWidth+"px"}));return(i,d)=>{const I=A.resolveComponent("el-button");return A.unref(e).footer?(A.openBlock(),A.createElementBlock("div",{key:0,style:A.normalizeStyle(t.value)},[A.createVNode(I,{type:"primary",onClick:A.unref(e).submit,name:"submit-btn"},{default:A.withCtx(()=>d[1]||(d[1]=[A.createTextVNode("提交")])),_:1},8,["onClick"]),A.createVNode(I,{onClick:d[0]||(d[0]=()=>A.unref(e).resetFields()),name:"reset-btn"},{default:A.withCtx(()=>d[2]||(d[2]=[A.createTextVNode("重置")])),_:1})],4)):A.createCommentVNode("",!0)}}}),EC=n=>{let e=[];const t=["Table","DragList","Pagination","FilterSearch","FloatCurd","Tree"];for(const i of n)t.includes(i.component)&&i.name&&!i.hidden&&e.push(i.name),i.children&&Array.isArray(i.children)&&(e=e.concat(EC(i.children)));return e},QC=n=>{var t;if(!(n!=null&&n.content))return[];let e=[];for(const i of n.content)i.type==="form"&&((t=i.schema)!=null&&t.items)&&(e=e.concat(EC(i.schema.items)));return e},IC=Symbol("RefManager"),u2=()=>{const n=new Map,e=new Map;function t(i){const d=i.sort().join(","),I=e.get(d);I&&I.resolve&&i.every(b=>n.has(b))&&(I.resolve(),I.resolve=null)}return{register:(i,d)=>{n.set(i,d);for(const[I]of e)t(I.split(","))},unregister:i=>{n.delete(i)},findRef:i=>n.get(i),waitForKeys:i=>{if(i.every(b=>n.has(b)))return Promise.resolve();const d=i.sort().join(",");if(e.has(d))return e.get(d).promise;let I=null;const o=new Promise(b=>{I=b});return e.set(d,{promise:o,resolve:I}),t(i),o}}},h2=()=>{const n=u2();return A.provide(IC,n),n},fC=()=>{const n=A.inject(IC);if(!n)throw new Error("RefManager not provided. Make sure to call provideRefManager first.");return n},Jo=(n,e)=>{const t=fC();return t.register(n,e),()=>{t.unregister(n)}},p2=["id"],wn=A.defineComponent({__name:"index",props:A.mergeModels({schema:{},schemaContext:{},design:{type:Boolean},footer:{type:Boolean},pageRulePath:{},pageKey:{}},{modelValue:{default:{}},modelModifiers:{},realValues:{default:{}},realValuesModifiers:{},schema:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},schemaModifiers:{}}),emits:A.mergeModels(["finish","failed","reset"],["update:modelValue","update:realValues","update:schema"]),setup(n,{expose:e,emit:t}){const i=n,d=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=A.computed(()=>i.schema.rulePath&&d[i.schema.rulePath]?i.schema.rulePath:i.pageRulePath);o.value&&A.provide("ruleModule",d[o.value]);const b=t,y=A.ref(),f=A.useModel(n,"modelValue"),x=A.useModel(n,"realValues"),N=(Z,D,q)=>{q===void 0?f.value[Z]=D:(x.value[Z]=D,f.value[Z]=q)},K=Z=>x.value[Z]!==void 0?x.value[Z]:f.value[Z],U=(Z,D)=>{let q=S(G.value.items,Z);q&&q.props&&(q.props.disabled=!D)},P=(Z,D)=>{let q=S(G.value.items,Z);q&&(q.hidden=!D)},G=A.useModel(n,"schema");if(G.value.onValuesChange){const Z=A.ref(JSON.stringify(f.value));A.watch(()=>f.value,D=>{Z.value=JSON.stringify(D)},{deep:!0}),A.watch(()=>Z.value,(D,q)=>{const H=JSON.parse(D),X=JSON.parse(q),rA=Object.keys(H).filter(iA=>JSON.stringify(H[iA])!==JSON.stringify(X[iA]));if(!(!o.value||!G.value.onValuesChange))try{d[o.value][G.value.onValuesChange](I,rA,X,H)}catch(iA){console.error(iA)}})}const k=A.reactive({}),m=A.ref({}),F=A.ref(!1),_=Vn(),v=A.computed(()=>({...i.schemaContext,$values:f.value,$selectData:k,$locale:_.value})),B=fC();A.onMounted(async()=>{var q,H;if((q=i.schema)!=null&&q.initialValues){const X=(H=i.schema)==null?void 0:H.initialValues;E(X),f.value=ut.mergeWith(X,f.value,(rA,iA)=>{if(Array.isArray(rA))return iA})}await A.nextTick();const Z=QC({content:[{type:"form",schema:G.value}]});if(await B.waitForKeys(Z),!G.value||!G.value.onMounted||!o.value)return;const D=G.value.onMounted;try{d[o.value][D](I)}catch(X){console.error(X)}}),A.onActivated(()=>{if(!G.value||!G.value.onActivated||!o.value)return;const Z=G.value.onActivated;try{d[o.value][Z](I)}catch(D){console.error(D)}});const p=()=>{var Z;return(Z=y.value)==null?void 0:Z.validate()},u=Z=>{var D;return(D=y.value)==null?void 0:D.validateField(Z)},s=Z=>{const D=S(G.value.items,Z);if(!D||!D.children)return Promise.resolve();const q=X=>{const rA=[];for(const iA of X)iA.label&&iA.name&&rA.push(iA.name),iA.children&&iA.children.length>0&&rA.push(...q(iA.children));return rA},H=q(D.children);return H.length===0?Promise.resolve():u(H)},g=Z=>{const D=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],q=H=>{H.forEach(X=>{D.includes(X.component)?X.props&&(X.props.disabled=Z):X.children&&q(X.children)})};q(G.value.items)},l=()=>{var Z;(Z=p())==null||Z.then(()=>{b("finish",f.value)}).catch(D=>{b("failed",D)})},h=Z=>{if(b("reset"),Z){let D=ut.cloneDeep(f.value);Z.forEach(q=>{D=ko(D,q,Ea(m.value,q))}),f.value=D}else f.value=ut.cloneDeep(A.toRaw(m.value))},C=(Z,D=!0)=>{D?Object.assign(f.value,Z):f.value=Z},a=(Z,D=!0)=>{D?Object.assign(x.value,Z):x.value=Z},r=(Z,D)=>{k[Z]=D},E=Z=>{m.value={...Z}},Q=()=>m.value,M=Z=>{F.value=Z},S=(Z,D)=>{for(const q of Z){if(q.name===D)return q;if(q.children&&q.children.length>0){const H=S(q.children,D);if(H)return H}}return null},T=Z=>{const D=S(G.value.items,Z);!D||D.component!=="Select"||(D.props&&D.props.mode==="static"&&(Array.isArray(D.props.options)&&D.props.options.findIndex(H=>{var X;return H[((X=D.props)==null?void 0:X.valueKey)||"value"]===f.value[Z]})!==-1||(f.value[Z]=D.props.options[0][D.props.valueKey||"value"])),D.props&&(D.props.refreshFlag=!0))},z=Z=>{var H;const D=Z.target;if(Array.from(((H=D.parentElement)==null?void 0:H.classList)||[]).includes("is-focus")&&G.value.onEnter&&o.value)try{d[o.value][G.value.onEnter](I)}catch(X){console.error(X)}},AA=Z=>{var D;(D=y.value)==null||D.clearValidate(Z)},eA=Z=>{G.value.hidden=Z},J=A.useTemplateRef("rootRef"),$=A.reactive({...A.toRefs(i),formValues:f,formRealValues:x,selectData:k,initialValues:m,context:v,vCodePass:F,updateFormValues:C,updateFormRealValues:a,updateSelectData:r,updateInitialValues:E,getInitialValues:Q,updateVCodePass:M,validate:p,validateField:u,validateByParentName:s,resetFields:h,submit:l,setDisabled:g,findItemByName:S,setFieldEditSts:U,setFieldVisibleSts:P,setFieldValue:N,getFieldValue:K,refreshDynamicListBox:T,setHidden:eA,clearValidate:AA,rootRef:J,type:"form"});return A.provide(Su,$),e($),(Z,D)=>{const q=A.resolveComponent("el-form");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:J,id:G.value.key,style:A.normalizeStyle(G.value.style)},[G.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(q,A.mergeProps({key:0,model:f.value,"label-position":G.value.labelPosition,size:G.value.size,"hide-required-asterisk":G.value.hideRequiredAsterisk,"scroll-to-error":G.value.scrollToError,"scroll-into-view-options":{behavior:"smooth",block:"center"},"require-asterisk-position":"right",ref_key:"formRef",ref:y},Z.$attrs,{onSubmit:D[0]||(D[0]=A.withModifiers(()=>{},["prevent"])),onKeyup:A.withKeys(z,["enter"])}),{default:A.withCtx(()=>[A.renderSlot(Z.$slots,"default"),A.createVNode(A.unref(rt),{list:G.value.items},null,8,["list"]),A.createVNode(d2)]),_:3},16,["model","label-position","size","hide-required-asterisk","scroll-to-error"]))],12,p2)}}}),C2=({elements:n,lang:e,omits:t})=>{const i=o=>Object.values(n).filter(b=>b.type===o&&!t.includes(b.component)).sort((b,y)=>b.order-y.order).map(b=>({...b,title:e==="zh"?b.title:b.component})),d=Fu[e];return[{title:d.menus.basicTitle,children:i("basic")},{title:d.menus.highTitle,children:i("high")},{title:d.menus.layoutTitle,children:i("layout")},{title:d.menus.assistTitle,children:i("assist")}]},B2=A.defineComponent({__name:"index",setup(n){var x;const e=A.ref(!1),t=Nn(),i=zo(),d=Vn(),I=nc(),o=(x=t.templates)!=null&&x.length?t.templates:PE,b=A.computed(()=>C2({elements:i,omits:t.omitMenus||[],lang:I.value})),y=N=>{t.updateSchema(N)},f=N=>{const K={component:N.component,designKey:`design-${Ni(4)}`,name:`form-${Ni(4)}`};return N.type==="layout"&&(K.children=[]),K};return(N,K)=>{const U=A.resolveComponent("el-button"),P=A.resolveComponent("el-space"),G=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-left")),style:A.normalizeStyle({overflow:e.value?"hidden":"auto"})},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("template"))},[A.createVNode(U,{class:A.normalizeClass(A.unref(je)("template-button")),size:"small",onClick:K[0]||(K[0]=k=>e.value=!0)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(d).menus.useTemplateBtn),1)]),_:1},8,["class"]),A.createVNode(G,{modelValue:e.value,"onUpdate:modelValue":K[1]||(K[1]=k=>e.value=k),title:"模板列表",size:"70%",class:A.normalizeClass(A.unref(je)("template-drawer")),"append-to-body":!1},{default:A.withCtx(()=>[A.createVNode(P,{wrap:"",direction:"vertical",alignment:"start"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(o),({name:k,schema:m})=>(A.openBlock(),A.createBlock(U,{key:k,onClick:F=>y(m)},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(k),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","class"])],2),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({title:k,children:m})=>(A.openBlock(),A.createElementBlock("div",{key:k,class:A.normalizeClass(A.unref(je)("menu"))},[A.createElementVNode("h4",{class:A.normalizeClass(A.unref(je)("menu-title"))},A.toDisplayString(k),3),A.createVNode(A.unref(vp),{class:A.normalizeClass(A.unref(je)("menu-list")),list:m,group:{name:"formDesign",pull:"clone",put:!1},sort:!1,"ghost-class":A.unref(je)("menu-list-ghost"),"drag-class":A.unref(je)("menu-list-drag"),"fallback-class":A.unref(je)("menu-list-fallback"),"item-key":"designKey",clone:f},{item:A.withCtx(({element:F})=>[A.createElementVNode("li",{class:A.normalizeClass(A.unref(je)("menu-list-item"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-ico"))},[(A.openBlock(),A.createBlock(A.resolveDynamicComponent(F.icon),{class:"ico-content"}))],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("menu-list-item-name")),style:A.normalizeStyle({fontSize:A.unref(I)==="zh"?"12px":"10px"})},A.toDisplayString(F.title),7)],2)]),_:2},1032,["class","list","ghost-class","drag-class","fallback-class"])],2))),128))],6)}}}),m2=n=>`<template>
111
111
  <FormRender v-model="formValues" :schema="schema" ref="formRef" />
112
112
  <el-button @click="handleSubmit">提交</el-button>
113
113
  </template>
@@ -191,7 +191,7 @@ const handleSubmit = async () => {
191
191
  ]
192
192
  }`,I2=n=>`import type { FormSchema } from "asiaint-lowcode";
193
193
 
194
- export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,f2=n=>`export default ${JSON.stringify(n,null,2)}`,w2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const e=Nn(),t=Vn(),d=(f=zo().JsonEdit)==null?void 0:f.render,I=A.computed({get(){return e.schema},set(x){x.items&&e.updateSchema(x)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),y=x=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),x.repair()};return(x,N)=>{const K=A.resolveComponent("el-tab-pane"),U=A.resolveComponent("el-tabs"),P=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(P,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=G=>b.value=G),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=G=>o.value={})},{default:A.withCtx(()=>[A.createVNode(U,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(K,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=G=>I.value=G),style:{height:"70vh"},onBlur:y},null,8,["modelValue"])]),_:1}),A.createVNode(K,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(I2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(K,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(f2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(K,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(Q2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),b2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=Vn(),i=A.useModel(n,"modelValue");return(d,I)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),y=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(y,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=f=>i.value=f),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(m2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(E2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),y2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),{JsonEdit:t}=zo(),i=A.ref("edit"),d=A.ref(),I=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var f;return(f=d.value)==null?void 0:f.context}),y=Vn();return(f,x)=>{const N=A.resolveComponent("el-tab-pane"),K=A.resolveComponent("el-tabs"),U=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(U,{modelValue:o.value,"onUpdate:modelValue":x[4]||(x[4]=P=>o.value=P),title:A.unref(y).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:x[5]||(x[5]=P=>I.value={})},{default:A.withCtx(()=>[A.createVNode(K,{modelValue:i.value,"onUpdate:modelValue":x[3]||(x[3]=P=>i.value=P)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:I.value,"onUpdate:modelValue":x[0]||(x[0]=P=>I.value=P),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:I.value,"onUpdate:modelValue":x[1]||(x[1]=P=>I.value=P),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[x[6]||(x[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":x[2]||(x[2]=P=>b.value=P),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-a9d66bb1"]]),D2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),I=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(I,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),v2=A.defineComponent({__name:"index",setup(n){const e=Nn(),t=Vn(),i=A.ref(!1),d=A.ref(!1),I=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await xt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(y,f)=>{const x=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(x,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(D2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:K,icon:U,onClick:P})=>(A.openBlock(),A.createBlock(x,{key:N,type:K,size:"small",onClick:P},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[U?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:U},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(b2,{modelValue:d.value,"onUpdate:modelValue":f[1]||(f[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(y2,{modelValue:I.value,"onUpdate:modelValue":f[2]||(f[2]=N=>I.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),k2=A.defineComponent({__name:"index",setup(n){const e=Nn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(v2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),_2=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),M2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return(i,d)=>{const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(_2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),x2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},S2={class:"config-linkages"},N2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",S2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(x2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),F2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=A.resolveComponent("el-divider"),y=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:f,onClick:x})=>(A.openBlock(),A.createBlock(y,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(N2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=f=>t.value=f)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=f=>i.value=f)},null,8,["modelValue"])],2)}}}),R2={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},L2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},G2={class:"more"},P2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const I=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(I,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=y=>e.value=y),schema:A.unref(R2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",G2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=y=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=y=>t.value=y),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=y=>e.value=y),schema:A.unref(L2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),H2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=zo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(f=[])=>f.map(x=>{const N=Ea(i.value,x.name),K=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...x,label:t.value==="zh"?x.label:x.name.split(".").pop(),component:K?"Input":x.component,dialog:K||x.dialog,children:x.children&&b(x.children)}}),y=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...y]}}return{size:"small",labelPosition:"top",items:[]}}),I=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=y=>i.value=y),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(P2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=y=>I.value=y)},null,8,["modelValue"])),A.createVNode(F2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=y=>i.value=y)},null,8,["modelValue"])],2))}}),K2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},T2=A.defineComponent({__name:"FormEdit",setup(n){const e=Nn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=I=>t.value=I),schema:A.unref(K2)},null,8,["modelValue","schema"]))}}),U2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=Nn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(I,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode(H2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(I,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(T2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),I=A.useModel(n,"modelValue"),o=A.computed({get(){return I.value.items},set(f){I.value.items=f}}),b=A.computed({get(){return tc(o.value,d.value)},set(f){d.value=f.designKey,o.value=Ru(o.value,f)}}),y=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(f){y.current=f},updateHoverKey(f){y.hoverKey=f},updateSchema:f=>{Object.assign(I.value,f)},updateList:f=>{o.value=f},handleEmit:(f,x)=>{i(f,x)}});return A.provide(Nu,y),(f,x)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},f.$attrs),[A.createVNode(B2),A.createVNode(k2),A.createVNode(U2)],16))}}),Y2={class:"card-header"},O2={class:"card-btns"},$2={key:0,class:"switch-panel"},z2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,I)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",Y2,[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=y=>t.value=!t.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",O2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",$2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:I[1]||(I[1]=y=>d.switchTableType("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:I[2]||(I[2]=y=>d.switchTableType("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(ii),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-d8e65e0c"]]),J2={class:"empty-content"},Z2=["title"],W2=["title","onClick"],j2={key:1,class:"icon-text-wrapper"},q2=["title"],X2=["title"],V2={class:"row-btn-wrapper"},bC=oe(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,I)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),y=A.resolveComponent("el-popover"),f=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"customTotal,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=K=>t.value.pageNum=K),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=K=>t.value.pageSize=K),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{customTotal:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",J2,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),I[4]||(I[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var K;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,U=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:U.key},[U.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:U.key,"min-width":U.minWidth,fixed:U.fixed||!1,sortable:U.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:U.label},A.toDisplayString(U.label),9,Z2)]),default:A.withCtx(({row:P,$index:G})=>[A.createVNode(y,{disabled:U.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var k,m,F,_;return[U.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":U.onClick}]),title:d.getColText(U,P),onClick:v=>d.handleClick(U,P,G,v)},A.toDisplayString(d.getColText(U,P)),11,W2)):U.type==="iconText"?(A.openBlock(),A.createElementBlock("div",j2,[U.iconPosition==="left"?(A.openBlock(),A.createBlock(ve,{key:0,name:(k=d.getIconInfo(U,P))==null?void 0:k.name,color:(m=d.getIconInfo(U,P))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(U,P)},A.toDisplayString(d.getColText(U,P)),9,q2),U.iconPosition==="right"?(A.openBlock(),A.createBlock(ve,{key:1,name:(F=d.getIconInfo(U,P))==null?void 0:F.name,color:(_=d.getIconInfo(U,P))==null?void 0:_.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!U.noEllipsis}),title:d.getColText(U,P)},A.toDisplayString(d.getColText(U,P)),11,X2))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(U,P)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((K=d.schema.rowBtns)!=null&&K.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:U,$index:P})=>[A.createElementVNode("div",V2,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,G=>{var k;return A.openBlock(),A.createElementBlock(A.Fragment,{key:G.key},[G.component==="Popover"?(A.openBlock(),A.createBlock(y,A.mergeProps({key:0,trigger:((k=G.popoverProps)==null?void 0:k.trigger)||"hover",ref_for:!0},G.popoverProps),{reference:A.withCtx(()=>[G.condition===void 0||G.condition===null||A.unref(kt)(G.condition,{$row:U,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:G.disabled,link:!G.isPlainBtn,size:"small",type:G.type,onClick:m=>d.handleClick(G,U,P,m)},{default:A.withCtx(()=>[A.createVNode(f,{class:"box-item",effect:"dark",content:G.label,placement:"top"},{default:A.withCtx(()=>[G.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:G.icon.name,color:G.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),G.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:G.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(G.buttonText.text,{$row:U,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:G.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[G.condition===void 0||G.condition===null||A.unref(kt)(G.condition,{$row:U,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:G.disabled,link:!G.isPlainBtn,size:"small",type:G.type,onClick:m=>d.handleClick(G,U,P,m)},{default:A.withCtx(()=>[A.createVNode(f,{class:"box-item",effect:"dark",content:G.label,placement:"top"},{default:A.withCtx(()=>[G.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:G.icon.name,color:G.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),G.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:G.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(G.buttonText.text,{$row:U,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[2]||(I[2]=K=>t.value.pageNum=K),"page-size":t.value.pageSize,"onUpdate:pageSize":I[3]||(I[3]=K=>t.value.pageSize=K),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-ff1a94bd"]]),A8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),y=A.inject(Xn),f=y?y.translateFn:null;d.value&&A.provide("ruleModule",I[d.value]);const x=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),K=(Y,j)=>{const tA=i.value.columns.find(aA=>aA.key===Y);tA&&(tA.hidden=!j)},U=(Y,j,tA,aA)=>{if(d.value)try{I[d.value][Y.onClick](o,j,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},P=Y=>{if(!(!i.value.rowClick||!d.value))try{I[d.value][i.value.rowClick](o,Y)}catch(j){console.error(j)}},G=Y=>{if(!(!i.value.rowDbClick||!d.value))try{I[d.value][i.value.rowDbClick](o,Y)}catch(j){console.error(j)}},k=A.ref([]),m=Y=>{k.value=Y},F=(Y,j)=>{if(!i.value.selectable||!d.value)return!0;try{return I[d.value][i.value.selectable](o,Y,j)}catch(tA){console.error(tA)}return!0},_=(Y,j,tA)=>{N.value[Y]&&(N.value[Y][j]=tA)},v=()=>{var Y,j;(j=(Y=x.value)==null?void 0:Y.tableRef)==null||j.clearSelection()},B=(Y,j)=>{var aA,CA,xA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===Y);tA&&(j===void 0?(CA=(aA=x.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(xA=x.value)==null?void 0:xA.tableRef)==null||zA.toggleRowSelection(tA,j))},p=()=>N.value,u=A.ref(),s=Y=>{if(u.value=Y,!(!i.value.handleCurrentChange||!d.value))try{I[d.value][i.value.handleCurrentChange](o,Y)}catch(j){console.error(j)}},g=()=>u.value,l=()=>{var Y,j;return(j=(Y=x.value)==null?void 0:Y.tableRef)==null?void 0:j.getSelectionRows()},h=(Y={})=>{N.value.push(Y)},C=Y=>{Y>=0&&Y<N.value.length&&N.value.splice(Y,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=Y=>{N.value=Y||[]},Q=(Y,j)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===Y);tA&&(tA.hidden=j)},M=(Y,j)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===Y);tA&&(tA.condition=!j)},S=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(Y=>{var j;return(j=i.value.rowBtns)==null?void 0:j.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:Y,$globalParams:b()}))})),T=A.ref(0),z=Y=>{T.value=Y},AA=()=>T.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),$=()=>eA.value,Z=Y=>{let j=!1;return Y.pageNum!==void 0&&Y.pageNum>-1&&(eA.value.pageNum!==Y.pageNum&&(j=!0),eA.value.pageNum=Y.pageNum),Y.pageSize!==void 0&&Y.pageSize>-1&&(eA.value.pageSize!==Y.pageSize&&(j=!0),eA.value.pageSize=Y.pageSize),{pagination:eA.value,isChange:j}},D=async Y=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=Y,!i.value.sizeChange||!d.value)return;const j=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:j||`#${i.value.key}`,text:"Loading..."});try{await I[d.value][i.value.sizeChange](o,eA.value),J.value.pageNum=eA.value.pageNum,J.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=J.value.pageNum,eA.value.pageSize=J.value.pageSize}finally{tA.close()}},q=async Y=>{var aA;if(eA.value.pageNum=Y,!i.value.pageChange||!d.value)return;const j=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:j||`#${i.value.key}`,text:"Loading..."});try{await I[d.value][i.value.pageChange](o,eA.value),J.value.pageNum=eA.value.pageNum,J.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=J.value.pageNum,eA.value.pageSize=J.value.pageSize}finally{tA.close()}},H=Y=>{var j,tA;(tA=(j=x.value)==null?void 0:j.tableRef)==null||tA.setCurrentRow(Y)},X=Y=>{var j,tA;(tA=(j=x.value)==null?void 0:j.tableRef)==null||tA.setCurrentRow(N.value[Y])},rA=(Y,j,tA)=>{i.value.columns.forEach(aA=>{aA.key===Y&&aA[j]&&(aA[j]=tA)})},iA=Y=>{i.value.displayType=Y},dA=Y=>{i.value.shadowless=Y},mA=(Y,j)=>{const tA=f?f(Y,j):j[Y.key];if(!kt(Y.encrypted,{$row:j,$col:Y})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(Y,j)=>{if(!(!Y.getIconInfo||!d.value))try{return I[d.value][Y.getIconInfo](o,j,Y)}catch(tA){console.error(tA)}},wA=(Y,j)=>{if(!(!Y.getColPopoverContent||!d.value))try{return I[d.value][Y.getColPopoverContent](o,j,Y)}catch(tA){console.error(tA)}},V=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const sA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const Y=i.value.onMounted;try{I[d.value][Y](o)}catch(j){console.error(j)}};A.onMounted(async()=>{await sA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const Y=i.value.onActivated;try{I[d.value][Y](o)}catch(j){console.error(j)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:_,clearSelection:v,getData:p,getCurrentRow:g,getSelectedRows:l,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:H,selectRowNum:X,setTotal:z,getTotal:AA,getPagination:$,setPagination:Z,setTopBtnHidden:Q,setColVisible:K,setColumn:rA,setRowsBtnHidden:M,setShadowless:dA,rootRef:V,mounted:sA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(Y,j)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:V,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(bC,{key:1,ref_key:"tableContentRef",ref:x,tableData:N.value,total:T.value,hasVisibleRowBtn:S.value,handleSizeChange:D,handlePageChange:q,handleRowClick:P,handleRowDblclick:G,handleSelectionChange:m,handleCurrentChange:s,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:U,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":j[1]||(j[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(z2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(bC,{ref_key:"tableContentRef",ref:x,tableData:N.value,total:T.value,hasVisibleRowBtn:S.value,handleSizeChange:D,handlePageChange:q,handleRowClick:P,handleRowDblclick:G,handleSelectionChange:m,handleCurrentChange:s,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:U,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":j[0]||(j[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,A8))}}),e8=["id"],t8={class:"right-icon-wrapper"},n8={class:"dynamic-icon-wrapper"},i8={class:"static-icon-wrapper"},o8={class:"tab-label"},r8={class:"tab-label-text"},a8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),I=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},y=n,f=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===K.value||u.url===K.value))==null?void 0:p.mixMode}),x=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},K=A.ref(i.value.content[0].key||i.value.content[0].url),U=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},P=A.useTemplateRef("rootRef"),G=p=>o.value[p],k=(p,u)=>{u&&I("addPageParams",u),A.nextTick(()=>{K.value=p,v(p)})},m=(p,u)=>{const s=i.value.content.find(g=>g.url===p);s&&(s.mixMode=u)},F=A.inject("pageMethodMap",{}),_=A.computed(()=>i.value.rulePath&&y.ruleMap[i.value.rulePath]?i.value.rulePath:y.pageRulePath);_.value&&A.provide("ruleModule",y.ruleMap[_.value]);const v=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&y.ruleMap[_.value][u](F,p)}catch{}},B=(p,u)=>{const s=i.value.content.find(g=>g.key===p);s&&(s.hidden=u)};return e(A.readonly({setTabContent:x,addTabContent:N,schema:i,rootRef:P,findRef:G,changeActiveTab:k,setTabHidden:B,activeTab:K,type:"tabs"})),(p,u)=>{var h,C,a;const s=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),l=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:P,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(l,A.mergeProps({key:0},i.value.tabProps,{modelValue:K.value,"onUpdate:modelValue":u[1]||(u[1]=r=>K.value=r),class:["crm-tabs",{mixmode:f.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||y.styleType==="btn","form-item-tabs":!y.styleType||y.styleType==="normal","modal-type":y.styleType==="modal"}],style:{"--top":(h=i.value)!=null&&h.stickyTop?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:v}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",t8,[A.createElementVNode("div",n8,[A.createVNode(A.unref(ii),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",i8,[A.createVNode(A.unref(ii),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",o8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",r8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>I("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>U(E),onChangeTab:k,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(s,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,e8)}}}),[["__scopeId","data-v-87043899"]]),s8=["id"],l8={class:"info-card-header"},c8={class:"left-part"},g8={class:"title-part"},d8={class:"sub-title-container"},u8={class:"right-part"},h8={class:"info info-card-infos"},p8={key:0,class:"info-label"},C8={class:"ml-2"},B8={key:0,class:"info-card-detail"},m8={class:"info-card-detail-left"},E8={class:"label"},Q8={key:0,class:"divider"},I8={key:0,class:"info-card-detail-right"},f8={key:0},w8={key:1,class:"detail-right-label"},b8={key:2,class:"detail-right-value"},y8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,I=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",I.value);const o=A.inject("pageMethodMap",{}),b=N=>{const K=document.createElement("textarea");K.value=N??"",K.style.position="absolute",K.style.opacity="0",document.body.appendChild(K),K.select(),document.execCommand("copy"),K.remove()},y=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}xt.ElMessage.success("Copy Successful")},f=N=>{var K;if(I.value[N||"clickTitleIcon"])try{I.value[N||"clickTitleIcon"](o,(K=t.value.header)==null?void 0:K.titleIcon)}catch(U){console.error(U+`
194
+ export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,f2=n=>`export default ${JSON.stringify(n,null,2)}`,w2=A.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const e=Nn(),t=Vn(),d=(f=zo().JsonEdit)==null?void 0:f.render,I=A.computed({get(){return e.schema},set(x){x.items&&e.updateSchema(x)}}),o=A.ref({}),b=A.useModel(n,"modelValue"),y=x=>{e.updateSchema({...e.schema,items:Pu(e.schema.items)}),x.repair()};return(x,N)=>{const K=A.resolveComponent("el-tab-pane"),U=A.resolveComponent("el-tabs"),P=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(P,{modelValue:b.value,"onUpdate:modelValue":N[1]||(N[1]=G=>b.value=G),title:A.unref(t).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:N[2]||(N[2]=G=>o.value={})},{default:A.withCtx(()=>[A.createVNode(U,{"model-value":"edit",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(K,{label:"在线编辑",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(d),{modelValue:I.value,"onUpdate:modelValue":N[0]||(N[0]=G=>I.value=G),style:{height:"70vh"},onBlur:y},null,8,["modelValue"])]),_:1}),A.createVNode(K,{label:"生成ts文件",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"ts",code:A.unref(I2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(K,{label:"生成js文件",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"js",code:A.unref(f2)(I.value)},null,8,["code"])]),_:1}),A.createVNode(K,{label:"帮助",name:"help"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},language:"json",code:A.unref(Q2)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),b2=A.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=Vn(),i=A.useModel(n,"modelValue");return(d,I)=>{const o=A.resolveComponent("el-tab-pane"),b=A.resolveComponent("el-tabs"),y=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(y,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=f=>i.value=f),title:A.unref(t).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:A.withCtx(()=>[A.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:A.withCtx(()=>[A.createVNode(o,{label:"Typescript",name:"ts"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(m2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1}),A.createVNode(o,{label:"Javascript",name:"js"},{default:A.withCtx(()=>[A.createVNode(A.unref(kr),{style:{height:"70vh"},code:A.unref(E2)(A.unref(e).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),y2=oe(A.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),{JsonEdit:t}=zo(),i=A.ref("edit"),d=A.ref(),I=A.ref({}),o=A.useModel(n,"modelValue"),b=A.computed(()=>{var f;return(f=d.value)==null?void 0:f.context}),y=Vn();return(f,x)=>{const N=A.resolveComponent("el-tab-pane"),K=A.resolveComponent("el-tabs"),U=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(U,{modelValue:o.value,"onUpdate:modelValue":x[4]||(x[4]=P=>o.value=P),title:A.unref(y).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:x[5]||(x[5]=P=>I.value={})},{default:A.withCtx(()=>[A.createVNode(K,{modelValue:i.value,"onUpdate:modelValue":x[3]||(x[3]=P=>i.value=P)},{default:A.withCtx(()=>[A.createVNode(N,{label:"编辑模式",name:"edit"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:I.value,"onUpdate:modelValue":x[0]||(x[0]=P=>I.value=P),schema:A.unref(e).schema,ref_key:"formRef",ref:d,schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"阅读模式",name:"read",lazy:""},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:I.value,"onUpdate:modelValue":x[1]||(x[1]=P=>I.value=P),schema:{...A.unref(e).schema},schemaContext:A.unref(e).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),A.createVNode(N,{label:"联动变量",name:"context"},{default:A.withCtx(()=>[x[6]||(x[6]=A.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(A.openBlock(),A.createBlock(A.unref(t).render,{modelValue:b.value,"onUpdate:modelValue":x[2]||(x[2]=P=>b.value=P),style:{height:"60vh"},key:i.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-4e20ef5c"]]),D2=A.defineComponent({__name:"ChangeLang",setup(n){const e=A.inject("asiaint-lang");return(t,i)=>{const d=A.resolveComponent("el-option"),I=A.resolveComponent("el-select");return A.openBlock(),A.createBlock(I,{modelValue:A.unref(e),"onUpdate:modelValue":i[0]||(i[0]=o=>A.isRef(e)?e.value=o:null),size:"small"},{default:A.withCtx(()=>[A.createVNode(d,{label:"中文",value:"zh"}),A.createVNode(d,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),v2=A.defineComponent({__name:"index",setup(n){const e=Nn(),t=Vn(),i=A.ref(!1),d=A.ref(!1),I=A.ref(!1),o=A.computed(()=>[{label:t.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{i.value=!0}},{label:t.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{d.value=!0}},{label:t.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{I.value=!0}}]),b=A.computed(()=>[{label:t.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await xt.ElMessageBox.confirm("确认清空当前设计吗?"),e.updateSchema({...e.schema,items:[]})}},{label:t.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{e.handleEmit("save"),e.handleEmit("onSave")}}]);return(y,f)=>{const x=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("actions"))},[A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-left"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(o.value,N=>(A.openBlock(),A.createBlock(x,{key:N.label,type:N.btnType,size:"small",onClick:N.onClick},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.label),1)]),_:2},[N.icon?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:N.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),A.createVNode(D2,{class:A.normalizeClass(A.unref(je)("actions-left-lang"))},null,8,["class"])],2),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("actions-right"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,({label:N,btnType:K,icon:U,onClick:P})=>(A.openBlock(),A.createBlock(x,{key:N,type:K,size:"small",onClick:P},A.createSlots({default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(N),1)]),_:2},[U?{name:"icon",fn:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:U},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),A.createVNode(w2,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=N=>i.value=N)},null,8,["modelValue"]),A.createVNode(b2,{modelValue:d.value,"onUpdate:modelValue":f[1]||(f[1]=N=>d.value=N)},null,8,["modelValue"]),A.createVNode(y2,{modelValue:I.value,"onUpdate:modelValue":f[2]||(f[2]=N=>I.value=N),"schema-context":A.unref(e).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),k2=A.defineComponent({__name:"index",setup(n){const e=Nn();return(t,i)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-center"))},[A.createVNode(v2),A.createVNode(A.unref(wn),{class:A.normalizeClass(A.unref(je)("canvas")),schema:A.unref(e).schema,"onUpdate:schema":i[0]||(i[0]=d=>A.unref(e).schema=d),design:""},null,8,["class","schema"])],2))}}),_2=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),M2=A.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return(i,d)=>{const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=o=>t.value=o),top:"3vh",title:"值联动"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=o=>A.unref(e).current=o),schema:A.unref(_2)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),x2={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},S2={class:"config-linkages"},N2=oe(A.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=Nn(),t=A.useModel(n,"modelValue");return A.ref({}),(i,d)=>{var o;const I=A.resolveComponent("el-dialog");return A.openBlock(),A.createBlock(I,{"destroy-on-close":"",modelValue:t.value,"onUpdate:modelValue":d[1]||(d[1]=b=>t.value=b),top:"3vh",title:`${(o=A.unref(e).current)==null?void 0:o.label} - 配置级联动`,width:"70vw",center:""},{default:A.withCtx(()=>[A.createElementVNode("div",S2,[A.createVNode(A.unref(wn),{modelValue:A.unref(e).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(e).current=b),schema:A.unref(x2),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1f9620a4"]]),F2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=A.ref(!1),i=A.ref(!1),d=A.computed(()=>[{title:e.value.attr.tab1.linkage.action1,onClick:()=>{t.value=!0}},{title:e.value.attr.tab1.linkage.action2,onClick:()=>{i.value=!0}}]);return(I,o)=>{const b=A.resolveComponent("el-divider"),y=A.resolveComponent("el-button");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("linkageConfig"))},[A.createVNode(b,null,{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(e).attr.tab1.linkage.text),1)]),_:1}),A.createElementVNode("div",{class:A.normalizeClass(A.unref(je)("linkageConfig-btns"))},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.value,({title:f,onClick:x})=>(A.openBlock(),A.createBlock(y,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),A.createVNode(N2,{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=f=>t.value=f)},null,8,["modelValue"]),A.createVNode(M2,{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=f=>i.value=f)},null,8,["modelValue"])],2)}}}),R2={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},L2={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},G2={class:"more"},P2=A.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(!1);return(i,d)=>{const I=A.resolveComponent("el-divider"),o=A.resolveComponent("el-button"),b=A.resolveComponent("el-drawer");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("style-config"))},[A.createVNode(I,null,{default:A.withCtx(()=>d[4]||(d[4]=[A.createTextVNode("组件样式")])),_:1}),A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[0]||(d[0]=y=>e.value=y),schema:A.unref(R2),ref:"formRef"},null,8,["modelValue","schema"]),A.createElementVNode("div",G2,[A.createVNode(o,{type:"primary",plain:"",size:"small",onClick:d[1]||(d[1]=y=>t.value=!0)},{default:A.withCtx(()=>d[5]||(d[5]=[A.createTextVNode("自定义更多样式")])),_:1})]),A.createVNode(b,{modelValue:t.value,"onUpdate:modelValue":d[3]||(d[3]=y=>t.value=y),title:"组件样式"},{default:A.withCtx(()=>[A.createVNode(A.unref(wn),{modelValue:e.value,"onUpdate:modelValue":d[2]||(d[2]=y=>e.value=y),schema:A.unref(L2),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),H2=A.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=zo(),t=nc(),i=A.useModel(n,"modelValue"),d=A.computed(()=>{const o=e[i.value.component];if(o!=null&&o.attrSchema){const b=(f=[])=>f.map(x=>{const N=Ea(i.value,x.name),K=ut.isString(N)&&/^{{\s*(.*?)\s*}}$/.test(N);return{...x,label:t.value==="zh"?x.label:x.name.split(".").pop(),component:K?"Input":x.component,dialog:K||x.dialog,children:x.children&&b(x.children)}}),y=b(o.attrSchema.items);return{...o.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:o.title,style:{marginBottom:"10px"}}},...y]}}return{size:"small",labelPosition:"top",items:[]}}),I=A.computed({get(){var o;return((o=i.value)==null?void 0:o.props)||{}},set(o){i.value=ko(i.value,"props",o)}});return(o,b)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("attr"))},[(A.openBlock(),A.createBlock(A.unref(wn),{key:i.value.designKey,modelValue:i.value,"onUpdate:modelValue":b[0]||(b[0]=y=>i.value=y),schema:d.value},null,8,["modelValue","schema"])),(A.openBlock(),A.createBlock(P2,{key:i.value.designKey,modelValue:I.value,"onUpdate:modelValue":b[1]||(b[1]=y=>I.value=y)},null,8,["modelValue"])),A.createVNode(F2,{modelValue:i.value,"onUpdate:modelValue":b[2]||(b[2]=y=>i.value=y)},null,8,["modelValue"])],2))}}),K2={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},T2=A.defineComponent({__name:"FormEdit",setup(n){const e=Nn(),t=A.computed({get(){return e.schema},set(i){e.updateSchema(i)}});return(i,d)=>(A.openBlock(),A.createBlock(A.unref(wn),{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=I=>t.value=I),schema:A.unref(K2)},null,8,["modelValue","schema"]))}}),U2=A.defineComponent({__name:"index",setup(n){const e=Vn(),t=Nn();return A.watch(()=>t.current,i=>{i||(t.rightTab="form")}),(i,d)=>{const I=A.resolveComponent("el-tab-pane"),o=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(A.unref(je)("form-design-right"))},[A.createVNode(o,{modelValue:A.unref(t).rightTab,"onUpdate:modelValue":d[1]||(d[1]=b=>A.unref(t).rightTab=b)},{default:A.withCtx(()=>[A.unref(t).current?(A.openBlock(),A.createBlock(I,{key:0,label:A.unref(e).attr.tab1.title,name:"attr"},{default:A.withCtx(()=>[A.createVNode(H2,{modelValue:A.unref(t).current,"onUpdate:modelValue":d[0]||(d[0]=b=>A.unref(t).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):A.createCommentVNode("",!0),A.createVNode(I,{label:A.unref(e).attr.tab2.title,name:"form"},{default:A.withCtx(()=>[A.createVNode(T2)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),wC=A.defineComponent({__name:"index",props:A.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:A.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:A.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:e}){const t=n,i=e,d=A.ref(""),I=A.useModel(n,"modelValue"),o=A.computed({get(){return I.value.items},set(f){I.value.items=f}}),b=A.computed({get(){return tc(o.value,d.value)},set(f){d.value=f.designKey,o.value=Ru(o.value,f)}}),y=A.reactive({...A.toRefs(t),currentKey:d,hoverKey:"",schema:I,current:b,list:o,rightTab:"form",updateCurrent(f){y.current=f},updateHoverKey(f){y.hoverKey=f},updateSchema:f=>{Object.assign(I.value,f)},updateList:f=>{o.value=f},handleEmit:(f,x)=>{i(f,x)}});return A.provide(Nu,y),(f,x)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps({class:A.unref(je)("form-design")},f.$attrs),[A.createVNode(B2),A.createVNode(k2),A.createVNode(U2)],16))}}),Y2={class:"card-header"},O2={class:"card-btns"},$2={key:0,class:"switch-panel"},z2=oe(A.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const e=n,t=A.ref(!1),i=A.computed(()=>e.btns?e.btns.map(d=>({isLinkBtn:!0,...d})):[]);return(d,I)=>{const o=A.resolveComponent("el-collapse-transition"),b=A.resolveComponent("ElCard");return A.openBlock(),A.createBlock(b,A.mergeProps(d.$attrs,{class:["crm-card",{collapsed:t.value,shadowless:d.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",Y2,[d.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:I[0]||(I[0]=y=>t.value=!t.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":t.value}])},null,8,["class"])])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(d.header),1),A.createElementVNode("div",O2,[d.typeSwitch?(A.openBlock(),A.createElementBlock("div",$2,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="card"}]),onClick:I[1]||(I[1]=y=>d.switchTableType("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:d.tableType==="table"}]),onClick:I[2]||(I[2]=y=>d.switchTableType("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),A.createElementVNode("div",null,[A.createVNode(A.unref(ii),{btns:i.value||[]},null,8,["btns"])])])])]),default:A.withCtx(()=>[A.createVNode(o,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.renderSlot(d.$slots,"default",{},void 0,!0)],512),[[A.vShow,!t.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-ba931f35"]]),J2={class:"empty-content"},Z2=["title"],W2=["title","onClick"],j2={key:1,class:"icon-text-wrapper"},q2=["title"],X2=["title"],V2={class:"row-btn-wrapper"},bC=oe(A.defineComponent({__name:"TableContent",props:A.mergeModels({tableData:{},total:{},hasVisibleRowBtn:{type:Boolean},handleSizeChange:{type:Function},handlePageChange:{type:Function},handleRowClick:{type:Function},handleRowDblclick:{type:Function},handleSelectionChange:{type:Function},handleCurrentChange:{type:Function},getColText:{type:Function},getGlobalParams:{type:Function},handleClick:{type:Function},schema:{},selectable:{type:Function},getColPopoverContent:{type:Function},getIconInfo:{type:Function}},{pagination:{required:!0},paginationModifiers:{}}),emits:["update:pagination"],setup(n,{expose:e}){const t=A.useModel(n,"pagination"),i=A.useTemplateRef("tableRef");return e({tableRef:i}),(d,I)=>{const o=A.resolveComponent("el-pagination"),b=A.resolveComponent("el-table-column"),y=A.resolveComponent("el-popover"),f=A.resolveComponent("el-tooltip"),x=A.resolveComponent("el-button"),N=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["table-render",{[d.schema.key]:!0}])},[d.schema.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"customTotal,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[0]||(I[0]=K=>t.value.pageNum=K),"page-size":t.value.pageSize,"onUpdate:pageSize":I[1]||(I[1]=K=>t.value.pageSize=K),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},{customTotal:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(kt)(d.schema.totalText,{$total:d.total})),1)]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(N,{ref_key:"tableRef",ref:i,data:d.tableData,stripe:d.schema.stripe,"highlight-current-row":"","row-key":d.schema.rowKey,onRowClick:d.handleRowClick,onRowDblclick:d.handleRowDblclick,onSelectionChange:d.handleSelectionChange,onCurrentChange:d.handleCurrentChange,height:d.schema.height},{empty:A.withCtx(()=>[A.createElementVNode("div",J2,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),I[4]||(I[4]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>{var K;return[d.schema.multipleSelection?(A.openBlock(),A.createBlock(b,{key:0,type:"selection",width:"55",selectable:d.selectable},null,8,["selectable"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.columns,U=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:U.key},[U.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(b,{key:0,prop:U.key,"min-width":U.minWidth,fixed:U.fixed||!1,sortable:U.sortable??d.schema.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:U.label},A.toDisplayString(U.label),9,Z2)]),default:A.withCtx(({row:P,$index:G})=>[A.createVNode(y,{disabled:U.getColPopoverContent===void 0},{reference:A.withCtx(()=>{var k,m,F,_;return[U.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":U.onClick}]),title:d.getColText(U,P),onClick:v=>d.handleClick(U,P,G,v)},A.toDisplayString(d.getColText(U,P)),11,W2)):U.type==="iconText"?(A.openBlock(),A.createElementBlock("div",j2,[U.iconPosition==="left"?(A.openBlock(),A.createBlock(ve,{key:0,name:(k=d.getIconInfo(U,P))==null?void 0:k.name,color:(m=d.getIconInfo(U,P))==null?void 0:m.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",{class:"text-ellipsis",title:d.getColText(U,P)},A.toDisplayString(d.getColText(U,P)),9,q2),U.iconPosition==="right"?(A.openBlock(),A.createBlock(ve,{key:1,name:(F=d.getIconInfo(U,P))==null?void 0:F.name,color:(_=d.getIconInfo(U,P))==null?void 0:_.color},null,8,["name","color"])):A.createCommentVNode("",!0)])):(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"text-ellipsis":!U.noEllipsis}),title:d.getColText(U,P)},A.toDisplayString(d.getColText(U,P)),11,X2))]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:d.getColPopoverContent(U,P)||[]},null,8,["list"])]),_:2},1032,["disabled"])]),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),d.hasVisibleRowBtn&&((K=d.schema.rowBtns)!=null&&K.length)?(A.openBlock(),A.createBlock(b,{key:1,label:d.schema.rowBtnsLabel||"Action",fixed:"right",align:"left",width:d.schema.rowBtnsWidth||(d.schema.rowBtns.length*34+12>100?d.schema.rowBtns.length*34+12:100)},{default:A.withCtx(({row:U,$index:P})=>[A.createElementVNode("div",V2,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.schema.rowBtns,G=>{var k;return A.openBlock(),A.createElementBlock(A.Fragment,{key:G.key},[G.component==="Popover"?(A.openBlock(),A.createBlock(y,A.mergeProps({key:0,trigger:((k=G.popoverProps)==null?void 0:k.trigger)||"hover",ref_for:!0},G.popoverProps),{reference:A.withCtx(()=>[G.condition===void 0||G.condition===null||A.unref(kt)(G.condition,{$row:U,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:G.disabled,link:!G.isPlainBtn,size:"small",type:G.type,onClick:m=>d.handleClick(G,U,P,m)},{default:A.withCtx(()=>[A.createVNode(f,{class:"box-item",effect:"dark",content:G.label,placement:"top"},{default:A.withCtx(()=>[G.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:G.icon.name,color:G.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),G.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:G.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(G.buttonText.text,{$row:U,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:G.children},null,8,["list"])])]),_:2},1040,["trigger"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[G.condition===void 0||G.condition===null||A.unref(kt)(G.condition,{$row:U,$globalParams:d.getGlobalParams()})?(A.openBlock(),A.createBlock(x,{key:0,disabled:G.disabled,link:!G.isPlainBtn,size:"small",type:G.type,onClick:m=>d.handleClick(G,U,P,m)},{default:A.withCtx(()=>[A.createVNode(f,{class:"box-item",effect:"dark",content:G.label,placement:"top"},{default:A.withCtx(()=>[G.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:G.icon.name,color:G.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),G.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:G.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(G.buttonText.text,{$row:U,$globalParams:d.getGlobalParams()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","link","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]}),_:1},8,["data","stripe","row-key","onRowClick","onRowDblclick","onSelectionChange","onCurrentChange","height"])],512),[[A.vShow,d.schema.displayType==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps(d.schema,{data:d.tableData,"get-col-text":d.getColText}),null,16,["data","get-col-text"]),[[A.vShow,d.schema.displayType==="card"]]),d.schema.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:d.schema.hiddenPagination||d.tableData.length===0,cardlistPadding:d.schema.displayType==="card"}])},[A.createVNode(o,{layout:d.schema.paginationLayout||"total,sizes, prev, pager, next,jumper",total:d.total,"page-sizes":d.schema.pageSizes||[5,6,10,20,30,40],"default-page-size":d.schema.defaultPageSize,"current-page":t.value.pageNum,"onUpdate:currentPage":I[2]||(I[2]=K=>t.value.pageNum=K),"page-size":t.value.pageSize,"onUpdate:pageSize":I[3]||(I[3]=K=>t.value.pageSize=K),"pager-count":d.schema.pagerCount,onSizeChange:d.handleSizeChange,onCurrentChange:d.handlePageChange},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count","onSizeChange","onCurrentChange"])],2)):A.createCommentVNode("",!0)],2)}}}),[["__scopeId","data-v-10358754"]]),A8=["id"],rg=A.defineComponent({__name:"index",props:A.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{},pageKey:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"schema"),d=A.computed(()=>i.value.rulePath&&I[i.value.rulePath]?i.value.rulePath:t.pageRulePath),I=A.inject("ruleMap",{}),o=A.inject("pageMethodMap",{}),b=A.inject("getGlobalParams",()=>{}),y=A.inject(Xn),f=y?y.translateFn:null;d.value&&A.provide("ruleModule",I[d.value]);const x=A.useTemplateRef("tableContentRef"),N=A.useModel(n,"modelValue"),K=(Y,j)=>{const tA=i.value.columns.find(aA=>aA.key===Y);tA&&(tA.hidden=!j)},U=(Y,j,tA,aA)=>{if(d.value)try{I[d.value][Y.onClick](o,j,tA),aA==null||aA.stopPropagation()}catch(CA){console.error(CA)}},P=Y=>{if(!(!i.value.rowClick||!d.value))try{I[d.value][i.value.rowClick](o,Y)}catch(j){console.error(j)}},G=Y=>{if(!(!i.value.rowDbClick||!d.value))try{I[d.value][i.value.rowDbClick](o,Y)}catch(j){console.error(j)}},k=A.ref([]),m=Y=>{k.value=Y},F=(Y,j)=>{if(!i.value.selectable||!d.value)return!0;try{return I[d.value][i.value.selectable](o,Y,j)}catch(tA){console.error(tA)}return!0},_=(Y,j,tA)=>{N.value[Y]&&(N.value[Y][j]=tA)},v=()=>{var Y,j;(j=(Y=x.value)==null?void 0:Y.tableRef)==null||j.clearSelection()},B=(Y,j)=>{var aA,CA,xA,zA;if(!i.value.rowKey)return console.error("rowKey is required");const tA=N.value.find(jA=>jA[i.value.rowKey]===Y);tA&&(j===void 0?(CA=(aA=x.value)==null?void 0:aA.tableRef)==null||CA.toggleRowSelection(tA):(zA=(xA=x.value)==null?void 0:xA.tableRef)==null||zA.toggleRowSelection(tA,j))},p=()=>N.value,u=A.ref(),s=Y=>{if(u.value=Y,!(!i.value.handleCurrentChange||!d.value))try{I[d.value][i.value.handleCurrentChange](o,Y)}catch(j){console.error(j)}},g=()=>u.value,l=()=>{var Y,j;return(j=(Y=x.value)==null?void 0:Y.tableRef)==null?void 0:j.getSelectionRows()},h=(Y={})=>{N.value.push(Y)},C=Y=>{Y>=0&&Y<N.value.length&&N.value.splice(Y,1)},a=async()=>{N.value=[...N.value]},r=async()=>!0,E=Y=>{N.value=Y||[]},Q=(Y,j)=>{var aA;const tA=(aA=i.value.topBtns)==null?void 0:aA.find(CA=>CA.key===Y);tA&&(tA.hidden=j)},M=(Y,j)=>{var aA;const tA=(aA=i.value.rowBtns)==null?void 0:aA.find(CA=>CA.key===Y);tA&&(tA.condition=!j)},S=A.computed(()=>!i.value.rowBtns||i.value.rowBtns.length===0||!N.value||N.value.length===0?!1:N.value.some(Y=>{var j;return(j=i.value.rowBtns)==null?void 0:j.some(tA=>tA.condition===void 0||tA.condition===null?!0:kt(tA.condition,{$row:Y,$globalParams:b()}))})),T=A.ref(0),z=Y=>{T.value=Y},AA=()=>T.value,eA=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),J=A.ref({pageNum:1,pageSize:i.value.defaultPageSize||5}),$=()=>eA.value,Z=Y=>{let j=!1;return Y.pageNum!==void 0&&Y.pageNum>-1&&(eA.value.pageNum!==Y.pageNum&&(j=!0),eA.value.pageNum=Y.pageNum),Y.pageSize!==void 0&&Y.pageSize>-1&&(eA.value.pageSize!==Y.pageSize&&(j=!0),eA.value.pageSize=Y.pageSize),{pagination:eA.value,isChange:j}},D=async Y=>{var aA;if(eA.value.pageNum=1,eA.value.pageSize=Y,!i.value.sizeChange||!d.value)return;const j=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:j||`#${i.value.key}`,text:"Loading..."});try{await I[d.value][i.value.sizeChange](o,eA.value),J.value.pageNum=eA.value.pageNum,J.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=J.value.pageNum,eA.value.pageSize=J.value.pageSize}finally{tA.close()}},q=async Y=>{var aA;if(eA.value.pageNum=Y,!i.value.pageChange||!d.value)return;const j=(aA=document.getElementById(t.pageKey))==null?void 0:aA.querySelector(`.${i.value.key}`),tA=xt.ElLoading.service({target:j||`#${i.value.key}`,text:"Loading..."});try{await I[d.value][i.value.pageChange](o,eA.value),J.value.pageNum=eA.value.pageNum,J.value.pageSize=eA.value.pageSize}catch(CA){console.error(CA),eA.value.pageNum=J.value.pageNum,eA.value.pageSize=J.value.pageSize}finally{tA.close()}},H=Y=>{var j,tA;(tA=(j=x.value)==null?void 0:j.tableRef)==null||tA.setCurrentRow(Y)},X=Y=>{var j,tA;(tA=(j=x.value)==null?void 0:j.tableRef)==null||tA.setCurrentRow(N.value[Y])},rA=(Y,j,tA)=>{i.value.columns.forEach(aA=>{aA.key===Y&&aA[j]&&(aA[j]=tA)})},iA=Y=>{i.value.displayType=Y},dA=Y=>{i.value.shadowless=Y},mA=(Y,j)=>{const tA=f?f(Y,j):j[Y.key];if(!kt(Y.encrypted,{$row:j,$col:Y})||!tA)return tA;const CA=`${tA}`;return CA.length<=4?"*".repeat(CA.length):CA.slice(0,-4)+"****"},gA=(Y,j)=>{if(!(!Y.getIconInfo||!d.value))try{return I[d.value][Y.getIconInfo](o,j,Y)}catch(tA){console.error(tA)}},wA=(Y,j)=>{if(!(!Y.getColPopoverContent||!d.value))try{return I[d.value][Y.getColPopoverContent](o,j,Y)}catch(tA){console.error(tA)}},V=A.useTemplateRef("rootRef");i.value.displayType||(i.value.displayType=i.value.typeSwitch?"card":"table");const sA=async()=>{if(!i.value||!i.value.onMounted||!d.value)return;await A.nextTick();const Y=i.value.onMounted;try{I[d.value][Y](o)}catch(j){console.error(j)}};A.onMounted(async()=>{await sA()});const cA=async()=>{if(!i.value||!i.value.onActivated||!d.value)return;const Y=i.value.onActivated;try{I[d.value][Y](o)}catch(j){console.error(j)}};A.onActivated(async()=>{await cA()});const hA=A.readonly({...A.toRefs(t),setCellData:_,clearSelection:v,getData:p,getCurrentRow:g,getSelectedRows:l,addRow:h,deleteRow:C,refresh:a,validate:r,setData:E,selectRow:H,selectRowNum:X,setTotal:z,getTotal:AA,getPagination:$,setPagination:Z,setTopBtnHidden:Q,setColVisible:K,setColumn:rA,setRowsBtnHidden:M,setShadowless:dA,rootRef:V,mounted:sA,activated:cA,toggleSelection:B,type:"table"});return e(hA),(Y,j)=>i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,ref_key:"rootRef",ref:V,id:i.value.key,style:A.normalizeStyle(i.value.style)},[i.value.cardless?(A.openBlock(),A.createBlock(bC,{key:1,ref_key:"tableContentRef",ref:x,tableData:N.value,total:T.value,hasVisibleRowBtn:S.value,handleSizeChange:D,handlePageChange:q,handleRowClick:P,handleRowDblclick:G,handleSelectionChange:m,handleCurrentChange:s,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:U,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":j[1]||(j[1]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])):(A.openBlock(),A.createBlock(z2,{key:0,header:i.value.title,btns:i.value.topBtns,collapsible:i.value.collapsible!==!1,switchTableType:iA,tableType:i.value.displayType,typeSwitch:i.value.typeSwitch,shadowless:i.value.shadowless},{default:A.withCtx(()=>[A.createVNode(bC,{ref_key:"tableContentRef",ref:x,tableData:N.value,total:T.value,hasVisibleRowBtn:S.value,handleSizeChange:D,handlePageChange:q,handleRowClick:P,handleRowDblclick:G,handleSelectionChange:m,handleCurrentChange:s,getColPopoverContent:wA,getColText:mA,getGlobalParams:A.unref(b),handleClick:U,selectable:F,schema:i.value,getIconInfo:gA,pagination:eA.value,"onUpdate:pagination":j[0]||(j[0]=tA=>eA.value=tA)},null,8,["tableData","total","hasVisibleRowBtn","getGlobalParams","schema","pagination"])]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],12,A8))}}),e8=["id"],t8={class:"right-icon-wrapper"},n8={class:"dynamic-icon-wrapper"},i8={class:"static-icon-wrapper"},o8={class:"tab-label"},r8={class:"tab-label-text"},a8=oe(A.defineComponent({__name:"index",props:A.mergeModels({ruleMap:{},pageParams:{},pageRulePath:{},styleType:{}},{schema:{required:!0},schemaModifiers:{}}),emits:A.mergeModels(["addPageParams","doneParent"],["update:schema"]),setup(n,{expose:e,emit:t}){const i=A.useModel(n,"schema"),d=A.ref({}),I=t,o=A.ref({}),b=p=>u=>{u?o.value[p]=u:delete o.value[p]},y=n,f=A.computed(()=>{var p;return(p=i.value.content.find(u=>u.key===K.value||u.url===K.value))==null?void 0:p.mixMode}),x=p=>{i.value.content=p},N=p=>{Array.isArray(p)?i.value.content.push(...p):i.value.content.push(p)},K=A.ref(i.value.content[0].key||i.value.content[0].url),U=p=>{d.value[p]=!0,A.nextTick(()=>{d.value[p]=!1})},P=A.useTemplateRef("rootRef"),G=p=>o.value[p],k=(p,u)=>{u&&I("addPageParams",u),A.nextTick(()=>{K.value=p,v(p)})},m=(p,u)=>{const s=i.value.content.find(g=>g.url===p);s&&(s.mixMode=u)},F=A.inject("pageMethodMap",{}),_=A.computed(()=>i.value.rulePath&&y.ruleMap[i.value.rulePath]?i.value.rulePath:y.pageRulePath);_.value&&A.provide("ruleModule",y.ruleMap[_.value]);const v=p=>{o.value[p]&&o.value[p].activate();const u=i.value.onChange;try{u&&y.ruleMap[_.value][u](F,p)}catch{}},B=(p,u)=>{const s=i.value.content.find(g=>g.key===p);s&&(s.hidden=u)};return e(A.readonly({setTabContent:x,addTabContent:N,schema:i,rootRef:P,findRef:G,changeActiveTab:k,setTabHidden:B,activeTab:K,type:"tabs"})),(p,u)=>{var h,C,a;const s=A.resolveComponent("el-skeleton"),g=A.resolveComponent("el-tab-pane"),l=A.resolveComponent("el-tabs");return A.openBlock(),A.createElementBlock("div",{ref_key:"rootRef",ref:P,id:i.value.key},[i.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(l,A.mergeProps({key:0},i.value.tabProps,{modelValue:K.value,"onUpdate:modelValue":u[1]||(u[1]=r=>K.value=r),class:["crm-tabs",{mixmode:f.value,"expand-top":i.value.expandTop,"btn-type":i.value.styleType==="btn"||y.styleType==="btn","form-item-tabs":!y.styleType||y.styleType==="normal","modal-type":y.styleType==="modal"}],style:{"--top":(h=i.value)!=null&&h.stickyTop?`${(C=i.value)==null?void 0:C.stickyTop}px`:"110px","--is-sticky":(a=i.value)!=null&&a.isSticky?"sticky":"static"},addable:i.value.styleType==="btn",onTabChange:v}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",t8,[A.createElementVNode("div",n8,[A.createVNode(A.unref(ii),{btns:i.value.dynamicBtns},null,8,["btns"])]),A.createElementVNode("div",i8,[A.createVNode(A.unref(ii),{btns:i.value.staticBtns},null,8,["btns"])])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value.content,(r,E)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:r.key||r.url},[r.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(g,{name:r.key||r.url,key:r.key||r.url,lazy:E!==0},{label:A.withCtx(()=>[A.createElementVNode("div",o8,[i.value.styleType==="btn"&&r.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:r.icon,size:"x-small"},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",r8,A.toDisplayString(r.label),1)])]),default:A.withCtx(()=>[d.value[E]?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(ag,{key:0,pageUrl:r.url,"rule-map":p.ruleMap,onDoneParent:u[0]||(u[0]=Q=>I("doneParent",Q)),"page-params":r.pageParams?{...p.pageParams,...r.pageParams}:p.pageParams,ref_for:!0,ref:b(r.key||r.url),onRefresh:Q=>U(E),onChangeTab:k,onChangeMixMode:m},{loading:A.withCtx(()=>[A.createVNode(s,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))],64))),128))]),_:1},16,["modelValue","style","addable","class"]))],8,e8)}}}),[["__scopeId","data-v-ea4d0484"]]),s8=["id"],l8={class:"info-card-header"},c8={class:"left-part"},g8={class:"title-part"},d8={class:"sub-title-container"},u8={class:"right-part"},h8={class:"info info-card-infos"},p8={key:0,class:"info-label"},C8={class:"ml-2"},B8={key:0,class:"info-card-detail"},m8={class:"info-card-detail-left"},E8={class:"label"},Q8={key:0,class:"divider"},I8={key:0,class:"info-card-detail-right"},f8={key:0},w8={key:1,class:"detail-right-label"},b8={key:2,class:"detail-right-value"},y8=oe(A.defineComponent({__name:"InfoCard",props:A.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=n,I=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[d.pageRulePath]);A.provide("ruleModule",I.value);const o=A.inject("pageMethodMap",{}),b=N=>{const K=document.createElement("textarea");K.value=N??"",K.style.position="absolute",K.style.opacity="0",document.body.appendChild(K),K.select(),document.execCommand("copy"),K.remove()},y=async()=>{try{await navigator.clipboard.writeText(t.value.header.subTitle)}catch(N){console.error("Clipboard API error:",N),b(t.value.header.subTitle)}xt.ElMessage.success("Copy Successful")},f=N=>{var K;if(I.value[N||"clickTitleIcon"])try{I.value[N||"clickTitleIcon"](o,(K=t.value.header)==null?void 0:K.titleIcon)}catch(U){console.error(U+`
195
195
 
196
196
  rulePath: ${t.value.rulePath}
197
197
 
@@ -216,13 +216,13 @@ mountedFuncName: ${N}
216
216
  rulePath: ${t.value.rulePath}
217
217
 
218
218
  mountedFuncName: ${N}
219
- `)}}),e({type:"infocard",schema:t}),(N,K)=>{const U=A.resolveComponent("el-popover"),P=A.resolveComponent("el-tooltip"),G=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(G,{class:"info-card",always:""},{default:A.withCtx(()=>{var k,m,F,_,v,B,p,u,s,g,l;return[A.createElementVNode("div",l8,[A.createElementVNode("div",c8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(ve,{name:(k=t.value.header)==null?void 0:k.avatar,color:(m=t.value.header)==null?void 0:m.avatarIconColor,size:t.value.header.avatarSize||"small"},null,8,["name","color","size"])],4),A.createElementVNode("div",g8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(F=t.value.header)!=null&&F.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((_=t.value.header)!=null&&_.titleClick?"cursor-pointer":""),onClick:K[0]||(K[0]=h=>{var C;return f((C=t.value.header)==null?void 0:C.titleClick)})},A.toDisplayString((v=t.value.header)==null?void 0:v.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((B=t.value.header)==null?void 0:B.titleIcons,(h,C)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:C},[h.type==="popover"?(A.openBlock(),A.createBlock(U,{key:0,width:h.popoverWidth},{reference:A.withCtx(()=>[A.createVNode(ve,{name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>f(h.onClick)},null,8,["name","size","onClick"])]),default:A.withCtx(()=>[h.popoverContent?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:h.popoverContent},null,8,["list"])):A.createCommentVNode("",!0)]),_:2},1032,["width"])):(A.openBlock(),A.createBlock(ve,{key:1,name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>f(h.onClick)},null,8,["name","size","onClick"]))],64))),128)),A.createVNode(A.unref(ii),{class:"title-icon",btns:(p=t.value.header)==null?void 0:p.btns},null,8,["btns"])],6),A.createElementVNode("div",d8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(u=t.value.header)==null?void 0:u.subTitleClick}]),onClick:K[1]||(K[1]=h=>{var C;return x((C=t.value.header)==null?void 0:C.subTitleClick)})},A.toDisplayString((s=t.value.header)==null?void 0:s.subTitlePrefix)+A.toDisplayString((g=t.value.header)==null?void 0:g.subTitle),3),A.createVNode(ve,{name:"icon-fuzhi",class:"copy-icon",onClick:y}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(h,C)=>{var a,r;return A.openBlock(),A.createBlock(P,{key:C,content:(a=h.icon)==null?void 0:a.tooltip,placement:"top",disabled:!((r=h.icon)!=null&&r.tooltip)},{default:A.withCtx(()=>{var E,Q;return[A.createVNode(ve,{name:(E=h.icon)==null?void 0:E.name,color:(Q=h.icon)==null?void 0:Q.color,class:"title-icon ml-2 cursor-pointer hover-color-primary",onClick:M=>f(h.onClick)},null,8,["name","color","onClick"])]}),_:2},1032,["content","disabled"])}),128))])])]),A.createElementVNode("div",u8,[A.createElementVNode("div",h8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,h=>(A.openBlock(),A.createElementBlock("div",{key:h.key,class:"info-item"},[h.label?(A.openBlock(),A.createElementBlock("span",p8,A.toDisplayString(h.label)+": ",1)):A.createCommentVNode("",!0),h.label||h.value?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["info-value",h.type])},A.toDisplayString(h.value||"--"),3)):A.createCommentVNode("",!0),A.createElementVNode("div",C8,[h.expendComponents?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,class:"expend-components",list:h.expendComponents},null,8,["list"])):A.createCommentVNode("",!0)])]))),128))]),A.createVNode(A.unref(ii),{btns:t.value.btns},null,8,["btns"]),A.createVNode(A.unref(X1),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),t.value.detail&&t.value.detail.length>0||t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",B8,[A.createElementVNode("div",m8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.detail,(h,C)=>(A.openBlock(),A.createElementBlock("div",{key:h.label,class:"detail-item"},[A.createElementVNode("div",null,[A.createElementVNode("div",E8,A.toDisplayString(h.label),1),A.createElementVNode("div",{class:"value",style:A.normalizeStyle(h.color?{color:h.color}:{})},A.toDisplayString(h.value||"- -"),5)]),C!==t.value.detail.length-1?(A.openBlock(),A.createElementBlock("div",Q8)):A.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",I8,[t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",f8,[A.createVNode(A.unref(rt),{list:t.value.bottomRightFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",w8,A.toDisplayString(t.value.bottomRightDetail.label),1)):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",b8,A.toDisplayString(t.value.bottomRightDetail.value),1)):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)]}),_:1})],8,s8))}}}),[["__scopeId","data-v-8f621bc1"]]),D8=["id"],v8={key:0,class:"left-part"},k8={class:"nav-title"},_8={key:1},M8={key:2,class:"steps"},x8=["onClick"],S8=["onClick"],N8={class:"nav-footer"},F8={class:"left-actions"},R8=["onClick"],L8={class:"footer-text"},G8={key:1,class:"divider"},P8={class:"right-actions"},H8=oe(A.defineComponent({__name:"NavBar",props:A.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.computed(()=>(t.value.leftActions||[]).filter(K=>!K.hidden)),d=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=n,b=A.computed(()=>t.value.rulePath&&d[t.value.rulePath]?d[t.value.rulePath]:d[o.pageRulePath]);A.provide("ruleModule",b.value);const y=K=>{if(K&&b.value)try{b.value[K](I)}catch(U){console.error(U+`
220
- funcName: ${K}`)}},f=A.inject(Xn),x=()=>{f&&f.navigateFn&&f.navigateFn(-1)},N=K=>{const U=o.findRef(K);if(U&&U.rootRef)U.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const P=document.getElementById(K);P&&P.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(K,U)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{traditionMode:t.value.traditionMode,mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky,"expand-bottom":t.value.expandBottom}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[A.createElementVNode("div",{class:A.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[t.value.title||t.value.back?(A.openBlock(),A.createElementBlock("div",v8,[t.value.back?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-back",class:"back-icon",onClick:x})):A.createCommentVNode("",!0),A.createElementVNode("div",k8,A.toDisplayString(t.value.title),1)])):A.createCommentVNode("",!0),t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",_8,[A.createVNode(A.unref(ii),{btns:t.value.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),t.value.content&&t.value.content.length>0&&!t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",M8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(P,G)=>(A.openBlock(),A.createElementBlock("div",{key:G,class:A.normalizeClass(["hexagon",{"first-item":G===0,"middle-item":G>0&&G<t.value.content.length-1,"last-item":G===t.value.content.length-1}]),onClick:k=>N(P.ref)},[A.createElementVNode("span",null,A.toDisplayString(P.text),1)],10,x8))),128))])):A.createCommentVNode("",!0)],2),t.value.content&&t.value.content.length>0&&t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(P,G)=>(A.openBlock(),A.createElementBlock("div",{key:G,class:A.normalizeClass(["hexagon tradition-mode",{"first-item":G===0,"middle-item":G>0&&G<t.value.content.length-1,"last-item":G===t.value.content.length-1}]),onClick:k=>N(P.ref)},[A.createElementVNode("span",null,A.toDisplayString(P.text),1)],10,S8))),128))],2)):A.createCommentVNode("",!0),A.createElementVNode("div",N8,[A.createElementVNode("div",F8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,(P,G)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,onClick:k=>y(P.onClick),class:"footer-item"},[P.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:P.icon.name,color:P.icon.color,class:"footer-icon"},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",L8,A.toDisplayString(P.text),1),G!==i.value.length-1?(A.openBlock(),A.createElementBlock("div",G8)):A.createCommentVNode("",!0)],8,R8))],64))),128))]),A.createElementVNode("div",P8,[A.createVNode(A.unref(ii),{btns:t.value.footerBtns||[]},null,8,["btns"]),t.value.traditionMode?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(A.unref(ii),{key:0,btns:t.value.btns||[]},null,8,["btns"]))])])],14,D8))}}),[["__scopeId","data-v-fe936c1b"]]),K8=["onClick"],T8={key:1},U8=oe(A.defineComponent({__name:"AlertRender",props:A.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=A.inject("pageMethodMap",{}),I=n,o=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[I.pageRulePath]);A.provide("ruleModule",o.value);const b=(K,U,P)=>{try{o.value[K](d,U,P)}catch(G){console.error(G)}},y=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](d)}catch(K){console.error(K)}},f=A.computed(()=>{var k,m;const K=/\{(\d+)\}/g,U=[];let P=0,G;for(;(G=K.exec(t.value.description))!==null;)G.index>P&&U.push({type:"text",value:t.value.description.slice(P,G.index)}),U.push({type:"value",index:Number(G[1]),getPopoverContent:(m=(k=t.value.values)==null?void 0:k[Number(G[1])])==null?void 0:m.getPopoverContent}),P=K.lastIndex;return P<t.value.description.length&&U.push({type:"text",value:t.value.description.slice(P)}),U}),x=A.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"}),N=(K,U,P)=>{if(K)try{return o.value[K](d,U,P)}catch(G){console.error(G)}return[]};return e({type:"alert",schema:t}),(K,U)=>{const P=A.resolveComponent("el-popover"),G=A.resolveComponent("el-alert");return t.value.description?(A.openBlock(),A.createBlock(G,{key:0,type:t.value.type,"show-icon":!0,class:A.normalizeClass(["alert-container",{mixmode:t.value.mixMode,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`,...t.value.style||{}}:t.value.style),onClose:y},{icon:A.withCtx(()=>[A.createVNode(ve,{name:x.value.name,color:x.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(k,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:m},[k.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(k.value),1)],64)):(A.openBlock(),A.createBlock(P,{key:1,placement:"bottom",disabled:!k.getPopoverContent,width:600},{reference:A.withCtx(()=>[typeof k.index=="number"&&t.value.values&&t.value.values[k.index]&&typeof t.value.values[k.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:F=>b(t.value.values[k.index].onClick,t.value.values[k.index].text,t.value.values[k.index])},A.toDisplayString(typeof k.index=="number"&&t.value.values&&t.value.values[k.index]?t.value.values[k.index].text:""),9,K8)):(A.openBlock(),A.createElementBlock("span",T8,A.toDisplayString(typeof k.index=="number"&&t.value.values&&t.value.values[k.index]?t.value.values[k.index].text:""),1))]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:N(k.getPopoverContent,k.value,k.index)},null,8,["list"])])]),_:2},1032,["disabled"]))],64))),128))])]),_:1},8,["type","class","style"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-f8c3992e"]]),Y8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"DragList",props:A.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"gridlayout"),y={getLayout:()=>A.readonly(i),setItemX:(K,U)=>{i.value[K].x=U},setItemY:(K,U)=>{i.value[K].y=U},setItemVisible:(K,U)=>{const P=i.value.find(G=>G.i===K);P&&(P.h=U?P.contentHeight||1:0)},type:"draglist"},{ruleModule:f,pageMethodMap:x}=$n(),N=()=>{if(t.onMoved&&f)try{f[t.onMoved](x,A.readonly(i.value))}catch(K){console.error(K+`
221
- onMoved: ${t.onMoved}`)}};if(e(y),t.name){const K=Jo(t.name,y);A.onUnmounted(()=>{K()})}return(K,U)=>(A.openBlock(),A.createBlock(A.unref(W1),{layout:i.value,"onUpdate:layout":U[1]||(U[1]=P=>i.value=P),"col-num":K.colNum||12,"row-height":K.rowHeight||30,"max-rows":K.maxRows,margin:[8,8],"is-draggable":K.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:K.children,gridData:i.value,"onUpdate:gridData":U[0]||(U[0]=P=>i.value=P),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-f58dab66"]])},Symbol.toStringTag,{value:"Module"})),O8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=$n(),I=A.ref(0),o=K=>{I.value=K},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),y=()=>b.value,f=async K=>{if(b.value.pageNum=1,b.value.pageSize=K,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(U){console.error(U)}},x=async K=>{if(b.value.pageNum=K,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(U){console.error(U)}},N=A.readonly({getPagination:y,setTotal:o,type:"pagination"});if(t.name){const K=Jo(t.name,N);A.onUnmounted(()=>{K()})}return e(N),(K,U)=>{const P=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(K.style)},[A.createVNode(P,{layout:K.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":K.pageSizes||[5,6,10,20,30,40],"default-page-size":K.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":U[0]||(U[0]=G=>b.value.pageNum=G),"page-size":b.value.pageSize,"onUpdate:pageSize":U[1]||(U[1]=G=>b.value.pageSize=G),"pager-count":Number(K.pagerCount)||5,onSizeChange:f,onCurrentChange:x},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-0cc06d1f"]])},Symbol.toStringTag,{value:"Module"})),$8={class:"filter-search-header"},z8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),I=()=>d.value,o=m=>{if(t.searchTypes){const F=t.searchTypes.find(_=>_.value===m);F&&(d.value=F.value)}},b=A.ref(""),y=m=>{b.value=m},f=()=>b.value,x=m=>{try{P[t.onSearchTypeChange](G,m)}catch(F){console.error(F)}},N=m=>{if(t.onChange)try{P[t.onChange](G,m)}catch(F){console.error(F)}},K=async()=>{try{await P[t.onSearch](G,b.value)}catch(m){console.error(m)}},U=()=>{i.value=!i.value},{ruleModule:P,pageMethodMap:G}=$n(),k=A.readonly({setSearchValue:y,getSearchValue:f,getSearchType:I,setSearchType:o,type:"filterSearch"});if(t.name){const m=Jo(t.name,k);A.onUnmounted(()=>{m()})}return e(k),(m,F)=>{const _=A.resolveComponent("el-option"),v=A.resolveComponent("el-select"),B=A.resolveComponent("el-input"),p=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",$8,[A.createVNode(B,{modelValue:b.value,"onUpdate:modelValue":F[1]||(F[1]=u=>b.value=u),placeholder:m.placeholder,size:"large",onKeyup:A.withKeys(A.withModifiers(K,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createVNode(v,{modelValue:d.value,"onUpdate:modelValue":F[0]||(F[0]=u=>d.value=u),size:"small",class:"filter-search-select",onChange:x},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(m.searchTypes,u=>(A.openBlock(),A.createBlock(_,{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),suffix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-lujing2",size:"small",color:"#666666",onClick:K,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:U},[A.createVNode(ve,{name:"icon-shaixuan",size:"small"}),F[2]||(F[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(p,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:m.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-1a0dd89e"]])},Symbol.toStringTag,{value:"Module"})),J8={class:"float-curd"},Z8={class:"curd-body"},W8={class:"gradient-input-wrapper"},j8={class:"float-form"},q8={class:"float-form-header"},X8={class:"float-form-header-title"},V8={class:"float-form-header-btns"},AM={class:"float-form-body"},eM={class:"curd-footer"},tM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:I}=$n(),o=mt(),b=A.computed(()=>{var F,_,v,B,p,u;const P=o.schema.items,G=o.formValues,k=ln(P,t.name);if(!k||!k.children)return[];const m=[];for(const s in G){const g=ln(k.children,s);if(g&&g.label){const l=G[s];if(l!=null&&l!==""){const h={name:g.name,label:g.label,value:l,closeable:!g.required&&!((F=g.props)!=null&&F.disabled)&&((_=g.props)==null?void 0:_.clearable)!==!1};g.component==="DatePicker"&&(h.iconName="icon-rili",h.value=xt.dayjs(l).format(((v=g.props)==null?void 0:v.valueFormat)||"YYYY-MM-DD")),g.component==="Select"&&(h.value=(u=(p=(B=g.props)==null?void 0:B.options)==null?void 0:p.find(C=>C.value===l))==null?void 0:u.label),m.push(h)}}}return m}),y=A.ref("");function f(){try{d[t.onSearch](I),i.value=!1}catch(P){console.error(P)}}function x(){try{d[t.onAiSearch](I,y.value)}catch(P){console.error(P)}}function N(P){o.setFieldValue(P.name,"",""),f()}function K(){try{d[t.onClear](I)}catch(P){console.error(P)}}const U={type:"floatcurd"};if(e(U),t.name){const P=Jo(t.name,U);A.onUnmounted(()=>{P()})}return(P,G)=>{const k=A.resolveComponent("el-button"),m=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",J8,[A.createElementVNode("div",Z8,[A.createElementVNode("div",W8,[A.createVNode(m,{placeholder:P.inputPlaceholder,modelValue:y.value,"onUpdate:modelValue":G[0]||(G[0]=F=>y.value=F),clearable:"",onClear:x},{prefix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-mobang1"}),G[3]||(G[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(k,{type:"primary",size:"small",onClick:x},{default:A.withCtx(()=>G[4]||(G[4]=[A.createTextVNode("Go")])),_:1})]),_:1},8,["placeholder","modelValue"])]),A.createVNode(k,{plain:!0,onClick:G[1]||(G[1]=F=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-tiaojianshaixuan"}),G[5]||(G[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",j8,[A.createElementVNode("div",q8,[A.createElementVNode("div",X8,A.toDisplayString(P.formTitle),1),A.createElementVNode("div",V8,[A.createVNode(k,{type:"primary",size:"small",onClick:f},{default:A.withCtx(()=>G[6]||(G[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(ve,{name:"icon-a-rongqi1",onClick:G[2]||(G[2]=F=>i.value=!1)})])]),A.createElementVNode("div",AM,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",eM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,F=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:F.name},[F.iconName?(A.openBlock(),A.createBlock(ve,{key:0,name:F.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(F.label)+":",1),A.createElementVNode("span",null,A.toDisplayString(F.value),1),F.closeable?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-a-rongqi1",onClick:_=>N(F),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:K},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!P.hidden]])}}}),[["__scopeId","data-v-868e36d5"]])},Symbol.toStringTag,{value:"Module"})),nM={class:"tree-node-text"},iM=["title"],oM={key:0,class:"tree-node-present"},rM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:{onNodeClick:{},onNodeDbClick:{},onCheckChange:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{},styleType:{},name:{},showCheckbox:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=A.ref(),o=(_,v)=>{I.value=_[t.nodeKey]},b=(_,v,B)=>{if(_&&i)try{i[_](d,{node:v,data:B})}catch(p){console.error(p+`
219
+ `)}}),e({type:"infocard",schema:t}),(N,K)=>{const U=A.resolveComponent("el-popover"),P=A.resolveComponent("el-tooltip"),G=A.resolveComponent("el-scrollbar");return t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:"info-card-container",id:t.value.key},[A.createVNode(G,{class:"info-card",always:""},{default:A.withCtx(()=>{var k,m,F,_,v,B,p,u,s,g,l;return[A.createElementVNode("div",l8,[A.createElementVNode("div",c8,[A.createElementVNode("div",{class:"avatar",style:A.normalizeStyle(t.value.header.avatarBgColor?{backgroundColor:t.value.header.avatarBgColor}:{})},[A.createVNode(ve,{name:(k=t.value.header)==null?void 0:k.avatar,color:(m=t.value.header)==null?void 0:m.avatarIconColor,size:t.value.header.avatarSize||"small"},null,8,["name","color","size"])],4),A.createElementVNode("div",g8,[A.createElementVNode("div",{class:A.normalizeClass(["title",(F=t.value.header)!=null&&F.titleClick?"is-click":""]),style:A.normalizeStyle(t.value.header.titleColor?{color:t.value.header.titleColor}:{})},[A.createElementVNode("span",{class:A.normalizeClass((_=t.value.header)!=null&&_.titleClick?"cursor-pointer":""),onClick:K[0]||(K[0]=h=>{var C;return f((C=t.value.header)==null?void 0:C.titleClick)})},A.toDisplayString((v=t.value.header)==null?void 0:v.title),3),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((B=t.value.header)==null?void 0:B.titleIcons,(h,C)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:C},[h.type==="popover"?(A.openBlock(),A.createBlock(U,{key:0,width:h.popoverWidth},{reference:A.withCtx(()=>[A.createVNode(ve,{name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>f(h.onClick)},null,8,["name","size","onClick"])]),default:A.withCtx(()=>[h.popoverContent?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,list:h.popoverContent},null,8,["list"])):A.createCommentVNode("",!0)]),_:2},1032,["width"])):(A.openBlock(),A.createBlock(ve,{key:1,name:h.icon,class:"title-icon",size:(h==null?void 0:h.size)||"large",onClick:a=>f(h.onClick)},null,8,["name","size","onClick"]))],64))),128)),A.createVNode(A.unref(ii),{class:"title-icon",btns:(p=t.value.header)==null?void 0:p.btns},null,8,["btns"])],6),A.createElementVNode("div",d8,[A.createElementVNode("span",{class:A.normalizeClass(["sub-title",{clickStyle:(u=t.value.header)==null?void 0:u.subTitleClick}]),onClick:K[1]||(K[1]=h=>{var C;return x((C=t.value.header)==null?void 0:C.subTitleClick)})},A.toDisplayString((s=t.value.header)==null?void 0:s.subTitlePrefix)+A.toDisplayString((g=t.value.header)==null?void 0:g.subTitle),3),A.createVNode(ve,{name:"icon-fuzhi",size:12,class:"copy-icon",onClick:y}),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList((l=t.value.header)==null?void 0:l.subTitleIcons,(h,C)=>{var a,r;return A.openBlock(),A.createBlock(P,{key:C,content:(a=h.icon)==null?void 0:a.tooltip,placement:"top",disabled:!((r=h.icon)!=null&&r.tooltip)},{default:A.withCtx(()=>{var E,Q;return[A.createVNode(ve,{name:(E=h.icon)==null?void 0:E.name,color:(Q=h.icon)==null?void 0:Q.color,size:"x-small",class:"title-icon ml-2 cursor-pointer hover-color-primary",onClick:M=>f(h.onClick)},null,8,["name","color","onClick"])]}),_:2},1032,["content","disabled"])}),128))])])]),A.createElementVNode("div",u8,[A.createElementVNode("div",h8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.infos,h=>(A.openBlock(),A.createElementBlock("div",{key:h.key,class:"info-item"},[h.label?(A.openBlock(),A.createElementBlock("span",p8,A.toDisplayString(h.label)+": ",1)):A.createCommentVNode("",!0),h.label||h.value?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["info-value",h.type])},A.toDisplayString(h.value||"--"),3)):A.createCommentVNode("",!0),A.createElementVNode("div",C8,[h.expendComponents?(A.openBlock(),A.createBlock(A.unref(rt),{key:0,class:"expend-components",list:h.expendComponents},null,8,["list"])):A.createCommentVNode("",!0)])]))),128))]),A.createVNode(A.unref(ii),{btns:t.value.btns},null,8,["btns"]),A.createVNode(A.unref(X1),{dropdowns:t.value.dropdowns},null,8,["dropdowns"])])]),t.value.detail&&t.value.detail.length>0||t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",B8,[A.createElementVNode("div",m8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.detail,(h,C)=>(A.openBlock(),A.createElementBlock("div",{key:h.label,class:"detail-item"},[A.createElementVNode("div",null,[A.createElementVNode("div",E8,A.toDisplayString(h.label),1),A.createElementVNode("div",{class:"value",style:A.normalizeStyle(h.color?{color:h.color}:{})},A.toDisplayString(h.value||"- -"),5)]),C!==t.value.detail.length-1?(A.openBlock(),A.createElementBlock("div",Q8)):A.createCommentVNode("",!0)]))),128))]),t.value.bottomRightDetail||t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",I8,[t.value.bottomRightFormSlots?(A.openBlock(),A.createElementBlock("div",f8,[A.createVNode(A.unref(rt),{list:t.value.bottomRightFormSlots},null,8,["list"])])):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",w8,A.toDisplayString(t.value.bottomRightDetail.label),1)):A.createCommentVNode("",!0),t.value.bottomRightDetail?(A.openBlock(),A.createElementBlock("div",b8,A.toDisplayString(t.value.bottomRightDetail.value),1)):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)]}),_:1})],8,s8))}}}),[["__scopeId","data-v-b7fb8667"]]),D8=["id"],v8={key:0,class:"left-part"},k8={class:"nav-title"},_8={key:1},M8={key:2,class:"steps"},x8=["onClick"],S8=["onClick"],N8={class:"nav-footer"},F8={class:"left-actions"},R8=["onClick"],L8={class:"footer-text"},G8={key:1,class:"divider"},P8={class:"right-actions"},H8=oe(A.defineComponent({__name:"NavBar",props:A.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.computed(()=>(t.value.leftActions||[]).filter(K=>!K.hidden)),d=A.inject("ruleMap",{}),I=A.inject("pageMethodMap",{}),o=n,b=A.computed(()=>t.value.rulePath&&d[t.value.rulePath]?d[t.value.rulePath]:d[o.pageRulePath]);A.provide("ruleModule",b.value);const y=K=>{if(K&&b.value)try{b.value[K](I)}catch(U){console.error(U+`
220
+ funcName: ${K}`)}},f=A.inject(Xn),x=()=>{f&&f.navigateFn&&f.navigateFn(-1)},N=K=>{const U=o.findRef(K);if(U&&U.rootRef)U.rootRef.scrollIntoView({behavior:"smooth",block:"center"});else{const P=document.getElementById(K);P&&P.scrollIntoView({behavior:"smooth",block:"center"})}};return e({type:"navbar",schema:t}),(K,U)=>t.value.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["nav-bar",{traditionMode:t.value.traditionMode,mixmode:t.value.mixMode,simple:t.value.simple,"no-sticky":t.value.noSticky,"expand-bottom":t.value.expandBottom}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`}:{}),id:t.value.key},[A.createElementVNode("div",{class:A.normalizeClass(["nav-header",{mb10:t.value.content&&t.value.content.length>0||t.value.leftActions&&t.value.leftActions.length>0}])},[t.value.title||t.value.back?(A.openBlock(),A.createElementBlock("div",v8,[t.value.back?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-back",class:"back-icon",onClick:x})):A.createCommentVNode("",!0),A.createElementVNode("div",k8,A.toDisplayString(t.value.title),1)])):A.createCommentVNode("",!0),t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",_8,[A.createVNode(A.unref(ii),{btns:t.value.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),t.value.content&&t.value.content.length>0&&!t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",M8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(P,G)=>(A.openBlock(),A.createElementBlock("div",{key:G,class:A.normalizeClass(["hexagon",{"first-item":G===0,"middle-item":G>0&&G<t.value.content.length-1,"last-item":G===t.value.content.length-1}]),onClick:k=>N(P.ref)},[A.createElementVNode("span",null,A.toDisplayString(P.text),1)],10,x8))),128))])):A.createCommentVNode("",!0)],2),t.value.content&&t.value.content.length>0&&t.value.traditionMode?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["steps",{mb8:i.value.length>0||(t.value.footerBtns||[]).length>0}])},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value.content,(P,G)=>(A.openBlock(),A.createElementBlock("div",{key:G,class:A.normalizeClass(["hexagon tradition-mode",{"first-item":G===0,"middle-item":G>0&&G<t.value.content.length-1,"last-item":G===t.value.content.length-1}]),onClick:k=>N(P.ref)},[A.createElementVNode("span",null,A.toDisplayString(P.text),1)],10,S8))),128))],2)):A.createCommentVNode("",!0),A.createElementVNode("div",N8,[A.createElementVNode("div",F8,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,(P,G)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.key},[P.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,onClick:k=>y(P.onClick),class:"footer-item"},[P.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:P.icon.name,color:P.icon.color,class:"footer-icon"},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",L8,A.toDisplayString(P.text),1),G!==i.value.length-1?(A.openBlock(),A.createElementBlock("div",G8)):A.createCommentVNode("",!0)],8,R8))],64))),128))]),A.createElementVNode("div",P8,[A.createVNode(A.unref(ii),{btns:t.value.footerBtns||[]},null,8,["btns"]),t.value.traditionMode?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(A.unref(ii),{key:0,btns:t.value.btns||[]},null,8,["btns"]))])])],14,D8))}}),[["__scopeId","data-v-f2c4d7ae"]]),K8=["onClick"],T8={key:1},U8=oe(A.defineComponent({__name:"AlertRender",props:A.mergeModels({pageRulePath:{},pageUrl:{},pageEmit:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:e}){const t=A.useModel(n,"schema"),i=A.inject("ruleMap",{}),d=A.inject("pageMethodMap",{}),I=n,o=A.computed(()=>t.value.rulePath&&i[t.value.rulePath]?i[t.value.rulePath]:i[I.pageRulePath]);A.provide("ruleModule",o.value);const b=(K,U,P)=>{try{o.value[K](d,U,P)}catch(G){console.error(G)}},y=()=>{if(I.pageEmit("changeMixMode",I.pageUrl,!1),!!t.value.onClose)try{o.value[t.value.onClose](d)}catch(K){console.error(K)}},f=A.computed(()=>{var k,m;const K=/\{(\d+)\}/g,U=[];let P=0,G;for(;(G=K.exec(t.value.description))!==null;)G.index>P&&U.push({type:"text",value:t.value.description.slice(P,G.index)}),U.push({type:"value",index:Number(G[1]),getPopoverContent:(m=(k=t.value.values)==null?void 0:k[Number(G[1])])==null?void 0:m.getPopoverContent}),P=K.lastIndex;return P<t.value.description.length&&U.push({type:"text",value:t.value.description.slice(P)}),U}),x=A.computed(()=>t.value.type?{primary:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},success:{name:"icon-successtubiao",color:"var(--el-color-primary)"},warning:{name:"icon-gaojingtongzhitishi",color:"#FF0D00"},info:{name:"icon-tishitubiao",color:"var(--el-color-primary)"},error:{name:"icon-tishitubiao",color:"#FF0D00"}}[t.value.type]:{name:"icon-tishitubiao",color:"var(--el-color-primary)"}),N=(K,U,P)=>{if(K)try{return o.value[K](d,U,P)}catch(G){console.error(G)}return[]};return e({type:"alert",schema:t}),(K,U)=>{const P=A.resolveComponent("el-popover"),G=A.resolveComponent("el-alert");return t.value.description?(A.openBlock(),A.createBlock(G,{key:0,type:t.value.type,"show-icon":!0,class:A.normalizeClass(["alert-container",{mixmode:t.value.mixMode,"no-sticky":t.value.noSticky}]),style:A.normalizeStyle(t.value.top?{top:`${t.value.top}px`,...t.value.style||{}}:t.value.style),onClose:y},{icon:A.withCtx(()=>[A.createVNode(ve,{name:x.value.name,color:x.value.color},null,8,["name","color"])]),default:A.withCtx(()=>[A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.value,(k,m)=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:m},[k.type==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createTextVNode(A.toDisplayString(k.value),1)],64)):(A.openBlock(),A.createBlock(P,{key:1,placement:"bottom",disabled:!k.getPopoverContent,width:600},{reference:A.withCtx(()=>[typeof k.index=="number"&&t.value.values&&t.value.values[k.index]&&typeof t.value.values[k.index].onClick=="string"?(A.openBlock(),A.createElementBlock("span",{key:0,class:"link-style",onClick:F=>b(t.value.values[k.index].onClick,t.value.values[k.index].text,t.value.values[k.index])},A.toDisplayString(typeof k.index=="number"&&t.value.values&&t.value.values[k.index]?t.value.values[k.index].text:""),9,K8)):(A.openBlock(),A.createElementBlock("span",T8,A.toDisplayString(typeof k.index=="number"&&t.value.values&&t.value.values[k.index]?t.value.values[k.index].text:""),1))]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:N(k.getPopoverContent,k.value,k.index)},null,8,["list"])])]),_:2},1032,["disabled"]))],64))),128))])]),_:1},8,["type","class","style"])):A.createCommentVNode("",!0)}}}),[["__scopeId","data-v-6aa7eefd"]]),Y8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"DragList",props:A.mergeModels({children:{},rowHeight:{},colNum:{},maxRows:{},isDraggable:{type:Boolean},name:{},onMoved:{}},{gridlayout:{required:!0},gridlayoutModifiers:{}}),emits:["update:gridlayout"],setup(n,{expose:e}){const t=n,i=A.useModel(n,"gridlayout"),y={getLayout:()=>A.readonly(i),setItemX:(K,U)=>{i.value[K].x=U},setItemY:(K,U)=>{i.value[K].y=U},setItemVisible:(K,U)=>{const P=i.value.find(G=>G.i===K);P&&(P.h=U?P.contentHeight||1:0)},type:"draglist"},{ruleModule:f,pageMethodMap:x}=$n(),N=()=>{if(t.onMoved&&f)try{f[t.onMoved](x,A.readonly(i.value))}catch(K){console.error(K+`
221
+ onMoved: ${t.onMoved}`)}};if(e(y),t.name){const K=Jo(t.name,y);A.onUnmounted(()=>{K()})}return(K,U)=>(A.openBlock(),A.createBlock(A.unref(W1),{layout:i.value,"onUpdate:layout":U[1]||(U[1]=P=>i.value=P),"col-num":K.colNum||12,"row-height":K.rowHeight||30,"max-rows":K.maxRows,margin:[8,8],"is-draggable":K.isDraggable,"is-bounded":"","is-resizable":!1,"vertical-compact":"","use-css-transforms":""},{default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:K.children,gridData:i.value,"onUpdate:gridData":U[0]||(U[0]=P=>i.value=P),onGridItemMoved:N},null,8,["list","gridData"])]),_:1},8,["layout","col-num","row-height","max-rows","is-draggable"]))}}),[["__scopeId","data-v-869881f7"]])},Symbol.toStringTag,{value:"Module"})),O8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Pagination",props:{pageSizes:{},defaultPageSize:{},paginationLayout:{},hiddenPagination:{type:Boolean},pagerCount:{},style:{type:[Boolean,null,String,Object,Array]},sizeChange:{},pageChange:{},name:{}},setup(n,{expose:e}){const t=n,{ruleModule:i,pageMethodMap:d}=$n(),I=A.ref(0),o=K=>{I.value=K},b=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),y=()=>b.value,f=async K=>{if(b.value.pageNum=1,b.value.pageSize=K,!!t.sizeChange)try{await i[t.sizeChange](d,b.value)}catch(U){console.error(U)}},x=async K=>{if(b.value.pageNum=K,!!t.pageChange)try{await i[t.pageChange](d,b.value)}catch(U){console.error(U)}},N=A.readonly({getPagination:y,setTotal:o,type:"pagination"});if(t.name){const K=Jo(t.name,N);A.onUnmounted(()=>{K()})}return e(N),(K,U)=>{const P=A.resolveComponent("el-pagination");return A.openBlock(),A.createElementBlock("div",{class:"pagination-wrapper",style:A.normalizeStyle(K.style)},[A.createVNode(P,{layout:K.paginationLayout||"total,sizes, prev, pager, next,jumper",total:I.value,"page-sizes":K.pageSizes||[5,6,10,20,30,40],"default-page-size":K.defaultPageSize,"current-page":b.value.pageNum,"onUpdate:currentPage":U[0]||(U[0]=G=>b.value.pageNum=G),"page-size":b.value.pageSize,"onUpdate:pageSize":U[1]||(U[1]=G=>b.value.pageSize=G),"pager-count":Number(K.pagerCount)||5,onSizeChange:f,onCurrentChange:x},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],4)}}}),[["__scopeId","data-v-f04853fb"]])},Symbol.toStringTag,{value:"Module"})),$8={class:"filter-search-header"},z8=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FilterSearch",props:{name:{},children:{},placeholder:{},defaultCollapse:{type:Boolean},searchTypes:{},onSearch:{},onChange:{},onSearchTypeChange:{}},setup(n,{expose:e}){const t=n,i=A.ref(t.defaultCollapse),d=A.ref(t.searchTypes?t.searchTypes[0].value:null),I=()=>d.value,o=m=>{if(t.searchTypes){const F=t.searchTypes.find(_=>_.value===m);F&&(d.value=F.value)}},b=A.ref(""),y=m=>{b.value=m},f=()=>b.value,x=m=>{try{P[t.onSearchTypeChange](G,m)}catch(F){console.error(F)}},N=m=>{if(t.onChange)try{P[t.onChange](G,m)}catch(F){console.error(F)}},K=async()=>{try{await P[t.onSearch](G,b.value)}catch(m){console.error(m)}},U=()=>{i.value=!i.value},{ruleModule:P,pageMethodMap:G}=$n(),k=A.readonly({setSearchValue:y,getSearchValue:f,getSearchType:I,setSearchType:o,type:"filterSearch"});if(t.name){const m=Jo(t.name,k);A.onUnmounted(()=>{m()})}return e(k),(m,F)=>{const _=A.resolveComponent("el-option"),v=A.resolveComponent("el-select"),B=A.resolveComponent("el-input"),p=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",$8,[A.createVNode(B,{modelValue:b.value,"onUpdate:modelValue":F[1]||(F[1]=u=>b.value=u),placeholder:m.placeholder,size:"large",onKeyup:A.withKeys(A.withModifiers(K,["stop"]),["enter"]),class:"filter-search-input",clearable:!0,onInput:N},{prefix:A.withCtx(()=>[A.createVNode(v,{modelValue:d.value,"onUpdate:modelValue":F[0]||(F[0]=u=>d.value=u),size:"small",class:"filter-search-select",onChange:x},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(m.searchTypes,u=>(A.openBlock(),A.createBlock(_,{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),suffix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-lujing2",size:"small",color:"#666666",onClick:K,class:"search-icon"})]),_:1},8,["modelValue","placeholder","onKeyup"]),A.createElementVNode("div",{class:A.normalizeClass(["filter-wrapper",{active:!i.value}]),onClick:U},[A.createVNode(ve,{name:"icon-shaixuan",size:"small"}),F[2]||(F[2]=A.createElementVNode("span",{class:"filter-text"},"Filter",-1))],2)]),A.createVNode(p,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:m.children},null,8,["list"])],512),[[A.vShow,!i.value]])]),_:1})])}}}),[["__scopeId","data-v-28f25b88"]])},Symbol.toStringTag,{value:"Module"})),J8={class:"float-curd"},Z8={class:"curd-body"},W8={class:"gradient-input-wrapper"},j8={class:"float-form"},q8={class:"float-form-header"},X8={class:"float-form-header-title"},V8={class:"float-form-header-btns"},AM={class:"float-form-body"},eM={class:"curd-footer"},tM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"FloatCurd",props:{name:{},children:{},formTitle:{},onSearch:{},onAiSearch:{},onClear:{},inputPlaceholder:{},hidden:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.ref(!1),{ruleModule:d,pageMethodMap:I}=$n(),o=mt(),b=A.computed(()=>{var F,_,v,B,p,u;const P=o.schema.items,G=o.formValues,k=ln(P,t.name);if(!k||!k.children)return[];const m=[];for(const s in G){const g=ln(k.children,s);if(g&&g.label){const l=G[s];if(l!=null&&l!==""){const h={name:g.name,label:g.label,value:l,closeable:!g.required&&!((F=g.props)!=null&&F.disabled)&&((_=g.props)==null?void 0:_.clearable)!==!1};g.component==="DatePicker"&&(h.iconName="icon-rili",h.value=xt.dayjs(l).format(((v=g.props)==null?void 0:v.valueFormat)||"YYYY-MM-DD")),g.component==="Select"&&(h.value=(u=(p=(B=g.props)==null?void 0:B.options)==null?void 0:p.find(C=>C.value===l))==null?void 0:u.label),m.push(h)}}}return m}),y=A.ref("");function f(){try{d[t.onSearch](I),i.value=!1}catch(P){console.error(P)}}function x(){try{d[t.onAiSearch](I,y.value)}catch(P){console.error(P)}}function N(P){o.setFieldValue(P.name,"",""),f()}function K(){try{d[t.onClear](I)}catch(P){console.error(P)}}const U={type:"floatcurd"};if(e(U),t.name){const P=Jo(t.name,U);A.onUnmounted(()=>{P()})}return(P,G)=>{const k=A.resolveComponent("el-button"),m=A.resolveComponent("el-input");return A.withDirectives((A.openBlock(),A.createElementBlock("div",J8,[A.createElementVNode("div",Z8,[A.createElementVNode("div",W8,[A.createVNode(m,{placeholder:P.inputPlaceholder,modelValue:y.value,"onUpdate:modelValue":G[0]||(G[0]=F=>y.value=F),clearable:"",onClear:x},{prefix:A.withCtx(()=>[A.createVNode(ve,{name:"icon-a-mobang1"}),G[3]||(G[3]=A.createElementVNode("span",{class:"prefix-text"},"Ask AI",-1))]),suffix:A.withCtx(()=>[A.createVNode(k,{type:"primary",size:"small",onClick:x},{default:A.withCtx(()=>G[4]||(G[4]=[A.createTextVNode("Go")])),_:1})]),_:1},8,["placeholder","modelValue"])]),A.createVNode(k,{plain:!0,onClick:G[1]||(G[1]=F=>i.value=!i.value),class:"more-btn"},{default:A.withCtx(()=>[A.createVNode(ve,{name:"icon-tiaojianshaixuan"}),G[5]||(G[5]=A.createElementVNode("span",null,"More",-1))]),_:1}),A.withDirectives(A.createElementVNode("div",j8,[A.createElementVNode("div",q8,[A.createElementVNode("div",X8,A.toDisplayString(P.formTitle),1),A.createElementVNode("div",V8,[A.createVNode(k,{type:"primary",size:"small",onClick:f},{default:A.withCtx(()=>G[6]||(G[6]=[A.createTextVNode("Go")])),_:1}),A.createVNode(ve,{name:"icon-a-rongqi1",onClick:G[2]||(G[2]=F=>i.value=!1)})])]),A.createElementVNode("div",AM,[A.createVNode(A.unref(rt),{list:P.children},null,8,["list"])])],512),[[A.vShow,i.value]])]),A.createElementVNode("div",eM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(b.value,F=>(A.openBlock(),A.createElementBlock("div",{class:"tag",key:F.name},[F.iconName?(A.openBlock(),A.createBlock(ve,{key:0,name:F.iconName},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(F.label)+":",1),A.createElementVNode("span",null,A.toDisplayString(F.value),1),F.closeable?(A.openBlock(),A.createBlock(ve,{key:1,name:"icon-a-rongqi1",onClick:_=>N(F),class:"close-icon"},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128)),b.value.length>0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"clear-btn",onClick:K},"Clear filters")):A.createCommentVNode("",!0)])],512)),[[A.vShow,!P.hidden]])}}}),[["__scopeId","data-v-b247717d"]])},Symbol.toStringTag,{value:"Module"})),nM={class:"tree-node-text"},iM=["title"],oM={key:0,class:"tree-node-present"},rM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:{onNodeClick:{},onNodeDbClick:{},onCheckChange:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{},styleType:{},name:{},showCheckbox:{type:Boolean}},setup(n,{expose:e}){const t=n,i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=A.ref(),o=(_,v)=>{I.value=_[t.nodeKey]},b=(_,v,B)=>{if(_&&i)try{i[_](d,{node:v,data:B})}catch(p){console.error(p+`
222
222
  onNodeClick: ${t.onNodeClick}`)}};let y=null,f=null,x=0;function N(_,v){console.log("nodeClick",_,v);const B=Date.now(),p=_.id,u=f==null?void 0:f.id;p===u&&B-x<300?(y&&(clearTimeout(y),y=null),U(_,v),f=null,x=0):(y&&clearTimeout(y),f=_,x=B,y=setTimeout(()=>{K(_,v),y=null,f=null,x=0},300))}const K=(_,v)=>{if(t.onNodeClick&&i)try{i[t.onNodeClick](d,{node:_,data:v})}catch(B){console.error(B+`
223
223
  onNodeClick: ${t.onNodeClick}`)}},U=(_,v)=>{if(t.onNodeDbClick&&i)try{i[t.onNodeDbClick](d,{node:_,data:v})}catch(B){console.error(B+`
224
224
  onNodeDbClick: ${t.onNodeDbClick}`)}},P=(_,v,B)=>{if(t.onLoad&&i)try{i[t.onLoad](d,{node:_,resolve:v,reject:B})}catch(p){console.error(p+`
225
- onLoad: ${t.onLoad}`)}},G=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const v=[t.data[0][t.nodeKey]];G.value=v},{immediate:!0});const k=A.useTemplateRef("treeRef"),m=()=>{var _;return(_=k.value)==null?void 0:_.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,type:"tree"});if(t.name){const _=Jo(t.name,F);A.onUnmounted(()=>{_()})}return e(F),(_,v)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(_.$attrs,{onNodeClick:N,load:P,ref_key:"treeRef",ref:k,class:["crm-tree",{"modal-tree":_.styleType==="modal"}],indent:32,"current-node-key":I.value,onCurrentChange:o,"node-key":_.nodeKey,props:t.props,data:_.data,"default-expanded-keys":G.value,"show-checkbox":_.showCheckbox}),{default:A.withCtx(({node:s,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":_.styleType==="modal"}])},[A.createElementVNode("div",nM,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[_.nodeKey]===I.value&&_.styleType==="modal"}]),title:s.label},A.toDisplayString(s.label),11,iM),g[_.nodeKey]===I.value?(A.openBlock(),A.createElementBlock("div",oM,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(_.btns,l=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:l.key},[A.unref(kt)(l.hidden,{$node:s,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(l.onClick||"",s,g),["stop"]),disabled:l.disabled,type:l.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:l.text,placement:"top"},{default:A.withCtx(()=>[l.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:l.icon.name,color:l.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-6f603c9e"]])},Symbol.toStringTag,{value:"Module"})),aM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:a8,infocard:y8,navbar:H8,alert:U8},I=n,o=A.ref(I.pageParams),b=A.ref({}),y=A.ref(),f=A.ref({});A.watch(()=>I.pageParams,()=>{o.value=ut.cloneDeep(I.pageParams)});const x=J=>{if(y.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":$=>{J.schema=$},ruleMap:I.ruleMap,pageParams:o.value,pageRulePath:y.value.rulePath||""};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":$=>{J.model=$},realValues:J.realValues,"onUpdate:realValues":$=>{J.realValues=$},schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":$=>{J.model=$},schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",findRef:U};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=A.ref([]),K=h2(),U=J=>{var Z;const $=(Z=N.value)==null?void 0:Z.find(D=>D.schema.key===J);return $||K.findRef(J)},P=J=>{var Z;return(Z=N.value)==null?void 0:Z.filter(D=>D.schema.key&&J.includes(D.schema.key))},G=(J,$)=>{var H;const Z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],D=X=>{X.forEach(rA=>{Z.includes(rA.component)?rA.props&&(rA.props.disabled=$):rA.children&&D(rA.children)})},q=(H=y.value)==null?void 0:H.content.find(X=>X.schema.key===J);q&&q.type==="form"&&D(q.schema.items)},k=(J,$)=>{var H;const Z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],D=X=>{X.forEach(rA=>{Z.includes(rA.component)?rA.props&&(rA.props.read=$):rA.children&&D(rA.children)})},q=(H=y.value)==null?void 0:H.content.find(X=>X.schema.key===J);q&&q.type==="form"&&D(q.schema.items)},m=async J=>{if(Array.isArray(J)){const $=P(J);for(const Z of $||[])Z.type==="form"&&await Z.validate()}else{const $=U(J);return $?await $.validate():!1}},F=(J,$)=>{const Z={...J||{}};if(!$)return Z;for(const[D,q]of Object.entries($))q!==""&&(Z[D]=q);return Z},_=J=>{if(y.value){if(!J){const $={};for(const Z of y.value.content)Z.schema.key&&(Z.type==="form"?$[Z.schema.key]=ut.cloneDeep(A.toRaw(F(Z.model,Z.realValues))):Z.type==="table"&&($[Z.schema.key]=ut.cloneDeep(A.toRaw(Z.model))));return $}if(Array.isArray(J)){const $={};for(const Z of y.value.content)Z.schema.key&&J.includes(Z.schema.key)&&(Z.type==="form"?$[Z.schema.key]=ut.cloneDeep(A.toRaw(F(Z.model,Z.realValues))):Z.type==="table"&&($[Z.schema.key]=ut.cloneDeep(A.toRaw(Z.model))));return $}else{const $=y.value.content.find(Z=>Z.schema.key===J);if($){if($.type==="form")return ut.cloneDeep(A.toRaw(F($.model,$.realValues)));if($.type==="table")return ut.cloneDeep(A.toRaw($.model))}}}},v=(J,$,Z=!1)=>{if(!y.value)return;const D=y.value.content.find(q=>q.schema.key===J);if(D)if(D.type==="form")if(Z)Object.assign(D.model,$);else{for(let q in D.model)delete D.model[q];Object.assign(D.model,$)}else D.type==="table"&&(D.model=$)},B=J=>{if(J)if(Array.isArray(J)){const $=P(J);for(const Z of $||[])Z.type==="form"&&Z.resetFields()}else{const $=U(J);if(!$)return;$.type==="form"&&$.resetFields()}},p=(J,$)=>{const Z=U(J);Z&&Z.type==="form"&&Z.clearValidate($)},u=(J,$)=>{var D;const Z=(D=y.value)==null?void 0:D.content.find(q=>q.schema.key===J);if(Z&&Z.type==="form")return ln(Z.schema.items,$)};function s(){return o.value}const g=J=>{o.value=J},l=J=>{o.value={...o.value,...J}},h=(J,$)=>{if(!y.value)return;const Z=y.value.content.find(D=>D.schema.key===J);Z&&(Z.schema.hidden=$)},C=(J,$)=>{if(!y.value)return;const Z=y.value.btns.find(D=>D.key===J);Z&&(Z.hidden=$)},a=(J,$,Z)=>{var D;if(y.value){if(J.type==="form"){const q=u(J.formKey,J.btnKey);q&&($==="disabled"?q.props[$]=Z:q[$]=Z)}else if(J.type==="page"){const q=y.value.btns.find(H=>H.key===J.btnKey);q&&(q[$]=Z)}else if(J.type==="table"){const q=(D=y.value)==null?void 0:D.content.find(H=>H.schema.key===J.tableKey);if(!q||q.type!=="table")return;J.btnPosition==="top"?q.schema.topBtns.find(H=>H.key===J.btnKey)[$]=Z:J.btnPosition==="row"&&($==="hidden"?q.schema.rowBtns.find(H=>H.key===J.btnKey).condition=!Z:q.schema.rowBtns.find(H=>H.key===J.btnKey)[$]=Z)}else if(J.type==="card"){const q=u(J.formKey,J.cardKey);q&&(q.props.btns.find(H=>H.key===J.btnKey)[$]=Z)}}},r=(J,$,Z)=>{var q,H,X,rA,iA;if(!y.value)return;const D=($==="disabled"||$==="hidden")&&typeof Z=="boolean";if(y.value.btns){const dA=y.value.btns.find(mA=>mA.key===J);if(dA&&D){dA[$]=Z;return}}for(const dA of y.value.content){if(dA.type==="infocard"){const mA=dA.schema.btns.find(gA=>gA.key===J);if(mA&&D){mA[$]=Z;return}}if(dA.type==="navbar"){const mA=(q=dA.schema.btns)==null?void 0:q.find(V=>V.key===J);if(mA&&D){mA[$]=Z;return}const gA=(H=dA.schema.footerBtns)==null?void 0:H.find(V=>V.key===J);if(gA&&D){gA[$]=Z;return}const wA=(X=dA.schema.leftActions)==null?void 0:X.find(V=>V.key===J);if(wA&&D&&$==="hidden"){wA[$]=Z;return}}if(dA.type==="table"){const mA=(rA=dA.schema.topBtns)==null?void 0:rA.find(wA=>wA.key===J);if(mA&&D){mA[$]=Z;return}const gA=(iA=dA.schema.rowBtns)==null?void 0:iA.find(wA=>wA.key===J);if(gA){$==="hidden"?gA.condition=!Z:$==="condition"&&typeof Z=="string"?gA.condition=Z:D&&(gA[$]=Z);return}}if(dA.type==="form"){const mA=gA=>{var wA,V;for(const sA of gA){if(sA.component==="Button"&&sA.name===J)return sA.props&&(sA.props[$]=Z),!0;if((sA.component==="Card"||sA.component==="CurdCard")&&sA.props&&Array.isArray(sA.props.btns)){const cA=sA.props.btns.find(hA=>hA.key===J);if(cA)return cA[$]=Z,!0}if(sA.component==="Table"&&sA.props){const cA=(wA=sA.props.topBtns)==null?void 0:wA.find(Y=>Y.key===J);if(cA)return cA[$]=Z,!0;const hA=(V=sA.props.rowBtns)==null?void 0:V.find(Y=>Y.key===J);if(hA)return $==="hidden"?hA.condition=!Z:$==="condition"&&typeof Z=="string"?hA.condition=Z:D&&(hA[$]=Z),!0}if(sA.children&&Array.isArray(sA.children)&&mA(sA.children))return!0}return!1};if(mA(dA.schema.items))return}}},E=(J,$)=>{if(!y.value)return;const Z=y.value.btns.find(D=>D.key===J);Z&&(Z.disabled=$)},Q=J=>{Object.assign(b.value,J)},M=()=>b.value,S=A.inject(Xn),T={findRef:U,setFormDisabled:G,clearValidate:p,validate:m,getData:_,resetFields:B,emit:i,setData:v,getItemByName:u,getPageParams:s,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:l,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:k,setPageMask:(S==null?void 0:S.setPageMaskFn)||(()=>{})},z=async J=>{if(!(!y.value||!y.value.rulePath)){try{f.value[J.key]=!0,await I.ruleMap[y.value.rulePath][J.onClick](T)}catch($){console.error($)}f.value[J.key]=!1}};A.provide("pageMethodMap",T),A.provide("ruleMap",I.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(S&&S.fetchSchemaFn&&I.pageUrl){const J=await S.fetchSchemaFn(I.pageUrl);if(!J)return;if(J&&J.rulePath&&J.onBeforeMount){const D=J.onBeforeMount;try{await I.ruleMap[J.rulePath][D](J,T)}catch(q){console.error(q+`
225
+ onLoad: ${t.onLoad}`)}},G=A.ref([]);A.watch(()=>t.data,()=>{if(!t.data||!Array.isArray(t.data)||t.data.length===0)return;const v=[t.data[0][t.nodeKey]];G.value=v},{immediate:!0});const k=A.useTemplateRef("treeRef"),m=()=>{var _;return(_=k.value)==null?void 0:_.getCheckedNodes()},F=A.readonly({getCheckedNodes:m,type:"tree"});if(t.name){const _=Jo(t.name,F);A.onUnmounted(()=>{_()})}return e(F),(_,v)=>{const B=A.resolveComponent("el-tooltip"),p=A.resolveComponent("el-button"),u=A.resolveComponent("el-tree");return A.openBlock(),A.createBlock(u,A.mergeProps(_.$attrs,{onNodeClick:N,load:P,ref_key:"treeRef",ref:k,class:["crm-tree",{"modal-tree":_.styleType==="modal"}],indent:32,"current-node-key":I.value,onCurrentChange:o,"node-key":_.nodeKey,props:t.props,data:_.data,"default-expanded-keys":G.value,"show-checkbox":_.showCheckbox}),{default:A.withCtx(({node:s,data:g})=>[A.createElementVNode("div",{class:A.normalizeClass(["custom-tree-node",{"modal-tree-node":_.styleType==="modal"}])},[A.createElementVNode("div",nM,[A.createElementVNode("span",{class:A.normalizeClass(["tree-node-label",{active:g[_.nodeKey]===I.value&&_.styleType==="modal"}]),title:s.label},A.toDisplayString(s.label),11,iM),g[_.nodeKey]===I.value?(A.openBlock(),A.createElementBlock("div",oM,"Present")):A.createCommentVNode("",!0)]),A.createElementVNode("div",null,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(_.btns,l=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:l.key},[A.unref(kt)(l.hidden,{$node:s,$data:g})?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(p,{key:0,link:"",onClick:A.withModifiers(h=>b(l.onClick||"",s,g),["stop"]),disabled:l.disabled,type:l.type},{default:A.withCtx(()=>[A.createVNode(B,{class:"box-item",effect:"dark",content:l.text,placement:"top"},{default:A.withCtx(()=>[l.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:l.icon.name,color:l.icon.color,class:"btn-icon"},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])],2)]),_:1},16,["class","current-node-key","node-key","props","data","default-expanded-keys","show-checkbox"])}}}),[["__scopeId","data-v-b018de1d"]])},Symbol.toStringTag,{value:"Module"})),aM=["id"],ag=oe(A.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["doneParent","done","refresh","changeTab","changeMixMode","addPageParams"],setup(n,{expose:e,emit:t}){const i=t,d={form:wn,table:rg,tabs:a8,infocard:y8,navbar:H8,alert:U8},I=n,o=A.ref(I.pageParams),b=A.ref({}),y=A.ref(),f=A.ref({});A.watch(()=>I.pageParams,()=>{o.value=ut.cloneDeep(I.pageParams)});const x=J=>{if(y.value){if(J.type==="tabs")return{...J.schema.tabProps,schema:J.schema,"onUpdate:schema":$=>{J.schema=$},ruleMap:I.ruleMap,pageParams:o.value,pageRulePath:y.value.rulePath||""};if(J.type==="form")return{modelValue:J.model,"onUpdate:modelValue":$=>{J.model=$},realValues:J.realValues,"onUpdate:realValues":$=>{J.realValues=$},schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="table")return{modelValue:J.model,"onUpdate:modelValue":$=>{J.model=$},schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageKey:y.value.key};if(J.type==="infocard")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||""};if(J.type==="navbar")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",findRef:U};if(J.type==="alert")return{schema:J.schema,"onUpdate:schema":$=>{J.schema=$},pageRulePath:y.value.rulePath||"",pageUrl:I.pageUrl,pageEmit:i}}},N=A.ref([]),K=h2(),U=J=>{var Z;const $=(Z=N.value)==null?void 0:Z.find(D=>D.schema.key===J);return $||K.findRef(J)},P=J=>{var Z;return(Z=N.value)==null?void 0:Z.filter(D=>D.schema.key&&J.includes(D.schema.key))},G=(J,$)=>{var H;const Z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],D=X=>{X.forEach(rA=>{Z.includes(rA.component)?rA.props&&(rA.props.disabled=$):rA.children&&D(rA.children)})},q=(H=y.value)==null?void 0:H.content.find(X=>X.schema.key===J);q&&q.type==="form"&&D(q.schema.items)},k=(J,$)=>{var H;const Z=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],D=X=>{X.forEach(rA=>{Z.includes(rA.component)?rA.props&&(rA.props.read=$):rA.children&&D(rA.children)})},q=(H=y.value)==null?void 0:H.content.find(X=>X.schema.key===J);q&&q.type==="form"&&D(q.schema.items)},m=async J=>{if(Array.isArray(J)){const $=P(J);for(const Z of $||[])Z.type==="form"&&await Z.validate()}else{const $=U(J);return $?await $.validate():!1}},F=(J,$)=>{const Z={...J||{}};if(!$)return Z;for(const[D,q]of Object.entries($))q!==""&&(Z[D]=q);return Z},_=J=>{if(y.value){if(!J){const $={};for(const Z of y.value.content)Z.schema.key&&(Z.type==="form"?$[Z.schema.key]=ut.cloneDeep(A.toRaw(F(Z.model,Z.realValues))):Z.type==="table"&&($[Z.schema.key]=ut.cloneDeep(A.toRaw(Z.model))));return $}if(Array.isArray(J)){const $={};for(const Z of y.value.content)Z.schema.key&&J.includes(Z.schema.key)&&(Z.type==="form"?$[Z.schema.key]=ut.cloneDeep(A.toRaw(F(Z.model,Z.realValues))):Z.type==="table"&&($[Z.schema.key]=ut.cloneDeep(A.toRaw(Z.model))));return $}else{const $=y.value.content.find(Z=>Z.schema.key===J);if($){if($.type==="form")return ut.cloneDeep(A.toRaw(F($.model,$.realValues)));if($.type==="table")return ut.cloneDeep(A.toRaw($.model))}}}},v=(J,$,Z=!1)=>{if(!y.value)return;const D=y.value.content.find(q=>q.schema.key===J);if(D)if(D.type==="form")if(Z)Object.assign(D.model,$);else{for(let q in D.model)delete D.model[q];Object.assign(D.model,$)}else D.type==="table"&&(D.model=$)},B=J=>{if(J)if(Array.isArray(J)){const $=P(J);for(const Z of $||[])Z.type==="form"&&Z.resetFields()}else{const $=U(J);if(!$)return;$.type==="form"&&$.resetFields()}},p=(J,$)=>{const Z=U(J);Z&&Z.type==="form"&&Z.clearValidate($)},u=(J,$)=>{var D;const Z=(D=y.value)==null?void 0:D.content.find(q=>q.schema.key===J);if(Z&&Z.type==="form")return ln(Z.schema.items,$)};function s(){return o.value}const g=J=>{o.value=J},l=J=>{o.value={...o.value,...J}},h=(J,$)=>{if(!y.value)return;const Z=y.value.content.find(D=>D.schema.key===J);Z&&(Z.schema.hidden=$)},C=(J,$)=>{if(!y.value)return;const Z=y.value.btns.find(D=>D.key===J);Z&&(Z.hidden=$)},a=(J,$,Z)=>{var D;if(y.value){if(J.type==="form"){const q=u(J.formKey,J.btnKey);q&&($==="disabled"?q.props[$]=Z:q[$]=Z)}else if(J.type==="page"){const q=y.value.btns.find(H=>H.key===J.btnKey);q&&(q[$]=Z)}else if(J.type==="table"){const q=(D=y.value)==null?void 0:D.content.find(H=>H.schema.key===J.tableKey);if(!q||q.type!=="table")return;J.btnPosition==="top"?q.schema.topBtns.find(H=>H.key===J.btnKey)[$]=Z:J.btnPosition==="row"&&($==="hidden"?q.schema.rowBtns.find(H=>H.key===J.btnKey).condition=!Z:q.schema.rowBtns.find(H=>H.key===J.btnKey)[$]=Z)}else if(J.type==="card"){const q=u(J.formKey,J.cardKey);q&&(q.props.btns.find(H=>H.key===J.btnKey)[$]=Z)}}},r=(J,$,Z)=>{var q,H,X,rA,iA;if(!y.value)return;const D=($==="disabled"||$==="hidden")&&typeof Z=="boolean";if(y.value.btns){const dA=y.value.btns.find(mA=>mA.key===J);if(dA&&D){dA[$]=Z;return}}for(const dA of y.value.content){if(dA.type==="infocard"){const mA=dA.schema.btns.find(gA=>gA.key===J);if(mA&&D){mA[$]=Z;return}}if(dA.type==="navbar"){const mA=(q=dA.schema.btns)==null?void 0:q.find(V=>V.key===J);if(mA&&D){mA[$]=Z;return}const gA=(H=dA.schema.footerBtns)==null?void 0:H.find(V=>V.key===J);if(gA&&D){gA[$]=Z;return}const wA=(X=dA.schema.leftActions)==null?void 0:X.find(V=>V.key===J);if(wA&&D&&$==="hidden"){wA[$]=Z;return}}if(dA.type==="table"){const mA=(rA=dA.schema.topBtns)==null?void 0:rA.find(wA=>wA.key===J);if(mA&&D){mA[$]=Z;return}const gA=(iA=dA.schema.rowBtns)==null?void 0:iA.find(wA=>wA.key===J);if(gA){$==="hidden"?gA.condition=!Z:$==="condition"&&typeof Z=="string"?gA.condition=Z:D&&(gA[$]=Z);return}}if(dA.type==="form"){const mA=gA=>{var wA,V;for(const sA of gA){if(sA.component==="Button"&&sA.name===J)return sA.props&&(sA.props[$]=Z),!0;if((sA.component==="Card"||sA.component==="CurdCard")&&sA.props&&Array.isArray(sA.props.btns)){const cA=sA.props.btns.find(hA=>hA.key===J);if(cA)return cA[$]=Z,!0}if(sA.component==="Table"&&sA.props){const cA=(wA=sA.props.topBtns)==null?void 0:wA.find(Y=>Y.key===J);if(cA)return cA[$]=Z,!0;const hA=(V=sA.props.rowBtns)==null?void 0:V.find(Y=>Y.key===J);if(hA)return $==="hidden"?hA.condition=!Z:$==="condition"&&typeof Z=="string"?hA.condition=Z:D&&(hA[$]=Z),!0}if(sA.children&&Array.isArray(sA.children)&&mA(sA.children))return!0}return!1};if(mA(dA.schema.items))return}}},E=(J,$)=>{if(!y.value)return;const Z=y.value.btns.find(D=>D.key===J);Z&&(Z.disabled=$)},Q=J=>{Object.assign(b.value,J)},M=()=>b.value,S=A.inject(Xn),T={findRef:U,setFormDisabled:G,clearValidate:p,validate:m,getData:_,resetFields:B,emit:i,setData:v,getItemByName:u,getPageParams:s,setHidden:h,setBtnHidden:C,setBtnStateByKey:r,setBtnDisabled:E,addPageParams:l,setPageParams:g,setGlobalParams:Q,getGlobalParams:M,setBtnState:a,setReadMode:k,setPageMask:(S==null?void 0:S.setPageMaskFn)||(()=>{})},z=async J=>{if(!(!y.value||!y.value.rulePath)){try{f.value[J.key]=!0,await I.ruleMap[y.value.rulePath][J.onClick](T)}catch($){console.error($)}f.value[J.key]=!1}};A.provide("pageMethodMap",T),A.provide("ruleMap",I.ruleMap),A.provide("getGlobalParams",M),A.onMounted(async()=>{if(S&&S.fetchSchemaFn&&I.pageUrl){const J=await S.fetchSchemaFn(I.pageUrl);if(!J)return;if(J&&J.rulePath&&J.onBeforeMount){const D=J.onBeforeMount;try{await I.ruleMap[J.rulePath][D](J,T)}catch(q){console.error(q+`
226
226
 
227
227
  rulePath: ${J.rulePath}
228
228
 
@@ -242,9 +242,9 @@ mountedFuncName: ${J}
242
242
  rulePath: ${y.value.rulePath}
243
243
 
244
244
  mountedFuncName: ${J}
245
- `)}}),A.onActivated(()=>{eA()}),e({...T,activate:eA,ruleFunction:AA}),(J,$)=>{const Z=A.resolveComponent("el-button"),D=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[y.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:y.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.content,q=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[q.type]),A.mergeProps({key:q.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:l,onDoneParent:$[0]||($[0]=H=>i("done",H))},x(q)),null,16))),128)),y.value.btns&&y.value.btns.length>0?(A.openBlock(),A.createBlock(D,{key:0,justify:y.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.btns,q=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:q.key},[q.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(Z,{key:0,type:q.type,loading:f.value[q.key],onClick:H=>z(q),disabled:q.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(q.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,aM)):A.renderSlot(J.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-770b5c83"]]),sM={install:(n,e={})=>{n.provide(Xn,e),n.component("FormRender",wn),n.component("FormDesign",wC),n.component("TableRender",rg),n.component("PageRender",ag)}},lM={key:0,class:"special-read"},cM={class:"special-read-value"},gM={key:1},dM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"TextArea",props:A.mergeModels({name:{},read:{type:Boolean},specialRead:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=mt(),d=A.computed(()=>t.read||i.schema.read);return i.findItemByName(i.schema.items,t.name),(I,o)=>{const b=A.resolveComponent("el-input");return I.specialRead&&d.value?(A.openBlock(),A.createElementBlock("div",lM,[A.createElementVNode("div",cM,A.toDisplayString(e.value||"--"),1)])):d.value?(A.openBlock(),A.createElementBlock("div",gM,A.toDisplayString(e.value||"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:2},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),type:"textarea"}),null,16,["modelValue"]))}}}),[["__scopeId","data-v-362f3918"]])},Symbol.toStringTag,{value:"Module"})),uM={key:3,class:"switch-panel"},hM={key:4,class:"card-btns"},pM={class:"card-sub-header"},CM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Card",props:{name:{},hidden:{type:Boolean},children:{},headerFormSlots:{},headerFormSlotsPosition:{},collapsible:{type:Boolean},typeSwitch:{type:Boolean},displayType:{},onSwitchChange:{},header:{},btns:{},mainIcon:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{},defaultCollapsed:{type:Boolean}},setup(n){const e=n;A.watch(()=>e.defaultCollapsed,f=>{I.value=f??!1});const t=A.ref(e.displayType||(e.typeSwitch?"card":"table")),i=mt(),d=f=>{if(t.value=f,e.onSwitchChange&&o){try{o[e.onSwitchChange](b,f)}catch(K){console.error(K+`
245
+ `)}}),A.onActivated(()=>{eA()}),e({...T,activate:eA,ruleFunction:AA}),(J,$)=>{const Z=A.resolveComponent("el-button"),D=A.resolveComponent("el-row");return A.openBlock(),A.createElementBlock("div",null,[y.value?(A.openBlock(),A.createElementBlock("div",{key:0,class:"page-render",id:y.value.key},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.content,q=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(d[q.type]),A.mergeProps({key:q.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:N,onAddPageParams:l,onDoneParent:$[0]||($[0]=H=>i("done",H))},x(q)),null,16))),128)),y.value.btns&&y.value.btns.length>0?(A.openBlock(),A.createBlock(D,{key:0,justify:y.value.btnPosition||"end",class:"btn-wrapper"},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.value.btns,q=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:q.key},[q.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(Z,{key:0,type:q.type,loading:f.value[q.key],onClick:H=>z(q),disabled:q.disabled},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(q.text),1)]),_:2},1032,["type","loading","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):A.createCommentVNode("",!0)],8,aM)):A.renderSlot(J.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-8e7ece64"]]),sM={install:(n,e={})=>{n.provide(Xn,e),n.component("FormRender",wn),n.component("FormDesign",wC),n.component("TableRender",rg),n.component("PageRender",ag)}},lM={key:0,class:"special-read"},cM={class:"special-read-value"},gM={key:1},dM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"TextArea",props:A.mergeModels({name:{},read:{type:Boolean},specialRead:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=mt(),d=A.computed(()=>t.read||i.schema.read);return i.findItemByName(i.schema.items,t.name),(I,o)=>{const b=A.resolveComponent("el-input");return I.specialRead&&d.value?(A.openBlock(),A.createElementBlock("div",lM,[A.createElementVNode("div",cM,A.toDisplayString(e.value||"--"),1)])):d.value?(A.openBlock(),A.createElementBlock("div",gM,A.toDisplayString(e.value||"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:2},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),type:"textarea"}),null,16,["modelValue"]))}}}),[["__scopeId","data-v-f631f329"]])},Symbol.toStringTag,{value:"Module"})),uM={key:3,class:"switch-panel"},hM={key:4,class:"card-btns"},pM={class:"card-sub-header"},CM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Card",props:{name:{},hidden:{type:Boolean},children:{},headerFormSlots:{},headerFormSlotsPosition:{},collapsible:{type:Boolean},typeSwitch:{type:Boolean},displayType:{},onSwitchChange:{},header:{},btns:{},mainIcon:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{},defaultCollapsed:{type:Boolean}},setup(n){const e=n;A.watch(()=>e.defaultCollapsed,f=>{I.value=f??!1});const t=A.ref(e.displayType||(e.typeSwitch?"card":"table")),i=mt(),d=f=>{if(t.value=f,e.onSwitchChange&&o){try{o[e.onSwitchChange](b,f)}catch(K){console.error(K+`
246
246
  onSwitchChange: ${e.onSwitchChange}`)}return}const x=ln(i.schema.items,e.name),N=K=>{K.forEach(U=>{U.component==="Table"&&U.props&&(U.props.displayType=f),U.children&&U.children.length>0&&N(U.children)})};x&&x.children&&N(x.children)},I=A.ref(e.defaultCollapsed??!1),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),y=f=>{if(f&&o)try{o[f](b)}catch(x){console.error(x+`
247
- funcName: ${f}`)}};return(f,x)=>{const N=A.resolveComponent("el-tooltip"),K=A.resolveComponent("el-collapse-transition"),U=A.resolveComponent("ElCard");return f.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(U,A.mergeProps({key:0},f.$attrs,{class:["crm-card",{collapsed:I.value,shadowless:f.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{"has-collapsed":f.collapsible}])},[f.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:x[0]||(x[0]=P=>I.value=!I.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":I.value}])},null,8,["class"])])):A.createCommentVNode("",!0),f.mainIcon?(A.openBlock(),A.createBlock(ve,{key:1,class:"title-icon",size:"large",name:f.mainIcon.name,color:f.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(f.header),1),f.headerFormSlots?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"header-form-slots-right":f.headerFormSlotsPosition==="right","header-form-slots-left":f.headerFormSlotsPosition==="left"})},[A.createVNode(A.unref(rt),{list:f.headerFormSlots},null,8,["list"])],2)):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.extraIcons,P=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.name},[P.tips?(A.openBlock(),A.createBlock(N,{key:0,content:P.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:P.name,color:P.color,size:P.size||"small",onClick:G=>y(P.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:P.name,color:P.color,size:P.size||"small",onClick:G=>y(P.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),f.typeSwitch?(A.openBlock(),A.createElementBlock("div",uM,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="card"}]),onClick:x[1]||(x[1]=P=>d("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="table"}]),onClick:x[2]||(x[2]=P=>d("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),f.btns&&f.btns.length>0?(A.openBlock(),A.createElementBlock("div",hM,[A.createVNode(A.unref(ii),{btns:f.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),A.createElementVNode("div",pM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.subHeaders,P=>(A.openBlock(),A.createElementBlock("div",{key:P,class:"card-sub-header-item"},[A.createElementVNode("span",null,A.toDisplayString(P),1)]))),128))])],2)]),default:A.withCtx(()=>[A.createVNode(K,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1})]),_:1},16,["class"]))}}}),[["__scopeId","data-v-424bfd08"]])},Symbol.toStringTag,{value:"Module"})),BM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Cascader",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=y=>{if(e.onChange&&i)try{i[e.onChange](d,y)}catch(f){console.error(f+`
247
+ funcName: ${f}`)}};return(f,x)=>{const N=A.resolveComponent("el-tooltip"),K=A.resolveComponent("el-collapse-transition"),U=A.resolveComponent("ElCard");return f.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(U,A.mergeProps({key:0},f.$attrs,{class:["crm-card",{collapsed:I.value,shadowless:f.shadowless}],shadow:"never"}),{header:A.withCtx(()=>[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{"has-collapsed":f.collapsible}])},[f.collapsible?(A.openBlock(),A.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:x[0]||(x[0]=P=>I.value=!I.value)},[A.createVNode(A.unref(Ie),{name:"dropdown",class:A.normalizeClass(["dropdown-icon",{"is-collapsed":I.value}])},null,8,["class"])])):A.createCommentVNode("",!0),f.mainIcon?(A.openBlock(),A.createBlock(ve,{key:1,class:"title-icon",size:"large",name:f.mainIcon.name,color:f.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(f.header),1),f.headerFormSlots?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass({"header-form-slots-right":f.headerFormSlotsPosition==="right","header-form-slots-left":f.headerFormSlotsPosition==="left"})},[A.createVNode(A.unref(rt),{list:f.headerFormSlots},null,8,["list"])],2)):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.extraIcons,P=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:P.name},[P.tips?(A.openBlock(),A.createBlock(N,{key:0,content:P.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:P.name,color:P.color,size:P.size||"small",onClick:G=>y(P.onClick)},null,8,["name","color","size","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:P.name,color:P.color,size:P.size||"small",onClick:G=>y(P.onClick)},null,8,["name","color","size","onClick"]))],64))),128)),f.typeSwitch?(A.openBlock(),A.createElementBlock("div",uM,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="card"}]),onClick:x[1]||(x[1]=P=>d("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:t.value==="table"}]),onClick:x[2]||(x[2]=P=>d("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),f.btns&&f.btns.length>0?(A.openBlock(),A.createElementBlock("div",hM,[A.createVNode(A.unref(ii),{btns:f.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0),A.createElementVNode("div",pM,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(f.subHeaders,P=>(A.openBlock(),A.createElementBlock("div",{key:P,class:"card-sub-header-item"},[A.createElementVNode("span",null,A.toDisplayString(P),1)]))),128))])],2)]),default:A.withCtx(()=>[A.createVNode(K,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:f.children},null,8,["list"])],512),[[A.vShow,!I.value]])]),_:1})]),_:1},16,["class"]))}}}),[["__scopeId","data-v-33507fb9"]])},Symbol.toStringTag,{value:"Module"})),BM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Cascader",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.inject("ruleModule",void 0),d=A.inject("pageMethodMap",{}),I=y=>{if(e.onChange&&i)try{i[e.onChange](d,y)}catch(f){console.error(f+`
248
248
  onChange: ${e.onChange}`)}},{currentOptions:o,loading:b}=Br(e);return(y,f)=>{const x=A.resolveComponent("el-cascader");return A.openBlock(),A.createBlock(x,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=N=>t.value=N),options:A.unref(o),loading:A.unref(b),props:{multiple:y.multiple,label:y.labelKey,value:y.valueKey}},y.$attrs,{onChange:I}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var yC={exports:{}};/*!
249
249
  * jsoneditor.js
250
250
  *
@@ -1644,12 +1644,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1644
1644
  linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,k=360,m="keydown",F="mousedown",_="focusin";function v(g,l){return(l||document).querySelector(g)}function B(g){g.preventDefault(),g.stopPropagation()}function p(g,l,h,C,a){g.add(l,m,function(r){h.indexOf(r.key)>=0&&C(r)})}var u=function(){function g(l){o(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new K,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(l)}return b(g,[{key:"setOptions",value:function(h){var C=this;if(!h)return;var a=this.settings;function r(S,T,z){for(var AA in S)T[AA]=S[AA]}if(h instanceof HTMLElement)a.parent=h;else{a.parent&&h.parent&&a.parent!==h.parent&&(this._events.remove(a.parent),this._popupInited=!1),r(h,a),h.onChange&&(this.onChange=h.onChange),h.onDone&&(this.onDone=h.onDone),h.onOpen&&(this.onOpen=h.onOpen),h.onClose&&(this.onClose=h.onClose);var E=h.color||h.colour;E&&this._setColor(E)}var Q=a.parent;if(Q&&a.popup&&!this._popupInited){var M=function(T){return C.openHandler(T)};this._events.add(Q,"click",M),p(this._events,Q,[" ","Spacebar","Enter"],M),this._popupInited=!0}else h.parent&&!a.popup&&this.show()}},{key:"openHandler",value:function(h){if(this.show()){h&&h.preventDefault(),this.settings.parent.style.pointerEvents="none";var C=h&&h.type===m?this._domEdit:this.domElement;setTimeout(function(){return C.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(h){var C=h&&h.type,a=!1;if(!h)a=!0;else if(C===F||C===_){var r=(this.__containedEvent||0)+100;h.timeStamp>r&&(a=!0)}else B(h),a=!0;a&&this.hide()&&(this.settings.parent.style.pointerEvents="",C!==F&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(h,C){this.closeHandler(),this.setOptions(h),C&&this.openHandler()}},{key:"setColor",value:function(h,C){this._setColor(h,{silent:C})}},{key:"_setColor",value:function(h,C){if(typeof h=="string"&&(h=h.trim()),!!h){C=C||{};var a=void 0;try{a=new N(h)}catch(E){if(C.failSilently)return;throw E}if(!this.settings.alpha){var r=a.hsla;r[3]=1,a.hsla=r}this.colour=this.color=a,this._setHSLA(null,null,null,null,C)}}},{key:"setColour",value:function(h,C){this.setColor(h,C)}},{key:"show",value:function(){var h=this.settings.parent;if(!h)return!1;if(this.domElement){var C=this._toggleDOM(!0);return this._setPosition(),C}var a=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',r=U(a);return this.domElement=r,this._domH=v(".picker_hue",r),this._domSL=v(".picker_sl",r),this._domA=v(".picker_alpha",r),this._domEdit=v(".picker_editor input",r),this._domSample=v(".picker_sample",r),this._domOkay=v(".picker_done button",r),this._domCancel=v(".picker_cancel button",r),r.classList.add("layout_"+this.settings.layout),this.settings.alpha||r.classList.add("no_alpha"),this.settings.editor||r.classList.add("no_editor"),this.settings.cancelButton||r.classList.add("no_cancel"),this._ifPopup(function(){return r.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var h=this,C=this,a=this.domElement,r=this._events;function E(S,T,z){r.add(S,T,z)}E(a,"click",function(S){return S.preventDefault()}),P(r,this._domH,function(S,T){return C._setHSLA(S)}),P(r,this._domSL,function(S,T){return C._setHSLA(null,S,1-T)}),this.settings.alpha&&P(r,this._domA,function(S,T){return C._setHSLA(null,null,null,1-T)});var Q=this._domEdit;E(Q,"input",function(S){C._setColor(this.value,{fromEditor:!0,failSilently:!0})}),E(Q,"focus",function(S){var T=this;T.selectionStart===T.selectionEnd&&T.select()}),this._ifPopup(function(){var S=function(AA){return h.closeHandler(AA)};E(window,F,S),E(window,_,S),p(r,a,["Esc","Escape"],S);var T=function(AA){h.__containedEvent=AA.timeStamp};E(a,F,T),E(a,_,T),E(h._domCancel,"click",S)});var M=function(T){h._ifPopup(function(){return h.closeHandler(T)}),h.onDone&&h.onDone(h.colour)};E(this._domOkay,"click",M),p(r,a,["Enter"],M)}},{key:"_setPosition",value:function(){var h=this.settings.parent,C=this.domElement;h!==C.parentNode&&h.appendChild(C),this._ifPopup(function(a){getComputedStyle(h).position==="static"&&(h.style.position="relative");var r=a===!0?"popup_right":"popup_"+a;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(E){E===r?C.classList.add(E):C.classList.remove(E)}),C.classList.add(r)})}},{key:"_setHSLA",value:function(h,C,a,r,E){E=E||{};var Q=this.colour,M=Q.hsla;[h,C,a,r].forEach(function(S,T){(S||S===0)&&(M[T]=S)}),Q.hsla=M,this._updateUI(E),this.onChange&&!E.silent&&this.onChange(Q)}},{key:"_updateUI",value:function(h){if(!this.domElement)return;h=h||{};var C=this.colour,a=C.hsla,r="hsl("+a[0]*k+", 100%, 50%)",E=C.hslString,Q=C.hslaString,M=this._domH,S=this._domSL,T=this._domA,z=v(".picker_selector",M),AA=v(".picker_selector",S),eA=v(".picker_selector",T);function J(iA,dA,mA){dA.style.left=mA*100+"%"}function $(iA,dA,mA){dA.style.top=mA*100+"%"}J(M,z,a[0]),this._domSL.style.backgroundColor=this._domH.style.color=r,J(S,AA,a[1]),$(S,AA,1-a[2]),S.style.color=E,$(T,eA,1-a[3]);var Z=E,D=Z.replace("hsl","hsla").replace(")",", 0)"),q="linear-gradient("+[Z,D]+")";if(this._domA.style.background=q+", "+G,!h.fromEditor){var H=this.settings.editorFormat,X=this.settings.alpha,rA=void 0;switch(H){case"rgb":rA=C.printRGB(X);break;case"hsl":rA=C.printHSL(X);break;default:rA=C.printHex(X)}this._domEdit.value=rA}this._domSample.style.color=Q}},{key:"_ifPopup",value:function(h,C){this.settings.parent&&this.settings.popup?h&&h(this.settings.popup):C&&C()}},{key:"_toggleDOM",value:function(h){var C=this.domElement;if(!C)return!1;var a=h?"":"none",r=C.style.display!==a;return r&&(C.style.display=a),r}}]),g}(),s=document.createElement("style");return s.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(s),u.StyleElement=s,u}()},9857:function(I,o,b){b.d(o,{m:function(){return XA}});class y extends Error{constructor(MA,qA){super(MA+" at position "+qA),this.position=qA}}let f=92,x=47,N=42,K=123,U=125,P=91,G=93,k=40,m=41,F=32,_=10,v=9,B=13,p=8,u=12,s=34,g=43,l=45,h=39,C=48,a=57,r=44,E=46,Q=58,M=59,S=65,T=97,z=69,AA=101,eA=70,J=102,$=160,Z=8192,D=8202,q=8239,H=8287,X=12288,rA=8220,iA=8221,dA=8216,mA=8217,gA=96,wA=180;function V(SA){return SA>=C&&SA<=a}function sA(SA){return cA.test(SA)}let cA=/^[,:[\]/{}()\n+]$/;function hA(SA){return Y.test(SA)||SA&&tA(SA.charCodeAt(0))}let Y=/^[[{\w-]$/;function j(SA){return SA===F||SA===_||SA===v||SA===B}function tA(SA){return aA(SA)||xA(SA)}function aA(SA){return SA===s||SA===rA||SA===iA}function CA(SA){return SA===s}function xA(SA){return SA===h||SA===dA||SA===mA||SA===gA||SA===wA}function zA(SA){return SA===h}function jA(SA,MA,qA){return qA=2<arguments.length&&qA!==void 0&&qA,MA=SA.lastIndexOf(MA),MA!==-1?SA.substring(0,MA)+(qA?"":SA.substring(MA+1)):SA}function Ae(SA,MA){let qA=SA.length;if(!j(SA.charCodeAt(qA-1)))return SA+MA;for(;j(SA.charCodeAt(qA-1));)qA--;return SA.substring(0,qA)+MA+SA.substring(qA)}let vA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},$A={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1645
1645
  `,r:"\r",t:" "};function XA(SA){let MA=0,qA="";if(!ye())throw new y("Unexpected end of json string",SA.length);var Ce=UA(r);if(Ce&&xe(),hA(SA[MA])&&/[,\n][ \t\r]*$/.test(qA)){Ce||(qA=Ae(qA,","));{let se=!0,ue=!0;for(;ue;)se?se=!1:UA(r)||(qA=Ae(qA,",")),ue=ye();ue||(qA=jA(qA,",")),qA=`[
1646
1646
  `.concat(qA,`
1647
- ]`)}}else Ce&&(qA=jA(qA,","));for(;SA.charCodeAt(MA)===U||SA.charCodeAt(MA)===G;)MA++,xe();if(MA>=SA.length)return qA;throw new y("Unexpected character "+JSON.stringify(SA[MA]),MA);function ye(){xe();var se=function(){if(SA.charCodeAt(MA)!==K)return!1;{qA+="{",MA++,xe(),JA(r)&&xe();let ct=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==U;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),xe()),de(),!(ae()||fA())){SA.charCodeAt(MA)===U||SA.charCodeAt(MA)===K||SA.charCodeAt(MA)===G||SA.charCodeAt(MA)===P||SA[MA]===void 0?qA=jA(qA,","):function(){throw new y("Object key expected",MA)}();break}xe();var ue=UA(Q),Se=MA>=SA.length,tt=(ue||(hA(SA[MA])||Se?qA=Ae(qA,":"):be()),ye());tt||(ue||Se?qA+="null":be())}return SA.charCodeAt(MA)===U?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(SA.charCodeAt(MA)!==P)return!1;{qA+="[",MA++,xe(),JA(r)&&xe();let Se=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==G;){Se?Se=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return SA.charCodeAt(MA)===G?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(SA.charCodeAt(MA)===l){if(MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1}for(;V(SA.charCodeAt(MA));)MA++;if(SA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1;for(;V(SA.charCodeAt(MA));)MA++}if(SA.charCodeAt(MA)===AA||SA.charCodeAt(MA)===z){if(MA++,SA.charCodeAt(MA)!==l&&SA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1;for(;V(SA.charCodeAt(MA));)MA++}var Se,tt;if(TA()){if(MA>ue)return Se=SA.slice(ue,MA),tt=/^0\d/.test(Se),qA+=tt?'"'.concat(Se,'"'):Se,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||fA();return xe(),se}function xe(){for(NA();function(){if(SA.charCodeAt(MA)===x&&SA.charCodeAt(MA+1)===N){for(;MA<SA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(SA,MA);)MA++;MA+=2}else{if(SA.charCodeAt(MA)!==x||SA.charCodeAt(MA+1)!==x)return!1;for(;MA<SA.length&&SA.charCodeAt(MA)!==_;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,Se;(ue=j(SA.charCodeAt(MA)))||(Se=SA.charCodeAt(MA))===$||Se>=Z&&Se<=D||Se===q||Se===H||Se===X;)se+=ue?SA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return SA.charCodeAt(MA)===se&&(qA+=SA[MA],MA++,!0)}function JA(se){return SA.charCodeAt(MA)===se&&(MA++,!0)}function de(){xe(),SA.charCodeAt(MA)===E&&SA.charCodeAt(MA+1)===E&&SA.charCodeAt(MA+2)===E&&(MA+=3,xe(),JA(r))}function ae(se){var ue,Se,tt=0<arguments.length&&se!==void 0&&se;let ct=SA.charCodeAt(MA)===f;if(ct&&(MA++,ct=!0),tA(SA.charCodeAt(MA))){var FA=CA(SA.charCodeAt(MA))?CA:zA(SA.charCodeAt(MA))?zA:xA(SA.charCodeAt(MA))?xA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=SA.length)return WA=LA(MA-1),!tt&&sA(SA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(SA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,xe(),tt||MA>=SA.length||sA(SA.charAt(MA))||tA(SA.charCodeAt(MA))||V(SA.charCodeAt(MA)))return Ee(),!0;if(sA(SA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&sA(SA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(SA.charCodeAt(MA)===f)if(ZA=SA.charAt(MA+1),$A[ZA]!==void 0)Me+=SA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((Se=SA.charCodeAt(MA+qe))>=C&&Se<=a||Se>=S&&Se<=eA||Se>=T&&Se<=J);)qe++;if(qe===6)Me+=SA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=SA.length))throw fe=void 0,fe=SA.slice(MA,MA+6),new y('Invalid unicode character "'.concat(fe,'"'),MA);MA=SA.length}}else Me+=ZA,MA+=2;else{var fe=SA.charAt(MA),ie=SA.charCodeAt(MA);if(ie===s&&SA.charCodeAt(MA-1)!==f)Me+="\\"+fe;else if((ue=ie)===_||ue===B||ue===v||ue===p||ue===u)Me+=vA[fe];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=fe,new y("Invalid character "+JSON.stringify(ie),MA);Me+=fe}MA++}}ct&&JA(f)}}return!1}function Ee(){for(xe();SA.charCodeAt(MA)===g;){MA++,xe();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,Se=1,ue.substring(0,se)+ue.substring(se+Se)):Ae(qA,'"')}var Se}function ke(se,ue){return SA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function fA(){for(var se,ue=MA;MA<SA.length&&(!sA(se=SA[MA])||se==="/")&&!tA(SA.charCodeAt(MA));)MA++;if(MA>ue){if(SA.charCodeAt(MA)===k&&/^\w+$/.test(SA.slice(ue,MA).trim()))MA++,ye(),SA.charCodeAt(MA)===m&&(MA++,SA.charCodeAt(MA)===M)&&MA++;else{for(;j(SA.charCodeAt(MA-1))&&0<MA;)MA--;ue=SA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),SA.charCodeAt(MA)===s&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&j(SA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=SA.length||sA(SA[MA])||j(SA.charCodeAt(MA))}function re(se){qA+=SA.slice(se,MA)+"0"}function be(){throw new y("Colon expected",MA)}}},3420:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(I){I.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=d[I];return o!==void 0||(o=d[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(yC);var mM=yC.exports;const EM=fd(mM),QM={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const K=P=>{this.json=P,this.$emit("update:modelValue",P),this.$emit("change",P),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const P=this.editor.get();K(P)}catch{}},d=()=>{this.expandAll()},I=(K,U,P)=>{this.$emit("textSelectionChange",this.editor,K,U,P)},o=(K,U)=>{this.$emit("selectionChange",this.editor,K,U)},b=(K,U,P)=>{this.$emit("colorPicker",this.editor,K,U,P)},y=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},x=K=>{this.$emit("validationError",this.editor,K)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:y,onBlur:f,onValidationError:x};this.editor=new EM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},IM={ref:"jsonEditorVue",class:"json-editor-vue"};function fM(n,e,t,i,d,I){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",IM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const wM=oe(QM,[["render",fM],["__scopeId","data-v-c53d52f1"]]),bM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(u0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(wM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),yM={key:0},DM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),{currentOptions:d,selectChange:I,loading:o}=Br(e),{ruleModule:b,pageMethodMap:y}=$n(),f=x=>{if(I(x),e.onChange&&b)try{b[e.onChange](y,x)}catch(N){console.error(N+`
1648
- onChange: ${e.onChange}`)}};return A.watch(t,I),(x,N)=>{var m;const K=A.resolveComponent("el-checkbox"),U=A.resolveComponent("el-checkbox-button"),P=A.resolveComponent("el-space"),G=A.resolveComponent("el-checkbox-group"),k=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",yM,A.toDisplayString((m=t.value)==null?void 0:m.map(F=>{var _;return(_=A.unref(d).find(v=>v[x.valueKey]===F))==null?void 0:_[x.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(G,A.mergeProps({key:1},x.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=F=>t.value=F),onChange:f}),{default:A.withCtx(()=>[x.optionType==="circle"||x.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(K,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,border:x.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):A.createCommentVNode("",!0),x.optionType==="button"?(A.openBlock(),A.createBlock(P,{key:1,wrap:"",size:[x.space,x.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(U,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,size:"large"},null,8,["label","value","disabled"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[k,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),vM={class:"vfc-color-input"},kM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const d=A.resolveComponent("el-input"),I=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",vM,[A.createVNode(d,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(I,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),_M={key:0,class:"empty"},MM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",_M,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),xM={key:0},SM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},defaultStartTime:{},defaultEndTime:{},disabledDate:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.useAttrs(),d=A.computed(()=>{if(t.defaultStartTime&&t.defaultEndTime)return[new Date(2e3,1,1,parseInt(t.defaultStartTime.split(":")[0]),parseInt(t.defaultStartTime.split(":")[1]),parseInt(t.defaultStartTime.split(":")[2])),new Date(2e3,2,1,parseInt(t.defaultEndTime.split(":")[0]),parseInt(t.defaultEndTime.split(":")[1]),parseInt(t.defaultEndTime.split(":")[2]))]}),I=mt(),o=A.computed(()=>t.read||I.schema.read),b=A.computed(()=>e.value?i.valueFormat?xt.dayjs(e.value).format(i.valueFormat):e.value:"--"),y=[{text:"Today",value:new Date}],f=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=U=>{if(console.log("zytest-----handleChange",U),t.onChange&&f)try{f[t.onChange](x,U)}catch(P){console.error(P+`
1649
- onChange: ${t.onChange}`)}},K=U=>t.disabledDate?f[t.disabledDate](x,U):!1;return(U,P)=>{const G=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",xM,A.toDisplayString(b.value),1)):(A.openBlock(),A.createBlock(G,A.mergeProps({key:1},U.$attrs,{modelValue:e.value,"onUpdate:modelValue":P[0]||(P[0]=k=>e.value=k),style:{width:"100%"},shortcuts:y,"disabled-date":K,onChange:N,"default-time":d.value}),null,16,["modelValue","default-time"]))}}})},Symbol.toStringTag,{value:"Module"})),NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),FM=A.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const e=A.ref(!1),t=A.ref(""),i=A.ref([]),d=A.ref(null),I=A.ref(0),o=A.ref(0),b=A.ref(!1),y=A.ref(1),f=A.ref(null),x=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,_=>{f.value&&(f.value.style.background=_)});const K=()=>{if(f.value){f.value.style.width=`${n.width}px`;const _=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*_}px`,d.value=f.value.getContext("2d"),d.value&&(d.value.scale(1*y.value,1*y.value),y.value=_/n.width,d.value.scale(1/y.value,1/y.value))}};A.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=N.value,K(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",K)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const U=_=>{I.value=_.x,o.value=_.y,d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.lineWidth=n.lineWidth*y.value,d.value.stroke(),d.value.closePath(),i.value.push(_))},P=_=>{d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.strokeStyle=n.lineColor,d.value.lineWidth=n.lineWidth*y.value,d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),o.value=_.y,I.value=_.x,i.value.push(_))},G=_=>{d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),i.value.push(_),i.value.push({x:-1,y:-1}))},k=_=>{const v=(_==null?void 0:_.format)||n.format,B=(_==null?void 0:_.quality)||n.quality;return new Promise((p,u)=>{if(!e.value){u("Warning: Not Signed!");return}if(d.value){const s=d.value.getImageData(0,0,f.value.width,f.value.height);d.value.globalCompositeOperation="destination-over",d.value.fillStyle=N.value,d.value.fillRect(0,0,f.value.width,f.value.height),t.value=f.value.toDataURL(v,B);let g=t.value;if(d.value.clearRect(0,0,f.value.width,f.value.height),d.value.putImageData(s,0,0),d.value.globalCompositeOperation="source-over",n.isCrop){const l=F(s.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=l[2]-l[0],h.height=l[3]-l[1];const a=d.value.getImageData(l[0],l[1],l[2],l[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(v,B)}}p(g)}})},m=()=>{d.value&&d.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},F=_=>{let v=f.value.width,B=0,p=f.value.height,u=0;for(let s=0;s<f.value.width;s++)for(let g=0;g<f.value.height;g++){const l=(s+f.value.width*g)*4;(_[l]>0||_[l+1]>0||_[l+2]>0||_[l+3]>0)&&(u=Math.max(g,u),B=Math.max(s,B),p=Math.min(g,p),v=Math.min(s,v))}return[v+1,p+1,B+1,u+1]};return{canvas:f,myBg:N,drawStart:U,drawMove:P,drawEnd:G,generate:k,reset:m,touchStart:_=>{if(_.preventDefault(),e.value=!0,_.touches.length===1&&f.value){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(v)}},touchMove:_=>{if(_.preventDefault(),_.touches.length===1){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};P(v)}},touchEnd:_=>{if(_.preventDefault(),_.touches.length===1){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};G(v)}},mouseDown:_=>{_.preventDefault(),b.value=!0,e.value=!0;const v={x:_.offsetX,y:_.offsetY};U(v)},mouseMove:_=>{if(_.preventDefault(),b.value){const v={x:_.offsetX,y:_.offsetY};P(v)}},mouseUp:_=>{_.preventDefault();const v={x:_.offsetX,y:_.offsetY};G(v),b.value=!1}}}});function RM(n,e,t,i,d,I){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const LM=oe(FM,[["render",RM],["__scopeId","data-v-5f3bfcf7"]]),GM={key:0},PM={class:"vfc-esign-preview"},HM=["src"],KM={key:1,class:"vfc-esign"},TM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.ref(),i=mt(),d=A.useModel(n,"modelValue"),I={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},o=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},y=()=>{t.value.generate().then(N=>{d.value=N}).catch(N=>{alert(N)})},f=A.ref(""),x=()=>{f.value=d.value,d.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,K)=>{const U=A.resolveComponent("el-button");return A.unref(i).read||d.value?(A.openBlock(),A.createElementBlock("div",GM,[A.createElementVNode("div",PM,[A.createElementVNode("img",{src:d.value,alt:"未签名"},null,8,HM)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(U,{key:0,disabled:N.disabled,onClick:x,type:"primary"},{default:A.withCtx(()=>K[2]||(K[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",KM,[A.createVNode(A.unref(wn),{modelValue:o.value,"onUpdate:modelValue":K[0]||(K[0]=P=>o.value=P),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(LM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[f.value?(A.openBlock(),A.createBlock(U,{key:0,disabled:N.disabled,onClick:K[1]||(K[1]=P=>d.value=f.value),plain:"",type:"primary"},{default:A.withCtx(()=>K[3]||(K[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode(U,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>K[4]||(K[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode(U,{disabled:N.disabled,onClick:y,type:"primary"},{default:A.withCtx(()=>K[5]||(K[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),UM={key:0},YM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Radio",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),d=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=f=>{const{valueKey:x="value",name:N}=e;let K={};if(K=b.value.find(U=>U[x]===f)||{},i.selectData&&N&&i.updateSelectData(N,K),e.onChange&&d)try{d[e.onChange](I,f,K)}catch(U){console.error(U+`
1650
- onChange: ${e.onChange}`)}},{currentOptions:b,loading:y}=Br(e);return(f,x)=>{var k;const N=A.resolveComponent("el-radio"),K=A.resolveComponent("el-radio-button"),U=A.resolveComponent("el-space"),P=A.resolveComponent("el-radio-group"),G=A.resolveDirective("loading");return f.read?(A.openBlock(),A.createElementBlock("div",UM,A.toDisplayString(((k=A.unref(b).find(m=>m[f.valueKey]===t.value))==null?void 0:k[f.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(P,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=m=>t.value=m),onChange:o},f.$attrs),{default:A.withCtx(()=>[A.createVNode(U,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:A.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(K,A.mergeProps({key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],class:"radio-button",disabled:m[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[G,A.unref(y)]])}}}),[["__scopeId","data-v-1e24870a"]])},Symbol.toStringTag,{value:"Module"})),OM={class:"vfc-formList"},$M={key:1},zM={class:"list-item-content"},JM={class:"card-header"},ZM={style:{"margin-top":"5px"}},WM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=mt(),I=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),y=()=>{o.value||(t.value=[...t.value,{}])},f=N=>{const K=t.value.filter((U,P)=>P!==N);t.value=K},x=(N,K,U,P)=>{const G=K.no,k=I(P)[G];return A.h(ro,{...k,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${P}.${k.name}`})};return A.watch(t,(N,K)=>{const U=N.reduce((m,F,_)=>(ut.isEqual(F,K[_])||(m=_),m),0);if(i.value=U,!e.children.some(m=>m.change))return;const P=I(U),G=N[U]||{},k=K[U]||{};P.forEach(m=>{m.change&&k&&!ut.isEqual(G[m.name],k[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const _=F.target.split(".").pop();t.value[U][_]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,K)=>{const U=A.resolveComponent("el-space"),P=A.resolveComponent("el-button"),G=A.resolveComponent("el-form-item"),k=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",OM,[A.unref(d).design?(A.openBlock(),A.createBlock(A.unref(jc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",$M,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(_,v)=>(A.openBlock(),A.createBlock(G,{key:_.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",zM,[A.createVNode(U,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${v}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:B=>f(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(_,v)=>(A.openBlock(),A.createBlock(k,{key:_.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",JM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(v+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:B=>f(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${v}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,_=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:_.name,label:_.label,key:_.name,ref_for:!0},A.unref(ut.pickBy)(_,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(_=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:v=>f(_.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",ZM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:y,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),jM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),qM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-8ba696e7"]])},Symbol.toStringTag,{value:"Module"})),XM={key:0},VM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=mt(),i=A.computed(()=>t.schema.read),d=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=A.resolveComponent("el-input-number");return I.read||i.value?(A.openBlock(),A.createElementBlock("span",XM,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(I.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),style:{width:"100%"},min:I.min||0,onKeydown:d}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),Ax={style:{"min-height":"32px"}},ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=mt(),I=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),y=P=>{const{valueKey:G="value",multiple:k,name:m}=e;let F={};if(k&&Array.isArray(P)?F=N.value.filter(_=>P.includes(_[G])):F=N.value.find(_=>_[G]===P)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,P,F)}catch(_){console.error(_+`
1647
+ ]`)}}else Ce&&(qA=jA(qA,","));for(;SA.charCodeAt(MA)===U||SA.charCodeAt(MA)===G;)MA++,xe();if(MA>=SA.length)return qA;throw new y("Unexpected character "+JSON.stringify(SA[MA]),MA);function ye(){xe();var se=function(){if(SA.charCodeAt(MA)!==K)return!1;{qA+="{",MA++,xe(),JA(r)&&xe();let ct=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==U;){if(ct?ct=!1:(UA(r)||(qA=Ae(qA,",")),xe()),de(),!(ae()||fA())){SA.charCodeAt(MA)===U||SA.charCodeAt(MA)===K||SA.charCodeAt(MA)===G||SA.charCodeAt(MA)===P||SA[MA]===void 0?qA=jA(qA,","):function(){throw new y("Object key expected",MA)}();break}xe();var ue=UA(Q),Se=MA>=SA.length,tt=(ue||(hA(SA[MA])||Se?qA=Ae(qA,":"):be()),ye());tt||(ue||Se?qA+="null":be())}return SA.charCodeAt(MA)===U?(qA+="}",MA++):qA=Ae(qA,"}"),!0}}()||function(){if(SA.charCodeAt(MA)!==P)return!1;{qA+="[",MA++,xe(),JA(r)&&xe();let Se=!0;for(;MA<SA.length&&SA.charCodeAt(MA)!==G;){Se?Se=!1:UA(r)||(qA=Ae(qA,",")),de();var ue=ye();if(!ue){qA=jA(qA,",");break}}return SA.charCodeAt(MA)===G?(qA+="]",MA++):qA=Ae(qA,"]"),!0}}()||ae()||function(){var ue=MA;if(SA.charCodeAt(MA)===l){if(MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1}for(;V(SA.charCodeAt(MA));)MA++;if(SA.charCodeAt(MA)===E){if(MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1;for(;V(SA.charCodeAt(MA));)MA++}if(SA.charCodeAt(MA)===AA||SA.charCodeAt(MA)===z){if(MA++,SA.charCodeAt(MA)!==l&&SA.charCodeAt(MA)!==g||MA++,TA())return re(ue),!0;if(!V(SA.charCodeAt(MA)))return MA=ue,!1;for(;V(SA.charCodeAt(MA));)MA++}var Se,tt;if(TA()){if(MA>ue)return Se=SA.slice(ue,MA),tt=/^0\d/.test(Se),qA+=tt?'"'.concat(Se,'"'):Se,!0}else MA=ue;return!1}()||ke("true","true")||ke("false","false")||ke("null","null")||ke("True","true")||ke("False","false")||ke("None","null")||fA();return xe(),se}function xe(){for(NA();function(){if(SA.charCodeAt(MA)===x&&SA.charCodeAt(MA+1)===N){for(;MA<SA.length&&!function(se,ue){return se[ue]==="*"&&se[ue+1]==="/"}(SA,MA);)MA++;MA+=2}else{if(SA.charCodeAt(MA)!==x||SA.charCodeAt(MA+1)!==x)return!1;for(;MA<SA.length&&SA.charCodeAt(MA)!==_;)MA++}return!0}()&&NA(););}function NA(){let se="";for(var ue,Se;(ue=j(SA.charCodeAt(MA)))||(Se=SA.charCodeAt(MA))===$||Se>=Z&&Se<=D||Se===q||Se===H||Se===X;)se+=ue?SA[MA]:" ",MA++;return 0<se.length&&(qA+=se,!0)}function UA(se){return SA.charCodeAt(MA)===se&&(qA+=SA[MA],MA++,!0)}function JA(se){return SA.charCodeAt(MA)===se&&(MA++,!0)}function de(){xe(),SA.charCodeAt(MA)===E&&SA.charCodeAt(MA+1)===E&&SA.charCodeAt(MA+2)===E&&(MA+=3,xe(),JA(r))}function ae(se){var ue,Se,tt=0<arguments.length&&se!==void 0&&se;let ct=SA.charCodeAt(MA)===f;if(ct&&(MA++,ct=!0),tA(SA.charCodeAt(MA))){var FA=CA(SA.charCodeAt(MA))?CA:zA(SA.charCodeAt(MA))?zA:xA(SA.charCodeAt(MA))?xA:aA,bA=MA,PA=qA.length;let Me='"';for(MA++;;){if(MA>=SA.length)return WA=LA(MA-1),!tt&&sA(SA.charAt(WA))?(MA=bA,qA=qA.substring(0,PA),ae(!0)):(Me=Ae(Me,'"'),qA+=Me,!0);if(FA(SA.charCodeAt(MA))){var WA=MA,ZA=Me.length;if(Me+='"',MA++,qA+=Me,xe(),tt||MA>=SA.length||sA(SA.charAt(MA))||tA(SA.charCodeAt(MA))||V(SA.charCodeAt(MA)))return Ee(),!0;if(sA(SA.charAt(LA(WA-1))))return MA=bA,qA=qA.substring(0,PA),ae(!0);qA=qA.substring(0,PA),MA=WA+1,Me=Me.substring(0,ZA)+"\\"+Me.substring(ZA)}else{if(tt&&sA(SA[MA]))return Me=Ae(Me,'"'),qA+=Me,Ee(),!0;if(SA.charCodeAt(MA)===f)if(ZA=SA.charAt(MA+1),$A[ZA]!==void 0)Me+=SA.slice(MA,MA+2),MA+=2;else if(ZA==="u"){let qe=2;for(;qe<6&&((Se=SA.charCodeAt(MA+qe))>=C&&Se<=a||Se>=S&&Se<=eA||Se>=T&&Se<=J);)qe++;if(qe===6)Me+=SA.slice(MA,MA+6),MA+=6;else{if(!(MA+qe>=SA.length))throw fe=void 0,fe=SA.slice(MA,MA+6),new y('Invalid unicode character "'.concat(fe,'"'),MA);MA=SA.length}}else Me+=ZA,MA+=2;else{var fe=SA.charAt(MA),ie=SA.charCodeAt(MA);if(ie===s&&SA.charCodeAt(MA-1)!==f)Me+="\\"+fe;else if((ue=ie)===_||ue===B||ue===v||ue===p||ue===u)Me+=vA[fe];else{if(!(32<=(ue=ie)&&ue<=1114111))throw ie=void 0,ie=fe,new y("Invalid character "+JSON.stringify(ie),MA);Me+=fe}MA++}}ct&&JA(f)}}return!1}function Ee(){for(xe();SA.charCodeAt(MA)===g;){MA++,xe();var se=(qA=jA(qA,'"',!0)).length,ue=ae();qA=ue?(ue=qA,se=se,Se=1,ue.substring(0,se)+ue.substring(se+Se)):Ae(qA,'"')}var Se}function ke(se,ue){return SA.slice(MA,MA+se.length)===se&&(qA+=ue,MA+=se.length,!0)}function fA(){for(var se,ue=MA;MA<SA.length&&(!sA(se=SA[MA])||se==="/")&&!tA(SA.charCodeAt(MA));)MA++;if(MA>ue){if(SA.charCodeAt(MA)===k&&/^\w+$/.test(SA.slice(ue,MA).trim()))MA++,ye(),SA.charCodeAt(MA)===m&&(MA++,SA.charCodeAt(MA)===M)&&MA++;else{for(;j(SA.charCodeAt(MA-1))&&0<MA;)MA--;ue=SA.slice(ue,MA),qA+=ue==="undefined"?"null":JSON.stringify(ue),SA.charCodeAt(MA)===s&&MA++}return!0}}function LA(se){let ue=se;for(;0<ue&&j(SA.charCodeAt(ue));)ue--;return ue}function TA(){return MA>=SA.length||sA(SA[MA])||j(SA.charCodeAt(MA))}function re(se){qA+=SA.slice(se,MA)+"0"}function be(){throw new y("Colon expected",MA)}}},3420:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(I){I.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(I){I.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},d={},t.amdD=function(){throw new Error("define cannot be used indirect")},t.n=function(I){var o=I&&I.__esModule?function(){return I.default}:function(){return I};return t.d(o,{a:o}),o},t.d=function(I,o){for(var b in o)t.o(o,b)&&!t.o(I,b)&&Object.defineProperty(I,b,{enumerable:!0,get:o[b]})},t.o=function(I,o){return Object.prototype.hasOwnProperty.call(I,o)},t.r=function(I){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(I,"__esModule",{value:!0})},t.nmd=function(I){return I.paths=[],I.children||(I.children=[]),I},t(1346);function t(I){var o=d[I];return o!==void 0||(o=d[I]={id:I,loaded:!1,exports:{}},i[I].call(o.exports,o,o.exports,t),o.loaded=!0),o.exports}var i,d})})(yC);var mM=yC.exports;const EM=fd(mM),QM={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:e,options:t}=this,i=()=>{const K=P=>{this.json=P,this.$emit("update:modelValue",P),this.$emit("change",P),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){K("");return}try{const P=this.editor.get();K(P)}catch{}},d=()=>{this.expandAll()},I=(K,U,P)=>{this.$emit("textSelectionChange",this.editor,K,U,P)},o=(K,U)=>{this.$emit("selectionChange",this.editor,K,U)},b=(K,U,P)=>{this.$emit("colorPicker",this.editor,K,U,P)},y=({target:K})=>{this.$emit("focus",this.editor,K)},f=({target:K})=>{this.$emit("blur",this.editor,K)},x=K=>{this.$emit("validationError",this.editor,K)},N={...t,indentation:2,language:this.language,mode:n,modes:e,onChange:i,onModeChange:d,onTextSelectionChange:I,onSelectionChange:o,onColorPicker:b,onFocus:y,onBlur:f,onValidationError:x};this.editor=new EM(this.$refs.jsonEditorVue,N,this.json)},expandAll(){var n,e;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((e=this.editor)==null||e.expandAll())},setEditorContent(n){var e;(e=this.editor)==null||e.set(n)}}},IM={ref:"jsonEditorVue",class:"json-editor-vue"};function fM(n,e,t,i,d,I){return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["container",{"full-screen-container":d.isFullScreen}])},[A.createElementVNode("div",IM,null,512),A.createElementVNode("div",{class:A.normalizeClass(["full-screen",{show:d.showFullScreen,right:!d.hasLogo}]),onClick:e[0]||(e[0]=(...o)=>I.toggleFullScreen&&I.toggleFullScreen(...o))},null,2)],2)}const wM=oe(QM,[["render",fM],["__scopeId","data-v-c3373674"]]),bM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:A.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>(A.openBlock(),A.createBlock(A.unref(u0),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:A.withCtx(()=>[A.createVNode(wM,A.mergeProps({class:"editor-direct",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},t.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),yM={key:0},DM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Checkbox",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),{currentOptions:d,selectChange:I,loading:o}=Br(e),{ruleModule:b,pageMethodMap:y}=$n(),f=x=>{if(I(x),e.onChange&&b)try{b[e.onChange](y,x)}catch(N){console.error(N+`
1648
+ onChange: ${e.onChange}`)}};return A.watch(t,I),(x,N)=>{var m;const K=A.resolveComponent("el-checkbox"),U=A.resolveComponent("el-checkbox-button"),P=A.resolveComponent("el-space"),G=A.resolveComponent("el-checkbox-group"),k=A.resolveDirective("loading");return A.unref(i).schema.read?(A.openBlock(),A.createElementBlock("div",yM,A.toDisplayString((m=t.value)==null?void 0:m.map(F=>{var _;return(_=A.unref(d).find(v=>v[x.valueKey]===F))==null?void 0:_[x.labelKey]}).join("、")),1)):A.withDirectives((A.openBlock(),A.createBlock(G,A.mergeProps({key:1},x.$attrs,{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=F=>t.value=F),onChange:f}),{default:A.withCtx(()=>[x.optionType==="circle"||x.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(K,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,border:x.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):A.createCommentVNode("",!0),x.optionType==="button"?(A.openBlock(),A.createBlock(P,{key:1,wrap:"",size:[x.space,x.space]},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(d),F=>(A.openBlock(),A.createBlock(U,{key:F[x.valueKey],label:F[x.labelKey],value:F[x.valueKey],disabled:F.disabled,size:"large"},null,8,["label","value","disabled"]))),128))]),_:1},8,["size"])):A.createCommentVNode("",!0)]),_:1},16,["modelValue"])),[[k,A.unref(o)]])}}})},Symbol.toStringTag,{value:"Module"})),vM={class:"vfc-color-input"},kM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>{const d=A.resolveComponent("el-input"),I=A.resolveComponent("el-color-picker");return A.openBlock(),A.createElementBlock("div",vM,[A.createVNode(d,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=o=>e.value=o)},null,8,["modelValue"]),A.createVNode(I,{modelValue:e.value,"onUpdate:modelValue":i[1]||(i[1]=o=>e.value=o)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),_M={key:0,class:"empty"},MM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Custom",props:A.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue");return(t,i)=>t.componentName?(A.openBlock(),A.createBlock(A.resolveDynamicComponent(t.componentName),A.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=d=>e.value=d)},t.$attrs),null,16,["modelValue"])):(A.openBlock(),A.createElementBlock("span",_M,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-2250b7d1"]])},Symbol.toStringTag,{value:"Module"})),xM={key:0},SM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"DatePicker",props:A.mergeModels({onChange:{},onInput:{},onEnter:{},rulePath:{},read:{type:Boolean},readTextColor:{},onClick:{},defaultStartTime:{},defaultEndTime:{},disabledDate:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=n,i=A.useAttrs(),d=A.computed(()=>{if(t.defaultStartTime&&t.defaultEndTime)return[new Date(2e3,1,1,parseInt(t.defaultStartTime.split(":")[0]),parseInt(t.defaultStartTime.split(":")[1]),parseInt(t.defaultStartTime.split(":")[2])),new Date(2e3,2,1,parseInt(t.defaultEndTime.split(":")[0]),parseInt(t.defaultEndTime.split(":")[1]),parseInt(t.defaultEndTime.split(":")[2]))]}),I=mt(),o=A.computed(()=>t.read||I.schema.read),b=A.computed(()=>e.value?i.valueFormat?xt.dayjs(e.value).format(i.valueFormat):e.value:"--"),y=[{text:"Today",value:new Date}],f=A.inject("ruleModule",void 0),x=A.inject("pageMethodMap",{}),N=U=>{if(console.log("zytest-----handleChange",U),t.onChange&&f)try{f[t.onChange](x,U)}catch(P){console.error(P+`
1649
+ onChange: ${t.onChange}`)}},K=U=>t.disabledDate?f[t.disabledDate](x,U):!1;return(U,P)=>{const G=A.resolveComponent("el-date-picker");return o.value?(A.openBlock(),A.createElementBlock("span",xM,A.toDisplayString(b.value),1)):(A.openBlock(),A.createBlock(G,A.mergeProps({key:1},U.$attrs,{modelValue:e.value,"onUpdate:modelValue":P[0]||(P[0]=k=>e.value=k),style:{width:"100%"},shortcuts:y,"disabled-date":K,onChange:N,"default-time":d.value}),null,16,["modelValue","default-time"]))}}})},Symbol.toStringTag,{value:"Module"})),NM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("ElDivider");return A.openBlock(),A.createBlock(i,A.normalizeProps(A.guardReactiveProps(e.$attrs)),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),FM=A.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const e=A.ref(!1),t=A.ref(""),i=A.ref([]),d=A.ref(null),I=A.ref(0),o=A.ref(0),b=A.ref(!1),y=A.ref(1),f=A.ref(null),x=A.computed(()=>n.height/n.width),N=A.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");A.watch(N,_=>{f.value&&(f.value.style.background=_)});const K=()=>{if(f.value){f.value.style.width=`${n.width}px`;const _=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*_}px`,d.value=f.value.getContext("2d"),d.value&&(d.value.scale(1*y.value,1*y.value),y.value=_/n.width,d.value.scale(1/y.value,1/y.value))}};A.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=N.value,K(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",K)}),A.onBeforeUnmount(()=>{window.removeEventListener("resize",K)});const U=_=>{I.value=_.x,o.value=_.y,d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.lineWidth=n.lineWidth*y.value,d.value.stroke(),d.value.closePath(),i.value.push(_))},P=_=>{d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.strokeStyle=n.lineColor,d.value.lineWidth=n.lineWidth*y.value,d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),o.value=_.y,I.value=_.x,i.value.push(_))},G=_=>{d.value&&(d.value.beginPath(),d.value.moveTo(I.value,o.value),d.value.lineTo(_.x,_.y),d.value.lineCap="round",d.value.lineJoin="round",d.value.stroke(),d.value.closePath(),i.value.push(_),i.value.push({x:-1,y:-1}))},k=_=>{const v=(_==null?void 0:_.format)||n.format,B=(_==null?void 0:_.quality)||n.quality;return new Promise((p,u)=>{if(!e.value){u("Warning: Not Signed!");return}if(d.value){const s=d.value.getImageData(0,0,f.value.width,f.value.height);d.value.globalCompositeOperation="destination-over",d.value.fillStyle=N.value,d.value.fillRect(0,0,f.value.width,f.value.height),t.value=f.value.toDataURL(v,B);let g=t.value;if(d.value.clearRect(0,0,f.value.width,f.value.height),d.value.putImageData(s,0,0),d.value.globalCompositeOperation="source-over",n.isCrop){const l=F(s.data),h=document.createElement("canvas"),C=h.getContext("2d");if(C){h.width=l[2]-l[0],h.height=l[3]-l[1];const a=d.value.getImageData(l[0],l[1],l[2],l[3]);C.globalCompositeOperation="destination-over",C.putImageData(a,0,0),C.fillStyle=N.value,C.fillRect(0,0,h.width,h.height),g=h.toDataURL(v,B)}}p(g)}})},m=()=>{d.value&&d.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(i.value=[],e.value=!1,t.value="")},F=_=>{let v=f.value.width,B=0,p=f.value.height,u=0;for(let s=0;s<f.value.width;s++)for(let g=0;g<f.value.height;g++){const l=(s+f.value.width*g)*4;(_[l]>0||_[l+1]>0||_[l+2]>0||_[l+3]>0)&&(u=Math.max(g,u),B=Math.max(s,B),p=Math.min(g,p),v=Math.min(s,v))}return[v+1,p+1,B+1,u+1]};return{canvas:f,myBg:N,drawStart:U,drawMove:P,drawEnd:G,generate:k,reset:m,touchStart:_=>{if(_.preventDefault(),e.value=!0,_.touches.length===1&&f.value){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(v)}},touchMove:_=>{if(_.preventDefault(),_.touches.length===1){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};P(v)}},touchEnd:_=>{if(_.preventDefault(),_.touches.length===1){const v={x:_.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:_.targetTouches[0].clientY-f.value.getBoundingClientRect().top};G(v)}},mouseDown:_=>{_.preventDefault(),b.value=!0,e.value=!0;const v={x:_.offsetX,y:_.offsetY};U(v)},mouseMove:_=>{if(_.preventDefault(),b.value){const v={x:_.offsetX,y:_.offsetY};P(v)}},mouseUp:_=>{_.preventDefault();const v={x:_.offsetX,y:_.offsetY};G(v),b.value=!1}}}});function RM(n,e,t,i,d,I){return A.openBlock(),A.createElementBlock("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...o)=>n.mouseDown&&n.mouseDown(...o)),onMousemove:e[1]||(e[1]=(...o)=>n.mouseMove&&n.mouseMove(...o)),onMouseup:e[2]||(e[2]=(...o)=>n.mouseUp&&n.mouseUp(...o)),onTouchstart:e[3]||(e[3]=(...o)=>n.touchStart&&n.touchStart(...o)),onTouchmove:e[4]||(e[4]=(...o)=>n.touchMove&&n.touchMove(...o)),onTouchend:e[5]||(e[5]=(...o)=>n.touchEnd&&n.touchEnd(...o))},null,544)}const LM=oe(FM,[["render",RM],["__scopeId","data-v-0e272b28"]]),GM={key:0},PM={class:"vfc-esign-preview"},HM=["src"],KM={key:1,class:"vfc-esign"},TM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.ref(),i=mt(),d=A.useModel(n,"modelValue"),I={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},o=A.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{t.value.reset()},y=()=>{t.value.generate().then(N=>{d.value=N}).catch(N=>{alert(N)})},f=A.ref(""),x=()=>{f.value=d.value,d.value=""};return A.onMounted(()=>{Object.assign(o.value,e)}),(N,K)=>{const U=A.resolveComponent("el-button");return A.unref(i).read||d.value?(A.openBlock(),A.createElementBlock("div",GM,[A.createElementVNode("div",PM,[A.createElementVNode("img",{src:d.value,alt:"未签名"},null,8,HM)]),A.unref(i).read?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(U,{key:0,disabled:N.disabled,onClick:x,type:"primary"},{default:A.withCtx(()=>K[2]||(K[2]=[A.createTextVNode("重写")])),_:1},8,["disabled"]))])):(A.openBlock(),A.createElementBlock("div",KM,[A.createVNode(A.unref(wn),{modelValue:o.value,"onUpdate:modelValue":K[0]||(K[0]=P=>o.value=P),schema:I,class:"vfc-esign-actions"},null,8,["modelValue"]),A.createVNode(LM,{class:"vfc-esign-canvas",ref_key:"esign",ref:t,width:N.width,height:N.height,isCrop:N.isCrop,lineWidth:o.value.lineWidth,lineColor:o.value.lineColor,bgColor:o.value.bgColor,format:N.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),A.createElementVNode("div",null,[f.value?(A.openBlock(),A.createBlock(U,{key:0,disabled:N.disabled,onClick:K[1]||(K[1]=P=>d.value=f.value),plain:"",type:"primary"},{default:A.withCtx(()=>K[3]||(K[3]=[A.createTextVNode("取消")])),_:1},8,["disabled"])):A.createCommentVNode("",!0),A.createVNode(U,{disabled:N.disabled,onClick:b,plain:"",type:"primary"},{default:A.withCtx(()=>K[4]||(K[4]=[A.createTextVNode("清空")])),_:1},8,["disabled"]),A.createVNode(U,{disabled:N.disabled,onClick:y,type:"primary"},{default:A.withCtx(()=>K[5]||(K[5]=[A.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),UM={key:0},YM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Radio",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:8}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),d=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=f=>{const{valueKey:x="value",name:N}=e;let K={};if(K=b.value.find(U=>U[x]===f)||{},i.selectData&&N&&i.updateSelectData(N,K),e.onChange&&d)try{d[e.onChange](I,f,K)}catch(U){console.error(U+`
1650
+ onChange: ${e.onChange}`)}},{currentOptions:b,loading:y}=Br(e);return(f,x)=>{var k;const N=A.resolveComponent("el-radio"),K=A.resolveComponent("el-radio-button"),U=A.resolveComponent("el-space"),P=A.resolveComponent("el-radio-group"),G=A.resolveDirective("loading");return f.read?(A.openBlock(),A.createElementBlock("div",UM,A.toDisplayString(((k=A.unref(b).find(m=>m[f.valueKey]===t.value))==null?void 0:k[f.labelKey])||"--"),1)):A.withDirectives((A.openBlock(),A.createBlock(P,A.mergeProps({key:1,modelValue:t.value,"onUpdate:modelValue":x[0]||(x[0]=m=>t.value=m),onChange:o},f.$attrs),{default:A.withCtx(()=>[A.createVNode(U,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:A.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(N,{key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],disabled:m[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(A.unref(b),m=>(A.openBlock(),A.createBlock(K,A.mergeProps({key:m[f.valueKey],label:m[f.labelKey],value:m[f.valueKey],class:"radio-button",disabled:m[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[G,A.unref(y)]])}}}),[["__scopeId","data-v-08ecef32"]])},Symbol.toStringTag,{value:"Module"})),OM={class:"vfc-formList"},$M={key:1},zM={class:"list-item-content"},JM={class:"card-header"},ZM={style:{"margin-top":"5px"}},WM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"FormList",props:A.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(0),d=mt(),I=N=>kt(e.children,{$item:t.value[N],$index:N}),o=A.computed(()=>t.value.length>=e.maxLines),b=A.computed(()=>t.value.length<=e.minLines),y=()=>{o.value||(t.value=[...t.value,{}])},f=N=>{const K=t.value.filter((U,P)=>P!==N);t.value=K},x=(N,K,U,P)=>{const G=K.no,k=I(P)[G];return A.h(ro,{...k,hideLabel:!0,style:{marginBottom:0},name:`${e.name}.${P}.${k.name}`})};return A.watch(t,(N,K)=>{const U=N.reduce((m,F,_)=>(ut.isEqual(F,K[_])||(m=_),m),0);if(i.value=U,!e.children.some(m=>m.change))return;const P=I(U),G=N[U]||{},k=K[U]||{};P.forEach(m=>{m.change&&k&&!ut.isEqual(G[m.name],k[m.name])&&m.change.forEach(F=>{if(F.condition!==!1){if(ut.isString(F.condition)&&/^{{\s*(.*?)\s*}}$/.test(F.condition))return;const _=F.target.split(".").pop();t.value[U][_]=F.value}})})}),A.onMounted(()=>{var N;e.minLines&&!((N=t.value)!=null&&N.length)&&(t.value=Array.from({length:e.minLines},()=>({})))}),A.provide("$objGroupBase",A.computed(()=>`${e.name}.${i.value}`)),(N,K)=>{const U=A.resolveComponent("el-space"),P=A.resolveComponent("el-button"),G=A.resolveComponent("el-form-item"),k=A.resolveComponent("el-card"),m=A.resolveComponent("el-table-column"),F=A.resolveComponent("el-table");return A.openBlock(),A.createElementBlock("div",OM,[A.unref(d).design?(A.openBlock(),A.createBlock(A.unref(jc),{key:0,list:N.children,class:"layoutRender"},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",$M,[N.mode==="inline"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:0},A.renderList(t.value,(_,v)=>(A.openBlock(),A.createBlock(G,{key:_.key,class:"list-item"},{default:A.withCtx(()=>[A.createElementVNode("div",zM,[A.createVNode(U,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({ref_for:!0},B,{key:B.label,name:`${N.name}.${v}.${B.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:B=>f(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="card"?(A.openBlock(!0),A.createElementBlock(A.Fragment,{key:1},A.renderList(t.value,(_,v)=>(A.openBlock(),A.createBlock(k,{key:_.key,class:"list-card"},{header:A.withCtx(()=>[A.createElementVNode("div",JM,[A.createElementVNode("span",null,A.toDisplayString(N.title+(v+1)),1),N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:B=>f(v),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small"},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I(v),B=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({ref_for:!0},B,{key:B.label,class:"list-card-item",name:`${N.name}.${v}.${B.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):A.createCommentVNode("",!0),N.mode==="table"&&t.value.length?(A.openBlock(),A.createBlock(F,{key:2,data:t.value,style:{width:"100%"}},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.children,_=>(A.openBlock(),A.createBlock(m,A.mergeProps({prop:_.name,label:_.label,key:_.name,ref_for:!0},A.unref(ut.pickBy)(_,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),A.createVNode(m,{fixed:"right","min-width":"60"},{default:A.withCtx(_=>[N.allowReduce&&!b.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:v=>f(_.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):A.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):A.createCommentVNode("",!0),A.createElementVNode("div",ZM,[N.allowAdd&&!o.value?(A.openBlock(),A.createBlock(P,{key:0,onClick:y,type:"primary",class:"list-btn addBtn",disabled:N.disabled,size:"small",plain:""},{icon:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"add"})]),default:A.withCtx(()=>[A.createTextVNode(" "+A.toDisplayString(N.title),1)]),_:1},8,["disabled"])):A.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),jM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const e=n,t=A.computed(()=>({display:"grid","grid-template-columns":`repeat(${e.columns}, minmax(0, 1fr))`,"row-gap":(e.rowGap||12)+"px","column-gap":(e.columnGap||12)+"px","align-items":e.alignItems,"padding-top":e.paddingTop+"px","padding-bottom":e.paddingBottom+"px","padding-left":e.paddingLeft+"px","padding-right":e.paddingRight+"px"}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-grid",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}})},Symbol.toStringTag,{value:"Module"})),qM=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{},alignItems:{},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const e=n,t=A.computed(()=>({width:"100%",display:"flex","justify-content":e.align,"align-items":e.alignItems,"flex-wrap":e.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${isNaN(e.gap)?12:e.gap}px`,...e.style||{}}));return(i,d)=>(A.openBlock(),A.createElementBlock("div",{class:"form-item-inline",style:A.normalizeStyle(t.value)},[A.createVNode(A.unref(rt),{list:i.children},null,8,["list"])],4))}}),[["__scopeId","data-v-50b97afb"]])},Symbol.toStringTag,{value:"Module"})),XM={key:0},VM=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=mt(),i=A.computed(()=>t.schema.read),d=I=>{["E","e","+","-"].includes(I.key)&&I.preventDefault()};return(I,o)=>{const b=A.resolveComponent("el-input-number");return I.read||i.value?(A.openBlock(),A.createElementBlock("span",XM,A.toDisplayString(typeof e.value=="number"?e.value.toFixed(I.precision||0).replace(".",","):"--"),1)):(A.openBlock(),A.createBlock(b,A.mergeProps({key:1},I.$attrs,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=y=>e.value=y),style:{width:"100%"},min:I.min||0,onKeydown:d}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),Ax={style:{"min-height":"32px"}},ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Select",props:A.mergeModels({options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean,default:!0},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.computed(()=>e.clearable===null||e.clearable===void 0?!0:!!e.clearable),i=A.useModel(n,"modelValue"),d=mt(),I=A.computed(()=>e.read||d.schema.read),o=A.inject("ruleModule",void 0),b=A.inject("pageMethodMap",{}),y=P=>{const{valueKey:G="value",multiple:k,name:m}=e;let F={};if(k&&Array.isArray(P)?F=N.value.filter(_=>P.includes(_[G])):F=N.value.find(_=>_[G]===P)||{},d.selectData&&m&&d.updateSelectData(m,F),e.onChange&&o)try{o[e.onChange](b,P,F)}catch(_){console.error(_+`
1651
1651
  onChange: ${e.onChange}`)}},{currentOptions:f,loading:x}=Br(e),N=A.ref(JSON.parse(JSON.stringify(f.value))),K=A.computed(()=>{var G;if(e.multiple)return N.value.filter(m=>i.value.includes(m[e.valueKey])).map(m=>m[e.labelKey]).join(",");const P=(G=N.value.find(k=>k[e.valueKey]===i.value))==null?void 0:G[e.labelKey];return!P||`${P}`.trim().length===0?"--":P});A.watch(()=>i,P=>{U()}),A.watch(()=>f.value,P=>{U()});const U=()=>{var G;if(N.value=JSON.parse(JSON.stringify(f.value||[])),!(i!=null&&i.value)&&(i==null?void 0:i.value)!=-1)return;let P=!0;(G=f==null?void 0:f.value)==null||G.forEach(k=>{k.value===i.value&&(P=!1)}),P&&N.value.unshift({label:"",value:i.value})};return(P,G)=>{const k=A.resolveComponent("el-option"),m=A.resolveComponent("el-select");return I.value?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:P.readTextColor})},A.toDisplayString(K.value),5)):(A.openBlock(),A.createBlock(m,A.mergeProps({key:1,modelValue:i.value,"onUpdate:modelValue":G[0]||(G[0]=F=>i.value=F)},P.$attrs,{onChange:y,multiple:P.multiple,clearable:t.value,filterable:"","fallback-placements":["bottom"],loading:A.unref(x),placeholder:"",style:{width:P.width}}),{loading:A.withCtx(()=>G[1]||(G[1]=[A.createElementVNode("svg",{class:"circular",viewBox:"0 0 20 20"},[A.createElementVNode("g",{class:"path2 loading-path","stroke-width":"0",style:{animation:"none",stroke:"none"}},[A.createElementVNode("circle",{r:"3.375",class:"dot1",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot2",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot4",rx:"0",ry:"0"}),A.createElementVNode("circle",{r:"3.375",class:"dot3",rx:"0",ry:"0"})])],-1)])),default:A.withCtx(()=>[A.createElementVNode("div",Ax,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(N.value,F=>(A.openBlock(),A.createBlock(k,{key:F[P.valueKey],label:F[P.labelKey],value:F[P.valueKey],disabled:F[P.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(F[P.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])]),_:1},16,["modelValue","multiple","clearable","loading","style"]))}}})},Symbol.toStringTag,{value:"Module"})),tx={key:0},nx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=A.ref(""),d=A.computed({get(){var I;return(I=t.value)==null?void 0:I.replaceAll(i.value,"")},set(I){I?t.value=I+i.value:t.value=I}});return A.watch(i,(I,o)=>{var b;t.value&&(t.value=((b=t.value)==null?void 0:b.replaceAll(o,""))+I)}),A.onMounted(()=>{e.selectInitialValue&&(i.value=e.selectInitialValue)}),(I,o)=>{const b=A.resolveComponent("el-option"),y=A.resolveComponent("el-select"),f=A.resolveComponent("el-input");return I.read?(A.openBlock(),A.createElementBlock("span",tx,A.toDisplayString(d.value||"--"),1)):(A.openBlock(),A.createBlock(f,A.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},I.$attrs,{modelValue:d.value,"onUpdate:modelValue":o[1]||(o[1]=x=>d.value=x)}),{[I.selectPosition]:A.withCtx(()=>[A.createVNode(y,{modelValue:i.value,"onUpdate:modelValue":o[0]||(o[0]=x=>i.value=x),style:A.normalizeStyle({width:I.selectWidth+"px"}),placeholder:" "},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.options,x=>(A.openBlock(),A.createBlock(b,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),ix=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:A.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=mt(),t=A.useModel(n,"modelValue");return(i,d)=>{const I=A.resolveComponent("el-switch");return A.openBlock(),A.createBlock(I,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=o=>t.value=o),disabled:A.unref(e).read||i.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),ox=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-tag");return A.openBlock(),A.createBlock(i,A.mergeProps({type:e.type},e.$attrs),{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.text),1)]),_:1},16,["type"])}}})},Symbol.toStringTag,{value:"Module"})),rx=["innerHTML"],ax=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Component",props:{text:{},color:{},onClick:{},params:{},fontSize:{},fontWeight:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=n,d=async()=>{const I=i.onClick;if(I&&e)try{await e[I](t,i)}catch(o){console.error(o+`
1652
- onClick: ${I}`)}};return(I,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(I.$attrs,{innerHTML:I.text,onClick:d,style:{color:I.color,cursor:I.onClick?"pointer":"default",fontSize:I.fontSize,fontWeight:I.fontWeight}}),null,16,rx))}})},Symbol.toStringTag,{value:"Module"})),DC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),sx=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),lx={key:0,class:"smallDragStyle-text"},cx={class:"el-upload__tip"},gx={key:0,class:"upload-bottom-part"},dx={class:"file-list-wrapper"},ux={class:"file-item-name"},hx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=$n(),I=U=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,U)}catch(P){console.error(P)}return!0},o=(U,P)=>{if(e.onChange)try{i[e.onChange](d,U,P)}catch(G){console.error(G)}},b=U=>{const P=t.value.findIndex(G=>G.uid===U.uid);P!==-1&&t.value.splice(P,1)},y=(U,P)=>{console.log(U,P)},f=U=>{console.log(U)},x=A.ref(),N=(U,P)=>{if(e.isOnlyOne&&e.limit===1){x.value.clearFiles();const G=U[0];G.uid=xt.genFileId(),x.value.handleStart(G)}else xt.ElMessage.warning(`The limit is ${e.limit}, you selected ${U.length} files this time, add up to ${U.length+P.length} totally`)},K=(U,P)=>e.beforeUpload?!1:xt.ElMessageBox.confirm(`Cancel the transfer of ${U.name} ?`).then(()=>!0,()=>!1);return(U,P)=>{const G=A.resolveComponent("el-button"),k=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(k,{"file-list":t.value,"onUpdate:fileList":P[0]||(P[0]=m=>t.value=m),action:U.action,multiple:U.multiple,limit:U.limit,drag:U.drag,name:U.name,listType:U.listType,"show-file-list":U.showFileList,"on-preview":f,"on-remove":y,"before-remove":K,"before-upload":I,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:U.drag,smallDragStyle:U.smallDragStyle}),ref_key:"upload",ref:x},A.createSlots({default:A.withCtx(()=>[U.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[U.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[U.smallDragStyle?(A.openBlock(),A.createElementBlock("div",lx,P[1]||(P[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(ve,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),P[2]||(P[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(G,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(U.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),U.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(Ie),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[U.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",cx,A.toDisplayString(U.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),U.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",gx,[A.createElementVNode("div",null,A.toDisplayString(U.attachmentTitle),1),A.createElementVNode("div",dx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",ux,A.toDisplayString(m.name),1),U.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-2249ee01"]])},Symbol.toStringTag,{value:"Module"}));function px(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class Cx{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let d=1;d<=4;d++){const I=i[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*d,b=parseInt(this.options.height)/2,y=qt(-30,30);t.translate(o,b),t.rotate(y*Math.PI/180),t.fillText(I,0,0),t.rotate(-y*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:px(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const Bx={class:"vfc-verify-code"},mx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=mt(),I=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new Cx(t.value)}),(o,b)=>{const y=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",Bx,[A.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=f=>e.value=f),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),Ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const I=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(DC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Qx={class:"right-icon-wrapper"},Ix={class:"dynamic-icon-wrapper"},fx={key:0,class:"dynamic-icon-item"},wx={class:"static-icon-wrapper"},bx={key:0,class:"static-icon-item"},yx={class:"tab-label"},Dx={class:"tab-label-text"},vx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const y=e.children.findIndex(f=>f.name===t.value);return y-1>=0?y-1:null}),{ruleModule:d,pageMethodMap:I}=$n();function o(y){if(e.tabChange)try{d[e.tabChange](I,y)}catch(f){console.error(f)}}async function b(y,f){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](I,y,f)}catch(x){console.error(x)}return!0}return A.watch(()=>e.children,()=>{e.children.forEach(y=>{y.children||(y.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(y,f)=>{const x=A.resolveComponent("el-tab-pane"),N=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(N,A.mergeProps({id:y.id},y.$attrs,{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=K=>t.value=K),onTabChange:o,"before-leave":b,addable:y.styleType==="btn",class:{"modal-type":y.styleType==="modal","btn-type":y.styleType==="btn","form-item-tabs":y.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",Qx,[A.createElementVNode("div",Ix,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.dynamicBtns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.iconName},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",fx,[A.createVNode(ve,{name:K.iconName},null,8,["name"])]))],64))),128))]),A.createElementVNode("div",wx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.staticBtns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.iconName},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(ve,{name:K.iconName},null,8,["name"])]))],64))),128))])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.children,(K,U)=>(A.openBlock(),A.createBlock(x,A.mergeProps({key:K.name,ref_for:!0},K),{label:A.withCtx(()=>[A.createElementVNode("div",yx,[y.styleType==="btn"&&K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",Dx,A.toDisplayString(K.label),1),U!==y.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===K.name||i.value===U}])},null,2)):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:K.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-3853836e"]])},Symbol.toStringTag,{value:"Module"})),kx={class:"vfc-ObjGroup"},_x={key:1,class:"vfc-ObjGroup-render"},Mx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=mt(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(I,o)=>(A.openBlock(),A.createElementBlock("div",kx,[A.unref(t).design?(A.openBlock(),A.createBlock(A.unref(jc),{key:0,list:I.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",_x,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,b=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),xx={key:0},Sx={key:0},Nx={key:1},Fx={key:1,class:"search-select-wrapper"},Rx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),d=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=x=>{const{valueKey:N="value",multiple:K,name:U}=e;let P={};if(K&&Array.isArray(x)?P=y.value.filter(G=>x.includes(G[N])):P=y.value.find(G=>G[N]===x)||{},i.selectData&&U&&i.updateSelectData(U,P),e.onChange&&d)try{d[e.onChange](I,x,P)}catch(G){console.error(G+`
1652
+ onClick: ${I}`)}};return(I,o)=>(A.openBlock(),A.createElementBlock("div",A.mergeProps(I.$attrs,{innerHTML:I.text,onClick:d,style:{color:I.color,cursor:I.onClick?"pointer":"default",fontSize:I.fontSize,fontWeight:I.fontWeight}}),null,16,rx))}})},Symbol.toStringTag,{value:"Module"})),DC=A.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(e,t)=>(A.openBlock(),A.createBlock(A.resolveDynamicComponent(e.type),{class:"Title",style:A.normalizeStyle({fontStyle:e.italic?"italic":"normal"})},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(e.title),1)]),_:1},8,["style"]))}}),sx=Object.freeze(Object.defineProperty({__proto__:null,default:DC},Symbol.toStringTag,{value:"Module"})),lx={key:0,class:"smallDragStyle-text"},cx={class:"el-upload__tip"},gx={key:0,class:"upload-bottom-part"},dx={class:"file-list-wrapper"},ux={class:"file-item-name"},hx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"},attachmentTitle:{},showFileList:{type:Boolean,default:!0},autoUpload:{type:Boolean},beforeUpload:{},isOnlyOne:{type:Boolean,default:!1},onChange:{},smallDragStyle:{type:Boolean},clearable:{type:Boolean,default:!0}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),{ruleModule:i,pageMethodMap:d}=$n(),I=U=>{if(e.beforeUpload)try{return i[e.beforeUpload](d,U)}catch(P){console.error(P)}return!0},o=(U,P)=>{if(e.onChange)try{i[e.onChange](d,U,P)}catch(G){console.error(G)}},b=U=>{const P=t.value.findIndex(G=>G.uid===U.uid);P!==-1&&t.value.splice(P,1)},y=(U,P)=>{console.log(U,P)},f=U=>{console.log(U)},x=A.ref(),N=(U,P)=>{if(e.isOnlyOne&&e.limit===1){x.value.clearFiles();const G=U[0];G.uid=xt.genFileId(),x.value.handleStart(G)}else xt.ElMessage.warning(`The limit is ${e.limit}, you selected ${U.length} files this time, add up to ${U.length+P.length} totally`)},K=(U,P)=>e.beforeUpload?!1:xt.ElMessageBox.confirm(`Cancel the transfer of ${U.name} ?`).then(()=>!0,()=>!1);return(U,P)=>{const G=A.resolveComponent("el-button"),k=A.resolveComponent("el-upload");return A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createVNode(k,{"file-list":t.value,"onUpdate:fileList":P[0]||(P[0]=m=>t.value=m),action:U.action,multiple:U.multiple,limit:U.limit,drag:U.drag,name:U.name,listType:U.listType,"show-file-list":U.showFileList,"on-preview":f,"on-remove":y,"before-remove":K,"before-upload":I,"on-change":o,"on-exceed":N,class:A.normalizeClass({dragUpload:U.drag,smallDragStyle:U.smallDragStyle}),ref_key:"upload",ref:x},A.createSlots({default:A.withCtx(()=>[U.listType==="text"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[U.drag?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[U.smallDragStyle?(A.openBlock(),A.createElementBlock("div",lx,P[1]||(P[1]=[A.createTextVNode("Drop file here or "),A.createElementVNode("span",null,"click to upload",-1)]))):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createVNode(ve,{name:"icon-shangchuan",color:"var(--el-color-primary)"}),P[2]||(P[2]=A.createElementVNode("div",null,[A.createTextVNode("Drop file here or "),A.createElementVNode("em",null,"click to upload")],-1))],64))],64)):(A.openBlock(),A.createBlock(G,{key:1,type:"primary"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(U.btnText),1)]),_:1}))],64)):A.createCommentVNode("",!0),U.listType==="picture-card"?(A.openBlock(),A.createBlock(A.unref(Ie),{key:1,name:"add"})):A.createCommentVNode("",!0)]),_:2},[U.tip?{name:"tip",fn:A.withCtx(()=>[A.createElementVNode("div",cx,A.toDisplayString(U.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType","show-file-list","class"]),U.drag&&t.value.length>0?(A.openBlock(),A.createElementBlock("div",gx,[A.createElementVNode("div",null,A.toDisplayString(U.attachmentTitle),1),A.createElementVNode("div",dx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,m=>(A.openBlock(),A.createElementBlock("div",{class:"file-item",key:m.uid},[A.createVNode(ve,{name:"icon-fujiantubiao1",size:"ultra-large"}),A.createElementVNode("div",ux,A.toDisplayString(m.name),1),U.clearable?(A.openBlock(),A.createBlock(ve,{key:0,name:"icon-guanbi",class:"file-item-close",size:"x-small",onClick:F=>b(m)},null,8,["onClick"])):A.createCommentVNode("",!0)]))),128))])])):A.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-0576569b"]])},Symbol.toStringTag,{value:"Module"}));function px(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function qt(n,e){return Math.floor(Math.random()*(e-n)+n)}function ws(n,e){const t=qt(n,e),i=qt(n,e),d=qt(n,e);return`rgb(${t},${i},${d})`}class Cx{constructor(e,t){Bt(this,"version","1.0.0");Bt(this,"options");Bt(this,"_init",()=>{const e=this.options.element;if(!e)return;const t=document.createElement("canvas");this.options.width=e.offsetWidth>0?e.offsetWidth.toString():"100",this.options.height=e.offsetHeight>0?e.offsetHeight.toString():"30",t.id=this.options.canvasId,t.width=parseInt(this.options.width),t.height=parseInt(this.options.height),t.style.cursor="pointer",t.innerHTML="您的浏览器版本不支持canvas",e.appendChild(t),t.onclick=()=>{this.refresh()}});Bt(this,"refresh",()=>{this.options.code="";const e=document.getElementById(this.options.canvasId);if(!e||!e.getContext)return;const t=e.getContext("2d");t.textBaseline="middle",t.fillStyle=ws(180,240),t.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let i;this.options.type==="blend"?i=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?i=this.options.numArr:i=this.options.letterArr;for(let d=1;d<=4;d++){const I=i[qt(0,i.length)];this.options.code+=I,t.font=`${qt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,t.fillStyle=ws(50,160),t.shadowOffsetX=qt(-3,3),t.shadowOffsetY=qt(-3,3),t.shadowBlur=qt(-3,3),t.shadowColor="rgba(0, 0, 0, 0.3)";const o=parseInt(this.options.width)/5*d,b=parseInt(this.options.height)/2,y=qt(-30,30);t.translate(o,b),t.rotate(y*Math.PI/180),t.fillText(I,0,0),t.rotate(-y*Math.PI/180),t.translate(-o,-b)}for(let d=0;d<4;d++)t.strokeStyle=ws(40,180),t.beginPath(),t.moveTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.lineTo(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height))),t.stroke();for(let d=0;d<parseInt(this.options.width)/4;d++)t.fillStyle=ws(0,255),t.beginPath(),t.arc(qt(0,parseInt(this.options.width)),qt(0,parseInt(this.options.height)),1,0,2*Math.PI),t.fill()});Bt(this,"validate",e=>{const t=e.toLowerCase(),i=this.options.code.toLowerCase();return console.log(i),t===i?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:px(),...t},e&&(this.options.element=e,this._init(),this.refresh())}}const Bx={class:"vfc-verify-code"},mx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Component",props:A.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=A.useModel(n,"modelValue"),t=A.ref(null),i=A.ref(null),d=mt(),I=()=>{var b;if(!e.value)return;const o=(b=i.value)==null?void 0:b.validate(e.value);console.log("res",o),o?d.updateVCodePass(!0):d.updateVCodePass(!1)};return A.onMounted(()=>{i.value=new Cx(t.value)}),(o,b)=>{const y=A.resolveComponent("el-input");return A.openBlock(),A.createElementBlock("div",Bx,[A.createVNode(y,{modelValue:e.value,"onUpdate:modelValue":b[0]||(b[0]=f=>e.value=f),class:"verify-input",placeholder:o.placeholder,onBlur:I},null,8,["modelValue","placeholder"]),A.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:t},null,512)])}}}),[["__scopeId","data-v-f5206e68"]])},Symbol.toStringTag,{value:"Module"})),Ex=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const e=n,t=A.ref([]);return A.onMounted(()=>{t.value=e.children.filter(i=>i.checked).map(i=>i.name)}),A.watch(()=>e.children,()=>{e.children.forEach(i=>{i.children||(i.children=[])})}),(i,d)=>{const I=A.resolveComponent("ElCollapseItem"),o=A.resolveComponent("ElCollapse");return A.openBlock(),A.createBlock(o,A.mergeProps(i.$attrs,{modelValue:t.value,"onUpdate:modelValue":d[0]||(d[0]=b=>t.value=b)}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.children,b=>(A.openBlock(),A.createBlock(I,{key:b.name,name:b.name},{title:A.withCtx(()=>[A.createVNode(DC,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Qx={class:"right-icon-wrapper"},Ix={class:"dynamic-icon-wrapper"},fx={key:0,class:"dynamic-icon-item"},wx={class:"static-icon-wrapper"},bx={key:0,class:"static-icon-item"},yx={class:"tab-label"},Dx={class:"tab-label-text"},vx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Tabs",props:{id:{},children:{},defaultKey:{},tabChange:{},onBeforeLeave:{},styleType:{default:"normal"},staticBtns:{},dynamicBtns:{}},setup(n){const e=n,t=A.ref(""),i=A.computed(()=>{const y=e.children.findIndex(f=>f.name===t.value);return y-1>=0?y-1:null}),{ruleModule:d,pageMethodMap:I}=$n();function o(y){if(e.tabChange)try{d[e.tabChange](I,y)}catch(f){console.error(f)}}async function b(y,f){if(e.onBeforeLeave)try{return await d[e.onBeforeLeave](I,y,f)}catch(x){console.error(x)}return!0}return A.watch(()=>e.children,()=>{e.children.forEach(y=>{y.children||(y.children=[])})}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.watch(()=>e.defaultKey,()=>{t.value=e.defaultKey}),A.onMounted(()=>{e.defaultKey&&(t.value=e.defaultKey)}),(y,f)=>{const x=A.resolveComponent("el-tab-pane"),N=A.resolveComponent("el-tabs");return A.openBlock(),A.createBlock(N,A.mergeProps({id:y.id},y.$attrs,{modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=K=>t.value=K),onTabChange:o,"before-leave":b,addable:y.styleType==="btn",class:{"modal-type":y.styleType==="modal","btn-type":y.styleType==="btn","form-item-tabs":y.styleType==="normal"}}),{"add-icon":A.withCtx(()=>[A.createElementVNode("div",Qx,[A.createElementVNode("div",Ix,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.dynamicBtns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.iconName},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",fx,[A.createVNode(ve,{name:K.iconName},null,8,["name"])]))],64))),128))]),A.createElementVNode("div",wx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.staticBtns,K=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:K.iconName},[K.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",bx,[A.createVNode(ve,{name:K.iconName},null,8,["name"])]))],64))),128))])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(y.children,(K,U)=>(A.openBlock(),A.createBlock(x,A.mergeProps({key:K.name,ref_for:!0},K),{label:A.withCtx(()=>[A.createElementVNode("div",yx,[y.styleType==="btn"&&K.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:K.icon},null,8,["name"])):A.createCommentVNode("",!0),A.createElementVNode("span",Dx,A.toDisplayString(K.label),1),U!==y.children.length-1?(A.openBlock(),A.createElementBlock("span",{key:1,class:A.normalizeClass(["divider",{"divider-hidden":t.value===K.name||i.value===U}])},null,2)):A.createCommentVNode("",!0)])]),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:K.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["id","modelValue","addable","class"])}}}),[["__scopeId","data-v-6ca27c09"]])},Symbol.toStringTag,{value:"Module"})),kx={class:"vfc-ObjGroup"},_x={key:1,class:"vfc-ObjGroup-render"},Mx=Object.freeze(Object.defineProperty({__proto__:null,default:A.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const e=n,t=mt(),i=A.inject("$objGroupBase"),d=i?`${i.value}.${e.name}`:e.name;return A.provide("$objGroupBase",A.ref(d)),(I,o)=>(A.openBlock(),A.createElementBlock("div",kx,[A.unref(t).design?(A.openBlock(),A.createBlock(A.unref(jc),{key:0,list:I.children},null,8,["list"])):(A.openBlock(),A.createElementBlock("div",_x,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(I.children,b=>(A.openBlock(),A.createBlock(A.unref(ro),A.mergeProps({key:b.name,ref_for:!0},b,{name:`${A.unref(d)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),xx={key:0},Sx={key:0},Nx={key:1},Fx={key:1,class:"search-select-wrapper"},Rx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"SearchSelect",props:A.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},defaultOptions:{},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},readTextColor:{},filters:{},refreshFlag:{type:Boolean},clearable:{type:Boolean},width:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=A.useModel(n,"modelValue"),i=mt(),d=A.inject("ruleModule",void 0),I=A.inject("pageMethodMap",{}),o=x=>{const{valueKey:N="value",multiple:K,name:U}=e;let P={};if(K&&Array.isArray(x)?P=y.value.filter(G=>x.includes(G[N])):P=y.value.find(G=>G[N]===x)||{},i.selectData&&U&&i.updateSelectData(U,P),e.onChange&&d)try{d[e.onChange](I,x,P)}catch(G){console.error(G+`
1653
1653
  onChange: ${e.onChange}`)}},b=()=>{if(e.onSearch&&d)try{d[e.onSearch](I)}catch(x){console.error(x+`
1654
- onSearch: ${e.onSearch}`)}},{currentOptions:y,loading:f}=Br(e);return(x,N)=>{var k;const K=A.resolveComponent("el-option"),U=A.resolveComponent("el-select"),P=A.resolveComponent("el-button"),G=A.resolveDirective("loading");return x.read?(A.openBlock(),A.createElementBlock("div",xx,[x.multiple?(A.openBlock(),A.createElementBlock("div",Sx,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(y).find(_=>_[x.valueKey]===m))==null?void 0:F[x.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",Nx,A.toDisplayString(((k=A.unref(y).find(m=>m[x.valueKey]===t.value))==null?void 0:k[x.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",Fx,[A.withDirectives((A.openBlock(),A.createBlock(U,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},x.$attrs,{onChange:o,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(y),m=>(A.openBlock(),A.createBlock(K,{key:m[x.valueKey],label:m[x.labelKey],value:m[x.valueKey],disabled:m[x.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[G,A.unref(f)]]),A.createVNode(P,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-b14d9207"]])},Symbol.toStringTag,{value:"Module"})),Lx=["id"],Gx={class:"custom-slot"},Px={key:0,class:"poll-wrapper"},Hx={class:"empty-content"},Kx=["title"],Tx=["title","onClick"],Ux={key:1,class:"icon-text-wrapper"},Yx=["title","onClick"],Ox={key:2},$x=["title"],zx={class:"row-btn-wrapper"},Jx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),I=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:d),b=A.inject("pageMethodMap",{}),y=A.inject("getGlobalParams",()=>{}),f=A.inject(Xn),x=f?f.translateFn:null,N=A.ref(),K=(vA,$A,XA)=>{D.value[vA]&&(D.value[vA][$A]=XA)},U=(vA,$A)=>{const XA=t.columns.find(SA=>SA.key===vA);XA&&(XA.hidden=!$A)},P=(vA,$A,XA,SA)=>{try{o.value[vA.onClick](b,$A,XA,SA),SA==null||SA.stopPropagation()}catch(MA){console.error(MA)}},G=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},k=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},_=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},v=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,SA;if(t.rowKey){const MA=D.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(SA=N.value)==null||SA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>D.value,u=A.ref(),s=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,l=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var SA;const XA=(SA=t.topBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var SA;const XA=(SA=t.rowBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),S=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),T=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},J=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(D.value[vA])},Z=(vA,$A,XA)=>{t.columns.forEach(SA=>{SA.key===vA&&SA[$A]&&(SA[$A]=XA)})},D=A.ref([]),q=vA=>{D.value=vA||[]},H=(vA={})=>{D.value.push(vA)},X=vA=>{vA>=0&&vA<D.value.length&&D.value.splice(vA,1)},rA=async()=>{D.value=[...D.value]},iA=A.useTemplateRef("rootRef"),dA=(vA,$A)=>{const XA=x?x(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const SA=`${XA}`;return SA.length<=4?"*".repeat(SA.length):SA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},V=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},sA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!D.value||D.value.length===0?!1:D.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:y()}))})),cA=Vn(),hA=A.ref(t.showPollCheckbox||!1),Y=A.ref(10),j=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?j.value:0)}catch($A){console.error($A)}},aA=vA=>{if(j.value=Number(vA),Number.isInteger(j.value)||(j.value=Math.floor(j.value)),j.value<=0||j.value>99){j.value=Y.value,xt.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,j.value),Y.value=j.value)}catch($A){console.error($A)}},CA=A.ref(void 0),xA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:K,clearSelection:v,getData:p,getCurrentRow:g,getSelectedRows:l,addRow:H,deleteRow:X,refresh:rA,validate:h,setData:q,selectRow:J,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:T,setPagination:z,setTopBtnHidden:C,setColVisible:U,setColumn:Z,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:j,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=Jo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),SA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),xe=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",Gx,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",Px,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(SA,{type:"number",style:{width:"45px",height:"28px"},modelValue:j.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>j.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(xt.ElTable),{ref_key:"tableRef",ref:N,data:D.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:G,onRowDblclick:k,onSelectionChange:F,onCurrentChange:s,height:xA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",Hx,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:_})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,Kx)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:fA=>P(NA,UA,JA,fA)},A.toDisplayString(dA(NA,UA)),11,Tx)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",Ux,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var fA,LA;return[A.createVNode(ve,{name:(fA=gA(NA,UA))==null?void 0:fA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:fA=>P(NA,UA,JA,fA)},A.toDisplayString(dA(NA,UA)),11,Yx),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var fA,LA;return[A.createVNode(ve,{name:(fA=gA(NA,UA))==null?void 0:fA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",Ox,[A.createVNode(A.unref(rt),{list:V(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:dA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(dA(NA,UA)),15,$x))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),sA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",zx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>P(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>P(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:D.value},t,{getColText:dA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||D.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||D.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,Lx))}}}),[["__scopeId","data-v-502ff2ba"]])},Symbol.toStringTag,{value:"Module"})),Zx=["id"],Wx={class:"left-part"},jx={class:"title"},qx={class:"right-part"},Xx={key:0},Vx={key:1,class:"switch-panel"},AS={key:3},eS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,I=A.ref(d.radioDefault??"2"),o=G=>{if(G&&e)try{e[G](t)}catch(k){console.error(k+`
1655
- funcName: ${G}`)}},b=G=>{d.onRadioChange&&e&&e[d.onRadioChange](t,G)},y=()=>{f.value=!f.value,d.onCollapsed&&e&&e[d.onCollapsed](t,f.value)},f=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{f.value=d.defaultCollapse??!1});const x=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=mt(),K=G=>{x.value=G;const k=ln(N.schema.items,d.name),m=F=>{F.forEach(_=>{_.component==="Table"&&_.props&&(_.props.displayType=G),_.children&&_.children.length>0&&m(_.children)})};k&&k.children&&m(k.children)},U=G=>{d.handleSearch&&e&&e[d.handleSearch](t,G)},P=G=>{d.searchInputChange&&e&&e[d.searchInputChange](t,G)};return K(x.value),(G,k)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),_=A.resolveComponent("el-tooltip"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:G.type==="gridItem"}]),style:A.normalizeStyle(G.style),id:G.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:G.type==="inline",mix:G.type==="mix",default:G.type==="default",gridItem:G.type==="gridItem",advanceSearch:G.type==="advanceSearch",collapsedPadding:f.value&&G.onCollapsed,"has-search-input":G.hasSearchInput}])},[A.createElementVNode("div",Wx,[G.mainIcon?(A.openBlock(),A.createBlock(ve,{key:0,class:"title-icon",size:"large",name:G.mainIcon.name,color:G.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",jx,A.toDisplayString(G.title),1),G.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:I.value,"onUpdate:modelValue":k[0]||(k[0]=p=>I.value=p),onChange:k[1]||(k[1]=p=>b(I.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(G.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(G.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(_,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),G.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:f.value&&G.onCollapsed}])},[A.createVNode(v,{modelValue:i.value,"onUpdate:modelValue":k[2]||(k[2]=p=>i.value=p),placeholder:G.searchPlaceholder,onInput:P,onKeyup:A.withKeys(U,["enter"])},{prefix:A.withCtx(()=>k[5]||(k[5]=[])),suffix:A.withCtx(()=>[A.createVNode(ve,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:U})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",qx,[G.formSlots?(A.openBlock(),A.createElementBlock("div",Xx,[A.createVNode(A.unref(rt),{list:G.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),G.typeSwitch?(A.openBlock(),A.createElementBlock("div",Vx,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="card"}]),onClick:k[3]||(k[3]=p=>K("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="table"}]),onClick:k[4]||(k[4]=p=>K("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),G.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:f.value}]),onClick:y},[A.createVNode(ve,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),G.btns&&G.btns.length>0?(A.openBlock(),A.createElementBlock("div",AS,[A.createVNode(A.unref(ii),{btns:G.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),G.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:G.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:G.children},null,8,["list"])],512),[[A.vShow,!f.value]])]),_:1}))],14,Zx)}}}),[["__scopeId","data-v-c360f8f2"]])},Symbol.toStringTag,{value:"Module"})),tS={key:0,class:"dropdown-icon-wrapper"},nS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=$n(),d=A.ref(!1),I=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,y)=>{const f=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(f,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",tS,[A.createVNode(ve,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(ve,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-e9e23e58"]])},Symbol.toStringTag,{value:"Module"})),iS={class:"content"},oS={class:"product-list"},rS={class:"attribute-list"},aS={key:0,class:"attribute-list-item"},sS={class:"product-title attribute-title"},lS={class:"attribute-item-list"},cS={class:"attribute-label"},gS={class:"attribute-value"},dS=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(mC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",iS,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",oS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",rS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",aS,[A.createElementVNode("div",sS,A.toDisplayString(d.label),1),A.createElementVNode("div",lS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,I=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:I.label},[A.createElementVNode("div",cS,A.toDisplayString(I.label),1),A.createElementVNode("div",gS,A.toDisplayString(I.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),uS={key:0,class:"empty-content"},hS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,K;const e=n,t=A.ref(),i=A.ref([]),d=(N=e.columns.find(U=>U.position==="title"))==null?void 0:N.key,I=(K=e.columns.find(U=>U.position==="subTitle"))==null?void 0:K.key,o=e.columns.find(U=>U.position==="footer"),b=U=>{const P=[];return U.children&&U.children.length>0&&U.children.forEach(G=>{const k={label:G.PRODUCT_ITEM_NAME,children:[]};G.children&&G.children.length>0&&G.children.forEach(m=>{k.children.push({label:m.PRODUCT_ITEM_NAME,value:m.ACTION})}),P.push(k)}),P};function y(U){const P={},G=[];return U.forEach(k=>{P[k.PRODUCT_ITEM_ID]={...k,children:[]}}),U.forEach(k=>{const m=P[k.PRODUCT_ITEM_ID],F=k.PARENT_PRODUCT_ITEM_ID;F===0||!P[F]?G.push(m):P[F].children.push(m)}),G}const f=A.inject(Xn),x=f?f.translateFn:null;return A.watchEffect(()=>{if(e.data){const U=y(e.data);t.value=U.map(P=>{const G={content:[]};return d&&(G.title=x?x(d,P):P[d],G.titleColor="var(--el-color-primary)"),I&&(G.subTitle=x?x(I,P):P[I]),o&&(G.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${x?x(o.key,P):P[o.key]}`}),P.children&&(G.product=b(P)),e.columns.forEach(k=>{k.position==="content"&&G.content.push({label:k.label,value:x?x(k.key,P):P[k.key]})}),G})}}),A.onMounted(()=>{var U;i.value=(U=e.rowBtns)==null?void 0:U.map(P=>({icon:P.icon&&P.icon.name?P.icon.name:"icon-tishi",label:P.label,onClick:P.onClick}))}),(U,P)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":U.gridColumns,"--gap":U.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(G,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(dS,{data:G,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!U.data||U.data.length===0?(A.openBlock(),A.createElementBlock("div",uS,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),P[0]||(P[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-43ded0ba"]])},Symbol.toStringTag,{value:"Module"})),pS={class:"progress"},CS={class:"timeline-content"},BS={class:"timeline-content__title"},mS={key:0,class:"empty-content"},ES=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",pS,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(I,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(ve,{name:I.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",CS,[A.createElementVNode("div",BS,[A.createElementVNode("span",null,A.toDisplayString(I.title),1),A.createElementVNode("span",null,A.toDisplayString(I.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",mS,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-088a0692"]])},Symbol.toStringTag,{value:"Module"})),QS={class:"log-list"},IS={class:"title-part"},fS={class:"title"},wS={class:"sub-title"},bS={class:"content"},yS={key:0},DS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",QS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",IS,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",fS,A.toDisplayString(i.title),1),A.createElementVNode("div",wS,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",bS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(I,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[A.createTextVNode(A.toDisplayString(I.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",yS," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-646d4f4d"]])},Symbol.toStringTag,{value:"Module"})),vS=["infinite-scroll-disabled"],kS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=$n(),i=n,d=async()=>{try{await e[i.load](t)}catch(I){console.error(I)}};return(I,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":I.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(I.style)},[A.createVNode(A.unref(rt),{list:I.children},null,8,["list"])],12,vS)),[[b,d]])}}}),[["__scopeId","data-v-6746ff5d"]])},Symbol.toStringTag,{value:"Module"}));ft.$options=Xn,ft.FormDesign=wC,ft.FormRender=wn,ft.PageRender=ag,ft.TableRender=rg,ft.default=sM,ft.findItemByName=ln,ft.useFormInstance=mt,ft.useRuleContext=$n,Object.defineProperties(ft,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1654
+ onSearch: ${e.onSearch}`)}},{currentOptions:y,loading:f}=Br(e);return(x,N)=>{var k;const K=A.resolveComponent("el-option"),U=A.resolveComponent("el-select"),P=A.resolveComponent("el-button"),G=A.resolveDirective("loading");return x.read?(A.openBlock(),A.createElementBlock("div",xx,[x.multiple?(A.openBlock(),A.createElementBlock("div",Sx,A.toDisplayString(t.value&&t.value.map(m=>{var F;return(F=A.unref(y).find(_=>_[x.valueKey]===m))==null?void 0:F[x.labelKey]}).join("、")),1)):(A.openBlock(),A.createElementBlock("div",Nx,A.toDisplayString(((k=A.unref(y).find(m=>m[x.valueKey]===t.value))==null?void 0:k[x.labelKey])||"--"),1))])):(A.openBlock(),A.createElementBlock("div",Fx,[A.withDirectives((A.openBlock(),A.createBlock(U,A.mergeProps({modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=m=>t.value=m)},x.$attrs,{onChange:o,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(y),m=>(A.openBlock(),A.createBlock(K,{key:m[x.valueKey],label:m[x.labelKey],value:m[x.valueKey],disabled:m[x.disabledKey]},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(m[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[G,A.unref(f)]]),A.createVNode(P,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:A.withCtx(()=>[A.createVNode(A.unref(Ie),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-884281f5"]])},Symbol.toStringTag,{value:"Module"})),Lx=["id"],Gx={class:"custom-slot"},Px={key:0,class:"poll-wrapper"},Hx={class:"empty-content"},Kx=["title"],Tx=["title","onClick"],Ux={key:1,class:"icon-text-wrapper"},Yx=["title","onClick"],Ox={key:2},$x=["title"],zx={class:"row-btn-wrapper"},Jx=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean,default:!0},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},name:{},gridColumns:{}},setup(n,{expose:e}){const t=n,i=A.computed(()=>t.displayType?t.displayType:t.typeSwitch?"card":"table"),d=A.inject("ruleModule",void 0),I=A.inject("ruleMap",void 0),o=A.computed(()=>t.rulePath&&I[t.rulePath]?I[t.rulePath]:d),b=A.inject("pageMethodMap",{}),y=A.inject("getGlobalParams",()=>{}),f=A.inject(Xn),x=f?f.translateFn:null,N=A.ref(),K=(vA,$A,XA)=>{D.value[vA]&&(D.value[vA][$A]=XA)},U=(vA,$A)=>{const XA=t.columns.find(SA=>SA.key===vA);XA&&(XA.hidden=!$A)},P=(vA,$A,XA,SA)=>{try{o.value[vA.onClick](b,$A,XA,SA),SA==null||SA.stopPropagation()}catch(MA){console.error(MA)}},G=vA=>{if(t.rowClick)try{o.value[t.rowClick](b,vA)}catch($A){console.error($A)}},k=vA=>{if(t.rowDbClick)try{o.value[t.rowDbClick](b,vA)}catch($A){console.error($A)}},m=A.ref([]),F=vA=>{m.value=vA},_=(vA,$A)=>{if(!t.selectable)return!0;try{return o.value[t.selectable](b,vA,$A)}catch(XA){console.error(XA)}return!0},v=()=>{var vA;(vA=N.value)==null||vA.clearSelection()},B=(vA,$A)=>{var XA,SA;if(t.rowKey){const MA=D.value.find(qA=>qA[t.rowKey]===vA);if(!MA)return;$A===void 0?(XA=N.value)==null||XA.toggleRowSelection(MA):(SA=N.value)==null||SA.toggleRowSelection(MA,$A)}else return console.error("rowKey is required")},p=()=>D.value,u=A.ref(),s=vA=>{if(u.value=vA,!!t.handleCurrentChange)try{o.value[t.handleCurrentChange](b,vA)}catch($A){console.error($A)}},g=()=>u.value,l=()=>{var vA;return(vA=N.value)==null?void 0:vA.getSelectionRows()},h=async()=>!0,C=(vA,$A)=>{var SA;const XA=(SA=t.topBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.hidden=$A)},a=(vA,$A)=>{var SA;const XA=(SA=t.rowBtns)==null?void 0:SA.find(MA=>MA.key===vA);XA&&(XA.condition=!$A)},r=A.ref(0),E=vA=>{r.value=vA},Q=()=>r.value,M=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),S=A.ref({pageNum:1,pageSize:t.defaultPageSize||5}),T=()=>M.value,z=vA=>{let $A=!1;return vA.pageNum!==void 0&&vA.pageNum>-1&&(M.value.pageNum!==vA.pageNum&&($A=!0),M.value.pageNum=vA.pageNum),vA.pageSize!==void 0&&vA.pageSize>-1&&(M.value.pageSize!==vA.pageSize&&($A=!0),M.value.pageSize=vA.pageSize),{pagination:M.value,isChange:$A}},AA=async()=>{if(M.value.pageNum=1,!t.sizeChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.sizeChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},eA=async()=>{if(!t.pageChange)return;const vA=xt.ElLoading.service({target:`#${t.name}`,text:"Loading..."});try{await o.value[t.pageChange](b,M.value),S.value.pageNum=M.value.pageNum,S.value.pageSize=M.value.pageSize}catch($A){console.error($A),M.value.pageNum=S.value.pageNum,M.value.pageSize=S.value.pageSize}finally{vA.close()}},J=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(vA)},$=vA=>{var $A;($A=N.value)==null||$A.setCurrentRow(D.value[vA])},Z=(vA,$A,XA)=>{t.columns.forEach(SA=>{SA.key===vA&&SA[$A]&&(SA[$A]=XA)})},D=A.ref([]),q=vA=>{D.value=vA||[]},H=(vA={})=>{D.value.push(vA)},X=vA=>{vA>=0&&vA<D.value.length&&D.value.splice(vA,1)},rA=async()=>{D.value=[...D.value]},iA=A.useTemplateRef("rootRef"),dA=(vA,$A)=>{const XA=x?x(vA,$A):$A[vA.key];if(!vA.encrypted||!XA)return XA;const SA=`${XA}`;return SA.length<=4?"*".repeat(SA.length):SA.slice(0,-4)+"****"},mA=(vA,$A)=>{if(!vA.getTextStyle||!o.value)return{};try{return o.value[vA.getTextStyle](b,$A,vA)}catch(XA){console.error(XA)}},gA=(vA,$A)=>{if(!(!vA.getIconInfo||!o.value))try{return o.value[vA.getIconInfo](b,$A,vA)}catch(XA){console.error(XA)}},wA=(vA,$A)=>{if(!(!vA.getIconPopoverContent||!o.value))try{return o.value[vA.getIconPopoverContent](b,$A,vA)}catch(XA){console.error(XA)}},V=(vA,$A)=>{if(!(!vA.getCustomContent||!o.value))try{return o.value[vA.getCustomContent](b,$A,vA)}catch(XA){console.error(XA)}},sA=A.computed(()=>!t.rowBtns||t.rowBtns.length===0||!D.value||D.value.length===0?!1:D.value.some(vA=>{var $A;return($A=t.rowBtns)==null?void 0:$A.some(XA=>XA.condition===void 0||XA.condition===null?!0:kt(XA.condition,{$row:vA,$globalParams:y()}))})),cA=Vn(),hA=A.ref(t.showPollCheckbox||!1),Y=A.ref(10),j=A.ref(10),tA=vA=>{try{t.onPollChange&&o.value[t.onPollChange](b,vA?j.value:0)}catch($A){console.error($A)}},aA=vA=>{if(j.value=Number(vA),Number.isInteger(j.value)||(j.value=Math.floor(j.value)),j.value<=0||j.value>99){j.value=Y.value,xt.ElMessage.warning("Incorrect input. Please input number in 1-99 seconds");return}try{t.onPollChange&&(o.value[t.onPollChange](b,j.value),Y.value=j.value)}catch($A){console.error($A)}},CA=A.ref(void 0),xA=A.computed(()=>CA.value||t.height),zA=async()=>{if(!t.onMounted||!o.value)return;await A.nextTick();const vA=t.onMounted;try{o.value[vA](b)}catch($A){console.error($A)}},jA=async()=>{if(!t.onActivated||!o.value)return;const vA=t.onActivated;try{o.value[vA](b)}catch($A){console.error($A)}};A.onMounted(async()=>{await zA()}),A.onActivated(()=>{jA()}),A.onBeforeUnmount(()=>{});const Ae=A.readonly({...A.toRefs(t),setCellData:K,clearSelection:v,getData:p,getCurrentRow:g,getSelectedRows:l,addRow:H,deleteRow:X,refresh:rA,validate:h,setData:q,selectRow:J,selectRowNum:$,setTotal:E,getTotal:Q,getPagination:T,setPagination:z,setTopBtnHidden:C,setColVisible:U,setColumn:Z,setRowsBtnHidden:a,pollEnabled:hA,pollInterval:j,rootRef:iA,mounted:zA,activated:jA,toggleSelection:B,type:"table"});if(t.name){const vA=Jo(t.name,Ae);A.onUnmounted(()=>{vA()})}return e(Ae),(vA,$A)=>{const XA=A.resolveComponent("el-checkbox"),SA=A.resolveComponent("el-input"),MA=A.resolveComponent("el-pagination"),qA=A.resolveComponent("el-table-column"),Ce=A.resolveComponent("el-popover"),ye=A.resolveComponent("el-tooltip"),xe=A.resolveComponent("el-button");return vA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["table-render",{[vA.name]:!0,"top-pagination":vA.paginationPosition==="top"}]),ref_key:"rootRef",ref:iA,id:vA.name},[vA.paginationPosition==="top"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["pagination-wrapper",{cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"slot ,sizes, prev, pager, next",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[2]||($A[2]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[3]||($A[3]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},{default:A.withCtx(()=>[A.createElementVNode("div",Gx,[vA.showPollCheckbox?(A.openBlock(),A.createElementBlock("div",Px,[A.createVNode(XA,{modelValue:hA.value,"onUpdate:modelValue":$A[0]||($A[0]=NA=>hA.value=NA),onChange:tA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollText),1),A.createVNode(SA,{type:"number",style:{width:"45px",height:"28px"},modelValue:j.value,"onUpdate:modelValue":$A[1]||($A[1]=NA=>j.value=NA),onChange:aA},null,8,["modelValue"]),A.createElementVNode("span",null,A.toDisplayString(A.unref(cA).table.pollUnit),1)])):A.createCommentVNode("",!0),A.createElementVNode("span",null,A.toDisplayString(A.unref(kt)(vA.totalText,{$total:r.value})),1)])]),_:1},8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0),A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(xt.ElTable),{ref_key:"tableRef",ref:N,data:D.value,"highlight-current-row":"","row-key":vA.rowKey,stripe:vA.stripe,onRowClick:G,onRowDblclick:k,onSelectionChange:F,onCurrentChange:s,height:xA.value},{empty:A.withCtx(()=>[A.createElementVNode("div",Hx,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),$A[6]||($A[6]=A.createElementVNode("div",null,"No data available,please check",-1))])]),default:A.withCtx(()=>[vA.multipleSelection?(A.openBlock(),A.createBlock(qA,{key:0,type:"selection",width:"55",selectable:_})):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.columns,NA=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:NA.key},[NA.hidden?A.createCommentVNode("",!0):(A.openBlock(),A.createBlock(qA,{key:0,prop:NA.key,"min-width":NA.minWidth,fixed:NA.fixed||!1,sortable:NA.sortable??vA.sortable??!0},{header:A.withCtx(()=>[A.createElementVNode("div",{class:"text-ellipsis",title:NA.label},A.toDisplayString(NA.label),9,Kx)]),default:A.withCtx(({row:UA,$index:JA})=>{var de,ae,Ee,ke;return[NA.type==="link"?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["text-ellipsis link-style",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:fA=>P(NA,UA,JA,fA)},A.toDisplayString(dA(NA,UA)),11,Tx)):NA.type==="iconText"?(A.openBlock(),A.createElementBlock("div",Ux,[NA.iconPosition==="left"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var fA,LA;return[A.createVNode(ve,{name:(fA=gA(NA,UA))==null?void 0:fA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(de=gA(NA,UA))==null?void 0:de.name,color:(ae=gA(NA,UA))==null?void 0:ae.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0),A.createElementVNode("span",{class:A.normalizeClass(["text-ellipsis",{"click-style":NA.onClick}]),title:dA(NA,UA),onClick:fA=>P(NA,UA,JA,fA)},A.toDisplayString(dA(NA,UA)),11,Yx),NA.iconPosition==="right"?(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[NA.iconPopover&&Array.isArray(wA(NA,UA))?(A.openBlock(),A.createBlock(Ce,{key:0},{reference:A.withCtx(()=>{var fA,LA;return[A.createVNode(ve,{name:(fA=gA(NA,UA))==null?void 0:fA.name,color:(LA=gA(NA,UA))==null?void 0:LA.color},null,8,["name","color"])]}),default:A.withCtx(()=>[A.createVNode(A.unref(rt),{list:wA(NA,UA)||[]},null,8,["list"])]),_:2},1024)):(A.openBlock(),A.createBlock(ve,{key:1,name:(Ee=gA(NA,UA))==null?void 0:Ee.name,color:(ke=gA(NA,UA))==null?void 0:ke.color},null,8,["name","color"]))],64)):A.createCommentVNode("",!0)])):NA.type==="customContent"?(A.openBlock(),A.createElementBlock("div",Ox,[A.createVNode(A.unref(rt),{list:V(NA,UA)||[]},null,8,["list"])])):(A.openBlock(),A.createElementBlock("div",{key:3,class:A.normalizeClass({"text-ellipsis":!NA.noEllipsis}),title:dA(NA,UA),style:A.normalizeStyle(mA(NA,UA))},A.toDisplayString(dA(NA,UA)),15,$x))]}),_:2},1032,["prop","min-width","fixed","sortable"]))],64))),128)),sA.value&&vA.rowBtns&&vA.rowBtns.length>0?(A.openBlock(),A.createBlock(qA,{key:1,label:vA.rowBtnsLabel||"Action",fixed:"right",align:"left",width:vA.rowBtnsWidth||(vA.rowBtns.length*34+12>100?vA.rowBtns.length*34+12:100)},{default:A.withCtx(({row:NA,$index:UA})=>[A.createElementVNode("div",zx,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(vA.rowBtns,JA=>{var de;return A.openBlock(),A.createElementBlock(A.Fragment,{key:JA.key},[JA.component==="Popover"?(A.openBlock(),A.createBlock(Ce,{key:0,title:JA.label,trigger:"click","popper-class":"btn-popover",width:(de=JA.children)!=null&&de.length&&JA.children[0].width||400},{reference:A.withCtx(()=>[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>P(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)]),default:A.withCtx(()=>[A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:JA.children},null,8,["list"])])]),_:2},1032,["title","width"])):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[JA.condition===void 0||JA.condition===null||A.unref(kt)(JA.condition,{$row:NA,$globalParams:A.unref(y)()})?(A.openBlock(),A.createBlock(xe,{key:0,disabled:JA.disabled,link:"",size:"small",type:JA.type,onClick:A.withModifiers(ae=>P(JA,NA,UA,ae),["stop"])},{default:A.withCtx(()=>[A.createVNode(ye,{class:"box-item",effect:"dark",content:JA.label,placement:"top"},{default:A.withCtx(()=>[JA.icon?(A.openBlock(),A.createBlock(ve,{key:0,name:JA.icon.name,color:JA.icon.color},null,8,["name","color"])):A.createCommentVNode("",!0)]),_:2},1032,["content"]),JA.buttonText?(A.openBlock(),A.createElementBlock("span",{key:0,style:A.normalizeStyle({color:JA.buttonText.color,fontSize:"14px"})},A.toDisplayString(A.unref(kt)(JA.buttonText.text,{$row:NA,$globalParams:A.unref(y)()})),5)):A.createCommentVNode("",!0)]),_:2},1032,["disabled","type","onClick"])):A.createCommentVNode("",!0)],64))],64)}),128))])]),_:1},8,["label","width"])):A.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[A.vShow,i.value==="table"]]),A.withDirectives(A.createVNode(og,A.mergeProps({data:D.value},t,{getColText:dA}),null,16,["data"]),[[A.vShow,i.value==="card"]]),vA.paginationPosition!=="top"?(A.openBlock(),A.createElementBlock("div",{key:1,class:A.normalizeClass(["pagination-wrapper",{hidePagination:(vA.hiddenPagination||D.value.length===0)&&!vA.height,transparentPagination:(vA.hiddenPagination||D.value.length===0)&&vA.height,cardlistPadding:i.value==="card"}])},[A.createVNode(MA,{layout:vA.paginationLayout||"total,sizes, prev, pager, next,jumper",total:r.value,"page-sizes":vA.pageSizes||[5,6,10,20,30,40],"default-page-size":vA.defaultPageSize,"current-page":M.value.pageNum,"onUpdate:currentPage":$A[4]||($A[4]=NA=>M.value.pageNum=NA),"page-size":M.value.pageSize,"onUpdate:pageSize":$A[5]||($A[5]=NA=>M.value.pageSize=NA),"pager-count":Number(vA.pagerCount)||5,onSizeChange:AA,onCurrentChange:eA},null,8,["layout","total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)):A.createCommentVNode("",!0)],10,Lx))}}}),[["__scopeId","data-v-51531ab2"]])},Symbol.toStringTag,{value:"Module"})),Zx=["id"],Wx={class:"left-part"},jx={class:"title"},qx={class:"right-part"},Xx={key:0},Vx={key:1,class:"switch-panel"},AS={key:3},eS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"CurdCard",props:{name:{},children:{},defaultCollapse:{type:Boolean},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{},radioList:{},onRadioChange:{},radioDefault:{},formSlots:{},style:{type:[Boolean,null,String,Object,Array]},hasSearchInput:{type:Boolean},searchPlaceholder:{},handleSearch:{},searchInputChange:{}},setup(n){const e=A.inject("ruleModule",void 0),t=A.inject("pageMethodMap",{}),i=A.ref(""),d=n,I=A.ref(d.radioDefault??"2"),o=G=>{if(G&&e)try{e[G](t)}catch(k){console.error(k+`
1655
+ funcName: ${G}`)}},b=G=>{d.onRadioChange&&e&&e[d.onRadioChange](t,G)},y=()=>{f.value=!f.value,d.onCollapsed&&e&&e[d.onCollapsed](t,f.value)},f=A.ref(d.defaultCollapse??!1);A.watch(()=>d.defaultCollapse,()=>{f.value=d.defaultCollapse??!1});const x=A.ref(d.displayType||(d.typeSwitch?"card":"table")),N=mt(),K=G=>{x.value=G;const k=ln(N.schema.items,d.name),m=F=>{F.forEach(_=>{_.component==="Table"&&_.props&&(_.props.displayType=G),_.children&&_.children.length>0&&m(_.children)})};k&&k.children&&m(k.children)},U=G=>{d.handleSearch&&e&&e[d.handleSearch](t,G)},P=G=>{d.searchInputChange&&e&&e[d.searchInputChange](t,G)};return K(x.value),(G,k)=>{const m=A.resolveComponent("el-radio"),F=A.resolveComponent("el-radio-group"),_=A.resolveComponent("el-tooltip"),v=A.resolveComponent("el-input"),B=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["crm-curd-card",{gridItem:G.type==="gridItem"}]),style:A.normalizeStyle(G.style),id:G.name},[A.createElementVNode("div",{class:A.normalizeClass(["card-header",{inline:G.type==="inline",mix:G.type==="mix",default:G.type==="default",gridItem:G.type==="gridItem",advanceSearch:G.type==="advanceSearch",collapsedPadding:f.value&&G.onCollapsed,"has-search-input":G.hasSearchInput}])},[A.createElementVNode("div",Wx,[G.mainIcon?(A.openBlock(),A.createBlock(ve,{key:0,class:"title-icon",size:"large",name:G.mainIcon.name,color:G.mainIcon.color},null,8,["name","color"])):A.createCommentVNode("",!0),A.createElementVNode("span",jx,A.toDisplayString(G.title),1),G.radioList?(A.openBlock(),A.createBlock(F,{key:1,class:"ml-9",modelValue:I.value,"onUpdate:modelValue":k[0]||(k[0]=p=>I.value=p),onChange:k[1]||(k[1]=p=>b(I.value))},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(G.radioList,p=>(A.openBlock(),A.createBlock(m,{value:p.value,key:p.value},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(p.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])):A.createCommentVNode("",!0),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(G.extraIcons,p=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:p.name},[p.tips?(A.openBlock(),A.createBlock(_,{key:0,content:p.tips,placement:"right"},{default:A.withCtx(()=>[A.createVNode(ve,{class:"extra-icon",name:p.name,color:p.color,onClick:u=>o(p.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(A.openBlock(),A.createBlock(ve,{key:1,class:"extra-icon",name:p.name,color:p.color,size:p.size,onClick:u=>o(p.onClick)},null,8,["name","color","size","onClick"]))],64))),128))]),G.hasSearchInput?(A.openBlock(),A.createElementBlock("div",{key:0,class:A.normalizeClass(["card-search-input",{collapsedPadding:f.value&&G.onCollapsed}])},[A.createVNode(v,{modelValue:i.value,"onUpdate:modelValue":k[2]||(k[2]=p=>i.value=p),placeholder:G.searchPlaceholder,onInput:P,onKeyup:A.withKeys(U,["enter"])},{prefix:A.withCtx(()=>k[5]||(k[5]=[])),suffix:A.withCtx(()=>[A.createVNode(ve,{class:"cursor-pointer",name:"icon-lujing2",color:"#666666",size:"small",onClick:U})]),_:1},8,["modelValue","placeholder"])],2)):A.createCommentVNode("",!0),A.createElementVNode("div",qx,[G.formSlots?(A.openBlock(),A.createElementBlock("div",Xx,[A.createVNode(A.unref(rt),{list:G.formSlots},null,8,["list"])])):A.createCommentVNode("",!0),G.typeSwitch?(A.openBlock(),A.createElementBlock("div",Vx,[A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="card"}]),onClick:k[3]||(k[3]=p=>K("card"))},[A.createVNode(ve,{name:"icon-kapian"})],2),A.createElementVNode("div",{class:A.normalizeClass(["switch-icon-wrapper",{active:x.value==="table"}]),onClick:k[4]||(k[4]=p=>K("table"))},[A.createVNode(ve,{name:"icon-biaoge"})],2)])):A.createCommentVNode("",!0),G.collapsible?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["collapse-icon-wrapper",{collapsed:f.value}]),onClick:y},[A.createVNode(ve,{name:"icon-shaixuan"})],2)):A.createCommentVNode("",!0),G.btns&&G.btns.length>0?(A.openBlock(),A.createElementBlock("div",AS,[A.createVNode(A.unref(ii),{btns:G.btns||[]},null,8,["btns"])])):A.createCommentVNode("",!0)])],2),G.onCollapsed?(A.openBlock(),A.createBlock(A.unref(rt),{key:1,list:G.children},null,8,["list"])):(A.openBlock(),A.createBlock(B,{key:0},{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",null,[A.createVNode(A.unref(rt),{list:G.children},null,8,["list"])],512),[[A.vShow,!f.value]])]),_:1}))],14,Zx)}}}),[["__scopeId","data-v-2844549a"]])},Symbol.toStringTag,{value:"Module"})),tS={key:0,class:"dropdown-icon-wrapper"},nS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},innerStyle:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean},dropdown:{type:Boolean},expansion:{type:Boolean},expansionIconTop:{},onDropdownChange:{},onExpand:{}},setup(n){const e=n,{ruleModule:t,pageMethodMap:i}=$n(),d=A.ref(!1),I=()=>{if(e.onDropdownChange){d.value=!d.value;try{t[e.onDropdownChange](i,d.value)}catch(b){console.error(b)}}},o=()=>{if(e.onExpand)try{t[e.onExpand](i)}catch(b){console.error(b)}};return(b,y)=>{const f=A.resolveComponent("el-collapse-transition");return A.openBlock(),A.createElementBlock("div",{style:A.normalizeStyle(b.style)},[A.createVNode(f,null,{default:A.withCtx(()=>[A.withDirectives(A.createElementVNode("div",{class:A.normalizeClass({normal:b.type==="normal",onlytable:b.type==="onlytable",dropdownChildren:b.type==="dropdown-children",expansionWrapper:b.expansion}),style:A.normalizeStyle(b.innerStyle)},[A.createVNode(A.unref(rt),{list:b.children},null,8,["list"]),b.dropdown?(A.openBlock(),A.createElementBlock("div",tS,[A.createVNode(ve,{name:"icon-xialaliebiao",color:"#666666",onClick:I,class:A.normalizeClass({reversed:d.value})},null,8,["class"])])):A.createCommentVNode("",!0),b.expansion?(A.openBlock(),A.createElementBlock("div",{key:1,class:"expansion-icon-wrapper",onClick:o},[A.createVNode(ve,{name:"icon-shuangxiangjiantou",color:"#666666"})])):A.createCommentVNode("",!0)],6),[[A.vShow,!b.collapse]])]),_:1})],4)}}}),[["__scopeId","data-v-4e826675"]])},Symbol.toStringTag,{value:"Module"})),iS={class:"content"},oS={class:"product-list"},rS={class:"attribute-list"},aS={key:0,class:"attribute-list-item"},sS={class:"product-title attribute-title"},lS={class:"attribute-item-list"},cS={class:"attribute-label"},gS={class:"attribute-value"},dS=A.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-popover");return A.openBlock(),A.createBlock(i,{"popper-class":"offer-detail",placement:"right"},{reference:A.withCtx(()=>[A.createVNode(mC,{data:e.data,btns:e.btns,index:e.index},null,8,["data","btns","index"])]),default:A.withCtx(()=>[A.createElementVNode("div",iS,[t[0]||(t[0]=A.createElementVNode("div",{class:"product-title"},"Product",-1)),A.createElementVNode("div",oS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock("div",{class:"product-item",key:d.label},A.toDisplayString(d.label),1))),128))]),A.createElementVNode("div",rS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data.product,d=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:d.label},[d.children.length>0?(A.openBlock(),A.createElementBlock("div",aS,[A.createElementVNode("div",sS,A.toDisplayString(d.label),1),A.createElementVNode("div",lS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(d.children,I=>(A.openBlock(),A.createElementBlock("div",{class:"attribute-item",key:I.label},[A.createElementVNode("div",cS,A.toDisplayString(I.label),1),A.createElementVNode("div",gS,A.toDisplayString(I.value||"--"),1)]))),128))])])):A.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),uS={key:0,class:"empty-content"},hS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},rowBtnsLabel:{},rowBtnsWidth:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},selectable:{},pageSizes:{},pagerCount:{},paginationLayout:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},sortable:{type:Boolean},paginationPosition:{},totalText:{},onPollChange:{},showPollCheckbox:{type:Boolean},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var N,K;const e=n,t=A.ref(),i=A.ref([]),d=(N=e.columns.find(U=>U.position==="title"))==null?void 0:N.key,I=(K=e.columns.find(U=>U.position==="subTitle"))==null?void 0:K.key,o=e.columns.find(U=>U.position==="footer"),b=U=>{const P=[];return U.children&&U.children.length>0&&U.children.forEach(G=>{const k={label:G.PRODUCT_ITEM_NAME,children:[]};G.children&&G.children.length>0&&G.children.forEach(m=>{k.children.push({label:m.PRODUCT_ITEM_NAME,value:m.ACTION})}),P.push(k)}),P};function y(U){const P={},G=[];return U.forEach(k=>{P[k.PRODUCT_ITEM_ID]={...k,children:[]}}),U.forEach(k=>{const m=P[k.PRODUCT_ITEM_ID],F=k.PARENT_PRODUCT_ITEM_ID;F===0||!P[F]?G.push(m):P[F].children.push(m)}),G}const f=A.inject(Xn),x=f?f.translateFn:null;return A.watchEffect(()=>{if(e.data){const U=y(e.data);t.value=U.map(P=>{const G={content:[]};return d&&(G.title=x?x(d,P):P[d],G.titleColor="var(--el-color-primary)"),I&&(G.subTitle=x?x(I,P):P[I]),o&&(G.footer={icon:o.footerIcon||"icon-tishi",text:`${o.label}: ${x?x(o.key,P):P[o.key]}`}),P.children&&(G.product=b(P)),e.columns.forEach(k=>{k.position==="content"&&G.content.push({label:k.label,value:x?x(k.key,P):P[k.key]})}),G})}}),A.onMounted(()=>{var U;i.value=(U=e.rowBtns)==null?void 0:U.map(P=>({icon:P.icon&&P.icon.name?P.icon.name:"icon-tishi",label:P.label,onClick:P.onClick}))}),(U,P)=>(A.openBlock(),A.createElementBlock(A.Fragment,null,[A.createElementVNode("div",{class:"card-list",style:A.normalizeStyle({"--columns":U.gridColumns,"--gap":U.gap+"px"})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.value,(G,k)=>(A.openBlock(),A.createElementBlock("div",{class:"card-list-item",key:k},[A.createVNode(dS,{data:G,btns:i.value,index:k},null,8,["data","btns","index"])]))),128))],4),!U.data||U.data.length===0?(A.openBlock(),A.createElementBlock("div",uS,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),P[0]||(P[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)],64))}}),[["__scopeId","data-v-f20f5150"]])},Symbol.toStringTag,{value:"Module"})),pS={class:"progress"},CS={class:"timeline-content"},BS={class:"timeline-content__title"},mS={key:0,class:"empty-content"},ES=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"Progress",props:{data:{}},setup(n){return(e,t)=>{const i=A.resolveComponent("el-timeline-item"),d=A.resolveComponent("el-timeline");return A.openBlock(),A.createElementBlock("div",pS,[A.createVNode(d,null,{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.data,(I,o)=>(A.openBlock(),A.createBlock(i,{key:o,size:"large"},{dot:A.withCtx(()=>[A.createVNode(ve,{name:I.iconName,size:"large"},null,8,["name"])]),default:A.withCtx(()=>[A.createElementVNode("div",CS,[A.createElementVNode("div",BS,[A.createElementVNode("span",null,A.toDisplayString(I.title),1),A.createElementVNode("span",null,A.toDisplayString(I.timestamp),1)]),A.createTextVNode(" "+A.toDisplayString(I.content),1)])]),_:2},1024))),128))]),_:1}),!e.data||e.data.length===0?(A.openBlock(),A.createElementBlock("div",mS,[A.createVNode(A.unref(Ie),{name:"tableEmpty",style:{width:56,height:56}}),t[0]||(t[0]=A.createElementVNode("div",null,"No data available,please check",-1))])):A.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-6b11ed96"]])},Symbol.toStringTag,{value:"Module"})),QS={class:"log-list"},IS={class:"title-part"},fS={class:"title"},wS={class:"sub-title"},bS={class:"content"},yS={key:0},DS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"LogList",props:{content:{}},setup(n){return(e,t)=>(A.openBlock(),A.createElementBlock("div",QS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(e.content,i=>{var d;return A.openBlock(),A.createElementBlock("div",{class:"log-list-item",key:i.id},[A.createElementVNode("div",{class:"left-bar",style:A.normalizeStyle({backgroundColor:i.color})},null,4),A.createElementVNode("div",IS,[A.createElementVNode("div",{class:"circle",style:A.normalizeStyle({backgroundColor:i.color})},A.toDisplayString((d=i.title)==null?void 0:d[0]),5),A.createElementVNode("div",fS,A.toDisplayString(i.title),1),A.createElementVNode("div",wS,A.toDisplayString(i.subTitle),1)]),A.createElementVNode("div",bS,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.content,(I,o)=>(A.openBlock(),A.createElementBlock("span",{key:o,class:A.normalizeClass({bold:I.style==="bold",normal:I.style==="normal"})},[A.createTextVNode(A.toDisplayString(I.text),1),o!==i.content.length-1?(A.openBlock(),A.createElementBlock("span",yS," ")):A.createCommentVNode("",!0)],2))),128))])])}),128))]))}}),[["__scopeId","data-v-fe451915"]])},Symbol.toStringTag,{value:"Module"})),vS=["infinite-scroll-disabled"],kS=Object.freeze(Object.defineProperty({__proto__:null,default:oe(A.defineComponent({__name:"InfiniteScroll",props:{children:{},load:{},disabled:{type:Boolean},style:{type:[Boolean,null,String,Object,Array]}},setup(n){const{ruleModule:e,pageMethodMap:t}=$n(),i=n,d=async()=>{try{await e[i.load](t)}catch(I){console.error(I)}};return(I,o)=>{const b=A.resolveDirective("infinite-scroll");return A.withDirectives((A.openBlock(),A.createElementBlock("div",{"infinite-scroll-disabled":I.disabled,"infinite-scroll-immediate":!1,"infinite-scroll-distance":20,class:"infinite-scroll-wrapper",style:A.normalizeStyle(I.style)},[A.createVNode(A.unref(rt),{list:I.children},null,8,["list"])],12,vS)),[[b,d]])}}}),[["__scopeId","data-v-65b0b3cf"]])},Symbol.toStringTag,{value:"Module"}));ft.$options=Xn,ft.FormDesign=wC,ft.FormRender=wn,ft.PageRender=ag,ft.TableRender=rg,ft.default=sM,ft.findItemByName=ln,ft.useFormInstance=mt,ft.useRuleContext=$n,Object.defineProperties(ft,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});